Class KmsKeyName (2.22.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
NameDescription
KmsKeyName const &

KmsKeyName(KmsKeyName &&)

Copy and move

Parameter
NameDescription
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
NameDescription
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
NameDescription
KmsKeyName const &
Returns
TypeDescription
KmsKeyName &

operator=(KmsKeyName &&)

Copy and move

Parameter
NameDescription
KmsKeyName &&
Returns
TypeDescription
KmsKeyName &

Functions

FullName() const

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

Returns
TypeDescription
std::string const &