I update values in Google Sheet modifyed this quiqstartfile: https://developers.google.com/sheets/api/quickstart/php After update i need response from google api that all is OK (it has not error). How to test that update success? How to make it? I tried:
$result = $service->spreadsheets_values->update($spreadsheetId, $range, $body, $params);
$test=$result->UpdateValuesResponse();
printf($test);
And have error:
PHP Fatal error: Uncaught Error: Call to undefined method Google_Service_Sheets_UpdateValuesResponse::UpdateValuesResponse() in /var/www/html/writegs.php:101 Stack trace: > #0 {main} thrown in /var/www/html/writegs.php on line 101