Skip to content

Commit 4729132

Browse files
feat: Automated regeneration of alloydb v1beta client (googleapis#24282)
Auto-created at 2025-09-14 10:14:18 +0000 using the toys pull request generator.
1 parent 186914e commit 4729132

File tree

6 files changed

+109
-7
lines changed

6 files changed

+109
-7
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26721,6 +26721,7 @@
2672126721
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": storage_databasecenter_partnerapi_v1main_database_resource_feed
2672226722
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/backupdrMetadata": backupdr_metadata
2672326723
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/configBasedSignalData": config_based_signal_data
26724+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/databaseResourceSignalData": database_resource_signal_data
2672426725
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedTimestamp": feed_timestamp
2672526726
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/feedType": feed_type
2672626727
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed/observabilityMetricData": observability_metric_data
@@ -26781,6 +26782,7 @@
2678126782
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabelSet": user_label_set
2678226783
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabels": user_labels
2678326784
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/userLabels/user_label": user_label
26785+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/zone": zone
2678426786
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData": storage_databasecenter_partnerapi_v1main_database_resource_recommendation_signal_data
2678526787
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/additionalMetadata": additional_metadata
2678626788
? "/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/additionalMetadata/additional_metadatum"
@@ -26792,6 +26794,13 @@
2679226794
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/recommenderSubtype": recommender_subtype
2679326795
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/resourceName": resource_name
2679426796
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData/signalType": signal_type
26797+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData": storage_databasecenter_partnerapi_v1main_database_resource_signal_data
26798+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/fullResourceName": full_resource_name
26799+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/lastRefreshTime": last_refresh_time
26800+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/resourceId": resource_id
26801+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/signalBoolValue": signal_bool_value
26802+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/signalState": signal_state
26803+
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData/signalType": signal_type
2679526804
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainEntitlement": storage_databasecenter_partnerapi_v1main_entitlement
2679626805
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainEntitlement/entitlementState": entitlement_state
2679726806
"/alloydb:v1beta/StorageDatabasecenterPartnerapiV1mainEntitlement/type": type

generated/google-apis-alloydb_v1beta/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_v1beta
22

3+
### v0.36.0 (2025-09-14)
4+
5+
* Regenerated from discovery document revision 20250904
6+
37
### v0.35.0 (2025-08-31)
48

59
* Regenerated from discovery document revision 20250820

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

Lines changed: 70 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3686,7 +3686,7 @@ def update!(**args)
36863686
end
36873687

36883688
# DatabaseResourceFeed is the top level proto to be used to ingest different
3689-
# database resource level events into Condor platform. Next ID: 11
3689+
# database resource level events into Condor platform. Next ID: 12
36903690
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
36913691
include Google::Apis::Core::Hashable
36923692

@@ -3703,6 +3703,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37033703
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
37043704
attr_accessor :config_based_signal_data
37053705

3706+
# Database resource signal data. This is used to send signals to Condor which
3707+
# are based on the DB/Instance/Fleet level configurations. These will be used to
3708+
# send signals for all inventory types. Next ID: 7
3709+
# Corresponds to the JSON property `databaseResourceSignalData`
3710+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData]
3711+
attr_accessor :database_resource_signal_data
3712+
37063713
# Required. Timestamp when feed is generated.
37073714
# Corresponds to the JSON property `feedTimestamp`
37083715
# @return [String]
@@ -3733,7 +3740,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37333740
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
37343741
attr_accessor :resource_id
37353742

3736-
# Common model for database resource instance metadata. Next ID: 26
3743+
# Common model for database resource instance metadata. Next ID: 27
37373744
# Corresponds to the JSON property `resourceMetadata`
37383745
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
37393746
attr_accessor :resource_metadata
@@ -3756,6 +3763,7 @@ def initialize(**args)
37563763
def update!(**args)
37573764
@backupdr_metadata = args[:backupdr_metadata] if args.key?(:backupdr_metadata)
37583765
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
3766+
@database_resource_signal_data = args[:database_resource_signal_data] if args.key?(:database_resource_signal_data)
37593767
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
37603768
@feed_type = args[:feed_type] if args.key?(:feed_type)
37613769
@observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
@@ -3930,7 +3938,7 @@ def update!(**args)
39303938
end
39313939
end
39323940

3933-
# Common model for database resource instance metadata. Next ID: 26
3941+
# Common model for database resource instance metadata. Next ID: 27
39343942
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
39353943
include Google::Apis::Core::Hashable
39363944

@@ -4074,6 +4082,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
40744082
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
40754083
attr_accessor :user_label_set
40764084

4085+
# The resource zone. This is only applicable for zonal resources and will be
4086+
# empty for regional and multi-regional resources.
4087+
# Corresponds to the JSON property `zone`
4088+
# @return [String]
4089+
attr_accessor :zone
4090+
40774091
def initialize(**args)
40784092
update!(**args)
40794093
end
@@ -4104,6 +4118,7 @@ def update!(**args)
41044118
@tags_set = args[:tags_set] if args.key?(:tags_set)
41054119
@updation_time = args[:updation_time] if args.key?(:updation_time)
41064120
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
4121+
@zone = args[:zone] if args.key?(:zone)
41074122
end
41084123
end
41094124

@@ -4180,6 +4195,58 @@ def update!(**args)
41804195
end
41814196
end
41824197

4198+
# Database resource signal data. This is used to send signals to Condor which
4199+
# are based on the DB/Instance/Fleet level configurations. These will be used to
4200+
# send signals for all inventory types. Next ID: 7
4201+
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData
4202+
include Google::Apis::Core::Hashable
4203+
4204+
# Required. Full Resource name of the source resource.
4205+
# Corresponds to the JSON property `fullResourceName`
4206+
# @return [String]
4207+
attr_accessor :full_resource_name
4208+
4209+
# Required. Last time signal was refreshed
4210+
# Corresponds to the JSON property `lastRefreshTime`
4211+
# @return [String]
4212+
attr_accessor :last_refresh_time
4213+
4214+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
4215+
# Corresponds to the JSON property `resourceId`
4216+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
4217+
attr_accessor :resource_id
4218+
4219+
# Signal data for boolean signals.
4220+
# Corresponds to the JSON property `signalBoolValue`
4221+
# @return [Boolean]
4222+
attr_accessor :signal_bool_value
4223+
alias_method :signal_bool_value?, :signal_bool_value
4224+
4225+
# Required. Output only. Signal state of the signal
4226+
# Corresponds to the JSON property `signalState`
4227+
# @return [String]
4228+
attr_accessor :signal_state
4229+
4230+
# Required. Signal type of the signal
4231+
# Corresponds to the JSON property `signalType`
4232+
# @return [String]
4233+
attr_accessor :signal_type
4234+
4235+
def initialize(**args)
4236+
update!(**args)
4237+
end
4238+
4239+
# Update properties of this object
4240+
def update!(**args)
4241+
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
4242+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
4243+
@resource_id = args[:resource_id] if args.key?(:resource_id)
4244+
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
4245+
@signal_state = args[:signal_state] if args.key?(:signal_state)
4246+
@signal_type = args[:signal_type] if args.key?(:signal_type)
4247+
end
4248+
end
4249+
41834250
# Proto representing the access that a user has to a specific feature/service.
41844251
# NextId: 3.
41854252
class StorageDatabasecenterPartnerapiV1mainEntitlement

generated/google-apis-alloydb_v1beta/lib/google/apis/alloydb_v1beta/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 AlloydbV1beta
1818
# Version of the google-apis-alloydb_v1beta gem
19-
GEM_VERSION = "0.35.0"
19+
GEM_VERSION = "0.36.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 = "20250820"
25+
REVISION = "20250904"
2626
end
2727
end
2828
end

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
550550
include Google::Apis::Core::JsonObjectSupport
551551
end
552552

553+
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData
554+
class Representation < Google::Apis::Core::JsonRepresentation; end
555+
556+
include Google::Apis::Core::JsonObjectSupport
557+
end
558+
553559
class StorageDatabasecenterPartnerapiV1mainEntitlement
554560
class Representation < Google::Apis::Core::JsonRepresentation; end
555561

@@ -1622,6 +1628,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
16221628

16231629
property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData::Representation
16241630

1631+
property :database_resource_signal_data, as: 'databaseResourceSignalData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData::Representation
1632+
16251633
property :feed_timestamp, as: 'feedTimestamp'
16261634
property :feed_type, as: 'feedType'
16271635
property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData::Representation
@@ -1710,6 +1718,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
17101718
property :updation_time, as: 'updationTime'
17111719
property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
17121720

1721+
property :zone, as: 'zone'
17131722
end
17141723
end
17151724

@@ -1727,6 +1736,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
17271736
end
17281737
end
17291738

1739+
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData
1740+
# @private
1741+
class Representation < Google::Apis::Core::JsonRepresentation
1742+
property :full_resource_name, as: 'fullResourceName'
1743+
property :last_refresh_time, as: 'lastRefreshTime'
1744+
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1745+
1746+
property :signal_bool_value, as: 'signalBoolValue'
1747+
property :signal_state, as: 'signalState'
1748+
property :signal_type, as: 'signalType'
1749+
end
1750+
end
1751+
17301752
class StorageDatabasecenterPartnerapiV1mainEntitlement
17311753
# @private
17321754
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
9595
# @param [String] name
9696
# The resource that owns the locations collection, if applicable.
9797
# @param [Array<String>, String] extra_location_types
98-
# Optional. Do not use this field. It is unsupported and is ignored unless
99-
# explicitly documented otherwise. This is primarily for internal usage.
98+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
99+
# field which is primarily intended for internal usage.
100100
# @param [String] filter
101101
# A filter to narrow down results to a preferred subset. The filtering language
102102
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)