androidenterprise
v1
|
#include <service_account.h>
Public Member Functions | |
ServiceAccount (const Json::Value &storage) | |
ServiceAccount (Json::Value *storage) | |
virtual | ~ServiceAccount () |
const StringPiece | GetTypeName () const |
bool | has_key () const |
void | clear_key () |
const ServiceAccountKey | get_key () const |
ServiceAccountKey | mutable_key () |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
Static Public Member Functions | |
static ServiceAccount * | New () |
A service account identity, including the name and credentials that can be used to authenticate as the service account.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'key
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
const ServiceAccountKey google_androidenterprise_api::ServiceAccount::get_key | ( | ) | const |
Get a reference to the value of the 'key
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'key
' attribute was set.
key
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set. ServiceAccountKey google_androidenterprise_api::ServiceAccount::mutable_key | ( | ) |
Gets a reference to a mutable value of the 'key
' property.
Credentials that can be used to authenticate as this ServiceAccount.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind
' attribute.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The account name of the service account, in the form of an email address. Assigned by the server.
[in] | value | The new value. |