class Google::Apis::ComputeBeta::CustomerEncryptionKeyProtectedDisk

Attributes

disk_encryption_key[RW]

Decrypts data associated with the disk with a customer-supplied encryption key. Corresponds to the JSON property `diskEncryptionKey` @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]

source[RW]

Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. Corresponds to the JSON property `source` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 5548
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 5553
def update!(**args)
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
  @source = args[:source] if args.key?(:source)
end