Class UpdateCryptoKeyPrimaryVersionRequest (2.2.0)

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

Request message for [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].

Inheritance

Object > UpdateCryptoKeyPrimaryVersionRequest

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

UpdateCryptoKeyPrimaryVersionRequest()

public UpdateCryptoKeyPrimaryVersionRequest()

UpdateCryptoKeyPrimaryVersionRequest(UpdateCryptoKeyPrimaryVersionRequest)

public UpdateCryptoKeyPrimaryVersionRequest(UpdateCryptoKeyPrimaryVersionRequest other)
Parameter
NameDescription
otherUpdateCryptoKeyPrimaryVersionRequest

Properties

CryptoKeyName

public CryptoKeyName CryptoKeyName { get; set; }

CryptoKeyName-typed view over the Name resource name property.

Property Value
TypeDescription
CryptoKeyName

CryptoKeyVersionId

public string CryptoKeyVersionId { get; set; }

Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.

Property Value
TypeDescription
String