Google Cloud Storage C++ Client
2.7.0
A C++ Client Library for Google Cloud Storage
|
Represents the metadata for a Google Cloud Storage HmacKeyResource. More...
#include <google/cloud/storage/hmac_key_metadata.h>
Public Member Functions | |
HmacKeyMetadata ()=default | |
std::string const & | access_id () const |
std::string const & | etag () const |
HmacKeyMetadata & | set_etag (std::string v) |
std::string const & | id () const |
std::string const & | kind () const |
std::string const & | project_id () const |
std::string const & | service_account_email () const |
std::string const & | state () const |
HmacKeyMetadata & | set_state (std::string v) |
std::chrono::system_clock::time_point | time_created () const |
std::chrono::system_clock::time_point | updated () const |
Testing modifiers. | |
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource. However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library. | |
HmacKeyMetadata & | set_access_id (std::string v) |
HmacKeyMetadata & | set_id (std::string v) |
HmacKeyMetadata & | set_kind (std::string v) |
HmacKeyMetadata & | set_project_id (std::string v) |
HmacKeyMetadata & | set_service_account_email (std::string v) |
HmacKeyMetadata & | set_time_created (std::chrono::system_clock::time_point v) |
HmacKeyMetadata & | set_updated (std::chrono::system_clock::time_point v) |
Static Public Member Functions | |
static std::string | state_active () |
static std::string | state_inactive () |
static std::string | state_deleted () |
Friends | |
std::ostream & | operator<< (std::ostream &os, HmacKeyMetadata const &rhs) |
Represents the metadata for a Google Cloud Storage HmacKeyResource.
HMAC keys allow applications to authenticate with Google Cloud Storage using HMAC authentication. Applications can create a limited number of HMAC keys associated with a service account. The application can use the HMAC keys to authenticate with GCS. GCS will use the service account permissions to determine if the request is authorized.
Definition at line 45 of file hmac_key_metadata.h.
|
default |
|
inline |
Definition at line 49 of file hmac_key_metadata.h.
|
inline |
Definition at line 50 of file hmac_key_metadata.h.
|
inline |
Definition at line 56 of file hmac_key_metadata.h.
|
inline |
Definition at line 57 of file hmac_key_metadata.h.
|
inline |
Definition at line 59 of file hmac_key_metadata.h.
|
inline |
Definition at line 60 of file hmac_key_metadata.h.
|
inline |
Definition at line 85 of file hmac_key_metadata.h.
|
inline |
Definition at line 51 of file hmac_key_metadata.h.
|
inline |
Definition at line 89 of file hmac_key_metadata.h.
|
inline |
Definition at line 94 of file hmac_key_metadata.h.
|
inline |
Definition at line 98 of file hmac_key_metadata.h.
|
inline |
Definition at line 102 of file hmac_key_metadata.h.
|
inline |
Definition at line 64 of file hmac_key_metadata.h.
|
inline |
Definition at line 106 of file hmac_key_metadata.h.
|
inline |
Definition at line 110 of file hmac_key_metadata.h.
|
inline |
Definition at line 63 of file hmac_key_metadata.h.
|
inlinestatic |
Definition at line 73 of file hmac_key_metadata.h.
|
inlinestatic |
Definition at line 75 of file hmac_key_metadata.h.
|
inlinestatic |
Definition at line 74 of file hmac_key_metadata.h.
|
inline |
Definition at line 68 of file hmac_key_metadata.h.
|
inline |
Definition at line 71 of file hmac_key_metadata.h.
|
friend |