class Google::Apis::ComputeBeta::InstancesResumeRequest

Attributes

disks[RW]

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to resume the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified. Corresponds to the JSON property `disks` @return [Array<Google::Apis::ComputeBeta::CustomerEncryptionKeyProtectedDisk>]

instance_encryption_key[RW]

Decrypts data associated with an instance that is protected with a customer- supplied encryption key. If the instance you are starting is protected with a customer-supplied encryption key, the correct key must be provided otherwise the instance resume will not succeed. Corresponds to the JSON property `instanceEncryptionKey` @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 15817
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 15822
def update!(**args)
  @disks = args[:disks] if args.key?(:disks)
  @instance_encryption_key = args[:instance_encryption_key] if args.key?(:instance_encryption_key)
end