View Source GoogleApi.Compute.V1.Model.SourceDiskEncryptionKey (google_api_compute v0.56.2)

Attributes

  • diskEncryptionKey (type: GoogleApi.Compute.V1.Model.CustomerEncryptionKey.t, default: nil) - The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
  • sourceDisk (type: String.t, default: nil) - URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SourceDiskEncryptionKey{
  diskEncryptionKey: GoogleApi.Compute.V1.Model.CustomerEncryptionKey.t() | nil,
  sourceDisk: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.