public sealed class AuthzPolicy.Types.AuthzRule.Types.Principal : IMessage<AuthzPolicy.Types.AuthzRule.Types.Principal>, IEquatable<AuthzPolicy.Types.AuthzRule.Types.Principal>, IDeepCloneable<AuthzPolicy.Types.AuthzRule.Types.Principal>, IBufferMessage, IMessageReference documentation and code samples for the Network Security v1 API class AuthzPolicy.Types.AuthzRule.Types.Principal.
Describes the properties of a principal to be matched against.
Implements
IMessageAuthzPolicyTypesAuthzRuleTypesPrincipal, IEquatableAuthzPolicyTypesAuthzRuleTypesPrincipal, IDeepCloneableAuthzPolicyTypesAuthzRuleTypesPrincipal, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkSecurity.V1Assembly
Google.Cloud.NetworkSecurity.V1.dll
Constructors
Principal()
public Principal()Principal(Principal)
public Principal(AuthzPolicy.Types.AuthzRule.Types.Principal other)| Parameter | |
|---|---|
| Name | Description |
other |
AuthzPolicyTypesAuthzRuleTypesPrincipal |
Properties
PrincipalSelector
public AuthzPolicy.Types.AuthzRule.Types.Principal.Types.PrincipalSelector PrincipalSelector { get; set; }Optional. An enum to decide what principal value the principal rule will match against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
| Property Value | |
|---|---|
| Type | Description |
AuthzPolicyTypesAuthzRuleTypesPrincipalTypesPrincipalSelector |
|
Principal_
public AuthzPolicy.Types.AuthzRule.Types.StringMatch Principal_ { get; set; }Required. A non-empty string whose value is matched against the principal value based on the principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN, CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors.
| Property Value | |
|---|---|
| Type | Description |
AuthzPolicyTypesAuthzRuleTypesStringMatch |
|