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

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

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 snapshot. If empty, the snapshot will be re-encrypted using the primary version of the snapshot's current KMS key.

    The KMS key can be provided in the following formats:

     - projects/project_id/locations/region/keyRings/region/cryptoKeys/key
    

#kms_key_name=

def kms_key_name=(value) -> ::String
Parameter
  • value (::String) —

    Optional. The new KMS key to replace the current one on the snapshot. If empty, the snapshot will be re-encrypted using the primary version of the snapshot's current KMS key.

    The KMS key can be provided in the following formats:

     - projects/project_id/locations/region/keyRings/region/cryptoKeys/key
    
Returns
  • (::String) —

    Optional. The new KMS key to replace the current one on the snapshot. If empty, the snapshot will be re-encrypted using the primary version of the snapshot's current KMS key.

    The KMS key can be provided in the following formats:

     - projects/project_id/locations/region/keyRings/region/cryptoKeys/key