Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::RegionDiskUpdateKmsKeyRequest (v3.6.0)

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#kms_key_name

def kms_key_name() -> ::String
Returns
  • (::String) — Optional. The new KMS key to replace the current one on the disk. If empty, the disk will be re-encrypted using the primary version of the disk's current KMS key.

    The KMS key can be provided in the following formats:

     - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
    

    Where project is the project ID or project number.

#kms_key_name=

def kms_key_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The new KMS key to replace the current one on the disk. If empty, the disk will be re-encrypted using the primary version of the disk's current KMS key.

    The KMS key can be provided in the following formats:

     - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
    

    Where project is the project ID or project number.

Returns
  • (::String) — Optional. The new KMS key to replace the current one on the disk. If empty, the disk will be re-encrypted using the primary version of the disk's current KMS key.

    The KMS key can be provided in the following formats:

     - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
    

    Where project is the project ID or project number.