public sealed class RegionSnapshotUpdateKmsKeyRequest : IMessage<RegionSnapshotUpdateKmsKeyRequest>, IEquatable<RegionSnapshotUpdateKmsKeyRequest>, IDeepCloneable<RegionSnapshotUpdateKmsKeyRequest>, IBufferMessage, IMessageImplements
IMessageRegionSnapshotUpdateKmsKeyRequest, IEquatableRegionSnapshotUpdateKmsKeyRequest, IDeepCloneableRegionSnapshotUpdateKmsKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionSnapshotUpdateKmsKeyRequest()
public RegionSnapshotUpdateKmsKeyRequest()RegionSnapshotUpdateKmsKeyRequest(RegionSnapshotUpdateKmsKeyRequest)
public RegionSnapshotUpdateKmsKeyRequest(RegionSnapshotUpdateKmsKeyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RegionSnapshotUpdateKmsKeyRequest |
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/region/cryptoKeys/key
| Property Value | |
|---|---|
| Type | Description |
string |
|