public class IAMCredentials.Projects.ServiceAccounts.GenerateIdToken extends IAMCredentialsRequest<GenerateIdTokenResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GenerateIdToken(String name,
GenerateIdTokenRequest content)
Generates an OpenID Connect ID token for a service account.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
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
protected GenerateIdToken(String name, GenerateIdTokenRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. GenerateIdToken#initialize(com.google.api.client.googleapis.services.Abst
ractGoogleClientRequest)
must be called to initialize this instance immediately after invoking
the constructor.
name
- Required. The resource name of the service account for which the credentials are requested, in the
following format: `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
wildcard character is required; replacing it with a project ID is invalid.content
- the GenerateIdTokenRequest
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken set$Xgafv(String $Xgafv)
IAMCredentialsRequest
set$Xgafv
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setAccessToken(String accessToken)
IAMCredentialsRequest
setAccessToken
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setAlt(String alt)
IAMCredentialsRequest
setAlt
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setCallback(String callback)
IAMCredentialsRequest
setCallback
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setFields(String fields)
IAMCredentialsRequest
setFields
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setKey(String key)
IAMCredentialsRequest
setKey
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setOauthToken(String oauthToken)
IAMCredentialsRequest
setOauthToken
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setPrettyPrint(Boolean prettyPrint)
IAMCredentialsRequest
setPrettyPrint
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setQuotaUser(String quotaUser)
IAMCredentialsRequest
setQuotaUser
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setUploadType(String uploadType)
IAMCredentialsRequest
setUploadType
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setUploadProtocol(String uploadProtocol)
IAMCredentialsRequest
setUploadProtocol
in class IAMCredentialsRequest<GenerateIdTokenResponse>
public String getName()
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken setName(String name)
public IAMCredentials.Projects.ServiceAccounts.GenerateIdToken set(String parameterName, Object value)
set
in class IAMCredentialsRequest<GenerateIdTokenResponse>
Copyright © 2011–2024 Google. All rights reserved.