public class Sheets.Spreadsheets.Values.BatchGet extends SheetsRequest<BatchGetValuesResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
BatchGet(String spreadsheetId)
Returns one or more ranges of values from a spreadsheet.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
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 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 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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 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 HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<BatchGetValuesResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<BatchGetValuesResponse>IOExceptionpublic Sheets.Spreadsheets.Values.BatchGet set$Xgafv(String $Xgafv)
SheetsRequestset$Xgafv in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setAccessToken(String accessToken)
SheetsRequestsetAccessToken in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setAlt(String alt)
SheetsRequestsetAlt in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setCallback(String callback)
SheetsRequestsetCallback in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setFields(String fields)
SheetsRequestsetFields in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setKey(String key)
SheetsRequestsetKey in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setOauthToken(String oauthToken)
SheetsRequestsetOauthToken in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setPrettyPrint(Boolean prettyPrint)
SheetsRequestsetPrettyPrint in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setQuotaUser(String quotaUser)
SheetsRequestsetQuotaUser in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setUploadType(String uploadType)
SheetsRequestsetUploadType in class SheetsRequest<BatchGetValuesResponse>public Sheets.Spreadsheets.Values.BatchGet setUploadProtocol(String uploadProtocol)
SheetsRequestsetUploadProtocol 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–2021 Google. All rights reserved.