Interface SecurityPolicyRuleMatcherOrBuilder (1.46.0)

public interface SecurityPolicyRuleMatcherOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfig()

public abstract 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
TypeDescription
SecurityPolicyRuleMatcherConfig

The config.

getConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
SecurityPolicyRuleMatcherConfigOrBuilder

getExpr()

public abstract 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
TypeDescription
Expr

The expr.

getExprOptions()

public abstract 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
TypeDescription
SecurityPolicyRuleMatcherExprOptions

The exprOptions.

getExprOptionsOrBuilder()

public abstract 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;

Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsOrBuilder

getExprOrBuilder()

public abstract 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;

Returns
TypeDescription
ExprOrBuilder

getVersionedExpr()

public abstract 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
TypeDescription
String

The versionedExpr.

getVersionedExprBytes()

public abstract 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
TypeDescription
ByteString

The bytes for versionedExpr.

hasConfig()

public abstract 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
TypeDescription
boolean

Whether the config field is set.

hasExpr()

public abstract 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
TypeDescription
boolean

Whether the expr field is set.

hasExprOptions()

public abstract 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
TypeDescription
boolean

Whether the exprOptions field is set.

hasVersionedExpr()

public abstract 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
TypeDescription
boolean

Whether the versionedExpr field is set.