Skip to content

Commit 9d4dcd4

Browse files
feat: Automated regeneration of alloydb v1 client (googleapis#25666)
Auto-created at 2026-02-08 11:02:18 +0000 using the toys pull request generator.
1 parent 445d144 commit 9d4dcd4

6 files changed

Lines changed: 86 additions & 5 deletions

File tree

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28161,6 +28161,8 @@
2816128161
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/primaryResourceLocation": primary_resource_location
2816228162
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/product": product
2816328163
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceContainer": resource_container
28164+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceFlags": resource_flags
28165+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceFlags/resource_flag": resource_flag
2816428166
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceName": resource_name
2816528167
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/suspensionReason": suspension_reason
2816628168
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/tagsSet": tags_set
@@ -28217,17 +28219,22 @@
2821728219
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/code": code
2821828220
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/errorType": error_type
2821928221
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/message": message
28222+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceFlags": storage_databasecenter_partnerapi_v1main_resource_flags
28223+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceFlags/key": key
28224+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceFlags/value": value
2822028225
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule": storage_databasecenter_partnerapi_v1main_resource_maintenance_deny_schedule
2822128226
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule/endDate": end_date
2822228227
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule/startDate": start_date
2822328228
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule/time": time
2822428229
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo": storage_databasecenter_partnerapi_v1main_resource_maintenance_info
2822528230
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/denyMaintenanceSchedules": deny_maintenance_schedules
2822628231
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/denyMaintenanceSchedules/deny_maintenance_schedule": deny_maintenance_schedule
28232+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/isInstanceStopped": is_instance_stopped
2822728233
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/maintenanceSchedule": maintenance_schedule
2822828234
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/maintenanceState": maintenance_state
2822928235
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/maintenanceVersion": maintenance_version
2823028236
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/upcomingMaintenance": upcoming_maintenance
28237+
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo/versionUpdateTime": version_update_time
2823128238
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule": storage_databasecenter_partnerapi_v1main_resource_maintenance_schedule
2823228239
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule/day": day
2823328240
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule/phase": phase

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.54.0 (2026-02-08)
4+
5+
* Regenerated from discovery document revision 20260129
6+
37
### v0.53.0 (2026-02-01)
48

59
* Regenerated from discovery document revision 20260122

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

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3779,7 +3779,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37793779
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
37803780
attr_accessor :resource_id
37813781

3782-
# Common model for database resource instance metadata. Next ID: 30
3782+
# Common model for database resource instance metadata. Next ID: 31
37833783
# Corresponds to the JSON property `resourceMetadata`
37843784
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
37853785
attr_accessor :resource_metadata
@@ -3977,7 +3977,7 @@ def update!(**args)
39773977
end
39783978
end
39793979

3980-
# Common model for database resource instance metadata. Next ID: 30
3980+
# Common model for database resource instance metadata. Next ID: 31
39813981
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
39823982
include Google::Apis::Core::Hashable
39833983

@@ -4099,6 +4099,11 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
40994099
# @return [String]
41004100
attr_accessor :resource_container
41014101

4102+
# Optional. List of resource flags for the database resource.
4103+
# Corresponds to the JSON property `resourceFlags`
4104+
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags>]
4105+
attr_accessor :resource_flags
4106+
41024107
# Required. Different from DatabaseResourceId.unique_id, a resource name can be
41034108
# reused over time. That is, after a resource named "ABC" is deleted, the name "
41044109
# ABC" can be used to to create a new resource within the same source. Resource
@@ -4165,6 +4170,7 @@ def update!(**args)
41654170
@primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
41664171
@product = args[:product] if args.key?(:product)
41674172
@resource_container = args[:resource_container] if args.key?(:resource_container)
4173+
@resource_flags = args[:resource_flags] if args.key?(:resource_flags)
41684174
@resource_name = args[:resource_name] if args.key?(:resource_name)
41694175
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
41704176
@tags_set = args[:tags_set] if args.key?(:tags_set)
@@ -4529,6 +4535,31 @@ def update!(**args)
45294535
end
45304536
end
45314537

4538+
# Message type for storing resource flags.
4539+
class StorageDatabasecenterPartnerapiV1mainResourceFlags
4540+
include Google::Apis::Core::Hashable
4541+
4542+
# Optional. Key of the resource flag.
4543+
# Corresponds to the JSON property `key`
4544+
# @return [String]
4545+
attr_accessor :key
4546+
4547+
# Optional. Value of the resource flag.
4548+
# Corresponds to the JSON property `value`
4549+
# @return [String]
4550+
attr_accessor :value
4551+
4552+
def initialize(**args)
4553+
update!(**args)
4554+
end
4555+
4556+
# Update properties of this object
4557+
def update!(**args)
4558+
@key = args[:key] if args.key?(:key)
4559+
@value = args[:value] if args.key?(:value)
4560+
end
4561+
end
4562+
45324563
# Deny maintenance period for the database resource. It specifies the time range
45334564
# during which the maintenance cannot start. This is configured by the customer.
45344565
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
@@ -4586,6 +4617,14 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
45864617
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
45874618
attr_accessor :deny_maintenance_schedules
45884619

4620+
# Optional. Whether the instance is in stopped state. This information is
4621+
# temporarily being captured in maintenanceInfo, till STOPPED state is supported
4622+
# by DB Center.
4623+
# Corresponds to the JSON property `isInstanceStopped`
4624+
# @return [Boolean]
4625+
attr_accessor :is_instance_stopped
4626+
alias_method :is_instance_stopped?, :is_instance_stopped
4627+
45894628
# Maintenance window for the database resource. It specifies preferred time and
45904629
# day of the week and phase in some cases, when the maintenance can start. This
45914630
# is configured by the customer.
@@ -4610,17 +4649,26 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
46104649
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance]
46114650
attr_accessor :upcoming_maintenance
46124651

4652+
# Optional. This field will contain the date when the last version update was
4653+
# applied to the database resource. This will be used to calculate the age of
4654+
# the maintenance version.
4655+
# Corresponds to the JSON property `versionUpdateTime`
4656+
# @return [String]
4657+
attr_accessor :version_update_time
4658+
46134659
def initialize(**args)
46144660
update!(**args)
46154661
end
46164662

46174663
# Update properties of this object
46184664
def update!(**args)
46194665
@deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
4666+
@is_instance_stopped = args[:is_instance_stopped] if args.key?(:is_instance_stopped)
46204667
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
46214668
@maintenance_state = args[:maintenance_state] if args.key?(:maintenance_state)
46224669
@maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
46234670
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
4671+
@version_update_time = args[:version_update_time] if args.key?(:version_update_time)
46244672
end
46254673
end
46264674

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.53.0"
19+
GEM_VERSION = "0.54.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 = "20260122"
25+
REVISION = "20260129"
2626
end
2727
end
2828
end

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
616616
include Google::Apis::Core::JsonObjectSupport
617617
end
618618

619+
class StorageDatabasecenterPartnerapiV1mainResourceFlags
620+
class Representation < Google::Apis::Core::JsonRepresentation; end
621+
622+
include Google::Apis::Core::JsonObjectSupport
623+
end
624+
619625
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
620626
class Representation < Google::Apis::Core::JsonRepresentation; end
621627

@@ -1782,6 +1788,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
17821788
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
17831789

17841790
property :resource_container, as: 'resourceContainer'
1791+
collection :resource_flags, as: 'resourceFlags', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags::Representation
1792+
17851793
property :resource_name, as: 'resourceName'
17861794
property :suspension_reason, as: 'suspensionReason'
17871795
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
18841892
end
18851893
end
18861894

1895+
class StorageDatabasecenterPartnerapiV1mainResourceFlags
1896+
# @private
1897+
class Representation < Google::Apis::Core::JsonRepresentation
1898+
property :key, as: 'key'
1899+
property :value, as: 'value'
1900+
end
1901+
end
1902+
18871903
class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
18881904
# @private
18891905
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1901,12 +1917,14 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
19011917
class Representation < Google::Apis::Core::JsonRepresentation
19021918
collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::Representation
19031919

1920+
property :is_instance_stopped, as: 'isInstanceStopped'
19041921
property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule::Representation
19051922

19061923
property :maintenance_state, as: 'maintenanceState'
19071924
property :maintenance_version, as: 'maintenanceVersion'
19081925
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance::Representation
19091926

1927+
property :version_update_time, as: 'versionUpdateTime'
19101928
end
19111929
end
19121930

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
9191
execute_or_queue_command(command, &block)
9292
end
9393

94-
# Lists information about the supported locations for this service.
94+
# Lists information about the supported locations for this service. This method
95+
# can be called in two ways: * **List all public locations:** Use the path `GET /
96+
# v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
97+
# projects/`project_id`/locations`. This may include public locations as well as
98+
# private or other locations specifically visible to the project.
9599
# @param [String] name
96100
# The resource that owns the locations collection, if applicable.
97101
# @param [Array<String>, String] extra_location_types

0 commit comments

Comments
 (0)