storage  v1
Public Member Functions | Static Public Member Functions | List of all members
google_storage_api::HmacKeyMetadata Class Reference

#include <hmac_key_metadata.h>

Inheritance diagram for google_storage_api::HmacKeyMetadata:

Public Member Functions

 HmacKeyMetadata (const Json::Value &storage)
 
 HmacKeyMetadata (Json::Value *storage)
 
virtual ~HmacKeyMetadata ()
 
const StringPiece GetTypeName () const
 
bool has_access_id () const
 
void clear_access_id ()
 
const StringPiece get_access_id () const
 
void set_access_id (const StringPiece &value)
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_project_id () const
 
void clear_project_id ()
 
const StringPiece get_project_id () const
 
void set_project_id (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_service_account_email () const
 
void clear_service_account_email ()
 
const StringPiece get_service_account_email () const
 
void set_service_account_email (const StringPiece &value)
 
bool has_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 
bool has_time_created () const
 
void clear_time_created ()
 
client::DateTime get_time_created () const
 
void set_time_created (client::DateTime value)
 
bool has_updated () const
 
void clear_updated ()
 
client::DateTime get_updated () const
 
void set_updated (client::DateTime value)
 

Static Public Member Functions

static HmacKeyMetadataNew ()
 

Detailed Description

JSON template to produce a JSON-style HMAC Key metadata resource.

Constructor & Destructor Documentation

◆ HmacKeyMetadata() [1/2]

google_storage_api::HmacKeyMetadata::HmacKeyMetadata ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~HmacKeyMetadata()

google_storage_api::HmacKeyMetadata::~HmacKeyMetadata ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_storage_api::HmacKeyMetadata

◆ 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()

HmacKeyMetadata * google_storage_api::HmacKeyMetadata::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: