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 Identity and Access Management (IAM) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ServiceAccount() |
| Modifier and Type | Method and Description |
|---|---|
ServiceAccount |
clone() |
byte[] |
decodeEtag()
Deprecated.
|
ServiceAccount |
encodeEtag(byte[] etag)
Deprecated.
|
String |
getDescription()
Optional.
|
Boolean |
getDisabled()
Output only.
|
String |
getDisplayName()
Optional.
|
String |
getEmail()
Output only.
|
String |
getEtag()
Deprecated.
|
String |
getName()
The resource name of the service account.
|
String |
getOauth2ClientId()
Output only.
|
String |
getProjectId()
Output only.
|
String |
getUniqueId()
Output only.
|
ServiceAccount |
set(String fieldName,
Object value) |
ServiceAccount |
setDescription(String description)
Optional.
|
ServiceAccount |
setDisabled(Boolean disabled)
Output only.
|
ServiceAccount |
setDisplayName(String displayName)
Optional.
|
ServiceAccount |
setEmail(String email)
Output only.
|
ServiceAccount |
setEtag(String etag)
Deprecated.
|
ServiceAccount |
setName(String name)
The resource name of the service account.
|
ServiceAccount |
setOauth2ClientId(String oauth2ClientId)
Output only.
|
ServiceAccount |
setProjectId(String projectId)
Output only.
|
ServiceAccount |
setUniqueId(String uniqueId)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic ServiceAccount setDescription(String description)
description - description or null for nonepublic Boolean getDisabled()
null for nonepublic ServiceAccount setDisabled(Boolean disabled)
disabled - disabled or null for nonepublic String getDisplayName()
null for nonepublic ServiceAccount setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getEmail()
null for nonepublic ServiceAccount setEmail(String email)
email - email or null for nonepublic String getEtag()
null for nonedecodeEtag()public byte[] decodeEtag()
null for nonegetEtag()public ServiceAccount setEtag(String etag)
etag - etag or null for none#encodeEtag()public ServiceAccount encodeEtag(byte[] etag)
The value is encoded Base64 or {@code null} for none.
public String getName()
null for nonepublic ServiceAccount setName(String name)
name - name or null for nonepublic String getOauth2ClientId()
null for nonepublic ServiceAccount setOauth2ClientId(String oauth2ClientId)
oauth2ClientId - oauth2ClientId or null for nonepublic String getProjectId()
null for nonepublic ServiceAccount setProjectId(String projectId)
projectId - projectId or null for nonepublic String getUniqueId()
null for nonepublic ServiceAccount setUniqueId(String uniqueId)
uniqueId - uniqueId or null for nonepublic ServiceAccount set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ServiceAccount clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.