Class CreateCryptoKeyRequest (2.9.0)

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

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

Inheritance

Object > CreateCryptoKeyRequest

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

CreateCryptoKeyRequest()

public CreateCryptoKeyRequest()

CreateCryptoKeyRequest(CreateCryptoKeyRequest)

public CreateCryptoKeyRequest(CreateCryptoKeyRequest other)
Parameter
NameDescription
otherCreateCryptoKeyRequest

Properties

CryptoKey

public CryptoKey CryptoKey { get; set; }

Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.

Property Value
TypeDescription
CryptoKey

CryptoKeyId

public string CryptoKeyId { get; set; }

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].

Property Value
TypeDescription
String

ParentAsKeyRingName

public KeyRingName ParentAsKeyRingName { get; set; }

KeyRingName-typed view over the Parent resource name property.

Property Value
TypeDescription
KeyRingName

SkipInitialVersionCreation

public bool SkipInitialVersionCreation { get; set; }

If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion] before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].

Property Value
TypeDescription
Boolean