Compute Engine v1 API - Class RegionSnapshotUpdateKmsKeyRequest (3.27.0)

public sealed class RegionSnapshotUpdateKmsKeyRequest : IMessage<RegionSnapshotUpdateKmsKeyRequest>, IEquatable<RegionSnapshotUpdateKmsKeyRequest>, IDeepCloneable<RegionSnapshotUpdateKmsKeyRequest>, IBufferMessage, IMessage

Inheritance

object > RegionSnapshotUpdateKmsKeyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

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