|
storage
v1
|
#include <hmac_key.h>
Public Member Functions | |
| HmacKey (const Json::Value &storage) | |
| HmacKey (Json::Value *storage) | |
| virtual | ~HmacKey () |
| const StringPiece | GetTypeName () const |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_metadata () const |
| void | clear_metadata () |
| const HmacKeyMetadata | get_metadata () const |
| HmacKeyMetadata | mutable_metadata () |
| bool | has_secret () const |
| void | clear_secret () |
| const StringPiece | get_secret () const |
| void | set_secret (const StringPiece &value) |
Static Public Member Functions | |
| static HmacKey * | New () |
JSON template to produce a JSON-style HMAC Key resource for Create responses.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'metadata' attribute.
|
inline |
Clears the 'secret' attribute.
|
inline |
Get the value of the 'kind' attribute.
| const HmacKeyMetadata google_storage_api::HmacKey::get_metadata | ( | ) | const |
Get a reference to the value of the 'metadata' attribute.
|
inline |
Get the value of the 'secret' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_storage_api::HmacKey
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'metadata' attribute was set.
metadata' attribute was set.
|
inline |
Determine if the 'secret' attribute was set.
secret' attribute was set. | HmacKeyMetadata google_storage_api::HmacKey::mutable_metadata | ( | ) |
Gets a reference to a mutable value of the 'metadata' property.
Key metadata.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind' attribute.
The kind of item this is. For HMAC keys, this is always storage::hmacKey.
| [in] | value | The new value. |
|
inline |
Change the 'secret' attribute.
HMAC secret key material.
| [in] | value | The new value. |