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