GoogleApi.NetworkManagement.V1.Model.NatInfo (google_api_network_management v0.39.0)

View Source

For display only. Metadata associated with NAT.

Attributes

  • natGatewayName (type: String.t, default: nil) - The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
  • networkUri (type: String.t, default: nil) - URI of the network where NAT translation takes place.
  • newDestinationIp (type: String.t, default: nil) - Destination IP address after NAT translation.
  • newDestinationPort (type: integer(), default: nil) - Destination port after NAT translation. Only valid when protocol is TCP or UDP.
  • newSourceIp (type: String.t, default: nil) - Source IP address after NAT translation.
  • newSourcePort (type: integer(), default: nil) - Source port after NAT translation. Only valid when protocol is TCP or UDP.
  • oldDestinationIp (type: String.t, default: nil) - Destination IP address before NAT translation.
  • oldDestinationPort (type: integer(), default: nil) - Destination port before NAT translation. Only valid when protocol is TCP or UDP.
  • oldSourceIp (type: String.t, default: nil) - Source IP address before NAT translation.
  • oldSourcePort (type: integer(), default: nil) - Source port before NAT translation. Only valid when protocol is TCP or UDP.
  • protocol (type: String.t, default: nil) - IP protocol in string format, for example: "TCP", "UDP", "ICMP".
  • routerUri (type: String.t, default: nil) - Uri of the Cloud Router. Only valid when type is CLOUD_NAT.
  • type (type: String.t, default: nil) - Type of NAT.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkManagement.V1.Model.NatInfo{
  natGatewayName: String.t() | nil,
  networkUri: String.t() | nil,
  newDestinationIp: String.t() | nil,
  newDestinationPort: integer() | nil,
  newSourceIp: String.t() | nil,
  newSourcePort: integer() | nil,
  oldDestinationIp: String.t() | nil,
  oldDestinationPort: integer() | nil,
  oldSourceIp: String.t() | nil,
  oldSourcePort: integer() | nil,
  protocol: String.t() | nil,
  routerUri: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.