public sealed class GatewaySecurityPolicyRule : IMessage<GatewaySecurityPolicyRule>, IEquatable<GatewaySecurityPolicyRule>, IDeepCloneable<GatewaySecurityPolicyRule>, IBufferMessage, IMessageReference documentation and code samples for the Network Security v1 API class GatewaySecurityPolicyRule.
The GatewaySecurityPolicyRule resource is in a nested collection within a GatewaySecurityPolicy and represents a traffic matching condition and associated action to perform.
Implements
IMessageGatewaySecurityPolicyRule, IEquatableGatewaySecurityPolicyRule, IDeepCloneableGatewaySecurityPolicyRule, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkSecurity.V1Assembly
Google.Cloud.NetworkSecurity.V1.dll
Constructors
GatewaySecurityPolicyRule()
public GatewaySecurityPolicyRule()GatewaySecurityPolicyRule(GatewaySecurityPolicyRule)
public GatewaySecurityPolicyRule(GatewaySecurityPolicyRule other)| Parameter | |
|---|---|
| Name | Description |
other |
GatewaySecurityPolicyRule |
Properties
ApplicationMatcher
public string ApplicationMatcher { get; set; }Optional. CEL expression for matching on L7/application level criteria.
| Property Value | |
|---|---|
| Type | Description |
string |
|
BasicProfile
public GatewaySecurityPolicyRule.Types.BasicProfile BasicProfile { get; set; }Required. Profile which tells what the primitive action should be.
| Property Value | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRuleTypesBasicProfile |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Time when the rule was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. Free-text description of the resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Enabled
public bool Enabled { get; set; }Required. Whether the rule is enforced.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
GatewaySecurityPolicyRuleName
public GatewaySecurityPolicyRuleName GatewaySecurityPolicyRuleName { get; set; }GatewaySecurityPolicyRuleName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRuleName |
|
HasBasicProfile
public bool HasBasicProfile { get; }Gets whether the "basic_profile" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
| Property Value | |
|---|---|
| Type | Description |
string |
|
Priority
public int Priority { get; set; }Required. Priority of the rule. Lower number corresponds to higher precedence.
| Property Value | |
|---|---|
| Type | Description |
int |
|
ProfileCase
public GatewaySecurityPolicyRule.ProfileOneofCase ProfileCase { get; }| Property Value | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRuleProfileOneofCase |
|
SessionMatcher
public string SessionMatcher { get; set; }Required. CEL expression for matching on session criteria.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TlsInspectionEnabled
public bool TlsInspectionEnabled { get; set; }Optional. Flag to enable TLS inspection of traffic matching on <session_matcher>, can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Time when the rule was updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|