Package com.google.cloud.compute.v1
Interface SecurityPolicyRuleMatcherOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecurityPolicyRuleMatcher,SecurityPolicyRuleMatcher.Builder
@Generated
public interface SecurityPolicyRuleMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe configuration options available when specifying versioned_expr.The configuration options available when specifying versioned_expr.getExpr()User defined CEVAL expression.The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').User defined CEVAL expression.Preconfigured versioned expression.com.google.protobuf.ByteStringPreconfigured versioned expression.booleanThe configuration options available when specifying versioned_expr.booleanhasExpr()User defined CEVAL expression.booleanThe configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').booleanPreconfigured versioned expression.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
-
hasConfig
boolean hasConfig()The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;- Returns:
- Whether the config field is set.
-
getConfig
SecurityPolicyRuleMatcherConfig getConfig()The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;- Returns:
- The config.
-
getConfigOrBuilder
SecurityPolicyRuleMatcherConfigOrBuilder getConfigOrBuilder()The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610; -
hasExpr
boolean hasExpr()User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require a Cloud Armor Enterprise subscription and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor Enterprise subscription and are only supported in Global Security Policies.optional .google.cloud.compute.v1.Expr expr = 3127797;- Returns:
- Whether the expr field is set.
-
getExpr
Expr getExpr()User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require a Cloud Armor Enterprise subscription and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor Enterprise subscription and are only supported in Global Security Policies.optional .google.cloud.compute.v1.Expr expr = 3127797;- Returns:
- The expr.
-
getExprOrBuilder
ExprOrBuilder getExprOrBuilder()User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require a Cloud Armor Enterprise subscription and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor Enterprise subscription and are only supported in Global Security Policies.optional .google.cloud.compute.v1.Expr expr = 3127797; -
hasExprOptions
boolean hasExprOptions()The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions expr_options = 486220372;- Returns:
- Whether the exprOptions field is set.
-
getExprOptions
SecurityPolicyRuleMatcherExprOptions getExprOptions()The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions expr_options = 486220372;- Returns:
- The exprOptions.
-
getExprOptionsOrBuilder
SecurityPolicyRuleMatcherExprOptionsOrBuilder getExprOptionsOrBuilder()The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions expr_options = 486220372; -
hasVersionedExpr
boolean hasVersionedExpr()Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;- Returns:
- Whether the versionedExpr field is set.
-
getVersionedExpr
String getVersionedExpr()Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;- Returns:
- The versionedExpr.
-
getVersionedExprBytes
com.google.protobuf.ByteString getVersionedExprBytes()Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;- Returns:
- The bytes for versionedExpr.
-