Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::CreateCryptoKeyRequest (v0.14.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::CreateCryptoKeyRequest.

Request message for KeyManagementService.CreateCryptoKey.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#crypto_key

def crypto_key() -> ::Google::Cloud::Kms::V1::CryptoKey
Returns

#crypto_key=

def crypto_key=(value) -> ::Google::Cloud::Kms::V1::CryptoKey
Parameter
Returns

#crypto_key_id

def crypto_key_id() -> ::String
Returns
  • (::String) — Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

#crypto_key_id=

def crypto_key_id=(value) -> ::String
Parameter
  • value (::String) — 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}

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The name of the KeyRing associated with the CryptoKeys.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the KeyRing associated with the CryptoKeys.
Returns
  • (::String) — Required. The name of the KeyRing associated with the CryptoKeys.

#skip_initial_version_creation

def skip_initial_version_creation() -> ::Boolean
Returns

#skip_initial_version_creation=

def skip_initial_version_creation=(value) -> ::Boolean
Parameter
Returns