Skip to content

Commit 62f24a6

Browse files
feat: Automated regeneration of alloydb v1alpha client (#23853)
Auto-created at 2025-08-03 10:28:46 +0000 using the toys pull request generator.
1 parent 1a0f313 commit 62f24a6

File tree

5 files changed

+213
-5
lines changed

5 files changed

+213
-5
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24929,8 +24929,14 @@
2492924929
"/alloydb:v1alpha/StageInfo/logsUrl": logs_url
2493024930
"/alloydb:v1alpha/StageInfo/stage": stage
2493124931
"/alloydb:v1alpha/StageInfo/status": status
24932+
"/alloydb:v1alpha/StageSchedule": stage_schedule
24933+
"/alloydb:v1alpha/StageSchedule/actualEndTime": actual_end_time
24934+
"/alloydb:v1alpha/StageSchedule/actualStartTime": actual_start_time
24935+
"/alloydb:v1alpha/StageSchedule/estimatedEndTime": estimated_end_time
24936+
"/alloydb:v1alpha/StageSchedule/estimatedStartTime": estimated_start_time
2493224937
"/alloydb:v1alpha/StageStatus": stage_status
2493324938
"/alloydb:v1alpha/StageStatus/readPoolInstancesUpgrade": read_pool_instances_upgrade
24939+
"/alloydb:v1alpha/StageStatus/schedule": schedule
2493424940
"/alloydb:v1alpha/StageStatus/stage": stage
2493524941
"/alloydb:v1alpha/StageStatus/state": state
2493624942
"/alloydb:v1alpha/Stats": stats
@@ -24954,6 +24960,8 @@
2495424960
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupConfiguration/automatedBackupEnabled": automated_backup_enabled
2495524961
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupConfiguration/backupRetentionSettings": backup_retention_settings
2495624962
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupConfiguration/pointInTimeRecoveryEnabled": point_in_time_recovery_enabled
24963+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration": storage_databasecenter_partnerapi_v1main_backup_dr_configuration
24964+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration/backupdrManaged": backupdr_managed
2495724965
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupRun": storage_databasecenter_partnerapi_v1main_backup_run
2495824966
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupRun/endTime": end_time
2495924967
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupRun/error": error
@@ -24962,6 +24970,12 @@
2496224970
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainCompliance": storage_databasecenter_partnerapi_v1main_compliance
2496324971
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainCompliance/standard": standard
2496424972
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainCompliance/version": version
24973+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData": storage_databasecenter_partnerapi_v1main_config_based_signal_data
24974+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData/fullResourceName": full_resource_name
24975+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData/lastRefreshTime": last_refresh_time
24976+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData/resourceId": resource_id
24977+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData/signalBoolValue": signal_bool_value
24978+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData/signalType": signal_type
2496524979
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainCustomMetadataData": storage_databasecenter_partnerapi_v1main_custom_metadata_data
2496624980
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainCustomMetadataData/databaseMetadata": database_metadata
2496724981
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainCustomMetadataData/databaseMetadata/database_metadatum": database_metadatum
@@ -24974,6 +24988,7 @@
2497424988
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseMetadata/resourceId": resource_id
2497524989
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseMetadata/resourceName": resource_name
2497624990
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": storage_databasecenter_partnerapi_v1main_database_resource_feed
24991+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/configBasedSignalData": config_based_signal_data
2497724992
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedTimestamp": feed_timestamp
2497824993
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedType": feed_type
2497924994
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/observabilityMetricData": observability_metric_data
@@ -25008,6 +25023,7 @@
2500825023
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/availabilityConfiguration": availability_configuration
2500925024
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupConfiguration": backup_configuration
2501025025
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupRun": backup_run
25026+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/backupdrConfiguration": backupdr_configuration
2501125027
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/creationTime": creation_time
2501225028
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/currentState": current_state
2501325029
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/customMetadata": custom_metadata
@@ -25085,6 +25101,7 @@
2508525101
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainUserLabels/labels/label": label
2508625102
"/alloydb:v1alpha/StorageDatabasecenterProtoCommonProduct": storage_databasecenter_proto_common_product
2508725103
"/alloydb:v1alpha/StorageDatabasecenterProtoCommonProduct/engine": engine
25104+
"/alloydb:v1alpha/StorageDatabasecenterProtoCommonProduct/minorVersion": minor_version
2508825105
"/alloydb:v1alpha/StorageDatabasecenterProtoCommonProduct/type": type
2508925106
"/alloydb:v1alpha/StorageDatabasecenterProtoCommonProduct/version": version
2509025107
"/alloydb:v1alpha/StorageDatabasecenterProtoCommonTypedValue": storage_databasecenter_proto_common_typed_value

generated/google-apis-alloydb_v1alpha/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_v1alpha
22

3+
### v0.33.0 (2025-08-03)
4+
5+
* Regenerated from discovery document revision 20250723
6+
37
### v0.32.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250612

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

Lines changed: 136 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,6 +3278,43 @@ def update!(**args)
32783278
end
32793279
end
32803280

3281+
# Timing information for the stage execution.
3282+
class StageSchedule
3283+
include Google::Apis::Core::Hashable
3284+
3285+
# Actual end time of the stage. Set only if the stage has completed.
3286+
# Corresponds to the JSON property `actualEndTime`
3287+
# @return [String]
3288+
attr_accessor :actual_end_time
3289+
3290+
# Actual start time of the stage. Set only if the stage has started.
3291+
# Corresponds to the JSON property `actualStartTime`
3292+
# @return [String]
3293+
attr_accessor :actual_start_time
3294+
3295+
# When the stage is expected to end. Set only if the stage has not completed yet.
3296+
# Corresponds to the JSON property `estimatedEndTime`
3297+
# @return [String]
3298+
attr_accessor :estimated_end_time
3299+
3300+
# When the stage is expected to start. Set only if the stage has not started yet.
3301+
# Corresponds to the JSON property `estimatedStartTime`
3302+
# @return [String]
3303+
attr_accessor :estimated_start_time
3304+
3305+
def initialize(**args)
3306+
update!(**args)
3307+
end
3308+
3309+
# Update properties of this object
3310+
def update!(**args)
3311+
@actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
3312+
@actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
3313+
@estimated_end_time = args[:estimated_end_time] if args.key?(:estimated_end_time)
3314+
@estimated_start_time = args[:estimated_start_time] if args.key?(:estimated_start_time)
3315+
end
3316+
end
3317+
32813318
# Status of an upgrade stage.
32823319
class StageStatus
32833320
include Google::Apis::Core::Hashable
@@ -3287,6 +3324,11 @@ class StageStatus
32873324
# @return [Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus]
32883325
attr_accessor :read_pool_instances_upgrade
32893326

3327+
# Timing information for the stage execution.
3328+
# Corresponds to the JSON property `schedule`
3329+
# @return [Google::Apis::AlloydbV1alpha::StageSchedule]
3330+
attr_accessor :schedule
3331+
32903332
# Upgrade stage.
32913333
# Corresponds to the JSON property `stage`
32923334
# @return [String]
@@ -3304,6 +3346,7 @@ def initialize(**args)
33043346
# Update properties of this object
33053347
def update!(**args)
33063348
@read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
3349+
@schedule = args[:schedule] if args.key?(:schedule)
33073350
@stage = args[:stage] if args.key?(:stage)
33083351
@state = args[:state] if args.key?(:state)
33093352
end
@@ -3473,6 +3516,27 @@ def update!(**args)
34733516
end
34743517
end
34753518

3519+
# BackupDRConfiguration to capture the backup and disaster recovery details of
3520+
# database resource.
3521+
class StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
3522+
include Google::Apis::Core::Hashable
3523+
3524+
# Indicates if the resource is managed by BackupDR.
3525+
# Corresponds to the JSON property `backupdrManaged`
3526+
# @return [Boolean]
3527+
attr_accessor :backupdr_managed
3528+
alias_method :backupdr_managed?, :backupdr_managed
3529+
3530+
def initialize(**args)
3531+
update!(**args)
3532+
end
3533+
3534+
# Update properties of this object
3535+
def update!(**args)
3536+
@backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed)
3537+
end
3538+
end
3539+
34763540
# A backup run.
34773541
class StorageDatabasecenterPartnerapiV1mainBackupRun
34783542
include Google::Apis::Core::Hashable
@@ -3536,6 +3600,52 @@ def update!(**args)
35363600
end
35373601
end
35383602

3603+
# Config based signal data. This is used to send signals to Condor which are
3604+
# based on the DB level configurations. These will be used to send signals for
3605+
# self managed databases.
3606+
class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData
3607+
include Google::Apis::Core::Hashable
3608+
3609+
# Required. Full Resource name of the source resource.
3610+
# Corresponds to the JSON property `fullResourceName`
3611+
# @return [String]
3612+
attr_accessor :full_resource_name
3613+
3614+
# Required. Last time signal was refreshed
3615+
# Corresponds to the JSON property `lastRefreshTime`
3616+
# @return [String]
3617+
attr_accessor :last_refresh_time
3618+
3619+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
3620+
# Corresponds to the JSON property `resourceId`
3621+
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3622+
attr_accessor :resource_id
3623+
3624+
# Signal data for boolean signals.
3625+
# Corresponds to the JSON property `signalBoolValue`
3626+
# @return [Boolean]
3627+
attr_accessor :signal_bool_value
3628+
alias_method :signal_bool_value?, :signal_bool_value
3629+
3630+
# Required. Signal type of the signal
3631+
# Corresponds to the JSON property `signalType`
3632+
# @return [String]
3633+
attr_accessor :signal_type
3634+
3635+
def initialize(**args)
3636+
update!(**args)
3637+
end
3638+
3639+
# Update properties of this object
3640+
def update!(**args)
3641+
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
3642+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
3643+
@resource_id = args[:resource_id] if args.key?(:resource_id)
3644+
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
3645+
@signal_type = args[:signal_type] if args.key?(:signal_type)
3646+
end
3647+
end
3648+
35393649
# Any custom metadata associated with the resource. e.g. A spanner instance can
35403650
# have multiple databases with its own unique metadata. Information for these
35413651
# individual databases can be captured in custom metadata data
@@ -3559,10 +3669,17 @@ def update!(**args)
35593669
end
35603670

35613671
# DatabaseResourceFeed is the top level proto to be used to ingest different
3562-
# database resource level events into Condor platform. Next ID: 8
3672+
# database resource level events into Condor platform. Next ID: 9
35633673
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
35643674
include Google::Apis::Core::Hashable
35653675

3676+
# Config based signal data. This is used to send signals to Condor which are
3677+
# based on the DB level configurations. These will be used to send signals for
3678+
# self managed databases.
3679+
# Corresponds to the JSON property `configBasedSignalData`
3680+
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
3681+
attr_accessor :config_based_signal_data
3682+
35663683
# Required. Timestamp when feed is generated.
35673684
# Corresponds to the JSON property `feedTimestamp`
35683685
# @return [String]
@@ -3593,7 +3710,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
35933710
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
35943711
attr_accessor :resource_id
35953712

3596-
# Common model for database resource instance metadata. Next ID: 25
3713+
# Common model for database resource instance metadata. Next ID: 26
35973714
# Corresponds to the JSON property `resourceMetadata`
35983715
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
35993716
attr_accessor :resource_metadata
@@ -3604,6 +3721,7 @@ def initialize(**args)
36043721

36053722
# Update properties of this object
36063723
def update!(**args)
3724+
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
36073725
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
36083726
@feed_type = args[:feed_type] if args.key?(:feed_type)
36093727
@observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
@@ -3777,7 +3895,7 @@ def update!(**args)
37773895
end
37783896
end
37793897

3780-
# Common model for database resource instance metadata. Next ID: 25
3898+
# Common model for database resource instance metadata. Next ID: 26
37813899
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
37823900
include Google::Apis::Core::Hashable
37833901

@@ -3796,6 +3914,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
37963914
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
37973915
attr_accessor :backup_run
37983916

3917+
# BackupDRConfiguration to capture the backup and disaster recovery details of
3918+
# database resource.
3919+
# Corresponds to the JSON property `backupdrConfiguration`
3920+
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration]
3921+
attr_accessor :backupdr_configuration
3922+
37993923
# The creation time of the resource, i.e. the time when resource is created and
38003924
# recorded in partner service.
38013925
# Corresponds to the JSON property `creationTime`
@@ -3924,6 +4048,7 @@ def update!(**args)
39244048
@availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration)
39254049
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
39264050
@backup_run = args[:backup_run] if args.key?(:backup_run)
4051+
@backupdr_configuration = args[:backupdr_configuration] if args.key?(:backupdr_configuration)
39274052
@creation_time = args[:creation_time] if args.key?(:creation_time)
39284053
@current_state = args[:current_state] if args.key?(:current_state)
39294054
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
@@ -4330,6 +4455,13 @@ class StorageDatabasecenterProtoCommonProduct
43304455
# @return [String]
43314456
attr_accessor :engine
43324457

4458+
# Minor version of the underlying database engine. Example values: For MySQL, it
4459+
# could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc.
4460+
# .
4461+
# Corresponds to the JSON property `minorVersion`
4462+
# @return [String]
4463+
attr_accessor :minor_version
4464+
43334465
# Type of specific database product. It could be CloudSQL, AlloyDB etc..
43344466
# Corresponds to the JSON property `type`
43354467
# @return [String]
@@ -4348,6 +4480,7 @@ def initialize(**args)
43484480
# Update properties of this object
43494481
def update!(**args)
43504482
@engine = args[:engine] if args.key?(:engine)
4483+
@minor_version = args[:minor_version] if args.key?(:minor_version)
43514484
@type = args[:type] if args.key?(:type)
43524485
@version = args[:version] if args.key?(:version)
43534486
end

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/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 AlloydbV1alpha
1818
# Version of the google-apis-alloydb_v1alpha gem
19-
GEM_VERSION = "0.32.0"
19+
GEM_VERSION = "0.33.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 = "20250612"
25+
REVISION = "20250723"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)