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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected 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 CopySheetToAnotherSpreadsheetRequestpublic Sheets.Spreadsheets.SheetsOperations.CopyTo set$Xgafv(java.lang.String $Xgafv)
SheetsRequestset$Xgafv in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setAccessToken(java.lang.String accessToken)
SheetsRequestsetAccessToken in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setAlt(java.lang.String alt)
SheetsRequestsetAlt in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setCallback(java.lang.String callback)
SheetsRequestsetCallback in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setFields(java.lang.String fields)
SheetsRequestsetFields in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setKey(java.lang.String key)
SheetsRequestsetKey in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setOauthToken(java.lang.String oauthToken)
SheetsRequestsetOauthToken in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setPrettyPrint(java.lang.Boolean prettyPrint)
SheetsRequestsetPrettyPrint in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setQuotaUser(java.lang.String quotaUser)
SheetsRequestsetQuotaUser in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setUploadType(java.lang.String uploadType)
SheetsRequestsetUploadType in class SheetsRequest<SheetProperties>public Sheets.Spreadsheets.SheetsOperations.CopyTo setUploadProtocol(java.lang.String uploadProtocol)
SheetsRequestsetUploadProtocol 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>