Class: Google::Cloud::Kms::V1::CreateCryptoKeyRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb

Overview

Request message for KeyManagementService::CreateCryptoKey.

Instance Attribute Summary collapse

Instance Attribute Details

#crypto_keyGoogle::Cloud::Kms::V1::CryptoKey

Returns A CryptoKey with initial field values.

Returns:



241
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 241

class CreateCryptoKeyRequest; end

#crypto_key_idString

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

Returns:

  • (String)

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



241
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 241

class CreateCryptoKeyRequest; end

#parentString

Returns Required. The name of the KeyRing associated with the CryptoKeys.

Returns:

  • (String)

    Required. The name of the KeyRing associated with the CryptoKeys.



241
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 241

class CreateCryptoKeyRequest; end

#skip_initial_version_creationtrue, false

Returns If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must manually call CreateCryptoKeyVersion or ImportCryptoKeyVersion before you can use this CryptoKey.

Returns:

  • (true, false)

    If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must manually call CreateCryptoKeyVersion or ImportCryptoKeyVersion before you can use this CryptoKey.



241
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 241

class CreateCryptoKeyRequest; end