Compute Engine v1 API - Class DiskUpdateKmsKeyRequest (3.27.0)

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

Inheritance

object > DiskUpdateKmsKeyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

DiskUpdateKmsKeyRequest()

public DiskUpdateKmsKeyRequest()

DiskUpdateKmsKeyRequest(DiskUpdateKmsKeyRequest)

public DiskUpdateKmsKeyRequest(DiskUpdateKmsKeyRequest other)
Parameter
Name Description
other DiskUpdateKmsKeyRequest

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