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:



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

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+



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

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.



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

class CreateCryptoKeyRequest; end