public class Sheets.Spreadsheets.Values.Update extends SheetsRequest<UpdateValuesResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Update(String spreadsheetId,
String range,
ValueRange content)
Sets values in a range of a spreadsheet.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getIncludeValuesInResponse()
Determines if the update response should include the values of the cells that were updated.
|
String |
getRange()
The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.
|
String |
getResponseDateTimeRenderOption()
Determines how dates, times, and durations in the response should be rendered.
|
String |
getResponseValueRenderOption()
Determines how values in the response should be rendered.
|
String |
getSpreadsheetId()
The ID of the spreadsheet to update.
|
String |
getValueInputOption()
How the input data should be interpreted.
|
Sheets.Spreadsheets.Values.Update |
set(String parameterName,
Object value) |
Sheets.Spreadsheets.Values.Update |
set$Xgafv(String $Xgafv)
V1 error format.
|
Sheets.Spreadsheets.Values.Update |
setAccessToken(String accessToken)
OAuth access token.
|
Sheets.Spreadsheets.Values.Update |
setAlt(String alt)
Data format for response.
|
Sheets.Spreadsheets.Values.Update |
setCallback(String callback)
JSONP
|
Sheets.Spreadsheets.Values.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Sheets.Spreadsheets.Values.Update |
setIncludeValuesInResponse(Boolean includeValuesInResponse)
Determines if the update response should include the values of the cells that were
updated.
|
Sheets.Spreadsheets.Values.Update |
setKey(String key)
API key.
|
Sheets.Spreadsheets.Values.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Sheets.Spreadsheets.Values.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Sheets.Spreadsheets.Values.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Sheets.Spreadsheets.Values.Update |
setRange(String range)
The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.
|
Sheets.Spreadsheets.Values.Update |
setResponseDateTimeRenderOption(String responseDateTimeRenderOption)
Determines how dates, times, and durations in the response should be rendered.
|
Sheets.Spreadsheets.Values.Update |
setResponseValueRenderOption(String responseValueRenderOption)
Determines how values in the response should be rendered.
|
Sheets.Spreadsheets.Values.Update |
setSpreadsheetId(String spreadsheetId)
The ID of the spreadsheet to update.
|
Sheets.Spreadsheets.Values.Update |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Sheets.Spreadsheets.Values.Update |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Sheets.Spreadsheets.Values.Update |
setValueInputOption(String valueInputOption)
How the input data should be interpreted.
|
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 Update(String spreadsheetId, String range, ValueRange 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 ID of the spreadsheet to update.range
- The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.content
- the ValueRange
public Sheets.Spreadsheets.Values.Update set$Xgafv(String $Xgafv)
SheetsRequest
set$Xgafv
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setAccessToken(String accessToken)
SheetsRequest
setAccessToken
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setAlt(String alt)
SheetsRequest
setAlt
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setCallback(String callback)
SheetsRequest
setCallback
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setFields(String fields)
SheetsRequest
setFields
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setKey(String key)
SheetsRequest
setKey
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setOauthToken(String oauthToken)
SheetsRequest
setOauthToken
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setPrettyPrint(Boolean prettyPrint)
SheetsRequest
setPrettyPrint
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setQuotaUser(String quotaUser)
SheetsRequest
setQuotaUser
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setUploadType(String uploadType)
SheetsRequest
setUploadType
in class SheetsRequest<UpdateValuesResponse>
public Sheets.Spreadsheets.Values.Update setUploadProtocol(String uploadProtocol)
SheetsRequest
setUploadProtocol
in class SheetsRequest<UpdateValuesResponse>
public String getSpreadsheetId()
public Sheets.Spreadsheets.Values.Update setSpreadsheetId(String spreadsheetId)
public String getRange()
public Sheets.Spreadsheets.Values.Update setRange(String range)
public Boolean getIncludeValuesInResponse()
public Sheets.Spreadsheets.Values.Update setIncludeValuesInResponse(Boolean includeValuesInResponse)
public String getResponseDateTimeRenderOption()
public Sheets.Spreadsheets.Values.Update setResponseDateTimeRenderOption(String responseDateTimeRenderOption)
public String getResponseValueRenderOption()
public Sheets.Spreadsheets.Values.Update setResponseValueRenderOption(String responseValueRenderOption)
public String getValueInputOption()
public Sheets.Spreadsheets.Values.Update setValueInputOption(String valueInputOption)
public Sheets.Spreadsheets.Values.Update set(String parameterName, Object value)
set
in class SheetsRequest<UpdateValuesResponse>
Copyright © 2011–2024 Google. All rights reserved.