GoogleApi.SecurityCenter.V1.Model.IpRule (google_api_security_center v0.39.0)

View Source

IP rule information.

Attributes

  • portRanges (type: list(GoogleApi.SecurityCenter.V1.Model.PortRange.t), default: nil) - Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.
  • protocol (type: String.t, default: nil) - The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SecurityCenter.V1.Model.IpRule{
  portRanges: [GoogleApi.SecurityCenter.V1.Model.PortRange.t()] | nil,
  protocol: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.