Skip to content

Commit bd7b39b

Browse files
feat: Automated regeneration of backupdr v1 client (googleapis#20432)
Auto-created at 2024-10-20 09:51:36 +0000 using the toys pull request generator.
1 parent 6c839ff commit bd7b39b

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42151,6 +42151,7 @@
4215142151
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/allowMissing": allow_missing
4215242152
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/etag": etag
4215342153
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/force": force
42154+
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/ignoreBackupPlanReferences": ignore_backup_plan_references
4215442155
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/name": name
4215542156
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/requestId": request_id
4215642157
"/backupdr:v1/backupdr.projects.locations.backupVaults.delete/validateOnly": validate_only

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.20.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241009
6+
37
### v0.19.0 (2024-10-06)
48

59
* Regenerated from discovery document revision 20240920

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,8 +979,7 @@ class BackupPlanAssociation
979979
# @return [String]
980980
attr_accessor :resource
981981

982-
# Output only. Output Only. Resource type of workload on which backupplan is
983-
# applied
982+
# Optional. Resource type of workload on which backupplan is applied
984983
# Corresponds to the JSON property `resourceType`
985984
# @return [String]
986985
attr_accessor :resource_type

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.19.0"
19+
GEM_VERSION = "0.20.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 = "20240920"
25+
REVISION = "20241009"
2626
end
2727
end
2828
end

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,9 @@ def create_project_location_backup_vault(parent, backup_vault_object = nil, back
574574
# @param [Boolean] force
575575
# Optional. If set to true, any data source from this backup vault will also be
576576
# deleted.
577+
# @param [Boolean] ignore_backup_plan_references
578+
# Optional. If set to true, backupvault deletion will proceed even if there are
579+
# backup plans referencing the backupvault. The default is 'false'.
577580
# @param [String] request_id
578581
# Optional. An optional request ID to identify requests. Specify a unique
579582
# request ID so that if you must retry your request, the server will know to
@@ -605,14 +608,15 @@ def create_project_location_backup_vault(parent, backup_vault_object = nil, back
605608
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
606609
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607610
# @raise [Google::Apis::AuthorizationError] Authorization is required
608-
def delete_project_location_backup_vault(name, allow_missing: nil, etag: nil, force: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
611+
def delete_project_location_backup_vault(name, allow_missing: nil, etag: nil, force: nil, ignore_backup_plan_references: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
609612
command = make_simple_command(:delete, 'v1/{+name}', options)
610613
command.response_representation = Google::Apis::BackupdrV1::Operation::Representation
611614
command.response_class = Google::Apis::BackupdrV1::Operation
612615
command.params['name'] = name unless name.nil?
613616
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
614617
command.query['etag'] = etag unless etag.nil?
615618
command.query['force'] = force unless force.nil?
619+
command.query['ignoreBackupPlanReferences'] = ignore_backup_plan_references unless ignore_backup_plan_references.nil?
616620
command.query['requestId'] = request_id unless request_id.nil?
617621
command.query['validateOnly'] = validate_only unless validate_only.nil?
618622
command.query['fields'] = fields unless fields.nil?

0 commit comments

Comments
 (0)