public class Directory.Orgunits.Patch extends DirectoryRequest<OrgUnit>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Patch(String customerId,
String orgUnitPath,
OrgUnit content)
Updates an organizational unit.
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomerId()
The unique ID for the customer's Google Workspace account.
|
String |
getOrgUnitPath()
The full path of the organizational unit or its unique ID.
|
Directory.Orgunits.Patch |
set(String parameterName,
Object value) |
Directory.Orgunits.Patch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Orgunits.Patch |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Orgunits.Patch |
setAlt(String alt)
Data format for response.
|
Directory.Orgunits.Patch |
setCallback(String callback)
JSONP
|
Directory.Orgunits.Patch |
setCustomerId(String customerId)
The unique ID for the customer's Google Workspace account.
|
Directory.Orgunits.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Orgunits.Patch |
setKey(String key)
API key.
|
Directory.Orgunits.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Orgunits.Patch |
setOrgUnitPath(String orgUnitPath)
The full path of the organizational unit or its unique ID.
|
Directory.Orgunits.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Orgunits.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Orgunits.Patch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Orgunits.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, 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 Patch(String customerId, String orgUnitPath, OrgUnit content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Directory.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
customerId
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's `customerId`. The `customerId` is
also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).orgUnitPath
- The full path of the organizational unit or its unique ID.content
- the OrgUnit
public Directory.Orgunits.Patch set$Xgafv(String $Xgafv)
DirectoryRequest
set$Xgafv
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setAccessToken(String accessToken)
DirectoryRequest
setAccessToken
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setAlt(String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setCallback(String callback)
DirectoryRequest
setCallback
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setFields(String fields)
DirectoryRequest
setFields
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setKey(String key)
DirectoryRequest
setKey
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setOauthToken(String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setPrettyPrint(Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setQuotaUser(String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setUploadType(String uploadType)
DirectoryRequest
setUploadType
in class DirectoryRequest<OrgUnit>
public Directory.Orgunits.Patch setUploadProtocol(String uploadProtocol)
DirectoryRequest
setUploadProtocol
in class DirectoryRequest<OrgUnit>
public String getCustomerId()
public Directory.Orgunits.Patch setCustomerId(String customerId)
public String getOrgUnitPath()
public Directory.Orgunits.Patch setOrgUnitPath(String orgUnitPath)
public Directory.Orgunits.Patch set(String parameterName, Object value)
set
in class DirectoryRequest<OrgUnit>
Copyright © 2011–2021 Google. All rights reserved.