Skip to content

Commit d2bde84

Browse files
feat: Automated regeneration of alloydb v1 client (googleapis#23927)
Auto-created at 2025-08-10 10:53:49 +0000 using the toys pull request generator.
1 parent 70f2e73 commit d2bde84

File tree

5 files changed

+97
-3
lines changed

5 files changed

+97
-3
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24190,6 +24190,13 @@
2419024190
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupConfiguration/pointInTimeRecoveryEnabled": point_in_time_recovery_enabled
2419124191
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration": storage_databasecenter_partnerapi_v1main_backup_dr_configuration
2419224192
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration/backupdrManaged": backupdr_managed
24193+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata": storage_databasecenter_partnerapi_v1main_backup_dr_metadata
24194+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata/backupConfiguration": backup_configuration
24195+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata/backupRun": backup_run
24196+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata/backupdrConfiguration": backupdr_configuration
24197+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata/fullResourceName": full_resource_name
24198+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata/lastRefreshTime": last_refresh_time
24199+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata/resourceId": resource_id
2419324200
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupRun": storage_databasecenter_partnerapi_v1main_backup_run
2419424201
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupRun/endTime": end_time
2419524202
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainBackupRun/error": error
@@ -24216,6 +24223,7 @@
2421624223
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseMetadata/resourceId": resource_id
2421724224
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseMetadata/resourceName": resource_name
2421824225
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": storage_databasecenter_partnerapi_v1main_database_resource_feed
24226+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/backupdrMetadata": backupdr_metadata
2421924227
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/configBasedSignalData": config_based_signal_data
2422024228
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedTimestamp": feed_timestamp
2422124229
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedType": feed_type

generated/google-apis-alloydb_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-alloydb_v1
22

3+
### v0.43.0 (2025-08-10)
4+
5+
* Regenerated from discovery document revision 20250731
6+
37
### v0.42.0 (2025-07-27)
48

59
* Regenerated from discovery document revision 20250723

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

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3309,6 +3309,57 @@ def update!(**args)
33093309
end
33103310
end
33113311

3312+
# BackupDRMetadata contains information about the backup and disaster recovery
3313+
# metadata of a database resource.
3314+
class StorageDatabasecenterPartnerapiV1mainBackupDrMetadata
3315+
include Google::Apis::Core::Hashable
3316+
3317+
# Configuration for automatic backups
3318+
# Corresponds to the JSON property `backupConfiguration`
3319+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
3320+
attr_accessor :backup_configuration
3321+
3322+
# A backup run.
3323+
# Corresponds to the JSON property `backupRun`
3324+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
3325+
attr_accessor :backup_run
3326+
3327+
# BackupDRConfiguration to capture the backup and disaster recovery details of
3328+
# database resource.
3329+
# Corresponds to the JSON property `backupdrConfiguration`
3330+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration]
3331+
attr_accessor :backupdr_configuration
3332+
3333+
# Required. Full resource name of this instance.
3334+
# Corresponds to the JSON property `fullResourceName`
3335+
# @return [String]
3336+
attr_accessor :full_resource_name
3337+
3338+
# Required. Last time backup configuration was refreshed.
3339+
# Corresponds to the JSON property `lastRefreshTime`
3340+
# @return [String]
3341+
attr_accessor :last_refresh_time
3342+
3343+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
3344+
# Corresponds to the JSON property `resourceId`
3345+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3346+
attr_accessor :resource_id
3347+
3348+
def initialize(**args)
3349+
update!(**args)
3350+
end
3351+
3352+
# Update properties of this object
3353+
def update!(**args)
3354+
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
3355+
@backup_run = args[:backup_run] if args.key?(:backup_run)
3356+
@backupdr_configuration = args[:backupdr_configuration] if args.key?(:backupdr_configuration)
3357+
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
3358+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
3359+
@resource_id = args[:resource_id] if args.key?(:resource_id)
3360+
end
3361+
end
3362+
33123363
# A backup run.
33133364
class StorageDatabasecenterPartnerapiV1mainBackupRun
33143365
include Google::Apis::Core::Hashable
@@ -3441,10 +3492,16 @@ def update!(**args)
34413492
end
34423493

34433494
# DatabaseResourceFeed is the top level proto to be used to ingest different
3444-
# database resource level events into Condor platform. Next ID: 9
3495+
# database resource level events into Condor platform. Next ID: 10
34453496
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
34463497
include Google::Apis::Core::Hashable
34473498

3499+
# BackupDRMetadata contains information about the backup and disaster recovery
3500+
# metadata of a database resource.
3501+
# Corresponds to the JSON property `backupdrMetadata`
3502+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata]
3503+
attr_accessor :backupdr_metadata
3504+
34483505
# Config based signal data. This is used to send signals to Condor which are
34493506
# based on the DB level configurations. These will be used to send signals for
34503507
# self managed databases.
@@ -3493,6 +3550,7 @@ def initialize(**args)
34933550

34943551
# Update properties of this object
34953552
def update!(**args)
3553+
@backupdr_metadata = args[:backupdr_metadata] if args.key?(:backupdr_metadata)
34963554
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
34973555
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
34983556
@feed_type = args[:feed_type] if args.key?(:feed_type)

generated/google-apis-alloydb_v1/lib/google/apis/alloydb_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 AlloydbV1
1818
# Version of the google-apis-alloydb_v1 gem
19-
GEM_VERSION = "0.42.0"
19+
GEM_VERSION = "0.43.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 = "20250723"
25+
REVISION = "20250731"
2626
end
2727
end
2828
end

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
484484
include Google::Apis::Core::JsonObjectSupport
485485
end
486486

487+
class StorageDatabasecenterPartnerapiV1mainBackupDrMetadata
488+
class Representation < Google::Apis::Core::JsonRepresentation; end
489+
490+
include Google::Apis::Core::JsonObjectSupport
491+
end
492+
487493
class StorageDatabasecenterPartnerapiV1mainBackupRun
488494
class Representation < Google::Apis::Core::JsonRepresentation; end
489495

@@ -1508,6 +1514,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
15081514
end
15091515
end
15101516

1517+
class StorageDatabasecenterPartnerapiV1mainBackupDrMetadata
1518+
# @private
1519+
class Representation < Google::Apis::Core::JsonRepresentation
1520+
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1521+
1522+
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1523+
1524+
property :backupdr_configuration, as: 'backupdrConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration::Representation
1525+
1526+
property :full_resource_name, as: 'fullResourceName'
1527+
property :last_refresh_time, as: 'lastRefreshTime'
1528+
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1529+
1530+
end
1531+
end
1532+
15111533
class StorageDatabasecenterPartnerapiV1mainBackupRun
15121534
# @private
15131535
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1550,6 +1572,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
15501572
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
15511573
# @private
15521574
class Representation < Google::Apis::Core::JsonRepresentation
1575+
property :backupdr_metadata, as: 'backupdrMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata::Representation
1576+
15531577
property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData::Representation
15541578

15551579
property :feed_timestamp, as: 'feedTimestamp'

0 commit comments

Comments
 (0)