Class google::cloud::KmsKeyName (2.10.1)

This class identifies a Google Cloud KMS Key.

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

Note: This class makes no effort to validate the components of the key, It is the application's responsibility to provide a valid project id, location, key ring, and KMS key name. Passing invalid values will not be checked until the key is used in a RPC. See https://cloud.google.com/kms/docs for more information on KMS.

Constructors

KmsKeyName

Parameter
Name Description
KmsKeyName const &

KmsKeyName

Parameter
Name Description
KmsKeyName &&

KmsKeyName

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=

Parameter
Name Description
KmsKeyName const &
Returns
Type Description
KmsKeyName &

operator=

Parameter
Name Description
KmsKeyName &&
Returns
Type Description
KmsKeyName &

Functions

FullName

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

Returns
Type Description
std::string const &