copyTo
public Sheets.Spreadsheets.SheetsOperations.CopyTo copyTo(java.lang.String spreadsheetId,
java.lang.Integer sheetId,
CopySheetToAnotherSpreadsheetRequest content)
throws java.io.IOException
Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the
newly created sheet.
Create a request for the method "sheets.copyTo".
This request holds the parameters needed by the sheets server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
spreadsheetId
- The ID of the spreadsheet containing the sheet to copy.
sheetId
- The ID of the sheet to copy.
content
- the CopySheetToAnotherSpreadsheetRequest
- Returns:
- the request
- Throws:
java.io.IOException