#include <service_account.h>
◆ ServiceAccount() [1/2]
google_compute_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_compute_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_compute_api::ServiceAccount::~ServiceAccount |
( |
| ) |
|
|
virtual |
◆ clear_email()
void google_compute_api::ServiceAccount::clear_email |
( |
| ) |
|
|
inline |
Clears the 'email
' attribute.
◆ clear_scopes()
void google_compute_api::ServiceAccount::clear_scopes |
( |
| ) |
|
|
inline |
Clears the 'scopes
' attribute.
◆ get_email()
const StringPiece google_compute_api::ServiceAccount::get_email |
( |
| ) |
const |
|
inline |
Get the value of the 'email
' attribute.
◆ get_scopes()
const client::JsonCppArray<string > google_compute_api::ServiceAccount::get_scopes |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'scopes
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::ServiceAccount::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_email()
bool google_compute_api::ServiceAccount::has_email |
( |
| ) |
const |
|
inline |
Determine if the 'email
' attribute was set.
- Returns
- true if the '
email
' attribute was set.
◆ has_scopes()
bool google_compute_api::ServiceAccount::has_scopes |
( |
| ) |
const |
|
inline |
Determine if the 'scopes
' attribute was set.
- Returns
- true if the '
scopes
' attribute was set.
◆ mutable_scopes()
client::JsonCppArray<string > google_compute_api::ServiceAccount::mutable_scopes |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'scopes
' property.
The list of scopes to be made available for this service account.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_email()
void google_compute_api::ServiceAccount::set_email |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'email
' attribute.
Email address of the service account.
- Parameters
-
The documentation for this class was generated from the following files: