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

#include <service_account.h>

Inheritance diagram for google_storage_api::ServiceAccount:

Public Member Functions

 ServiceAccount (const Json::Value &storage)
 
 ServiceAccount (Json::Value *storage)
 
virtual ~ServiceAccount ()
 
const StringPiece GetTypeName () const
 
bool has_email_address () const
 
void clear_email_address ()
 
const StringPiece get_email_address () const
 
void set_email_address (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 

Static Public Member Functions

static ServiceAccountNew ()
 

Detailed Description

A subscription to receive Google PubSub notifications.

Constructor & Destructor Documentation

◆ ServiceAccount() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ServiceAccount() [2/2]

google_storage_api::ServiceAccount::ServiceAccount ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ServiceAccount()

google_storage_api::ServiceAccount::~ServiceAccount ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_email_address()

void google_storage_api::ServiceAccount::clear_email_address ( )
inline

Clears the 'email_address' attribute.

◆ clear_kind()

void google_storage_api::ServiceAccount::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_email_address()

const StringPiece google_storage_api::ServiceAccount::get_email_address ( ) const
inline

Get the value of the 'email_address' attribute.

◆ get_kind()

const StringPiece google_storage_api::ServiceAccount::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ GetTypeName()

const StringPiece google_storage_api::ServiceAccount::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_storage_api::ServiceAccount

◆ has_email_address()

bool google_storage_api::ServiceAccount::has_email_address ( ) const
inline

Determine if the 'email_address' attribute was set.

Returns
true if the 'email_address' attribute was set.

◆ has_kind()

bool google_storage_api::ServiceAccount::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ New()

ServiceAccount * google_storage_api::ServiceAccount::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_email_address()

void google_storage_api::ServiceAccount::set_email_address ( const StringPiece &  value)
inline

Change the 'email_address' attribute.

The ID of the notification.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_storage_api::ServiceAccount::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

The kind of item this is. For notifications, this is always storage::notification.

Parameters
[in]valueThe new value.

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