public sealed class AuthzPolicy.Types.AuthzRule : IMessage<AuthzPolicy.Types.AuthzRule>, IEquatable<AuthzPolicy.Types.AuthzRule>, IDeepCloneable<AuthzPolicy.Types.AuthzRule>, IBufferMessage, IMessageReference documentation and code samples for the Network Security v1 API class AuthzPolicy.Types.AuthzRule.
Conditions to match against the incoming request.
Implements
IMessageAuthzPolicyTypesAuthzRule, IEquatableAuthzPolicyTypesAuthzRule, IDeepCloneableAuthzPolicyTypesAuthzRule, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkSecurity.V1Assembly
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 |
|