#include <service_account.h>
A subscription to receive Google PubSub notifications.
◆ ServiceAccount() [1/2]
| google_storage_api::ServiceAccount::ServiceAccount |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ServiceAccount()
| google_storage_api::ServiceAccount::~ServiceAccount |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
The documentation for this class was generated from the following files: