Reference documentation and code samples for the Compute V1 Client class SnapshotUpdateKmsKeyRequest.
Generated from protobuf message google.cloud.compute.v1.SnapshotUpdateKmsKeyRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kms_key_name
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/key_ring/cryptoKeys/key
getKmsKeyName
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/key_ring/cryptoKeys/key
string
hasKmsKeyName
clearKmsKeyName
setKmsKeyName
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/key_ring/cryptoKeys/key
var
string
$this

