Skip to content

Commit c79e7d3

Browse files
feat: Automated regeneration of backupdr v1 client (googleapis#25357)
Auto-created at 2026-01-11 10:59:00 +0000 using the toys pull request generator.
1 parent c1b520a commit c79e7d3

File tree

6 files changed

+145
-56
lines changed

6 files changed

+145
-56
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52210,6 +52210,7 @@
5221052210
"/backupdr:v1/AllocationAffinity/key": key
5221152211
"/backupdr:v1/AllocationAffinity/values": values
5221252212
"/backupdr:v1/AllocationAffinity/values/value": value
52213+
"/backupdr:v1/AlloyDBClusterBackupPlanAssociationProperties": alloy_db_cluster_backup_plan_association_properties
5221352214
"/backupdr:v1/AlloyDBClusterDataSourceProperties": alloy_db_cluster_data_source_properties
5221452215
"/backupdr:v1/AlloyDBClusterDataSourceProperties/name": name
5221552216
"/backupdr:v1/AlloyDbClusterBackupProperties": alloy_db_cluster_backup_properties
@@ -52366,12 +52367,14 @@
5236652367
"/backupdr:v1/BackupPlan/supportedResourceTypes/supported_resource_type": supported_resource_type
5236752368
"/backupdr:v1/BackupPlan/updateTime": update_time
5236852369
"/backupdr:v1/BackupPlanAssociation": backup_plan_association
52370+
"/backupdr:v1/BackupPlanAssociation/alloydbClusterBackupPlanAssociationProperties": alloydb_cluster_backup_plan_association_properties
5236952371
"/backupdr:v1/BackupPlanAssociation/backupPlan": backup_plan
5237052372
"/backupdr:v1/BackupPlanAssociation/backupPlanRevisionId": backup_plan_revision_id
5237152373
"/backupdr:v1/BackupPlanAssociation/backupPlanRevisionName": backup_plan_revision_name
5237252374
"/backupdr:v1/BackupPlanAssociation/cloudSqlInstanceBackupPlanAssociationProperties": cloud_sql_instance_backup_plan_association_properties
5237352375
"/backupdr:v1/BackupPlanAssociation/createTime": create_time
5237452376
"/backupdr:v1/BackupPlanAssociation/dataSource": data_source
52377+
"/backupdr:v1/BackupPlanAssociation/filestoreInstanceBackupPlanAssociationProperties": filestore_instance_backup_plan_association_properties
5237552378
"/backupdr:v1/BackupPlanAssociation/name": name
5237652379
"/backupdr:v1/BackupPlanAssociation/resource": resource
5237752380
"/backupdr:v1/BackupPlanAssociation/resourceType": resource_type
@@ -52670,6 +52673,8 @@
5267052673
"/backupdr:v1/FetchUsableBackupVaultsResponse/nextPageToken": next_page_token
5267152674
"/backupdr:v1/FetchUsableBackupVaultsResponse/unreachable": unreachable
5267252675
"/backupdr:v1/FetchUsableBackupVaultsResponse/unreachable/unreachable": unreachable
52676+
"/backupdr:v1/FilestoreInstanceBackupPlanAssociationProperties": filestore_instance_backup_plan_association_properties
52677+
"/backupdr:v1/FilestoreInstanceBackupPlanAssociationProperties/instanceCreateTime": instance_create_time
5267352678
"/backupdr:v1/FinalizeBackupRequest": finalize_backup_request
5267452679
"/backupdr:v1/FinalizeBackupRequest/backupId": backup_id
5267552680
"/backupdr:v1/FinalizeBackupRequest/consistencyTime": consistency_time

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.49.0 (2026-01-11)
4+
5+
* Regenerated from discovery document revision 20251227
6+
37
### v0.48.0 (2025-12-07)
48

59
* Regenerated from discovery document revision 20251130

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

Lines changed: 78 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,19 @@ def update!(**args)
246246
end
247247
end
248248

249+
# Properties for an AlloyDB cluster backup plan association.
250+
class AlloyDbClusterBackupPlanAssociationProperties
251+
include Google::Apis::Core::Hashable
252+
253+
def initialize(**args)
254+
update!(**args)
255+
end
256+
257+
# Update properties of this object
258+
def update!(**args)
259+
end
260+
end
261+
249262
# AlloyDBClusterDataSourceProperties represents the properties of a AlloyDB
250263
# cluster resource that are stored in the DataSource. .
251264
class AlloyDbClusterDataSourceProperties
@@ -851,14 +864,14 @@ class BackupConfigDetails
851864
# @return [String]
852865
attr_accessor :backup_config_source_display_name
853866

854-
# BackupDrPlanConfig has additional information about Backup and DR's Plan
855-
# backup configuration.
867+
# BackupDrPlanConfig has additional information about Google Cloud Backup and DR'
868+
# s Plan backup configuration.
856869
# Corresponds to the JSON property `backupDrPlanConfig`
857870
# @return [Google::Apis::BackupdrV1::BackupDrPlanConfig]
858871
attr_accessor :backup_dr_plan_config
859872

860-
# BackupDrTemplateConfig has additional information about Backup and DR's
861-
# Template backup configuration.
873+
# Provides additional information about Google Cloud Backup and DR's Template
874+
# backup configuration.
862875
# Corresponds to the JSON property `backupDrTemplateConfig`
863876
# @return [Google::Apis::BackupdrV1::BackupDrTemplateConfig]
864877
attr_accessor :backup_dr_template_config
@@ -970,8 +983,8 @@ def update!(**args)
970983
end
971984
end
972985

973-
# BackupDrPlanConfig has additional information about Backup and DR's Plan
974-
# backup configuration.
986+
# BackupDrPlanConfig has additional information about Google Cloud Backup and DR'
987+
# s Plan backup configuration.
975988
class BackupDrPlanConfig
976989
include Google::Apis::Core::Hashable
977990

@@ -1016,8 +1029,8 @@ def update!(**args)
10161029
end
10171030
end
10181031

1019-
# BackupDrTemplateConfig has additional information about Backup and DR's
1020-
# Template backup configuration.
1032+
# Provides additional information about Google Cloud Backup and DR's Template
1033+
# backup configuration.
10211034
class BackupDrTemplateConfig
10221035
include Google::Apis::Core::Hashable
10231036

@@ -1154,9 +1167,9 @@ class BackupPlan
11541167
# @return [String]
11551168
attr_accessor :backup_vault
11561169

1157-
# Output only. The Google Cloud Platform Service Account to be used by the
1158-
# BackupVault for taking backups. Specify the email address of the Backup Vault
1159-
# Service Account.
1170+
# Output only. The Google Cloud service account to be used by the BackupVault
1171+
# for taking backups. Specify the email address of the Backup Vault Service
1172+
# Account.
11601173
# Corresponds to the JSON property `backupVaultServiceAccount`
11611174
# @return [String]
11621175
attr_accessor :backup_vault_service_account
@@ -1188,9 +1201,9 @@ class BackupPlan
11881201
# @return [Hash<String,String>]
11891202
attr_accessor :labels
11901203

1191-
# Optional. Applicable only for CloudSQL resource_type. Configures how long logs
1192-
# will be stored. It is defined in “days”. This value should be greater than or
1193-
# equal to minimum enforced log retention duration of the backup vault.
1204+
# Optional. Applicable only for Cloud SQL resource_type. Configures how long
1205+
# logs will be stored. It is defined in “days”. This value should be greater
1206+
# than or equal to minimum enforced log retention duration of the backup vault.
11941207
# Corresponds to the JSON property `logRetentionDays`
11951208
# @return [Fixnum]
11961209
attr_accessor :log_retention_days
@@ -1273,6 +1286,11 @@ def update!(**args)
12731286
class BackupPlanAssociation
12741287
include Google::Apis::Core::Hashable
12751288

1289+
# Properties for an AlloyDB cluster backup plan association.
1290+
# Corresponds to the JSON property `alloydbClusterBackupPlanAssociationProperties`
1291+
# @return [Google::Apis::BackupdrV1::AlloyDbClusterBackupPlanAssociationProperties]
1292+
attr_accessor :alloydb_cluster_backup_plan_association_properties
1293+
12761294
# Required. Resource name of backup plan which needs to be applied on workload.
12771295
# Format: projects/`project`/locations/`location`/backupPlans/`backupPlanId`
12781296
# Corresponds to the JSON property `backupPlan`
@@ -1309,6 +1327,11 @@ class BackupPlanAssociation
13091327
# @return [String]
13101328
attr_accessor :data_source
13111329

1330+
# Filestore instance's BPA properties.
1331+
# Corresponds to the JSON property `filestoreInstanceBackupPlanAssociationProperties`
1332+
# @return [Google::Apis::BackupdrV1::FilestoreInstanceBackupPlanAssociationProperties]
1333+
attr_accessor :filestore_instance_backup_plan_association_properties
1334+
13121335
# Output only. Identifier. The resource name of BackupPlanAssociation in below
13131336
# format Format : projects/`project`/locations/`location`/backupPlanAssociations/
13141337
# `backupPlanAssociationId`
@@ -1351,12 +1374,14 @@ def initialize(**args)
13511374

13521375
# Update properties of this object
13531376
def update!(**args)
1377+
@alloydb_cluster_backup_plan_association_properties = args[:alloydb_cluster_backup_plan_association_properties] if args.key?(:alloydb_cluster_backup_plan_association_properties)
13541378
@backup_plan = args[:backup_plan] if args.key?(:backup_plan)
13551379
@backup_plan_revision_id = args[:backup_plan_revision_id] if args.key?(:backup_plan_revision_id)
13561380
@backup_plan_revision_name = args[:backup_plan_revision_name] if args.key?(:backup_plan_revision_name)
13571381
@cloud_sql_instance_backup_plan_association_properties = args[:cloud_sql_instance_backup_plan_association_properties] if args.key?(:cloud_sql_instance_backup_plan_association_properties)
13581382
@create_time = args[:create_time] if args.key?(:create_time)
13591383
@data_source = args[:data_source] if args.key?(:data_source)
1384+
@filestore_instance_backup_plan_association_properties = args[:filestore_instance_backup_plan_association_properties] if args.key?(:filestore_instance_backup_plan_association_properties)
13601385
@name = args[:name] if args.key?(:name)
13611386
@resource = args[:resource] if args.key?(:resource)
13621387
@resource_type = args[:resource_type] if args.key?(:resource_type)
@@ -1599,17 +1624,17 @@ def update!(**args)
15991624
class BackupWindow
16001625
include Google::Apis::Core::Hashable
16011626

1602-
# Required. The hour of day (1-24) when the window end for e.g. if value of end
1603-
# hour of day is 10 that mean backup window end time is 10:00. End hour of day
1604-
# should be greater than start hour of day. 0 <= start_hour_of_day <
1627+
# Required. The hour of day (1-24) when the window end for example if value of
1628+
# end hour of day is 10 that mean backup window end time is 10:00. End hour of
1629+
# day should be greater than start hour of day. 0 <= start_hour_of_day <
16051630
# end_hour_of_day <= 24 End hour of day is not include in backup window that
16061631
# mean if end_hour_of_day= 10 jobs should start before 10:00.
16071632
# Corresponds to the JSON property `endHourOfDay`
16081633
# @return [Fixnum]
16091634
attr_accessor :end_hour_of_day
16101635

1611-
# Required. The hour of day (0-23) when the window starts for e.g. if value of
1612-
# start hour of day is 6 that mean backup window start at 6:00.
1636+
# Required. The hour of day (0-23) when the window starts for example if value
1637+
# of start hour of day is 6 that mean backup window start at 6:00.
16131638
# Corresponds to the JSON property `startHourOfDay`
16141639
# @return [Fixnum]
16151640
attr_accessor :start_hour_of_day
@@ -2588,7 +2613,7 @@ def update!(**args)
25882613
end
25892614
end
25902615

2591-
# The GCP resource that the DataSource is associated with.
2616+
# The Google Cloud resource that the DataSource is associated with.
25922617
class DataSourceGcpResourceInfo
25932618
include Google::Apis::Core::Hashable
25942619

@@ -2598,18 +2623,20 @@ class DataSourceGcpResourceInfo
25982623
# @return [Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties]
25992624
attr_accessor :cloud_sql_instance_properties
26002625

2601-
# Output only. The resource name of the GCP resource. Ex: projects/`project`/
2602-
# zones/`zone`/instances/`instance`
2626+
# Output only. The resource name of the Google Cloud resource. Ex: projects/`
2627+
# project`/zones/`zone`/instances/`instance`
26032628
# Corresponds to the JSON property `gcpResourcename`
26042629
# @return [String]
26052630
attr_accessor :gcp_resourcename
26062631

2607-
# Output only. The location of the GCP resource. Ex: //"global"/"unspecified"
2632+
# Output only. The location of the Google Cloud resource. Ex: //"global"/"
2633+
# unspecified"
26082634
# Corresponds to the JSON property `location`
26092635
# @return [String]
26102636
attr_accessor :location
26112637

2612-
# Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance
2638+
# Output only. The type of the Google Cloud resource. Ex: compute.googleapis.com/
2639+
# Instance
26132640
# Corresponds to the JSON property `type`
26142641
# @return [String]
26152642
attr_accessor :type
@@ -2657,7 +2684,7 @@ class DataSourceReference
26572684
# @return [Fixnum]
26582685
attr_accessor :data_source_backup_count
26592686

2660-
# The GCP resource that the DataSource is associated with.
2687+
# The Google Cloud resource that the DataSource is associated with.
26612688
# Corresponds to the JSON property `dataSourceGcpResourceInfo`
26622689
# @return [Google::Apis::BackupdrV1::DataSourceGcpResourceInfo]
26632690
attr_accessor :data_source_gcp_resource_info
@@ -3317,8 +3344,8 @@ def update!(**args)
33173344
class FetchMsComplianceMetadataResponse
33183345
include Google::Apis::Core::Hashable
33193346

3320-
# The ms compliance metadata of the target project, if the project is an assured
3321-
# workloads project, values will be true, otherwise false.
3347+
# The ms compliance metadata of the target project, if the project is an Assured
3348+
# Workloads project, values will be true, otherwise false.
33223349
# Corresponds to the JSON property `isAssuredWorkload`
33233350
# @return [Boolean]
33243351
attr_accessor :is_assured_workload
@@ -3369,6 +3396,25 @@ def update!(**args)
33693396
end
33703397
end
33713398

3399+
# Filestore instance's BPA properties.
3400+
class FilestoreInstanceBackupPlanAssociationProperties
3401+
include Google::Apis::Core::Hashable
3402+
3403+
# Output only. The time when the instance was created.
3404+
# Corresponds to the JSON property `instanceCreateTime`
3405+
# @return [String]
3406+
attr_accessor :instance_create_time
3407+
3408+
def initialize(**args)
3409+
update!(**args)
3410+
end
3411+
3412+
# Update properties of this object
3413+
def update!(**args)
3414+
@instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
3415+
end
3416+
end
3417+
33723418
# Message for finalizing a Backup.
33733419
class FinalizeBackupRequest
33743420
include Google::Apis::Core::Hashable
@@ -3626,7 +3672,7 @@ class InitializeServiceRequest
36263672
# request ID so that if you must retry your request, the server will know to
36273673
# ignore the request if it has already been completed. The server will guarantee
36283674
# that for at least 60 minutes since the first request. For example, consider a
3629-
# situation where you make an initial request and t he request times out. If you
3675+
# situation where you make an initial request and the request times out. If you
36303676
# make the request again with the same request ID, the server can check if
36313677
# original operation with the same request ID was received, and if so, will
36323678
# ignore the second request. This prevents clients from accidentally creating
@@ -4224,9 +4270,9 @@ class ManagementServer
42244270
attr_accessor :networks
42254271

42264272
# Output only. The OAuth 2.0 client id is required to make API calls to the
4227-
# BackupDR instance API of this ManagementServer. This is the value that should
4228-
# be provided in the 'aud' field of the OIDC ID Token (see openid specification
4229-
# https://openid.net/specs/openid-connect-core-1_0.html#IDToken).
4273+
# Backup and DR instance API of this ManagementServer. This is the value that
4274+
# should be provided in the 'aud' field of the OIDC ID Token (see openid
4275+
# specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).
42304276
# Corresponds to the JSON property `oauth2ClientId`
42314277
# @return [String]
42324278
attr_accessor :oauth2_client_id
@@ -5351,7 +5397,7 @@ class StandardSchedule
53515397
# Required. The time zone to be used when interpreting the schedule. The value
53525398
# of this field must be a time zone name from the IANA tz database. See https://
53535399
# en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid
5354-
# timezone names. For e.g., Europe/Paris.
5400+
# timezone names. For example, Europe/Paris.
53555401
# Corresponds to the JSON property `timeZone`
53565402
# @return [String]
53575403
attr_accessor :time_zone

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.48.0"
19+
GEM_VERSION = "0.49.0"
2020

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

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

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
5858
include Google::Apis::Core::JsonObjectSupport
5959
end
6060

61+
class AlloyDbClusterBackupPlanAssociationProperties
62+
class Representation < Google::Apis::Core::JsonRepresentation; end
63+
64+
include Google::Apis::Core::JsonObjectSupport
65+
end
66+
6167
class AlloyDbClusterDataSourceProperties
6268
class Representation < Google::Apis::Core::JsonRepresentation; end
6369

@@ -418,6 +424,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
418424
include Google::Apis::Core::JsonObjectSupport
419425
end
420426

427+
class FilestoreInstanceBackupPlanAssociationProperties
428+
class Representation < Google::Apis::Core::JsonRepresentation; end
429+
430+
include Google::Apis::Core::JsonObjectSupport
431+
end
432+
421433
class FinalizeBackupRequest
422434
class Representation < Google::Apis::Core::JsonRepresentation; end
423435

@@ -828,6 +840,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
828840
end
829841
end
830842

843+
class AlloyDbClusterBackupPlanAssociationProperties
844+
# @private
845+
class Representation < Google::Apis::Core::JsonRepresentation
846+
end
847+
end
848+
831849
class AlloyDbClusterDataSourceProperties
832850
# @private
833851
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1076,13 +1094,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
10761094
class BackupPlanAssociation
10771095
# @private
10781096
class Representation < Google::Apis::Core::JsonRepresentation
1097+
property :alloydb_cluster_backup_plan_association_properties, as: 'alloydbClusterBackupPlanAssociationProperties', class: Google::Apis::BackupdrV1::AlloyDbClusterBackupPlanAssociationProperties, decorator: Google::Apis::BackupdrV1::AlloyDbClusterBackupPlanAssociationProperties::Representation
1098+
10791099
property :backup_plan, as: 'backupPlan'
10801100
property :backup_plan_revision_id, as: 'backupPlanRevisionId'
10811101
property :backup_plan_revision_name, as: 'backupPlanRevisionName'
10821102
property :cloud_sql_instance_backup_plan_association_properties, as: 'cloudSqlInstanceBackupPlanAssociationProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceBackupPlanAssociationProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceBackupPlanAssociationProperties::Representation
10831103

10841104
property :create_time, as: 'createTime'
10851105
property :data_source, as: 'dataSource'
1106+
property :filestore_instance_backup_plan_association_properties, as: 'filestoreInstanceBackupPlanAssociationProperties', class: Google::Apis::BackupdrV1::FilestoreInstanceBackupPlanAssociationProperties, decorator: Google::Apis::BackupdrV1::FilestoreInstanceBackupPlanAssociationProperties::Representation
1107+
10861108
property :name, as: 'name'
10871109
property :resource, as: 'resource'
10881110
property :resource_type, as: 'resourceType'
@@ -1585,6 +1607,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
15851607
end
15861608
end
15871609

1610+
class FilestoreInstanceBackupPlanAssociationProperties
1611+
# @private
1612+
class Representation < Google::Apis::Core::JsonRepresentation
1613+
property :instance_create_time, as: 'instanceCreateTime'
1614+
end
1615+
end
1616+
15881617
class FinalizeBackupRequest
15891618
# @private
15901619
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)