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
Inherited Members
Namespace: Google.Apis.NetworkSecurity.v1.Data
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class GatewaySecurityPolicyRule : IDirectResponseSchema
Properties
ApplicationMatcher
Optional. CEL expression for matching on L7/application level criteria.
Declaration
[JsonProperty("applicationMatcher")]
public virtual string ApplicationMatcher { get; set; }
Property Value
Type | Description |
---|---|
string |
BasicProfile
Required. Profile which tells what the primitive action should be.
Declaration
[JsonProperty("basicProfile")]
public virtual string BasicProfile { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time when the rule was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. Free-text description of the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Required. Whether the rule is enforced.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Name
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?$).
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Priority
Required. Priority of the rule. Lower number corresponds to higher precedence.
Declaration
[JsonProperty("priority")]
public virtual int? Priority { get; set; }
Property Value
Type | Description |
---|---|
int? |
SessionMatcher
Required. CEL expression for matching on session criteria.
Declaration
[JsonProperty("sessionMatcher")]
public virtual string SessionMatcher { get; set; }
Property Value
Type | Description |
---|---|
string |
TlsInspectionEnabled
Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
Declaration
[JsonProperty("tlsInspectionEnabled")]
public virtual bool? TlsInspectionEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Time when the rule was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |