GoogleApi.TPU.V2.Model.NetworkConfig (google_api_tpu v0.18.0)

View Source

Network related configurations.

Attributes

  • canIpForward (type: boolean(), default: nil) - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
  • enableExternalIps (type: boolean(), default: nil) - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
  • network (type: String.t, default: nil) - The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
  • queueCount (type: integer(), default: nil) - Optional. Specifies networking queue count for TPU VM instance's network interface.
  • subnetwork (type: String.t, default: nil) - The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.NetworkConfig{
  canIpForward: boolean() | nil,
  enableExternalIps: boolean() | nil,
  network: String.t() | nil,
  queueCount: integer() | nil,
  subnetwork: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.