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
public interface SecurityPolicyRuleMatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityPolicyRuleMatcherConfig
getConfig()
The configuration options available when specifying versioned_expr.SecurityPolicyRuleMatcherConfigOrBuilder
getConfigOrBuilder()
The configuration options available when specifying versioned_expr.Expr
getExpr()
User defined CEVAL expression.ExprOrBuilder
getExprOrBuilder()
User defined CEVAL expression.String
getVersionedExpr()
Preconfigured versioned expression.com.google.protobuf.ByteString
getVersionedExprBytes()
Preconfigured versioned expression.boolean
hasConfig()
The configuration options available when specifying versioned_expr.boolean
hasExpr()
User defined CEVAL expression.boolean
hasVersionedExpr()
Preconfigured versioned expression.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier 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 Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier 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 Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
-
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.
-
-