Class KmsKeyName (2.32.0)

This class identifies a Google Cloud KMS Key.

A KMS key is identified by its project_id, location, key_ring, and kms_key_name.

See https://cloud.google.com/kms/docs for more information on KMS.

Constructors

KmsKeyName(KmsKeyName const &)

Copy and move

Parameter
Name Description
KmsKeyName const &

KmsKeyName(KmsKeyName &&)

Copy and move

Parameter
Name Description
KmsKeyName &&

KmsKeyName(std::string const &, std::string const &, std::string const &, std::string const &)

Constructs a KmsKeyName object identified by the given project_id, location, key_ring, and kms_key_name.

Parameters
Name Description
project_id std::string const &
location std::string const &
key_ring std::string const &
kms_key_name std::string const &

Operators

operator=(KmsKeyName const &)

Copy and move

Parameter
Name Description
KmsKeyName const &
Returns
Type Description
KmsKeyName &

operator=(KmsKeyName &&)

Copy and move

Parameter
Name Description
KmsKeyName &&
Returns
Type Description
KmsKeyName &

Functions

FullName() const

Returns the fully qualified KMS Key name as a string of the form: "projects/

Returns
Type Description
std::string const &