public class Docs.Documents.BatchUpdate extends DocsRequest<BatchUpdateDocumentResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
BatchUpdate(String documentId,
BatchUpdateDocumentRequest content)
Applies one or more updates to the document.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentId()
The ID of the document to update.
|
Docs.Documents.BatchUpdate |
set(String parameterName,
Object value) |
Docs.Documents.BatchUpdate |
set$Xgafv(String $Xgafv)
V1 error format.
|
Docs.Documents.BatchUpdate |
setAccessToken(String accessToken)
OAuth access token.
|
Docs.Documents.BatchUpdate |
setAlt(String alt)
Data format for response.
|
Docs.Documents.BatchUpdate |
setCallback(String callback)
JSONP
|
Docs.Documents.BatchUpdate |
setDocumentId(String documentId)
The ID of the document to update.
|
Docs.Documents.BatchUpdate |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Docs.Documents.BatchUpdate |
setKey(String key)
API key.
|
Docs.Documents.BatchUpdate |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Docs.Documents.BatchUpdate |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Docs.Documents.BatchUpdate |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Docs.Documents.BatchUpdate |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Docs.Documents.BatchUpdate |
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 BatchUpdate(String documentId, BatchUpdateDocumentRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Docs.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
documentId
- The ID of the document to update.content
- the BatchUpdateDocumentRequest
public Docs.Documents.BatchUpdate set$Xgafv(String $Xgafv)
DocsRequest
set$Xgafv
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setAccessToken(String accessToken)
DocsRequest
setAccessToken
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setAlt(String alt)
DocsRequest
setAlt
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setCallback(String callback)
DocsRequest
setCallback
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setFields(String fields)
DocsRequest
setFields
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setKey(String key)
DocsRequest
setKey
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setOauthToken(String oauthToken)
DocsRequest
setOauthToken
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setPrettyPrint(Boolean prettyPrint)
DocsRequest
setPrettyPrint
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setQuotaUser(String quotaUser)
DocsRequest
setQuotaUser
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setUploadType(String uploadType)
DocsRequest
setUploadType
in class DocsRequest<BatchUpdateDocumentResponse>
public Docs.Documents.BatchUpdate setUploadProtocol(String uploadProtocol)
DocsRequest
setUploadProtocol
in class DocsRequest<BatchUpdateDocumentResponse>
public String getDocumentId()
public Docs.Documents.BatchUpdate setDocumentId(String documentId)
public Docs.Documents.BatchUpdate set(String parameterName, Object value)
set
in class DocsRequest<BatchUpdateDocumentResponse>
Copyright © 2011–2025 Google. All rights reserved.