Compute Engine v1 API - Class RegionDiskUpdateKmsKeyRequest (3.27.0)

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

Inheritance

object > RegionDiskUpdateKmsKeyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionDiskUpdateKmsKeyRequest()

public RegionDiskUpdateKmsKeyRequest()

RegionDiskUpdateKmsKeyRequest(RegionDiskUpdateKmsKeyRequest)

public RegionDiskUpdateKmsKeyRequest(RegionDiskUpdateKmsKeyRequest other)
Parameter
Name Description
other RegionDiskUpdateKmsKeyRequest

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 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/key

Where project is the project ID or project number.

Property Value
Type Description
string