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

View Source

A network endpoint over which a TPU worker can be reached.

Attributes

  • accessConfig (type: GoogleApi.TPU.V2.Model.AccessConfig.t, default: nil) - The access config for the TPU worker.
  • ipAddress (type: String.t, default: nil) - The internal IP address of this network endpoint.
  • port (type: integer(), default: nil) - The port of this network endpoint.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.NetworkEndpoint{
  accessConfig: GoogleApi.TPU.V2.Model.AccessConfig.t() | nil,
  ipAddress: String.t() | nil,
  port: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.