public sealed class SnapshotUpdateKmsKeyRequest : IMessage<SnapshotUpdateKmsKeyRequest>, IEquatable<SnapshotUpdateKmsKeyRequest>, IDeepCloneable<SnapshotUpdateKmsKeyRequest>, IBufferMessage, IMessageImplements
IMessageSnapshotUpdateKmsKeyRequest, IEquatableSnapshotUpdateKmsKeyRequest, IDeepCloneableSnapshotUpdateKmsKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
SnapshotUpdateKmsKeyRequest()
public SnapshotUpdateKmsKeyRequest()SnapshotUpdateKmsKeyRequest(SnapshotUpdateKmsKeyRequest)
public SnapshotUpdateKmsKeyRequest(SnapshotUpdateKmsKeyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SnapshotUpdateKmsKeyRequest |
Properties
HasKmsKeyName
public bool HasKmsKeyName { get; }Gets whether the "kms_key_name" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
KmsKeyName
public string KmsKeyName { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|