public class IAMCredentials.Projects.ServiceAccounts.SignJwt extends IAMCredentialsRequest<SignJwtResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
SignJwt(String name,
SignJwtRequest content)
Signs a JWT using a service account's system-managed private key.
|
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 SignJwt(String name, SignJwtRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
IAMCredentials.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
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 SignJwtRequest
public IAMCredentials.Projects.ServiceAccounts.SignJwt set$Xgafv(String $Xgafv)
IAMCredentialsRequest
set$Xgafv
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setAccessToken(String accessToken)
IAMCredentialsRequest
setAccessToken
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setAlt(String alt)
IAMCredentialsRequest
setAlt
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setCallback(String callback)
IAMCredentialsRequest
setCallback
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setFields(String fields)
IAMCredentialsRequest
setFields
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setKey(String key)
IAMCredentialsRequest
setKey
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setOauthToken(String oauthToken)
IAMCredentialsRequest
setOauthToken
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setPrettyPrint(Boolean prettyPrint)
IAMCredentialsRequest
setPrettyPrint
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setQuotaUser(String quotaUser)
IAMCredentialsRequest
setQuotaUser
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setUploadType(String uploadType)
IAMCredentialsRequest
setUploadType
in class IAMCredentialsRequest<SignJwtResponse>
public IAMCredentials.Projects.ServiceAccounts.SignJwt setUploadProtocol(String uploadProtocol)
IAMCredentialsRequest
setUploadProtocol
in class IAMCredentialsRequest<SignJwtResponse>
public String getName()
public IAMCredentials.Projects.ServiceAccounts.SignJwt setName(String name)
public IAMCredentials.Projects.ServiceAccounts.SignJwt set(String parameterName, Object value)
set
in class IAMCredentialsRequest<SignJwtResponse>
Copyright © 2011–2024 Google. All rights reserved.