target.apidocs.com.google.api.services.sheets.v4.Sheets.Spreadsheets.SheetsOperations.html Maven / Gradle / Ivy
Sheets.Spreadsheets.SheetsOperations (Google Sheets API v4-rev20220322-1.32.1)
com.google.api.services.sheets.v4
Class Sheets.Spreadsheets.SheetsOperations
- java.lang.Object
-
- com.google.api.services.sheets.v4.Sheets.Spreadsheets.SheetsOperations
-
- Enclosing class:
- Sheets.Spreadsheets
public class Sheets.Spreadsheets.SheetsOperations
extends Object
The "sheets" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Sheets.Spreadsheets.SheetsOperations.CopyTo
-
Constructor Summary
Constructors
Constructor and Description
SheetsOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Sheets.Spreadsheets.SheetsOperations.CopyTo
copyTo(String spreadsheetId,
Integer sheetId,
CopySheetToAnotherSpreadsheetRequest content)
Copies a single sheet from a spreadsheet to another spreadsheet.
-
-
Method Detail
-
copyTo
public Sheets.Spreadsheets.SheetsOperations.CopyTo copyTo(String spreadsheetId,
Integer sheetId,
CopySheetToAnotherSpreadsheetRequest content)
throws 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:
IOException
Copyright © 2011–2022 Google. All rights reserved.