class Google::Apis::ComputeBeta::SourceDiskEncryptionKey
Attributes
disk_encryption_key[RW]
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. Corresponds to the JSON property `diskEncryptionKey` @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
source_disk[RW]
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: - www. googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/ project/zones/zone/disks/disk - zones/zone/disks/disk Corresponds to the JSON property `sourceDisk` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 32971 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 32976 def update!(**args) @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key) @source_disk = args[:source_disk] if args.key?(:source_disk) end