From c99741149589bcb7f1e086625aa3ae1a4e34ca2e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 8 Feb 2026 11:02:19 +0000 Subject: [PATCH] feat: Automated regeneration of alloydb v1 client --- api_names_out.yaml | 7 +++ generated/google-apis-alloydb_v1/CHANGELOG.md | 4 ++ .../lib/google/apis/alloydb_v1/classes.rb | 52 ++++++++++++++++++- .../lib/google/apis/alloydb_v1/gem_version.rb | 4 +- .../google/apis/alloydb_v1/representations.rb | 18 +++++++ .../lib/google/apis/alloydb_v1/service.rb | 6 ++- 6 files changed, 86 insertions(+), 5 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 044229b2375..d6f9eaf7171 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -28041,6 +28041,8 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/primaryResourceLocation": primary_resource_location "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/product": product "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceContainer": resource_container +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceFlags": resource_flags +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceFlags/resource_flag": resource_flag "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceName": resource_name "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/suspensionReason": suspension_reason "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/tagsSet": tags_set @@ -28097,6 +28099,9 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/code": code "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/errorType": error_type "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/message": message +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceFlags": storage_databasecenter_partnerapi_v1main_resource_flags +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceFlags/key": key +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceFlags/value": value "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule": storage_databasecenter_partnerapi_v1main_resource_maintenance_deny_schedule "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule/endDate": end_date "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule/startDate": start_date @@ -28104,10 +28109,12 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo": storage_databasecenter_partnerapi_v1main_resource_maintenance_info "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/denyMaintenanceSchedules": deny_maintenance_schedules "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/denyMaintenanceSchedules/deny_maintenance_schedule": deny_maintenance_schedule +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/isInstanceStopped": is_instance_stopped "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/maintenanceSchedule": maintenance_schedule "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/maintenanceState": maintenance_state "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/maintenanceVersion": maintenance_version "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/upcomingMaintenance": upcoming_maintenance +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/versionUpdateTime": version_update_time "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule": storage_databasecenter_partnerapi_v1main_resource_maintenance_schedule "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule/day": day "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule/phase": phase diff --git a/generated/google-apis-alloydb_v1/CHANGELOG.md b/generated/google-apis-alloydb_v1/CHANGELOG.md index d68fa4bfb06..036aa64ef79 100644 --- a/generated/google-apis-alloydb_v1/CHANGELOG.md +++ b/generated/google-apis-alloydb_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-alloydb_v1 +### v0.54.0 (2026-02-08) + +* Regenerated from discovery document revision 20260129 + ### v0.53.0 (2026-02-01) * Regenerated from discovery document revision 20260122 diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb index b914d628423..a707d391463 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb @@ -3779,7 +3779,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] attr_accessor :resource_id - # Common model for database resource instance metadata. Next ID: 30 + # Common model for database resource instance metadata. Next ID: 31 # Corresponds to the JSON property `resourceMetadata` # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata] attr_accessor :resource_metadata @@ -3977,7 +3977,7 @@ def update!(**args) end end - # Common model for database resource instance metadata. Next ID: 30 + # Common model for database resource instance metadata. Next ID: 31 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata include Google::Apis::Core::Hashable @@ -4099,6 +4099,11 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata # @return [String] attr_accessor :resource_container + # Optional. List of resource flags for the database resource. + # Corresponds to the JSON property `resourceFlags` + # @return [Array] + attr_accessor :resource_flags + # Required. Different from DatabaseResourceId.unique_id, a resource name can be # reused over time. That is, after a resource named "ABC" is deleted, the name " # ABC" can be used to to create a new resource within the same source. Resource @@ -4165,6 +4170,7 @@ def update!(**args) @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location) @product = args[:product] if args.key?(:product) @resource_container = args[:resource_container] if args.key?(:resource_container) + @resource_flags = args[:resource_flags] if args.key?(:resource_flags) @resource_name = args[:resource_name] if args.key?(:resource_name) @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) @tags_set = args[:tags_set] if args.key?(:tags_set) @@ -4529,6 +4535,31 @@ def update!(**args) end end + # Message type for storing resource flags. + class StorageDatabasecenterPartnerapiV1mainResourceFlags + include Google::Apis::Core::Hashable + + # Optional. Key of the resource flag. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Optional. Value of the resource flag. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + # Deny maintenance period for the database resource. It specifies the time range # during which the maintenance cannot start. This is configured by the customer. class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule @@ -4586,6 +4617,14 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo # @return [Array] attr_accessor :deny_maintenance_schedules + # Optional. Whether the instance is in stopped state. This information is + # temporarily being captured in maintenanceInfo, till STOPPED state is supported + # by DB Center. + # Corresponds to the JSON property `isInstanceStopped` + # @return [Boolean] + attr_accessor :is_instance_stopped + alias_method :is_instance_stopped?, :is_instance_stopped + # Maintenance window for the database resource. It specifies preferred time and # day of the week and phase in some cases, when the maintenance can start. This # is configured by the customer. @@ -4610,6 +4649,13 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance] attr_accessor :upcoming_maintenance + # Optional. This field will contain the date when the last version update was + # applied to the database resource. This will be used to calculate the age of + # the maintenance version. + # Corresponds to the JSON property `versionUpdateTime` + # @return [String] + attr_accessor :version_update_time + def initialize(**args) update!(**args) end @@ -4617,10 +4663,12 @@ def initialize(**args) # Update properties of this object def update!(**args) @deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules) + @is_instance_stopped = args[:is_instance_stopped] if args.key?(:is_instance_stopped) @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule) @maintenance_state = args[:maintenance_state] if args.key?(:maintenance_state) @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version) @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance) + @version_update_time = args[:version_update_time] if args.key?(:version_update_time) end end diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb index cf69c4c9f26..33b491062a3 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AlloydbV1 # Version of the google-apis-alloydb_v1 gem - GEM_VERSION = "0.53.0" + GEM_VERSION = "0.54.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260122" + REVISION = "20260129" end end end diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb index de8b59baaac..69c640fd672 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb @@ -616,6 +616,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class StorageDatabasecenterPartnerapiV1mainResourceFlags + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1782,6 +1788,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation property :resource_container, as: 'resourceContainer' + collection :resource_flags, as: 'resourceFlags', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags::Representation + property :resource_name, as: 'resourceName' property :suspension_reason, as: 'suspensionReason' property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags::Representation @@ -1884,6 +1892,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class StorageDatabasecenterPartnerapiV1mainResourceFlags + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1901,12 +1917,14 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo class Representation < Google::Apis::Core::JsonRepresentation collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation + property :is_instance_stopped, as: 'isInstanceStopped' property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation property :maintenance_state, as: 'maintenanceState' property :maintenance_version, as: 'maintenanceVersion' property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance::Representation + property :version_update_time, as: 'versionUpdateTime' end end diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb index 593ce60633d..3b67d113511 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb @@ -91,7 +91,11 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc execute_or_queue_command(command, &block) end - # Lists information about the supported locations for this service. + # Lists information about the supported locations for this service. This method + # can be called in two ways: * **List all public locations:** Use the path `GET / + # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/ + # projects/`project_id`/locations`. This may include public locations as well as + # private or other locations specifically visible to the project. # @param [String] name # The resource that owns the locations collection, if applicable. # @param [Array, String] extra_location_types