15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_KMS_KEY_NAME_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_KMS_KEY_NAME_H
18#include "google/cloud/status_or.h"
19#include "google/cloud/version.h"
28
29
30
31
32
33
34
35
36
37
38
39
43
44
45
46 KmsKeyName(std::string
const& project_id, std::string
const& location,
47 std::string
const& key_ring, std::string
const& kms_key_name);
58
59
60
61
62 std::string
const&
FullName()
const {
return full_name_; }
73 friend std::ostream& operator<<(std::ostream&,
KmsKeyName const&);
76 std::string full_name_;
80
81
82
This class identifies a Google Cloud KMS Key.
Definition: kms_key_name.h:40
friend bool operator==(KmsKeyName const &a, KmsKeyName const &b)
std::string const & FullName() const
Returns the fully qualified KMS Key name as a string of the form: "projects/<project>/locations/<loca...
Definition: kms_key_name.h:62
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,...
KmsKeyName(KmsKeyName &&)=default
friend bool operator!=(KmsKeyName const &a, KmsKeyName const &b)
Definition: kms_key_name.h:67
KmsKeyName & operator=(KmsKeyName const &)=default
KmsKeyName(KmsKeyName const &)=default
KmsKeyName & operator=(KmsKeyName &&)=default
Contains all the Google Cloud C++ Library APIs.
Definition: async_operation.h:23
StatusOr< KmsKeyName > MakeKmsKeyName(std::string const &full_name)
Constructs a KmsKeyName from the given full_name.
Definition: async_operation.h:22
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Definition: version.h:45
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
Definition: version.h:43