fix method calls
fix method calls

GoogleCloudPlatform/php-docs-samples,GoogleCloudPlatform/php-docs-samples,GoogleCloudPlatform/php-docs-samples,GoogleCloudPlatform/php-docs-samples,GoogleCloudPlatform/php-docs-samples