View Source GoogleApi.Notebooks.V2.Model.DataDisk (google_api_notebooks v0.13.0)

An instance-attached disk resource.

Attributes

  • diskEncryption (type: String.t, default: nil) - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
  • diskSizeGb (type: String.t, default: nil) - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
  • diskType (type: String.t, default: nil) - Optional. Input only. Indicates the type of the disk.
  • kmsKey (type: String.t, default: nil) - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} Learn more about using your own encryption keys.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Notebooks.V2.Model.DataDisk{
  diskEncryption: String.t() | nil,
  diskSizeGb: String.t() | nil,
  diskType: String.t() | nil,
  kmsKey: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.