androidenterprise  v1
Public Member Functions | Static Public Member Functions | List of all members
google_androidenterprise_api::ServiceAccount Class Reference

#include <service_account.h>

Inheritance diagram for google_androidenterprise_api::ServiceAccount:

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

Detailed Description

A service account identity, including the name and credentials that can be used to authenticate as the service account.

Constructor & Destructor Documentation

◆ ServiceAccount() [1/2]

google_androidenterprise_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_androidenterprise_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_androidenterprise_api::ServiceAccount::~ServiceAccount ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_key()

void google_androidenterprise_api::ServiceAccount::clear_key ( )
inline

Clears the 'key' attribute.

◆ clear_kind()

void google_androidenterprise_api::ServiceAccount::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_androidenterprise_api::ServiceAccount::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_key()

const ServiceAccountKey google_androidenterprise_api::ServiceAccount::get_key ( ) const

Get a reference to the value of the 'key' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_androidenterprise_api::ServiceAccount::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::ServiceAccount

◆ has_key()

bool google_androidenterprise_api::ServiceAccount::has_key ( ) const
inline

Determine if the 'key' attribute was set.

Returns
true if the 'key' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_androidenterprise_api::ServiceAccount::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ mutable_key()

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.

Returns
The result can be modified to change the attribute value.

◆ New()

ServiceAccount * google_androidenterprise_api::ServiceAccount::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_name()

void google_androidenterprise_api::ServiceAccount::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The account name of the service account, in the form of an email address. Assigned by the server.

Parameters
[in]valueThe new value.

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