Skip to content

Commit d6da6e3

Browse files
feat: Automated regeneration of backupdr v1 client (googleapis#20265)
Auto-created at 2024-09-22 09:53:00 +0000 using the toys pull request generator.
1 parent 00620d2 commit d6da6e3

File tree

4 files changed

+30
-6
lines changed

4 files changed

+30
-6
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41830,12 +41830,14 @@
4183041830
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.delete/requestId": request_id
4183141831
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.get": get_project_location_backup_vault_data_source_backup
4183241832
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.get/name": name
41833+
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.get/view": view
4183341834
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list": list_project_location_backup_vault_data_source_backups
4183441835
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list/filter": filter
4183541836
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list/orderBy": order_by
4183641837
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list/pageSize": page_size
4183741838
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list/pageToken": page_token
4183841839
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list/parent": parent
41840+
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.list/view": view
4183941841
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.patch": patch_project_location_backup_vault_data_source_backup
4184041842
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.patch/name": name
4184141843
"/backupdr:v1/backupdr.projects.locations.backupVaults.dataSources.backups.patch/requestId": request_id
@@ -41880,12 +41882,14 @@
4188041882
"/backupdr:v1/backupdr.projects.locations.backupVaults.fetchUsable/parent": parent
4188141883
"/backupdr:v1/backupdr.projects.locations.backupVaults.get": get_project_location_backup_vault
4188241884
"/backupdr:v1/backupdr.projects.locations.backupVaults.get/name": name
41885+
"/backupdr:v1/backupdr.projects.locations.backupVaults.get/view": view
4188341886
"/backupdr:v1/backupdr.projects.locations.backupVaults.list": list_project_location_backup_vaults
4188441887
"/backupdr:v1/backupdr.projects.locations.backupVaults.list/filter": filter
4188541888
"/backupdr:v1/backupdr.projects.locations.backupVaults.list/orderBy": order_by
4188641889
"/backupdr:v1/backupdr.projects.locations.backupVaults.list/pageSize": page_size
4188741890
"/backupdr:v1/backupdr.projects.locations.backupVaults.list/pageToken": page_token
4188841891
"/backupdr:v1/backupdr.projects.locations.backupVaults.list/parent": parent
41892+
"/backupdr:v1/backupdr.projects.locations.backupVaults.list/view": view
4188941893
"/backupdr:v1/backupdr.projects.locations.backupVaults.patch": patch_project_location_backup_vault
4189041894
"/backupdr:v1/backupdr.projects.locations.backupVaults.patch/force": force
4189141895
"/backupdr:v1/backupdr.projects.locations.backupVaults.patch/name": name

generated/google-apis-backupdr_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-backupdr_v1
22

3+
### v0.17.0 (2024-09-22)
4+
5+
* Regenerated from discovery document revision 20240913
6+
37
### v0.16.0 (2024-09-15)
48

59
* Regenerated from discovery document revision 20240904

generated/google-apis-backupdr_v1/lib/google/apis/backupdr_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BackupdrV1
1818
# Version of the google-apis-backupdr_v1 gem
19-
GEM_VERSION = "0.16.0"
19+
GEM_VERSION = "0.17.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240904"
25+
REVISION = "20240913"
2626
end
2727
end
2828
end

generated/google-apis-backupdr_v1/lib/google/apis/backupdr_v1/service.rb

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,9 @@ def fetch_project_location_backup_vault_usable(parent, filter: nil, order_by: ni
673673
# @param [String] name
674674
# Required. Name of the backupvault store resource name, in the format 'projects/
675675
# `project_id`/locations/`location`/backupVaults/`resource_name`'
676+
# @param [String] view
677+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
678+
# Vault
676679
# @param [String] fields
677680
# Selector specifying which fields to include in a partial response.
678681
# @param [String] quota_user
@@ -690,11 +693,12 @@ def fetch_project_location_backup_vault_usable(parent, filter: nil, order_by: ni
690693
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
691694
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
692695
# @raise [Google::Apis::AuthorizationError] Authorization is required
693-
def get_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil, &block)
696+
def get_project_location_backup_vault(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
694697
command = make_simple_command(:get, 'v1/{+name}', options)
695698
command.response_representation = Google::Apis::BackupdrV1::BackupVault::Representation
696699
command.response_class = Google::Apis::BackupdrV1::BackupVault
697700
command.params['name'] = name unless name.nil?
701+
command.query['view'] = view unless view.nil?
698702
command.query['fields'] = fields unless fields.nil?
699703
command.query['quotaUser'] = quota_user unless quota_user.nil?
700704
execute_or_queue_command(command, &block)
@@ -716,6 +720,9 @@ def get_project_location_backup_vault(name, fields: nil, quota_user: nil, option
716720
# If unspecified, server will pick an appropriate default.
717721
# @param [String] page_token
718722
# Optional. A token identifying a page of results the server should return.
723+
# @param [String] view
724+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
725+
# Vault.
719726
# @param [String] fields
720727
# Selector specifying which fields to include in a partial response.
721728
# @param [String] quota_user
@@ -733,7 +740,7 @@ def get_project_location_backup_vault(name, fields: nil, quota_user: nil, option
733740
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
734741
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
735742
# @raise [Google::Apis::AuthorizationError] Authorization is required
736-
def list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
743+
def list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
737744
command = make_simple_command(:get, 'v1/{+parent}/backupVaults', options)
738745
command.response_representation = Google::Apis::BackupdrV1::ListBackupVaultsResponse::Representation
739746
command.response_class = Google::Apis::BackupdrV1::ListBackupVaultsResponse
@@ -742,6 +749,7 @@ def list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page
742749
command.query['orderBy'] = order_by unless order_by.nil?
743750
command.query['pageSize'] = page_size unless page_size.nil?
744751
command.query['pageToken'] = page_token unless page_token.nil?
752+
command.query['view'] = view unless view.nil?
745753
command.query['fields'] = fields unless fields.nil?
746754
command.query['quotaUser'] = quota_user unless quota_user.nil?
747755
execute_or_queue_command(command, &block)
@@ -1230,6 +1238,9 @@ def delete_project_location_backup_vault_data_source_backup(name, request_id: ni
12301238
# Required. Name of the data source resource name, in the format 'projects/`
12311239
# project_id`/locations/`location`/backupVaults/`backupVault`/dataSources/`
12321240
# datasource`/backups/`backup`'
1241+
# @param [String] view
1242+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
1243+
# resource.
12331244
# @param [String] fields
12341245
# Selector specifying which fields to include in a partial response.
12351246
# @param [String] quota_user
@@ -1247,11 +1258,12 @@ def delete_project_location_backup_vault_data_source_backup(name, request_id: ni
12471258
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12481259
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12491260
# @raise [Google::Apis::AuthorizationError] Authorization is required
1250-
def get_project_location_backup_vault_data_source_backup(name, fields: nil, quota_user: nil, options: nil, &block)
1261+
def get_project_location_backup_vault_data_source_backup(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
12511262
command = make_simple_command(:get, 'v1/{+name}', options)
12521263
command.response_representation = Google::Apis::BackupdrV1::Backup::Representation
12531264
command.response_class = Google::Apis::BackupdrV1::Backup
12541265
command.params['name'] = name unless name.nil?
1266+
command.query['view'] = view unless view.nil?
12551267
command.query['fields'] = fields unless fields.nil?
12561268
command.query['quotaUser'] = quota_user unless quota_user.nil?
12571269
execute_or_queue_command(command, &block)
@@ -1272,6 +1284,9 @@ def get_project_location_backup_vault_data_source_backup(name, fields: nil, quot
12721284
# If unspecified, server will pick an appropriate default.
12731285
# @param [String] page_token
12741286
# Optional. A token identifying a page of results the server should return.
1287+
# @param [String] view
1288+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
1289+
# resource.
12751290
# @param [String] fields
12761291
# Selector specifying which fields to include in a partial response.
12771292
# @param [String] quota_user
@@ -1289,7 +1304,7 @@ def get_project_location_backup_vault_data_source_backup(name, fields: nil, quot
12891304
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12901305
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12911306
# @raise [Google::Apis::AuthorizationError] Authorization is required
1292-
def list_project_location_backup_vault_data_source_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1307+
def list_project_location_backup_vault_data_source_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
12931308
command = make_simple_command(:get, 'v1/{+parent}/backups', options)
12941309
command.response_representation = Google::Apis::BackupdrV1::ListBackupsResponse::Representation
12951310
command.response_class = Google::Apis::BackupdrV1::ListBackupsResponse
@@ -1298,6 +1313,7 @@ def list_project_location_backup_vault_data_source_backups(parent, filter: nil,
12981313
command.query['orderBy'] = order_by unless order_by.nil?
12991314
command.query['pageSize'] = page_size unless page_size.nil?
13001315
command.query['pageToken'] = page_token unless page_token.nil?
1316+
command.query['view'] = view unless view.nil?
13011317
command.query['fields'] = fields unless fields.nil?
13021318
command.query['quotaUser'] = quota_user unless quota_user.nil?
13031319
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)