Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
|
This class identifies a Google Cloud KMS Key. More...
#include <google/cloud/kms_key_name.h>
Public Member Functions | |
KmsKeyName (std::string const &project_id, std::string const &location, std::string const &key_ring, std::string const &kms_key_name) | |
Constructs a KmsKeyName object identified by the given project_id , location , key_ring , and kms_key_name . More... | |
std::string const & | FullName () const |
Returns the fully qualified KMS Key name as a string of the form: "projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys\
/<kms_key_name>". More... | |
Copy and move | |
KmsKeyName (KmsKeyName const &)=default | |
KmsKeyName & | operator= (KmsKeyName const &)=default |
KmsKeyName (KmsKeyName &&)=default | |
KmsKeyName & | operator= (KmsKeyName &&)=default |
Friends | |
std::ostream & | operator<< (std::ostream &, KmsKeyName const &) |
Output the FullName() format. More... | |
Equality operators | |
bool | operator== (KmsKeyName const &a, KmsKeyName const &b) |
bool | operator!= (KmsKeyName const &a, KmsKeyName const &b) |
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.
google::cloud::KmsKeyName::KmsKeyName | ( | std::string const & | project_id, |
std::string const & | location, | ||
std::string const & | key_ring, | ||
std::string const & | kms_key_name | ||
) |
Constructs a KmsKeyName object identified by the given project_id
, location
, key_ring
, and kms_key_name
.
|
default |
|
default |
|
inline |
Returns the fully qualified KMS Key name as a string of the form: "projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys\ /<kms_key_name>".
|
default |
|
default |
|
friend |
|
friend |
Output the FullName()
format.
|
friend |