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