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

Attributes

  • base (type: String.t, default: nil) - The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
  • mask (type: String.t, default: nil) - If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
  • name (type: String.t, default: nil) - The name of this field. Must be unique within the policy.
  • offset (type: integer(), default: nil) - Offset of the first byte of the field (in network byte order) relative to 'base'.
  • size (type: integer(), default: nil) - Size of the field in bytes. Valid values: 1-4.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SecurityPolicyUserDefinedField{
  base: String.t() | nil,
  mask: String.t() | nil,
  name: String.t() | nil,
  offset: integer() | nil,
  size: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.