Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -28097,17 +28099,22 @@
"/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
"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule/time": time
"/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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-alloydb_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags>]
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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -4586,6 +4617,14 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
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.
Expand All @@ -4610,17 +4649,26 @@ 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

# 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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>, String] extra_location_types
Expand Down