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

Represents a match condition that incoming network traffic is evaluated against.

Attributes

  • destIpRanges (type: list(String.t), default: nil) - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
  • destPorts (type: list(String.t), default: nil) - Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
  • ipProtocols (type: list(String.t), default: nil) - IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
  • srcAsns (type: list(integer()), default: nil) - BGP Autonomous System Number associated with the source IP address.
  • srcIpRanges (type: list(String.t), default: nil) - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
  • srcPorts (type: list(String.t), default: nil) - Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
  • srcRegionCodes (type: list(String.t), default: nil) - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
  • userDefinedFields (type: list(GoogleApi.Compute.V1.Model.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.t), default: nil) - User-defined fields. Each element names a defined field and lists the matching values for that field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SecurityPolicyRuleNetworkMatcher{
  destIpRanges: [String.t()] | nil,
  destPorts: [String.t()] | nil,
  ipProtocols: [String.t()] | nil,
  srcAsns: [integer()] | nil,
  srcIpRanges: [String.t()] | nil,
  srcPorts: [String.t()] | nil,
  srcRegionCodes: [String.t()] | nil,
  userDefinedFields:
    [
      GoogleApi.Compute.V1.Model.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.t()
    ]
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.