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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 com.google.api.client.json.GenericJson
public GenerateIdTokenRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.