Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::GetPublicKeyRequest.
Request message for KeyManagementService.GetPublicKey.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. The name of the CryptoKeyVersion public key to get.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the CryptoKeyVersion public key to get.
Returns
- (::String) — Required. The name of the CryptoKeyVersion public key to get.
#public_key_format
def public_key_format() -> ::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat
Returns
- (::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat) — Optional. The PublicKey format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the public_key field in the requested format. Otherwise, the pem field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.
#public_key_format=
def public_key_format=(value) -> ::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat
Parameter
- value (::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat) — Optional. The PublicKey format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the public_key field in the requested format. Otherwise, the pem field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.
Returns
- (::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat) — Optional. The PublicKey format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the public_key field in the requested format. Otherwise, the pem field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.