diff --git a/api_names_out.yaml b/api_names_out.yaml index 78e29ca76dc..e5b9b2438ad 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -25012,6 +25012,7 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": storage_databasecenter_partnerapi_v1main_database_resource_feed "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/backupdrMetadata": backupdr_metadata "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/configBasedSignalData": config_based_signal_data +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/databaseResourceSignalData": database_resource_signal_data "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedTimestamp": feed_timestamp "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedType": feed_type "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/observabilityMetricData": observability_metric_data @@ -25072,6 +25073,7 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabelSet": user_label_set "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabels": user_labels "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabels/user_label": user_label +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/zone": zone "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData": storage_databasecenter_partnerapi_v1main_database_resource_recommendation_signal_data "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/additionalMetadata": additional_metadata ? "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/additionalMetadata/additional_metadatum" @@ -25083,6 +25085,13 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/recommenderSubtype": recommender_subtype "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/resourceName": resource_name "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/signalType": signal_type +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData": storage_databasecenter_partnerapi_v1main_database_resource_signal_data +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/fullResourceName": full_resource_name +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/lastRefreshTime": last_refresh_time +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/resourceId": resource_id +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/signalBoolValue": signal_bool_value +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/signalState": signal_state +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/signalType": signal_type "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainEntitlement": storage_databasecenter_partnerapi_v1main_entitlement "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainEntitlement/entitlementState": entitlement_state "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainEntitlement/type": type diff --git a/generated/google-apis-alloydb_v1/CHANGELOG.md b/generated/google-apis-alloydb_v1/CHANGELOG.md index b27c0dd2986..9ecb2360168 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.45.0 (2025-09-14) + +* Regenerated from discovery document revision 20250904 + ### v0.44.0 (2025-08-31) * Regenerated from discovery document revision 20250820 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 a422bd8a700..98e1d982f97 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 @@ -3492,7 +3492,7 @@ def update!(**args) end # DatabaseResourceFeed is the top level proto to be used to ingest different - # database resource level events into Condor platform. Next ID: 11 + # database resource level events into Condor platform. Next ID: 12 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed include Google::Apis::Core::Hashable @@ -3509,6 +3509,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData] attr_accessor :config_based_signal_data + # Database resource signal data. This is used to send signals to Condor which + # are based on the DB/Instance/Fleet level configurations. These will be used to + # send signals for all inventory types. Next ID: 7 + # Corresponds to the JSON property `databaseResourceSignalData` + # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData] + attr_accessor :database_resource_signal_data + # Required. Timestamp when feed is generated. # Corresponds to the JSON property `feedTimestamp` # @return [String] @@ -3539,7 +3546,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] attr_accessor :resource_id - # Common model for database resource instance metadata. Next ID: 26 + # Common model for database resource instance metadata. Next ID: 27 # Corresponds to the JSON property `resourceMetadata` # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata] attr_accessor :resource_metadata @@ -3562,6 +3569,7 @@ def initialize(**args) def update!(**args) @backupdr_metadata = args[:backupdr_metadata] if args.key?(:backupdr_metadata) @config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data) + @database_resource_signal_data = args[:database_resource_signal_data] if args.key?(:database_resource_signal_data) @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp) @feed_type = args[:feed_type] if args.key?(:feed_type) @observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data) @@ -3736,7 +3744,7 @@ def update!(**args) end end - # Common model for database resource instance metadata. Next ID: 26 + # Common model for database resource instance metadata. Next ID: 27 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata include Google::Apis::Core::Hashable @@ -3880,6 +3888,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels] attr_accessor :user_label_set + # The resource zone. This is only applicable for zonal resources and will be + # empty for regional and multi-regional resources. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + def initialize(**args) update!(**args) end @@ -3910,6 +3924,7 @@ def update!(**args) @tags_set = args[:tags_set] if args.key?(:tags_set) @updation_time = args[:updation_time] if args.key?(:updation_time) @user_label_set = args[:user_label_set] if args.key?(:user_label_set) + @zone = args[:zone] if args.key?(:zone) end end @@ -3986,6 +4001,58 @@ def update!(**args) end end + # Database resource signal data. This is used to send signals to Condor which + # are based on the DB/Instance/Fleet level configurations. These will be used to + # send signals for all inventory types. Next ID: 7 + class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData + include Google::Apis::Core::Hashable + + # Required. Full Resource name of the source resource. + # Corresponds to the JSON property `fullResourceName` + # @return [String] + attr_accessor :full_resource_name + + # Required. Last time signal was refreshed + # Corresponds to the JSON property `lastRefreshTime` + # @return [String] + attr_accessor :last_refresh_time + + # DatabaseResourceId will serve as primary key for any resource ingestion event. + # Corresponds to the JSON property `resourceId` + # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] + attr_accessor :resource_id + + # Signal data for boolean signals. + # Corresponds to the JSON property `signalBoolValue` + # @return [Boolean] + attr_accessor :signal_bool_value + alias_method :signal_bool_value?, :signal_bool_value + + # Required. Output only. Signal state of the signal + # Corresponds to the JSON property `signalState` + # @return [String] + attr_accessor :signal_state + + # Required. Signal type of the signal + # Corresponds to the JSON property `signalType` + # @return [String] + attr_accessor :signal_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) + @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) + @resource_id = args[:resource_id] if args.key?(:resource_id) + @signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value) + @signal_state = args[:signal_state] if args.key?(:signal_state) + @signal_type = args[:signal_type] if args.key?(:signal_type) + end + end + # Proto representing the access that a user has to a specific feature/service. # NextId: 3. class StorageDatabasecenterPartnerapiV1mainEntitlement 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 7387c8a3f0c..b92bdd1496f 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.44.0" + GEM_VERSION = "0.45.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 = "20250820" + REVISION = "20250904" 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 cb2340df8cf..7859b3ad2d1 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 @@ -544,6 +544,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StorageDatabasecenterPartnerapiV1mainEntitlement class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1576,6 +1582,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData::Representation + property :database_resource_signal_data, as: 'databaseResourceSignalData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData::Representation + property :feed_timestamp, as: 'feedTimestamp' property :feed_type, as: 'feedType' property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation @@ -1664,6 +1672,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :updation_time, as: 'updationTime' property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation + property :zone, as: 'zone' end end @@ -1681,6 +1690,19 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :full_resource_name, as: 'fullResourceName' + property :last_refresh_time, as: 'lastRefreshTime' + property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation + + property :signal_bool_value, as: 'signalBoolValue' + property :signal_state, as: 'signalState' + property :signal_type, as: 'signalType' + end + end + class StorageDatabasecenterPartnerapiV1mainEntitlement # @private class Representation < Google::Apis::Core::JsonRepresentation 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 85db59ae186..a73719773fb 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 @@ -95,8 +95,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc # @param [String] name # The resource that owns the locations collection, if applicable. # @param [Array, String] extra_location_types - # Optional. Do not use this field. It is unsupported and is ignored unless - # explicitly documented otherwise. This is primarily for internal usage. + # Optional. Unless explicitly documented otherwise, don't use this unsupported + # field which is primarily intended for internal usage. # @param [String] filter # A filter to narrow down results to a preferred subset. The filtering language # accepts strings like `"displayName=tokyo"`, and is documented in more detail