Interface SecurityPolicyRuleMatcherOrBuilder (1.11.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.

optional .google.cloud.compute.v1.Expr expr = 3127797;

Returns
TypeDescription
Expr

The expr.

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.

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.

optional .google.cloud.compute.v1.Expr expr = 3127797;

Returns
TypeDescription
boolean

Whether the expr 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.