Skip to content

Commit 933ca66

Browse files
feat: Automated regeneration of alloydb v1alpha client (googleapis#23519)
Auto-created at 2025-06-22 10:39:54 +0000 using the toys pull request generator.
1 parent 24e8248 commit 933ca66

File tree

5 files changed

+38
-15
lines changed

5 files changed

+38
-15
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24673,6 +24673,7 @@
2467324673
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/description": description
2467424674
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/eventTime": event_time
2467524675
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/externalUri": external_uri
24676+
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/location": location
2467624677
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/name": name
2467724678
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/provider": provider
2467824679
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData/resourceContainer": resource_container

generated/google-apis-alloydb_v1alpha/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_v1alpha
22

3+
### v0.32.0 (2025-06-22)
4+
5+
* Regenerated from discovery document revision 20250612
6+
37
### v0.31.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250605

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

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ class Cluster
524524
# @return [String]
525525
attr_accessor :etag
526526

527-
# Deprecated and unused. This field will be removed in the near future.
527+
# Deprecated and unused. This message will be removed in the near future.
528528
# Corresponds to the JSON property `geminiConfig`
529529
# @return [Google::Apis::AlloydbV1alpha::GeminiClusterConfig]
530530
attr_accessor :gemini_config
@@ -826,7 +826,8 @@ class ConnectionPoolConfig
826826
include Google::Apis::Core::Hashable
827827

828828
# Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to
829-
# 20.
829+
# 20. Note: This field should not be added to client libraries if not present
830+
# already.
830831
# Corresponds to the JSON property `defaultPoolSize`
831832
# @return [String]
832833
attr_accessor :default_pool_size
@@ -849,13 +850,15 @@ class ConnectionPoolConfig
849850
attr_accessor :flags
850851

851852
# Optional. Deprecated. Use 'flags' instead. The list of startup parameters to
852-
# ignore. Defaults to ["extra_float_digits"]
853+
# ignore. Defaults to ["extra_float_digits"] Note: This field should not be
854+
# added to client libraries if not present already.
853855
# Corresponds to the JSON property `ignoreStartupParameters`
854856
# @return [Array<String>]
855857
attr_accessor :ignore_startup_parameters
856858

857859
# Optional. Deprecated. Use 'flags' instead. The maximum number of client
858-
# connections allowed.
860+
# connections allowed. Note: This field should not be added to client libraries
861+
# if not present already.
859862
# Corresponds to the JSON property `maxClientConn`
860863
# @return [String]
861864
attr_accessor :max_client_conn
@@ -864,19 +867,22 @@ class ConnectionPoolConfig
864867
# statements allowed. MCP makes sure that any statement prepared by a client, up
865868
# to this limit, is available on the backing server connection in transaction
866869
# and statement pooling mode. Even if the statement was originally prepared on
867-
# another server connection. Defaults to 0.
870+
# another server connection. Defaults to 0. Note: This field should not be added
871+
# to client libraries if not present already.
868872
# Corresponds to the JSON property `maxPreparedStatements`
869873
# @return [String]
870874
attr_accessor :max_prepared_statements
871875

872876
# Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to
873-
# 0.
877+
# 0. Note: This field should not be added to client libraries if not present
878+
# already.
874879
# Corresponds to the JSON property `minPoolSize`
875880
# @return [String]
876881
attr_accessor :min_pool_size
877882

878883
# Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `
879-
# POOL_MODE_TRANSACTION`.
884+
# POOL_MODE_TRANSACTION`. Note: This field should not be added to client
885+
# libraries if not present already.
880886
# Corresponds to the JSON property `poolMode`
881887
# @return [String]
882888
attr_accessor :pool_mode
@@ -889,18 +895,23 @@ class ConnectionPoolConfig
889895
# Optional. Deprecated. Use 'flags' instead. The maximum number of seconds
890896
# queries are allowed to spend waiting for execution. If the query is not
891897
# assigned to a server during that time, the client is disconnected. 0 disables.
898+
# Note: This field should not be added to client libraries if not present
899+
# already.
892900
# Corresponds to the JSON property `queryWaitTimeout`
893901
# @return [String]
894902
attr_accessor :query_wait_timeout
895903

896904
# Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a
897-
# server is allowed to be idle before it is disconnected. 0 disables.
905+
# server is allowed to be idle before it is disconnected. 0 disables. Note: This
906+
# field should not be added to client libraries if not present already.
898907
# Corresponds to the JSON property `serverIdleTimeout`
899908
# @return [String]
900909
attr_accessor :server_idle_timeout
901910

902911
# Optional. Deprecated. Use 'flags' instead. The list of users that are allowed
903912
# to connect to the MCP stats console. The users must exist in the database.
913+
# Note: This field should not be added to client libraries if not present
914+
# already.
904915
# Corresponds to the JSON property `statsUsers`
905916
# @return [Array<String>]
906917
attr_accessor :stats_users
@@ -1359,7 +1370,7 @@ def update!(**args)
13591370
end
13601371
end
13611372

1362-
# Deprecated and unused. This field will be removed in the near future.
1373+
# Deprecated and unused. This message will be removed in the near future.
13631374
class GeminiClusterConfig
13641375
include Google::Apis::Core::Hashable
13651376

@@ -1380,7 +1391,7 @@ def update!(**args)
13801391
end
13811392
end
13821393

1383-
# Deprecated and unused. This field will be removed in the near future.
1394+
# Deprecated and unused. This message will be removed in the near future.
13841395
class GeminiInstanceConfig
13851396
include Google::Apis::Core::Hashable
13861397

@@ -1741,7 +1752,7 @@ class Instance
17411752
# @return [String]
17421753
attr_accessor :gce_zone
17431754

1744-
# Deprecated and unused. This field will be removed in the near future.
1755+
# Deprecated and unused. This message will be removed in the near future.
17451756
# Corresponds to the JSON property `geminiConfig`
17461757
# @return [Google::Apis::AlloydbV1alpha::GeminiInstanceConfig]
17471758
attr_accessor :gemini_config
@@ -3639,6 +3650,11 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData
36393650
# @return [String]
36403651
attr_accessor :external_uri
36413652

3653+
# This is used to identify the location of the resource. Example: "us-central1"
3654+
# Corresponds to the JSON property `location`
3655+
# @return [String]
3656+
attr_accessor :location
3657+
36423658
# Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE,
36433659
# SQL_LOG_ERROR_VERBOSITY etc.
36443660
# Corresponds to the JSON property `name`
@@ -3702,6 +3718,7 @@ def update!(**args)
37023718
@description = args[:description] if args.key?(:description)
37033719
@event_time = args[:event_time] if args.key?(:event_time)
37043720
@external_uri = args[:external_uri] if args.key?(:external_uri)
3721+
@location = args[:location] if args.key?(:location)
37053722
@name = args[:name] if args.key?(:name)
37063723
@provider = args[:provider] if args.key?(:provider)
37073724
@resource_container = args[:resource_container] if args.key?(:resource_container)
@@ -3733,8 +3750,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
37333750
# googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.
37343751
# googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.
37353752
# com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/
3736-
# cloudExadataInfrastructures oracledatabase.googleapis.com/cloudVmClusters
3737-
# oracledatabase.googleapis.com/autonomousDatabases spanner.googleapis.com/
3753+
# CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster
3754+
# oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/
37383755
# Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance,
37393756
# go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel
37403757
# Corresponds to the JSON property `resourceType`

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/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 AlloydbV1alpha
1818
# Version of the google-apis-alloydb_v1alpha gem
19-
GEM_VERSION = "0.31.0"
19+
GEM_VERSION = "0.32.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 = "20250605"
25+
REVISION = "20250612"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,6 +1586,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
15861586
property :description, as: 'description'
15871587
property :event_time, as: 'eventTime'
15881588
property :external_uri, as: 'externalUri'
1589+
property :location, as: 'location'
15891590
property :name, as: 'name'
15901591
property :provider, as: 'provider'
15911592
property :resource_container, as: 'resourceContainer'

0 commit comments

Comments
 (0)