public class Sheets.Spreadsheets.Get extends SheetsRequest<Spreadsheet>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Get(java.lang.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() |
java.lang.Boolean |
getIncludeGridData()
True if grid data should be returned.
|
java.util.List<java.lang.String> |
getRanges()
The ranges to retrieve from the spreadsheet.
|
java.lang.String |
getSpreadsheetId()
The spreadsheet to request.
|
Sheets.Spreadsheets.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Sheets.Spreadsheets.Get |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Sheets.Spreadsheets.Get |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Sheets.Spreadsheets.Get |
setAlt(java.lang.String alt)
Data format for response.
|
Sheets.Spreadsheets.Get |
setCallback(java.lang.String callback)
JSONP
|
Sheets.Spreadsheets.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Sheets.Spreadsheets.Get |
setIncludeGridData(java.lang.Boolean includeGridData)
True if grid data should be returned.
|
Sheets.Spreadsheets.Get |
setKey(java.lang.String key)
API key.
|
Sheets.Spreadsheets.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Sheets.Spreadsheets.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Sheets.Spreadsheets.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Sheets.Spreadsheets.Get |
setRanges(java.util.List<java.lang.String> ranges)
The ranges to retrieve from the spreadsheet.
|
Sheets.Spreadsheets.Get |
setSpreadsheetId(java.lang.String spreadsheetId)
The spreadsheet to request.
|
Sheets.Spreadsheets.Get |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Sheets.Spreadsheets.Get |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Get(java.lang.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 java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Spreadsheet>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Spreadsheet>
java.io.IOException
public Sheets.Spreadsheets.Get set$Xgafv(java.lang.String $Xgafv)
SheetsRequest
set$Xgafv
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setAccessToken(java.lang.String accessToken)
SheetsRequest
setAccessToken
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setAlt(java.lang.String alt)
SheetsRequest
setAlt
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setCallback(java.lang.String callback)
SheetsRequest
setCallback
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setFields(java.lang.String fields)
SheetsRequest
setFields
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setKey(java.lang.String key)
SheetsRequest
setKey
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setOauthToken(java.lang.String oauthToken)
SheetsRequest
setOauthToken
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setPrettyPrint(java.lang.Boolean prettyPrint)
SheetsRequest
setPrettyPrint
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setQuotaUser(java.lang.String quotaUser)
SheetsRequest
setQuotaUser
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setUploadType(java.lang.String uploadType)
SheetsRequest
setUploadType
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Get setUploadProtocol(java.lang.String uploadProtocol)
SheetsRequest
setUploadProtocol
in class SheetsRequest<Spreadsheet>
public java.lang.String getSpreadsheetId()
public Sheets.Spreadsheets.Get setSpreadsheetId(java.lang.String spreadsheetId)
public java.util.List<java.lang.String> getRanges()
public Sheets.Spreadsheets.Get setRanges(java.util.List<java.lang.String> ranges)
public java.lang.Boolean getIncludeGridData()
public Sheets.Spreadsheets.Get setIncludeGridData(java.lang.Boolean includeGridData)
public Sheets.Spreadsheets.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class SheetsRequest<Spreadsheet>