public class Iam.Projects.ServiceAccounts.Patch extends IamRequest<ServiceAccount>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Patch(String name,
PatchServiceAccountRequest content)
Patches a ServiceAccount.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
Iam.Projects.ServiceAccounts.Patch |
set(String parameterName,
Object value) |
Iam.Projects.ServiceAccounts.Patch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Iam.Projects.ServiceAccounts.Patch |
setAccessToken(String accessToken)
OAuth access token.
|
Iam.Projects.ServiceAccounts.Patch |
setAlt(String alt)
Data format for response.
|
Iam.Projects.ServiceAccounts.Patch |
setCallback(String callback)
JSONP
|
Iam.Projects.ServiceAccounts.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Iam.Projects.ServiceAccounts.Patch |
setKey(String key)
API key.
|
Iam.Projects.ServiceAccounts.Patch |
setName(String name)
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
Iam.Projects.ServiceAccounts.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Iam.Projects.ServiceAccounts.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Iam.Projects.ServiceAccounts.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Iam.Projects.ServiceAccounts.Patch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Iam.Projects.ServiceAccounts.Patch |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Patch(String name, PatchServiceAccountRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Iam.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
name - The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Requests using `-` as a wildcard for
the `PROJECT_ID` will infer the
project from the `account` and the `ACCOUNT` value can be
the `email`
address or the `unique_id` of the service account.
In responses the resource
name will always be in the format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.content - the PatchServiceAccountRequestpublic Iam.Projects.ServiceAccounts.Patch set$Xgafv(String $Xgafv)
IamRequestset$Xgafv in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setAccessToken(String accessToken)
IamRequestsetAccessToken in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setAlt(String alt)
IamRequestsetAlt in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setCallback(String callback)
IamRequestsetCallback in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setFields(String fields)
IamRequestsetFields in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setKey(String key)
IamRequestsetKey in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setOauthToken(String oauthToken)
IamRequestsetOauthToken in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setPrettyPrint(Boolean prettyPrint)
IamRequestsetPrettyPrint in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setQuotaUser(String quotaUser)
IamRequestsetQuotaUser in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setUploadType(String uploadType)
IamRequestsetUploadType in class IamRequest<ServiceAccount>public Iam.Projects.ServiceAccounts.Patch setUploadProtocol(String uploadProtocol)
IamRequestsetUploadProtocol in class IamRequest<ServiceAccount>public String getName()
public Iam.Projects.ServiceAccounts.Patch setName(String name)
public Iam.Projects.ServiceAccounts.Patch set(String parameterName, Object value)
set in class IamRequest<ServiceAccount>Copyright © 2011–2019 Google. All rights reserved.