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