public final class GenerateIdTokenRequest
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 IAM Service Account Credentials 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 |
|---|
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.
|
Boolean |
getOrganizationNumberIncluded()
Include the organization number of the service account 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.
|
GenerateIdTokenRequest |
setOrganizationNumberIncluded(Boolean organizationNumberIncluded)
Include the organization number of the service account 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 Boolean getOrganizationNumberIncluded()
null for nonepublic GenerateIdTokenRequest setOrganizationNumberIncluded(Boolean organizationNumberIncluded)
organizationNumberIncluded - organizationNumberIncluded or null for nonepublic GenerateIdTokenRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GenerateIdTokenRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.