#include <hmac_key_metadata.h>
JSON template to produce a JSON-style HMAC Key metadata resource.
◆ HmacKeyMetadata() [1/2]
| google_storage_api::HmacKeyMetadata::HmacKeyMetadata |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ HmacKeyMetadata() [2/2]
| google_storage_api::HmacKeyMetadata::HmacKeyMetadata |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~HmacKeyMetadata()
| google_storage_api::HmacKeyMetadata::~HmacKeyMetadata |
( |
| ) |
|
|
virtual |
◆ clear_access_id()
| void google_storage_api::HmacKeyMetadata::clear_access_id |
( |
| ) |
|
|
inline |
Clears the 'accessId' attribute.
◆ clear_etag()
| void google_storage_api::HmacKeyMetadata::clear_etag |
( |
| ) |
|
|
inline |
Clears the 'etag' attribute.
◆ clear_id()
| void google_storage_api::HmacKeyMetadata::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_kind()
| void google_storage_api::HmacKeyMetadata::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_project_id()
| void google_storage_api::HmacKeyMetadata::clear_project_id |
( |
| ) |
|
|
inline |
Clears the 'projectId' attribute.
◆ clear_self_link()
| void google_storage_api::HmacKeyMetadata::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink' attribute.
◆ clear_service_account_email()
| void google_storage_api::HmacKeyMetadata::clear_service_account_email |
( |
| ) |
|
|
inline |
Clears the 'serviceAccountEmail' attribute.
◆ clear_state()
| void google_storage_api::HmacKeyMetadata::clear_state |
( |
| ) |
|
|
inline |
Clears the 'state' attribute.
◆ clear_time_created()
| void google_storage_api::HmacKeyMetadata::clear_time_created |
( |
| ) |
|
|
inline |
Clears the 'timeCreated' attribute.
◆ clear_updated()
| void google_storage_api::HmacKeyMetadata::clear_updated |
( |
| ) |
|
|
inline |
Clears the 'updated' attribute.
◆ get_access_id()
| const StringPiece google_storage_api::HmacKeyMetadata::get_access_id |
( |
| ) |
const |
|
inline |
Get the value of the 'accessId' attribute.
◆ get_etag()
| const StringPiece google_storage_api::HmacKeyMetadata::get_etag |
( |
| ) |
const |
|
inline |
Get the value of the 'etag' attribute.
◆ get_id()
| const StringPiece google_storage_api::HmacKeyMetadata::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_kind()
| const StringPiece google_storage_api::HmacKeyMetadata::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_project_id()
| const StringPiece google_storage_api::HmacKeyMetadata::get_project_id |
( |
| ) |
const |
|
inline |
Get the value of the 'projectId' attribute.
◆ get_self_link()
| const StringPiece google_storage_api::HmacKeyMetadata::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink' attribute.
◆ get_service_account_email()
| const StringPiece google_storage_api::HmacKeyMetadata::get_service_account_email |
( |
| ) |
const |
|
inline |
Get the value of the 'serviceAccountEmail' attribute.
◆ get_state()
| const StringPiece google_storage_api::HmacKeyMetadata::get_state |
( |
| ) |
const |
|
inline |
Get the value of the 'state' attribute.
◆ get_time_created()
| client::DateTime google_storage_api::HmacKeyMetadata::get_time_created |
( |
| ) |
const |
|
inline |
Get the value of the 'timeCreated' attribute.
◆ get_updated()
| client::DateTime google_storage_api::HmacKeyMetadata::get_updated |
( |
| ) |
const |
|
inline |
Get the value of the 'updated' attribute.
◆ GetTypeName()
| const StringPiece google_storage_api::HmacKeyMetadata::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_access_id()
| bool google_storage_api::HmacKeyMetadata::has_access_id |
( |
| ) |
const |
|
inline |
Determine if the 'accessId' attribute was set.
- Returns
- true if the '
accessId' attribute was set.
◆ has_etag()
| bool google_storage_api::HmacKeyMetadata::has_etag |
( |
| ) |
const |
|
inline |
Determine if the 'etag' attribute was set.
- Returns
- true if the '
etag' attribute was set.
◆ has_id()
| bool google_storage_api::HmacKeyMetadata::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_kind()
| bool google_storage_api::HmacKeyMetadata::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_project_id()
| bool google_storage_api::HmacKeyMetadata::has_project_id |
( |
| ) |
const |
|
inline |
Determine if the 'projectId' attribute was set.
- Returns
- true if the '
projectId' attribute was set.
◆ has_self_link()
| bool google_storage_api::HmacKeyMetadata::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink' attribute was set.
- Returns
- true if the '
selfLink' attribute was set.
◆ has_service_account_email()
| bool google_storage_api::HmacKeyMetadata::has_service_account_email |
( |
| ) |
const |
|
inline |
Determine if the 'serviceAccountEmail' attribute was set.
- Returns
- true if the '
serviceAccountEmail' attribute was set.
◆ has_state()
| bool google_storage_api::HmacKeyMetadata::has_state |
( |
| ) |
const |
|
inline |
Determine if the 'state' attribute was set.
- Returns
- true if the '
state' attribute was set.
◆ has_time_created()
| bool google_storage_api::HmacKeyMetadata::has_time_created |
( |
| ) |
const |
|
inline |
Determine if the 'timeCreated' attribute was set.
- Returns
- true if the '
timeCreated' attribute was set.
◆ has_updated()
| bool google_storage_api::HmacKeyMetadata::has_updated |
( |
| ) |
const |
|
inline |
Determine if the 'updated' attribute was set.
- Returns
- true if the '
updated' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_access_id()
| void google_storage_api::HmacKeyMetadata::set_access_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'accessId' attribute.
The ID of the HMAC Key.
- Parameters
-
◆ set_etag()
| void google_storage_api::HmacKeyMetadata::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag' attribute.
HTTP 1.1 Entity tag for the HMAC key.
- Parameters
-
◆ set_id()
| void google_storage_api::HmacKeyMetadata::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
The ID of the HMAC key, including the Project ID and the Access ID.
- Parameters
-
◆ set_kind()
| void google_storage_api::HmacKeyMetadata::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
The kind of item this is. For HMAC Key metadata, this is always storage::hmacKeyMetadata.
- Parameters
-
◆ set_project_id()
| void google_storage_api::HmacKeyMetadata::set_project_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'projectId' attribute.
Project ID owning the service account to which the key authenticates.
- Parameters
-
◆ set_self_link()
| void google_storage_api::HmacKeyMetadata::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink' attribute.
The link to this resource.
- Parameters
-
◆ set_service_account_email()
| void google_storage_api::HmacKeyMetadata::set_service_account_email |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'serviceAccountEmail' attribute.
The email address of the key's associated service account.
- Parameters
-
◆ set_state()
| void google_storage_api::HmacKeyMetadata::set_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'state' attribute.
The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
- Parameters
-
◆ set_time_created()
| void google_storage_api::HmacKeyMetadata::set_time_created |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'timeCreated' attribute.
The creation time of the HMAC key in RFC 3339 format.
- Parameters
-
◆ set_updated()
| void google_storage_api::HmacKeyMetadata::set_updated |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'updated' attribute.
The last modification time of the HMAC key metadata in RFC 3339 format.
- Parameters
-
The documentation for this class was generated from the following files: