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

public sealed class AuthzPolicy.Types.AuthzRule : IMessage<AuthzPolicy.Types.AuthzRule>, IEquatable<AuthzPolicy.Types.AuthzRule>, IDeepCloneable<AuthzPolicy.Types.AuthzRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Security v1 API class AuthzPolicy.Types.AuthzRule.

Conditions to match against the incoming request.

Inheritance

object > AuthzPolicy.Types.AuthzRule

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.dll

Constructors

AuthzRule()

public AuthzRule()

AuthzRule(AuthzRule)

public AuthzRule(AuthzPolicy.Types.AuthzRule other)
Parameter
Name Description
other AuthzPolicyTypesAuthzRule

Properties

From

public AuthzPolicy.Types.AuthzRule.Types.From From { get; set; }

Optional. Describes properties of a source of a request.

Property Value
Type Description
AuthzPolicyTypesAuthzRuleTypesFrom

To

public AuthzPolicy.Types.AuthzRule.Types.To To { get; set; }

Optional. Describes properties of a target of a request.

Property Value
Type Description
AuthzPolicyTypesAuthzRuleTypesTo

When

public string When { get; set; }

Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.

Property Value
Type Description
string