public class Directory.Schemas.Update extends DirectoryRequest<Schema>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Update(String customerId,
String schemaKey,
Schema content)
Update schema
Create a request for the method "schemas.update".
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomerId()
Immutable ID of the Google Workspace account.
|
String |
getSchemaKey()
Name or immutable ID of the schema.
|
Directory.Schemas.Update |
set(String parameterName,
Object value) |
Directory.Schemas.Update |
set$Xgafv(String $Xgafv)
V1 error format.
|
Directory.Schemas.Update |
setAccessToken(String accessToken)
OAuth access token.
|
Directory.Schemas.Update |
setAlt(String alt)
Data format for response.
|
Directory.Schemas.Update |
setCallback(String callback)
JSONP
|
Directory.Schemas.Update |
setCustomerId(String customerId)
Immutable ID of the Google Workspace account.
|
Directory.Schemas.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Schemas.Update |
setKey(String key)
API key.
|
Directory.Schemas.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Schemas.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Schemas.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Schemas.Update |
setSchemaKey(String schemaKey)
Name or immutable ID of the schema.
|
Directory.Schemas.Update |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Directory.Schemas.Update |
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 Update(String customerId, String schemaKey, Schema 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 - Immutable ID of the Google Workspace account.schemaKey - Name or immutable ID of the schema.content - the Schemapublic Directory.Schemas.Update set$Xgafv(String $Xgafv)
DirectoryRequestset$Xgafv in class DirectoryRequest<Schema>public Directory.Schemas.Update setAccessToken(String accessToken)
DirectoryRequestsetAccessToken in class DirectoryRequest<Schema>public Directory.Schemas.Update setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Schema>public Directory.Schemas.Update setCallback(String callback)
DirectoryRequestsetCallback in class DirectoryRequest<Schema>public Directory.Schemas.Update setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<Schema>public Directory.Schemas.Update setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<Schema>public Directory.Schemas.Update setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<Schema>public Directory.Schemas.Update setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<Schema>public Directory.Schemas.Update setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<Schema>public Directory.Schemas.Update setUploadType(String uploadType)
DirectoryRequestsetUploadType in class DirectoryRequest<Schema>public Directory.Schemas.Update setUploadProtocol(String uploadProtocol)
DirectoryRequestsetUploadProtocol in class DirectoryRequest<Schema>public String getCustomerId()
public Directory.Schemas.Update setCustomerId(String customerId)
public String getSchemaKey()
public Directory.Schemas.Update setSchemaKey(String schemaKey)
public Directory.Schemas.Update set(String parameterName, Object value)
set in class DirectoryRequest<Schema>Copyright © 2011–2021 Google. All rights reserved.