#include <service_account_key.h>
Credentials that can be used to authenticate as a service account.
◆ ServiceAccountKey() [1/2]
google_androidenterprise_api::ServiceAccountKey::ServiceAccountKey |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ServiceAccountKey()
google_androidenterprise_api::ServiceAccountKey::~ServiceAccountKey |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ set_kind()
void google_androidenterprise_api::ServiceAccountKey::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
- Parameters
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: