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

#include <service_account_key.h>

Inheritance diagram for google_androidenterprise_api::ServiceAccountKey:

Public Member Functions

 ServiceAccountKey (const Json::Value &storage)
 
 ServiceAccountKey (Json::Value *storage)
 
virtual ~ServiceAccountKey ()
 
const StringPiece GetTypeName () const
 
bool has_data () const
 
void clear_data ()
 
const StringPiece get_data () const
 
void set_data (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_public_data () const
 
void clear_public_data ()
 
const StringPiece get_public_data () const
 
void set_public_data (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static ServiceAccountKeyNew ()
 

Detailed Description

Credentials that can be used to authenticate as a service account.

Constructor & Destructor Documentation

◆ ServiceAccountKey() [1/2]

google_androidenterprise_api::ServiceAccountKey::ServiceAccountKey ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ServiceAccountKey() [2/2]

google_androidenterprise_api::ServiceAccountKey::ServiceAccountKey ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ServiceAccountKey()

google_androidenterprise_api::ServiceAccountKey::~ServiceAccountKey ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_data()

void google_androidenterprise_api::ServiceAccountKey::clear_data ( )
inline

Clears the 'data' attribute.

◆ clear_id()

void google_androidenterprise_api::ServiceAccountKey::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_androidenterprise_api::ServiceAccountKey::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_public_data()

void google_androidenterprise_api::ServiceAccountKey::clear_public_data ( )
inline

Clears the 'publicData' attribute.

◆ clear_type()

void google_androidenterprise_api::ServiceAccountKey::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_data()

const StringPiece google_androidenterprise_api::ServiceAccountKey::get_data ( ) const
inline

Get the value of the 'data' attribute.

◆ get_id()

const StringPiece google_androidenterprise_api::ServiceAccountKey::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_public_data()

const StringPiece google_androidenterprise_api::ServiceAccountKey::get_public_data ( ) const
inline

Get the value of the 'publicData' attribute.

◆ get_type()

const StringPiece google_androidenterprise_api::ServiceAccountKey::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::ServiceAccountKey

◆ has_data()

bool google_androidenterprise_api::ServiceAccountKey::has_data ( ) const
inline

Determine if the 'data' attribute was set.

Returns
true if the 'data' attribute was set.

◆ has_id()

bool google_androidenterprise_api::ServiceAccountKey::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_public_data()

bool google_androidenterprise_api::ServiceAccountKey::has_public_data ( ) const
inline

Determine if the 'publicData' attribute was set.

Returns
true if the 'publicData' attribute was set.

◆ has_type()

bool google_androidenterprise_api::ServiceAccountKey::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

ServiceAccountKey * google_androidenterprise_api::ServiceAccountKey::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_data()

void google_androidenterprise_api::ServiceAccountKey::set_data ( const StringPiece &  value)
inline

Change the 'data' attribute.

The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.

Parameters
[in]valueThe new value.

◆ set_id()

void google_androidenterprise_api::ServiceAccountKey::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_public_data()

void google_androidenterprise_api::ServiceAccountKey::set_public_data ( const StringPiece &  value)
inline

Change the 'publicData' attribute.

Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.

Parameters
[in]valueThe new value.

◆ set_type()

void google_androidenterprise_api::ServiceAccountKey::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The file format of the generated key data.

Parameters
[in]valueThe new value.

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