Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::DiskUpdateKmsKeyRequest.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#kms_key_name
def kms_key_name() -> ::String-
(::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/keyWhere project is the project ID or project number.
#kms_key_name=
def kms_key_name=(value) -> ::String-
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/keyWhere project is the project ID or project number.
-
(::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/keyWhere project is the project ID or project number.