GoogleCloudPlatform / php-docs-samples

A collection of samples that demonstrate how to call Google Cloud services from PHP.
http://cloud.google.com/php
Apache License 2.0
957 stars 1.03k forks source link

feat(spanner): Replace Backup related samples (3/3) #1973

Closed ajupazhamayil closed 6 months ago

snippet-bot[bot] commented 6 months ago

Here is the summary of changes.

You are about to add 10 region tags. - [spanner/src/admin/archived/cancel_backup.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/cancel_backup.php#L26), tag `spanner_cancel_backup_create` - [spanner/src/admin/archived/copy_backup.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/copy_backup.php#L26), tag `spanner_copy_backup` - [spanner/src/admin/archived/create_backup.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/create_backup.php#L26), tag `spanner_create_backup` - [spanner/src/admin/archived/create_backup_with_encryption_key.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/create_backup_with_encryption_key.php#L26), tag `spanner_create_backup_with_encryption_key` - [spanner/src/admin/archived/delete_backup.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/delete_backup.php#L26), tag `spanner_delete_backup` - [spanner/src/admin/archived/list_backup_operations.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/list_backup_operations.php#L26), tag `spanner_list_backup_operations` - [spanner/src/admin/archived/list_backups.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/list_backups.php#L26), tag `spanner_list_backups` - [spanner/src/admin/archived/restore_backup.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/restore_backup.php#L26), tag `spanner_restore_backup` - [spanner/src/admin/archived/restore_backup_with_encryption_key.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/restore_backup_with_encryption_key.php#L26), tag `spanner_restore_backup_with_encryption_key` - [spanner/src/admin/archived/update_backup.php:26](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/123a466983ecaaa42b06b2879f3e3b33c9198ea1/spanner/src/admin/archived/update_backup.php#L26), tag `spanner_update_backup`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

ajupazhamayil commented 6 months ago

Test report:

$: ../testing/vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist test/spannerBackupTest.php 
PHPUnit 9.6.16 by Sebastian Bergmann and contributors.

Warning:       XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set

............                                                      12 / 12 (100%)

Time: 40:46.960, Memory: 12.00 MB

OK (12 tests, 16 assertions)

$: