Interface GatewaySecurityPolicyRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewaySecurityPolicyRule,GatewaySecurityPolicyRule.Builder
@Generated
public interface GatewaySecurityPolicyRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.getName()Required.com.google.protobuf.ByteStringRequired.intRequired.Required.com.google.protobuf.ByteStringRequired.booleanOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanRequired.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBasicProfile
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:
- Whether the basicProfile field is set.
-
getBasicProfileValue
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:
- The enum numeric value on the wire for basicProfile.
-
getBasicProfile
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:
- The basicProfile.
-
getName
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]([a-z0-9-]{0,61}[a-z0-9])?$).string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$).string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when the rule was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time when the rule was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the rule was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when the rule was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time when the rule was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the rule was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEnabled
boolean getEnabled()Required. Whether the rule is enforced.
bool enabled = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enabled.
-
getPriority
int getPriority()Required. Priority of the rule. Lower number corresponds to higher precedence.
int32 priority = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The priority.
-
getDescription
String getDescription()Optional. Free-text description of the resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Free-text description of the resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getSessionMatcher
String getSessionMatcher()Required. CEL expression for matching on session criteria.
string session_matcher = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sessionMatcher.
-
getSessionMatcherBytes
com.google.protobuf.ByteString getSessionMatcherBytes()Required. CEL expression for matching on session criteria.
string session_matcher = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for sessionMatcher.
-
getApplicationMatcher
String getApplicationMatcher()Optional. CEL expression for matching on L7/application level criteria.
string application_matcher = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The applicationMatcher.
-
getApplicationMatcherBytes
com.google.protobuf.ByteString getApplicationMatcherBytes()Optional. CEL expression for matching on L7/application level criteria.
string application_matcher = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for applicationMatcher.
-
getTlsInspectionEnabled
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:
- The tlsInspectionEnabled.
-
getProfileCase
GatewaySecurityPolicyRule.ProfileCase getProfileCase()
-