Interface GatewaySecurityPolicyRuleOrBuilder (0.94.0)

public interface GatewaySecurityPolicyRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplicationMatcher()

public abstract String getApplicationMatcher()

Optional. CEL expression for matching on L7/application level criteria.

string application_matcher = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The applicationMatcher.

getApplicationMatcherBytes()

public abstract ByteString getApplicationMatcherBytes()

Optional. CEL expression for matching on L7/application level criteria.

string application_matcher = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for applicationMatcher.

getBasicProfile()

public abstract GatewaySecurityPolicyRule.BasicProfile getBasicProfile()

Required. Profile which tells what the primitive action should be.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule.BasicProfile basic_profile = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewaySecurityPolicyRule.BasicProfile

The basicProfile.

getBasicProfileValue()

public abstract int getBasicProfileValue()

Required. Profile which tells what the primitive action should be.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule.BasicProfile basic_profile = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for basicProfile.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time when the rule was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the rule was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Optional. Free-text description of the resource.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Free-text description of the resource.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getEnabled()

public abstract boolean getEnabled()

Required. Whether the rule is enforced.

bool enabled = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The enabled.

getName()

public abstract String getName()

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?$).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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?$).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getPriority()

public abstract int getPriority()

Required. Priority of the rule. Lower number corresponds to higher precedence.

int32 priority = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The priority.

getProfileCase()

public abstract GatewaySecurityPolicyRule.ProfileCase getProfileCase()
Returns
Type Description
GatewaySecurityPolicyRule.ProfileCase

getSessionMatcher()

public abstract String getSessionMatcher()

Required. CEL expression for matching on session criteria.

string session_matcher = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sessionMatcher.

getSessionMatcherBytes()

public abstract ByteString getSessionMatcherBytes()

Required. CEL expression for matching on session criteria.

string session_matcher = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sessionMatcher.

getTlsInspectionEnabled()

public abstract boolean getTlsInspectionEnabled()

Optional. Flag to enable TLS inspection of traffic matching on <session_matcher>, can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.

bool tls_inspection_enabled = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The tlsInspectionEnabled.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Time when the rule was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the rule was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasBasicProfile()

public abstract boolean hasBasicProfile()

Required. Profile which tells what the primitive action should be.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule.BasicProfile basic_profile = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the basicProfile field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time when the rule was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Time when the rule was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.