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

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.