public class Sheets.Spreadsheets.Get extends SheetsRequest<Spreadsheet>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String spreadsheetId)
Returns the spreadsheet at the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCommentsViewMode()
The comments view mode to apply to the spreadsheet.
|
Boolean |
getExcludeTablesInBandedRanges()
True if tables should be excluded in the banded ranges.
|
Boolean |
getIncludeGridData()
True if grid data should be returned.
|
List<String> |
getRanges()
The ranges to retrieve from the spreadsheet.
|
String |
getSpreadsheetId()
The spreadsheet to request.
|
Sheets.Spreadsheets.Get |
set(String parameterName,
Object value) |
Sheets.Spreadsheets.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Sheets.Spreadsheets.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Sheets.Spreadsheets.Get |
setAlt(String alt)
Data format for response.
|
Sheets.Spreadsheets.Get |
setCallback(String callback)
JSONP
|
Sheets.Spreadsheets.Get |
setCommentsViewMode(String commentsViewMode)
The comments view mode to apply to the spreadsheet.
|
Sheets.Spreadsheets.Get |
setExcludeTablesInBandedRanges(Boolean excludeTablesInBandedRanges)
True if tables should be excluded in the banded ranges.
|
Sheets.Spreadsheets.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Sheets.Spreadsheets.Get |
setIncludeGridData(Boolean includeGridData)
True if grid data should be returned.
|
Sheets.Spreadsheets.Get |
setKey(String key)
API key.
|
Sheets.Spreadsheets.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Sheets.Spreadsheets.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Sheets.Spreadsheets.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Sheets.Spreadsheets.Get |
setRanges(List<String> ranges)
The ranges to retrieve from the spreadsheet.
|
Sheets.Spreadsheets.Get |
setSpreadsheetId(String spreadsheetId)
The spreadsheet to request.
|
Sheets.Spreadsheets.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Sheets.Spreadsheets.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
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 Get(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 spreadsheet to request.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Spreadsheet>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Spreadsheet>IOExceptionpublic Sheets.Spreadsheets.Get set$Xgafv(String $Xgafv)
SheetsRequestset$Xgafv in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setAccessToken(String accessToken)
SheetsRequestsetAccessToken in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setAlt(String alt)
SheetsRequestsetAlt in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setCallback(String callback)
SheetsRequestsetCallback in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setFields(String fields)
SheetsRequestsetFields in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setKey(String key)
SheetsRequestsetKey in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setOauthToken(String oauthToken)
SheetsRequestsetOauthToken in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setPrettyPrint(Boolean prettyPrint)
SheetsRequestsetPrettyPrint in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setQuotaUser(String quotaUser)
SheetsRequestsetQuotaUser in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setUploadType(String uploadType)
SheetsRequestsetUploadType in class SheetsRequest<Spreadsheet>public Sheets.Spreadsheets.Get setUploadProtocol(String uploadProtocol)
SheetsRequestsetUploadProtocol in class SheetsRequest<Spreadsheet>public String getSpreadsheetId()
public Sheets.Spreadsheets.Get setSpreadsheetId(String spreadsheetId)
public String getCommentsViewMode()
public Sheets.Spreadsheets.Get setCommentsViewMode(String commentsViewMode)
public Boolean getExcludeTablesInBandedRanges()
public Sheets.Spreadsheets.Get setExcludeTablesInBandedRanges(Boolean excludeTablesInBandedRanges)
public Boolean getIncludeGridData()
public Sheets.Spreadsheets.Get setIncludeGridData(Boolean includeGridData)
public Sheets.Spreadsheets.Get setRanges(List<String> ranges)
public Sheets.Spreadsheets.Get set(String parameterName, Object value)
set in class SheetsRequest<Spreadsheet>Copyright © 2011–2026 Google. All rights reserved.