Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::CustomerEncryptionKeyProtectedDisk (v2.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CustomerEncryptionKeyProtectedDisk.

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

#disk_encryption_key=

def disk_encryption_key=(value) -> ::Google::Cloud::Compute::V1::CustomerEncryptionKey
Parameter
Returns

#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