Network Security v1 API - Class AuthzPolicy.Types.AuthzRule.Types.Principal (1.0.0-beta01)

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, IMessage

Reference 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.

Inheritance

object > AuthzPolicy.Types.AuthzRule.Types.Principal

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

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