googleapis / google-cloud-php

Google Cloud Client Library for PHP
https://cloud.google.com/php/docs/reference
Apache License 2.0
1.1k stars 436 forks source link

feat: [BackupDr] Client library for the backupvault api is added #7704

Closed gcf-owl-bot[bot] closed 2 months ago

gcf-owl-bot[bot] commented 2 months ago

feat: Add backupplan proto feat: Add backupplanassociation proto feat: Add backupvault_ba proto feat: Add backupvault_gce proto

docs: A comment for field oauth2_client_id in message .google.cloud.backupdr.v1.ManagementServer is changed docs: A comment for field parent in message .google.cloud.backupdr.v1.ListManagementServersRequest is changed docs: A comment for field management_servers in message .google.cloud.backupdr.v1.ListManagementServersResponse is changed docs: A comment for field name in message .google.cloud.backupdr.v1.GetManagementServerRequest is changed docs: A comment for field parent in message .google.cloud.backupdr.v1.CreateManagementServerRequest is changed docs: A comment for field requested_cancellation in message .google.cloud.backupdr.v1.OperationMetadata is changed PiperOrigin-RevId: 678800741

Source-Link: https://github.com/googleapis/googleapis/commit/d36e288fc56ace0443c96ee1e385529c4ec4198c

Source-Link: https://github.com/googleapis/googleapis-gen/commit/fba9d225b43dcf7361006491810485cdf1b57cdb Copy-Tag: eyJwIjoiQmFja3VwRHIvLk93bEJvdC55YW1sIiwiaCI6ImZiYTlkMjI1YjQzZGNmNzM2MTAwNjQ5MTgxMDQ4NWNkZjFiNTdjZGIifQ==

snippet-bot[bot] commented 2 months ago

Here is the summary of changes.

You are about to add 29 region tags. - [BackupDr/samples/V1/BackupDRClient/abandon_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/abandon_backup.php#L25), tag `backupdr_v1_generated_BackupDR_AbandonBackup_sync` - [BackupDr/samples/V1/BackupDRClient/create_backup_plan.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/create_backup_plan.php#L25), tag `backupdr_v1_generated_BackupDR_CreateBackupPlan_sync` - [BackupDr/samples/V1/BackupDRClient/create_backup_plan_association.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/create_backup_plan_association.php#L25), tag `backupdr_v1_generated_BackupDR_CreateBackupPlanAssociation_sync` - [BackupDr/samples/V1/BackupDRClient/create_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/create_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_CreateBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/delete_backup.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackup_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup_plan.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/delete_backup_plan.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackupPlan_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup_plan_association.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/delete_backup_plan_association.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackupPlanAssociation_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/delete_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/fetch_access_token.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/fetch_access_token.php#L25), tag `backupdr_v1_generated_BackupDR_FetchAccessToken_sync` - [BackupDr/samples/V1/BackupDRClient/fetch_usable_backup_vaults.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/fetch_usable_backup_vaults.php#L25), tag `backupdr_v1_generated_BackupDR_FetchUsableBackupVaults_sync` - [BackupDr/samples/V1/BackupDRClient/finalize_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/finalize_backup.php#L25), tag `backupdr_v1_generated_BackupDR_FinalizeBackup_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/get_backup.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackup_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup_plan.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/get_backup_plan.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackupPlan_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup_plan_association.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/get_backup_plan_association.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackupPlanAssociation_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/get_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/get_data_source.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/get_data_source.php#L25), tag `backupdr_v1_generated_BackupDR_GetDataSource_sync` - [BackupDr/samples/V1/BackupDRClient/initiate_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/initiate_backup.php#L25), tag `backupdr_v1_generated_BackupDR_InitiateBackup_sync` - [BackupDr/samples/V1/BackupDRClient/list_backup_plan_associations.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/list_backup_plan_associations.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackupPlanAssociations_sync` - [BackupDr/samples/V1/BackupDRClient/list_backup_plans.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/list_backup_plans.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackupPlans_sync` - [BackupDr/samples/V1/BackupDRClient/list_backup_vaults.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/list_backup_vaults.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackupVaults_sync` - [BackupDr/samples/V1/BackupDRClient/list_backups.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/list_backups.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackups_sync` - [BackupDr/samples/V1/BackupDRClient/list_data_sources.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/list_data_sources.php#L25), tag `backupdr_v1_generated_BackupDR_ListDataSources_sync` - [BackupDr/samples/V1/BackupDRClient/remove_data_source.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/remove_data_source.php#L25), tag `backupdr_v1_generated_BackupDR_RemoveDataSource_sync` - [BackupDr/samples/V1/BackupDRClient/restore_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/restore_backup.php#L25), tag `backupdr_v1_generated_BackupDR_RestoreBackup_sync` - [BackupDr/samples/V1/BackupDRClient/set_internal_status.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/set_internal_status.php#L25), tag `backupdr_v1_generated_BackupDR_SetInternalStatus_sync` - [BackupDr/samples/V1/BackupDRClient/trigger_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/trigger_backup.php#L25), tag `backupdr_v1_generated_BackupDR_TriggerBackup_sync` - [BackupDr/samples/V1/BackupDRClient/update_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/update_backup.php#L25), tag `backupdr_v1_generated_BackupDR_UpdateBackup_sync` - [BackupDr/samples/V1/BackupDRClient/update_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/update_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_UpdateBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/update_data_source.php:25](https://github.com/googleapis/google-cloud-php/blob/4fb96cfbaecbf3482b493b1805f8247155b07a99/BackupDr/samples/V1/BackupDRClient/update_data_source.php#L25), tag `backupdr_v1_generated_BackupDR_UpdateDataSource_sync`

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:

snippet-bot[bot] commented 2 months ago

Here is the summary of changes.

You are about to add 29 region tags. - [BackupDr/samples/V1/BackupDRClient/abandon_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/abandon_backup.php#L25), tag `backupdr_v1_generated_BackupDR_AbandonBackup_sync` - [BackupDr/samples/V1/BackupDRClient/create_backup_plan.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/create_backup_plan.php#L25), tag `backupdr_v1_generated_BackupDR_CreateBackupPlan_sync` - [BackupDr/samples/V1/BackupDRClient/create_backup_plan_association.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/create_backup_plan_association.php#L25), tag `backupdr_v1_generated_BackupDR_CreateBackupPlanAssociation_sync` - [BackupDr/samples/V1/BackupDRClient/create_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/create_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_CreateBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/delete_backup.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackup_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup_plan.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/delete_backup_plan.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackupPlan_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup_plan_association.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/delete_backup_plan_association.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackupPlanAssociation_sync` - [BackupDr/samples/V1/BackupDRClient/delete_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/delete_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_DeleteBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/fetch_access_token.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/fetch_access_token.php#L25), tag `backupdr_v1_generated_BackupDR_FetchAccessToken_sync` - [BackupDr/samples/V1/BackupDRClient/fetch_usable_backup_vaults.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/fetch_usable_backup_vaults.php#L25), tag `backupdr_v1_generated_BackupDR_FetchUsableBackupVaults_sync` - [BackupDr/samples/V1/BackupDRClient/finalize_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/finalize_backup.php#L25), tag `backupdr_v1_generated_BackupDR_FinalizeBackup_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/get_backup.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackup_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup_plan.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/get_backup_plan.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackupPlan_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup_plan_association.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/get_backup_plan_association.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackupPlanAssociation_sync` - [BackupDr/samples/V1/BackupDRClient/get_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/get_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_GetBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/get_data_source.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/get_data_source.php#L25), tag `backupdr_v1_generated_BackupDR_GetDataSource_sync` - [BackupDr/samples/V1/BackupDRClient/initiate_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/initiate_backup.php#L25), tag `backupdr_v1_generated_BackupDR_InitiateBackup_sync` - [BackupDr/samples/V1/BackupDRClient/list_backup_plan_associations.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/list_backup_plan_associations.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackupPlanAssociations_sync` - [BackupDr/samples/V1/BackupDRClient/list_backup_plans.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/list_backup_plans.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackupPlans_sync` - [BackupDr/samples/V1/BackupDRClient/list_backup_vaults.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/list_backup_vaults.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackupVaults_sync` - [BackupDr/samples/V1/BackupDRClient/list_backups.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/list_backups.php#L25), tag `backupdr_v1_generated_BackupDR_ListBackups_sync` - [BackupDr/samples/V1/BackupDRClient/list_data_sources.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/list_data_sources.php#L25), tag `backupdr_v1_generated_BackupDR_ListDataSources_sync` - [BackupDr/samples/V1/BackupDRClient/remove_data_source.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/remove_data_source.php#L25), tag `backupdr_v1_generated_BackupDR_RemoveDataSource_sync` - [BackupDr/samples/V1/BackupDRClient/restore_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/restore_backup.php#L25), tag `backupdr_v1_generated_BackupDR_RestoreBackup_sync` - [BackupDr/samples/V1/BackupDRClient/set_internal_status.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/set_internal_status.php#L25), tag `backupdr_v1_generated_BackupDR_SetInternalStatus_sync` - [BackupDr/samples/V1/BackupDRClient/trigger_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/trigger_backup.php#L25), tag `backupdr_v1_generated_BackupDR_TriggerBackup_sync` - [BackupDr/samples/V1/BackupDRClient/update_backup.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/update_backup.php#L25), tag `backupdr_v1_generated_BackupDR_UpdateBackup_sync` - [BackupDr/samples/V1/BackupDRClient/update_backup_vault.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/update_backup_vault.php#L25), tag `backupdr_v1_generated_BackupDR_UpdateBackupVault_sync` - [BackupDr/samples/V1/BackupDRClient/update_data_source.php:25](https://github.com/googleapis/google-cloud-php/blob/e2d618cf50cd69faa17344ec9a1110e04e2d500d/BackupDr/samples/V1/BackupDRClient/update_data_source.php#L25), tag `backupdr_v1_generated_BackupDR_UpdateDataSource_sync`

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:

noahdietz commented 2 months ago

@bshaffer can this be reverted? Pinged you offline, we may need to hold a change in here back