Interface CreateCryptoKeyRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CreateCryptoKeyRequest, CreateCryptoKeyRequest.Builder

    public interface CreateCryptoKeyRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getParent

        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) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.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) = { ... }
        Returns:
        The bytes for parent.
      • getCryptoKeyId

        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];
        Returns:
        The cryptoKeyId.
      • getCryptoKeyIdBytes

        com.google.protobuf.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];
        Returns:
        The bytes for cryptoKeyId.
      • hasCryptoKey

        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];
        Returns:
        Whether the cryptoKey field is set.
      • getCryptoKey

        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];
        Returns:
        The cryptoKey.
      • getCryptoKeyOrBuilder

        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];
      • getSkipInitialVersionCreation

        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;
        Returns:
        The skipInitialVersionCreation.