public class Sheets.Spreadsheets.Values.BatchGet extends SheetsRequest<BatchGetValuesResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
BatchGet(String spreadsheetId)
Returns one or more ranges of values from a spreadsheet.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getDateTimeRenderOption()
How dates, times, and durations should be represented in the output.
|
String |
getMajorDimension()
The major dimension that results should use.
|
List<String> |
getRanges()
The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve
values from.
|
String |
getSpreadsheetId()
The ID of the spreadsheet to retrieve data from.
|
String |
getValueRenderOption()
How values should be represented in the output.
|
Sheets.Spreadsheets.Values.BatchGet |
set(String parameterName,
Object value) |
Sheets.Spreadsheets.Values.BatchGet |
set$Xgafv(String $Xgafv)
V1 error format.
|
Sheets.Spreadsheets.Values.BatchGet |
setAccessToken(String accessToken)
OAuth access token.
|
Sheets.Spreadsheets.Values.BatchGet |
setAlt(String alt)
Data format for response.
|
Sheets.Spreadsheets.Values.BatchGet |
setCallback(String callback)
JSONP
|
Sheets.Spreadsheets.Values.BatchGet |
setDateTimeRenderOption(String dateTimeRenderOption)
How dates, times, and durations should be represented in the output.
|
Sheets.Spreadsheets.Values.BatchGet |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Sheets.Spreadsheets.Values.BatchGet |
setKey(String key)
API key.
|
Sheets.Spreadsheets.Values.BatchGet |
setMajorDimension(String majorDimension)
The major dimension that results should use.
|
Sheets.Spreadsheets.Values.BatchGet |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Sheets.Spreadsheets.Values.BatchGet |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Sheets.Spreadsheets.Values.BatchGet |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Sheets.Spreadsheets.Values.BatchGet |
setRanges(List<String> ranges)
The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to
retrieve values from.
|
Sheets.Spreadsheets.Values.BatchGet |
setSpreadsheetId(String spreadsheetId)
The ID of the spreadsheet to retrieve data from.
|
Sheets.Spreadsheets.Values.BatchGet |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Sheets.Spreadsheets.Values.BatchGet |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Sheets.Spreadsheets.Values.BatchGet |
setValueRenderOption(String valueRenderOption)
How values should be represented in the output.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 BatchGet(String spreadsheetId)
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 retrieve data from.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<BatchGetValuesResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<BatchGetValuesResponse>
IOException
public Sheets.Spreadsheets.Values.BatchGet set$Xgafv(String $Xgafv)
SheetsRequest
set$Xgafv
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setAccessToken(String accessToken)
SheetsRequest
setAccessToken
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setAlt(String alt)
SheetsRequest
setAlt
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setCallback(String callback)
SheetsRequest
setCallback
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setFields(String fields)
SheetsRequest
setFields
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setKey(String key)
SheetsRequest
setKey
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setOauthToken(String oauthToken)
SheetsRequest
setOauthToken
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setPrettyPrint(Boolean prettyPrint)
SheetsRequest
setPrettyPrint
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setQuotaUser(String quotaUser)
SheetsRequest
setQuotaUser
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setUploadType(String uploadType)
SheetsRequest
setUploadType
in class SheetsRequest<BatchGetValuesResponse>
public Sheets.Spreadsheets.Values.BatchGet setUploadProtocol(String uploadProtocol)
SheetsRequest
setUploadProtocol
in class SheetsRequest<BatchGetValuesResponse>
public String getSpreadsheetId()
public Sheets.Spreadsheets.Values.BatchGet setSpreadsheetId(String spreadsheetId)
public String getDateTimeRenderOption()
public Sheets.Spreadsheets.Values.BatchGet setDateTimeRenderOption(String dateTimeRenderOption)
public String getMajorDimension()
public Sheets.Spreadsheets.Values.BatchGet setMajorDimension(String majorDimension)
public List<String> getRanges()
public Sheets.Spreadsheets.Values.BatchGet setRanges(List<String> ranges)
public String getValueRenderOption()
public Sheets.Spreadsheets.Values.BatchGet setValueRenderOption(String valueRenderOption)
public Sheets.Spreadsheets.Values.BatchGet set(String parameterName, Object value)
set
in class SheetsRequest<BatchGetValuesResponse>
Copyright © 2011–2024 Google. All rights reserved.