Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SourceDiskEncryptionKey.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disk_encryption_key
def disk_encryption_key() -> ::Google::Cloud::Compute::V1::CustomerEncryptionKey
Returns
- (::Google::Cloud::Compute::V1::CustomerEncryptionKey) — The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
#disk_encryption_key=
def disk_encryption_key=(value) -> ::Google::Cloud::Compute::V1::CustomerEncryptionKey
Parameter
- value (::Google::Cloud::Compute::V1::CustomerEncryptionKey) — The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
Returns
- (::Google::Cloud::Compute::V1::CustomerEncryptionKey) — The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
#source_disk
def source_disk() -> ::String
Returns
- (::String) — 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
#source_disk=
def source_disk=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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