/var/www/flurhymez/vendor/google/apiclient-services/src/Sheets/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Sheets/Resource/SpreadsheetsSheets.php (1957B)
* $sheetsService = new Google\Service\Sheets(...);
* $sheets = $sheetsService->sheets;
*
*/
class SpreadsheetsSheets extends \Google\Service\Resource
{
/**
* Copies a single sheet from a spreadsheet to another spreadsheet. Returns the
* properties of the newly created sheet. (sheets.copyTo)
*
* @param string $spreadsheetId The ID of the spreadsheet containing the sheet
* to copy.
* @param int $sheetId The ID of the sheet to copy.
* @param CopySheetToAnotherSpreadsheetRequest $postBody
* @param array $optParams Optional parameters.
* @return SheetProperties
*/
public function copyTo($spreadsheetId, $sheetId, CopySheetToAnotherSpreadsheetRequest $postBody, $optParams = [])
{
$params = ['spreadsheetId' => $spreadsheetId, 'sheetId' => $sheetId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('copyTo', [$params], SheetProperties::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SpreadsheetsSheets::class, 'Google_Service_Sheets_Resource_SpreadsheetsSheets');