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 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

       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

       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

       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

       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.