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
- (::Google::Cloud::Kms::V1::CryptoKey) — Required. A CryptoKey with initial field values.
#crypto_key=
def crypto_key=(value) -> ::Google::Cloud::Kms::V1::CryptoKey
Parameter
- value (::Google::Cloud::Kms::V1::CryptoKey) — Required. A CryptoKey with initial field values.
Returns
- (::Google::Cloud::Kms::V1::CryptoKey) — Required. A CryptoKey with initial field values.
#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
- (::Boolean) — 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.
#skip_initial_version_creation=
def skip_initial_version_creation=(value) -> ::Boolean
Parameter
- value (::Boolean) — 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
- (::Boolean) — 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.