class Google::Apis::ComputeV1::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::ComputeV1::CustomerEncryptionKey]
source[RW]
Specifies a valid partial or full URL to an existing Persistent Disk
resource. This field is only applicable for persistent disks. For example: “source”: “/ compute/v1/projects/project_id/zones/zone/disks/ disk_name Corresponds to the JSON property `source` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 5605 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_v1/classes.rb, line 5610 def update!(**args) @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key) @source = args[:source] if args.key?(:source) end