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) — Decrypts data associated with the disk with 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) — Decrypts data associated with the disk with a customer-supplied encryption key.
Returns
- (::Google::Cloud::Compute::V1::CustomerEncryptionKey) — Decrypts data associated with the disk with a customer-supplied encryption key.
#source
def source() -> ::String
Returns
- (::String) — 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
#source=
def source=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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