public final class ServiceAccount
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ServiceAccount() |
| Modifier and Type | Method and Description |
|---|---|
ServiceAccount |
clone() |
java.lang.String |
getEmail()
Email address of the service account.
|
java.util.List<java.lang.String> |
getScopes()
The list of scopes to be made available for this service account.
|
ServiceAccount |
set(java.lang.String fieldName,
java.lang.Object value) |
ServiceAccount |
setEmail(java.lang.String email)
Email address of the service account.
|
ServiceAccount |
setScopes(java.util.List<java.lang.String> scopes)
The list of scopes to be made available for this service account.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEmail()
null for nonepublic ServiceAccount setEmail(java.lang.String email)
email - email or null for nonepublic java.util.List<java.lang.String> getScopes()
null for nonepublic ServiceAccount setScopes(java.util.List<java.lang.String> scopes)
scopes - scopes or null for nonepublic ServiceAccount set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ServiceAccount clone()
clone in class com.google.api.client.json.GenericJson