public class Sheets.Spreadsheets.Values.Clear extends SheetsRequest<ClearValuesResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Clear(java.lang.String spreadsheetId,
java.lang.String range,
ClearValuesRequest content)
Clears values from a spreadsheet.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRange()
The A1 notation of the values to clear.
|
java.lang.String |
getSpreadsheetId()
The ID of the spreadsheet to update.
|
Sheets.Spreadsheets.Values.Clear |
set(java.lang.String parameterName,
java.lang.Object value) |
Sheets.Spreadsheets.Values.Clear |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Sheets.Spreadsheets.Values.Clear |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Sheets.Spreadsheets.Values.Clear |
setAlt(java.lang.String alt)
Data format for response.
|
Sheets.Spreadsheets.Values.Clear |
setCallback(java.lang.String callback)
JSONP
|
Sheets.Spreadsheets.Values.Clear |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Sheets.Spreadsheets.Values.Clear |
setKey(java.lang.String key)
API key.
|
Sheets.Spreadsheets.Values.Clear |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Sheets.Spreadsheets.Values.Clear |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Sheets.Spreadsheets.Values.Clear |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Sheets.Spreadsheets.Values.Clear |
setRange(java.lang.String range)
The A1 notation of the values to clear.
|
Sheets.Spreadsheets.Values.Clear |
setSpreadsheetId(java.lang.String spreadsheetId)
The ID of the spreadsheet to update.
|
Sheets.Spreadsheets.Values.Clear |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Sheets.Spreadsheets.Values.Clear |
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 Clear(java.lang.String spreadsheetId, java.lang.String range, ClearValuesRequest 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.
spreadsheetId
- The ID of the spreadsheet to update.range
- The A1 notation of the values to clear.content
- the ClearValuesRequest
public Sheets.Spreadsheets.Values.Clear set$Xgafv(java.lang.String $Xgafv)
SheetsRequest
set$Xgafv
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setAccessToken(java.lang.String accessToken)
SheetsRequest
setAccessToken
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setAlt(java.lang.String alt)
SheetsRequest
setAlt
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setCallback(java.lang.String callback)
SheetsRequest
setCallback
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setFields(java.lang.String fields)
SheetsRequest
setFields
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setKey(java.lang.String key)
SheetsRequest
setKey
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setOauthToken(java.lang.String oauthToken)
SheetsRequest
setOauthToken
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setPrettyPrint(java.lang.Boolean prettyPrint)
SheetsRequest
setPrettyPrint
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setQuotaUser(java.lang.String quotaUser)
SheetsRequest
setQuotaUser
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setUploadType(java.lang.String uploadType)
SheetsRequest
setUploadType
in class SheetsRequest<ClearValuesResponse>
public Sheets.Spreadsheets.Values.Clear setUploadProtocol(java.lang.String uploadProtocol)
SheetsRequest
setUploadProtocol
in class SheetsRequest<ClearValuesResponse>
public java.lang.String getSpreadsheetId()
public Sheets.Spreadsheets.Values.Clear setSpreadsheetId(java.lang.String spreadsheetId)
public java.lang.String getRange()
public Sheets.Spreadsheets.Values.Clear setRange(java.lang.String range)
public Sheets.Spreadsheets.Values.Clear set(java.lang.String parameterName, java.lang.Object value)
set
in class SheetsRequest<ClearValuesResponse>