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

View Source

A node-attached disk resource. Next ID: 8;

Attributes

  • mode (type: String.t, default: nil) - The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
  • sourceDisk (type: String.t, default: nil) - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.AttachedDisk{
  mode: String.t() | nil,
  sourceDisk: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.