public interface CreateCryptoKeyRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
CryptoKey |
getCryptoKey()
Required.
|
String |
getCryptoKeyId()
Required.
|
ByteString |
getCryptoKeyIdBytes()
Required.
|
CryptoKeyOrBuilder |
getCryptoKeyOrBuilder()
Required.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
boolean |
getSkipInitialVersionCreation()
If set to true, the request will create a
[CryptoKey][google.cloud.kms.v1.CryptoKey] without any
[CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
|
boolean |
hasCryptoKey()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getCryptoKeyId()
Required. It must be unique within a KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}`
string crypto_key_id = 2 [(.google.api.field_behavior) = REQUIRED];
ByteString getCryptoKeyIdBytes()
Required. It must be unique within a KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}`
string crypto_key_id = 2 [(.google.api.field_behavior) = REQUIRED];
boolean hasCryptoKey()
Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
.google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED];
CryptoKey getCryptoKey()
Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
.google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED];
CryptoKeyOrBuilder getCryptoKeyOrBuilder()
Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
.google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED];
boolean getSkipInitialVersionCreation()
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].
bool skip_initial_version_creation = 5;
Copyright © 2022 Google LLC. All rights reserved.