View Source GoogleApi.Compute.V1.Model.SecurityPolicyRuleMatcher (google_api_compute v0.56.2)

Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.

Attributes

  • config (type: GoogleApi.Compute.V1.Model.SecurityPolicyRuleMatcherConfig.t, default: nil) - 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.
  • expr (type: GoogleApi.Compute.V1.Model.Expr.t, default: nil) - 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.
  • exprOptions (type: GoogleApi.Compute.V1.Model.SecurityPolicyRuleMatcherExprOptions.t, default: nil) - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
  • versionedExpr (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SecurityPolicyRuleMatcher{
  config: GoogleApi.Compute.V1.Model.SecurityPolicyRuleMatcherConfig.t() | nil,
  expr: GoogleApi.Compute.V1.Model.Expr.t() | nil,
  exprOptions:
    GoogleApi.Compute.V1.Model.SecurityPolicyRuleMatcherExprOptions.t() | nil,
  versionedExpr: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.