public class Directory.Orgunits.Delete extends DirectoryRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String customerId,
String orgUnitPath)
Removes an organizational unit.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAllowPlus()
Parses org unit path without url decode to allow for plus in ou name
|
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.Delete |
set(String parameterName,
Object value) |
Directory.Orgunits.Delete |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Orgunits.Delete |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Orgunits.Delete |
setAllowPlus(Boolean allowPlus)
Parses org unit path without url decode to allow for plus in ou name
|
Directory.Orgunits.Delete |
setAlt(String alt)
Data format for response.
|
Directory.Orgunits.Delete |
setCallback(String callback)
JSONP
|
Directory.Orgunits.Delete |
setCustomerId(String customerId)
The unique ID for the customer's Google Workspace account.
|
Directory.Orgunits.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Orgunits.Delete |
setKey(String key)
API key.
|
Directory.Orgunits.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Orgunits.Delete |
setOrgUnitPath(String orgUnitPath)
The full path of the organizational unit or its unique ID.
|
Directory.Orgunits.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Orgunits.Delete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Orgunits.Delete |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Orgunits.Delete |
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Delete(String customerId, String orgUnitPath)
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.public Directory.Orgunits.Delete set$Xgafv(String $Xgafv)
DirectoryRequestset$Xgafv in class DirectoryRequest<Void>public Directory.Orgunits.Delete setAccessToken(String accessToken)
DirectoryRequestsetAccessToken in class DirectoryRequest<Void>public Directory.Orgunits.Delete setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Void>public Directory.Orgunits.Delete setCallback(String callback)
DirectoryRequestsetCallback in class DirectoryRequest<Void>public Directory.Orgunits.Delete setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<Void>public Directory.Orgunits.Delete setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<Void>public Directory.Orgunits.Delete setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<Void>public Directory.Orgunits.Delete setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<Void>public Directory.Orgunits.Delete setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<Void>public Directory.Orgunits.Delete setUploadType(String uploadType)
DirectoryRequestsetUploadType in class DirectoryRequest<Void>public Directory.Orgunits.Delete setUploadProtocol(String uploadProtocol)
DirectoryRequestsetUploadProtocol in class DirectoryRequest<Void>public String getCustomerId()
public Directory.Orgunits.Delete setCustomerId(String customerId)
public String getOrgUnitPath()
public Directory.Orgunits.Delete setOrgUnitPath(String orgUnitPath)
public Boolean getAllowPlus()
public Directory.Orgunits.Delete setAllowPlus(Boolean allowPlus)
public Directory.Orgunits.Delete set(String parameterName, Object value)
set in class DirectoryRequest<Void>Copyright © 2011–2021 Google. All rights reserved.