View Source GoogleApi.Batch.V1.Model.AttachedDisk (google_api_batch v0.6.0)

A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.

Attributes

  • deviceName (type: String.t, default: nil) - Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
  • existingDisk (type: String.t, default: nil) - Name of an existing PD.
  • newDisk (type: GoogleApi.Batch.V1.Model.Disk.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.AttachedDisk{
  deviceName: String.t() | nil,
  existingDisk: String.t() | nil,
  newDisk: GoogleApi.Batch.V1.Model.Disk.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.