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

View Source

Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.

Attributes

  • multisliceParams (type: GoogleApi.TPU.V2.Model.MultisliceParams.t, default: nil) - Optional. Fields to specify in case of multislice request.
  • node (type: GoogleApi.TPU.V2.Model.Node.t, default: nil) - Required. The node.
  • nodeId (type: String.t, default: nil) - Optional. The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when requesting a single node. In case of multislice requests, multislice_params must be populated instead.
  • parent (type: String.t, default: nil) - Required. The parent resource name.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.NodeSpec{
  multisliceParams: GoogleApi.TPU.V2.Model.MultisliceParams.t() | nil,
  node: GoogleApi.TPU.V2.Model.Node.t() | nil,
  nodeId: String.t() | nil,
  parent: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.