public final class GenerateIdTokenRequest extends 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 IAM Service Account Credentials API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GenerateIdTokenRequest() |
| Modifier and Type | Method and Description |
|---|---|
GenerateIdTokenRequest |
clone() |
String |
getAudience()
Required.
|
List<String> |
getDelegates()
The sequence of service accounts in a delegation chain.
|
Boolean |
getIncludeEmail()
Include the service account email in the token.
|
GenerateIdTokenRequest |
set(String fieldName,
Object value) |
GenerateIdTokenRequest |
setAudience(String audience)
Required.
|
GenerateIdTokenRequest |
setDelegates(List<String> delegates)
The sequence of service accounts in a delegation chain.
|
GenerateIdTokenRequest |
setIncludeEmail(Boolean includeEmail)
Include the service account email in the token.
|
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 getAudience()
null for nonepublic GenerateIdTokenRequest setAudience(String audience)
audience - audience or null for nonepublic List<String> getDelegates()
null for nonepublic GenerateIdTokenRequest setDelegates(List<String> delegates)
delegates - delegates or null for nonepublic Boolean getIncludeEmail()
null for nonepublic GenerateIdTokenRequest setIncludeEmail(Boolean includeEmail)
includeEmail - includeEmail or null for nonepublic GenerateIdTokenRequest set(String fieldName, Object value)
set in class GenericJsonpublic GenerateIdTokenRequest clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.