public class Sheets.Spreadsheets.Create extends SheetsRequest<Spreadsheet>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Create(Spreadsheet content)
Creates a spreadsheet, returning the newly created spreadsheet.
|
Modifier and Type | Method and Description |
---|---|
Sheets.Spreadsheets.Create |
set(java.lang.String parameterName,
java.lang.Object value) |
Sheets.Spreadsheets.Create |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Sheets.Spreadsheets.Create |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Sheets.Spreadsheets.Create |
setAlt(java.lang.String alt)
Data format for response.
|
Sheets.Spreadsheets.Create |
setCallback(java.lang.String callback)
JSONP
|
Sheets.Spreadsheets.Create |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Sheets.Spreadsheets.Create |
setKey(java.lang.String key)
API key.
|
Sheets.Spreadsheets.Create |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Sheets.Spreadsheets.Create |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Sheets.Spreadsheets.Create |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Sheets.Spreadsheets.Create |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Sheets.Spreadsheets.Create |
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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 Create(Spreadsheet content)
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.
content
- the Spreadsheet
public Sheets.Spreadsheets.Create set$Xgafv(java.lang.String $Xgafv)
SheetsRequest
set$Xgafv
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setAccessToken(java.lang.String accessToken)
SheetsRequest
setAccessToken
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setAlt(java.lang.String alt)
SheetsRequest
setAlt
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setCallback(java.lang.String callback)
SheetsRequest
setCallback
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setFields(java.lang.String fields)
SheetsRequest
setFields
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setKey(java.lang.String key)
SheetsRequest
setKey
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setOauthToken(java.lang.String oauthToken)
SheetsRequest
setOauthToken
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setPrettyPrint(java.lang.Boolean prettyPrint)
SheetsRequest
setPrettyPrint
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setQuotaUser(java.lang.String quotaUser)
SheetsRequest
setQuotaUser
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setUploadType(java.lang.String uploadType)
SheetsRequest
setUploadType
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create setUploadProtocol(java.lang.String uploadProtocol)
SheetsRequest
setUploadProtocol
in class SheetsRequest<Spreadsheet>
public Sheets.Spreadsheets.Create set(java.lang.String parameterName, java.lang.Object value)
set
in class SheetsRequest<Spreadsheet>