google-apis-alloydb_v1beta 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf9cd9bf12665fe0b3f527c8bd34a78a210c8fbe6e02a164b3c7d15162d8b382
4
- data.tar.gz: 49a61f9b8f829c26b3b42b03915ca0c9c2aeef32563f73dcfc2b5d7c769baf12
3
+ metadata.gz: c468b92d96edcaf7f7b4bacc8c3217b750fa59365844d803760038a09d22abe4
4
+ data.tar.gz: d15e8e1a37830566e4f573d0c27d0238a97affa51a94c6f8f91a7c14c6e5cc96
5
5
  SHA512:
6
- metadata.gz: 52df6779bc0ce0df3dd5c34fadad04a997aa12c60a39962fdc9bffc1c2bcfe87241e07f9aeadaf51e31b1df36f5297b77d83c4aa8967754593ddeb0132652bc9
7
- data.tar.gz: a18bb84d9356385ace88099df59725760bdc1ef5003526fcbd157891b5159f8be92753613c75d268aa6647474be2f6c80c929bd0e48bf10c3663c0a1d02820d6
6
+ metadata.gz: 4b3d34215e6fefcbb087ed7bb1ca26fbb6882a41a7d7cf02f5636d4487ea552dd908576de0fe4f39d92116c9841538df6bf4eff0e25daa36b81105edb31f64d6
7
+ data.tar.gz: ade54ac4a971c06d9186a898478672e6f4ea97057b5e2f8b694a2b75cf209786ce3cc5238c2768213b83efaa8ed85b163533c31b37fb52dd7de0b917d5fa598e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.25.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250312
6
+
3
7
  ### v0.24.0 (2025-03-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20250308
@@ -779,6 +779,107 @@ module Google
779
779
  end
780
780
  end
781
781
 
782
+ # Configuration for Managed Connection Pool (MCP).
783
+ class ConnectionPoolConfig
784
+ include Google::Apis::Core::Hashable
785
+
786
+ # Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to
787
+ # 20.
788
+ # Corresponds to the JSON property `defaultPoolSize`
789
+ # @return [String]
790
+ attr_accessor :default_pool_size
791
+
792
+ # Optional. Deprecated; Prefer 'enabled' as this will be removed soon. TODO(b/
793
+ # 394996708) move to reserved once the field is removed from the gcloud client.
794
+ # Corresponds to the JSON property `enable`
795
+ # @return [Boolean]
796
+ attr_accessor :enable
797
+ alias_method :enable?, :enable
798
+
799
+ # Optional. Whether to enable Managed Connection Pool (MCP).
800
+ # Corresponds to the JSON property `enabled`
801
+ # @return [Boolean]
802
+ attr_accessor :enabled
803
+ alias_method :enabled?, :enabled
804
+
805
+ # Optional. Connection Pool flags, as a list of "key": "value" pairs.
806
+ # Corresponds to the JSON property `flags`
807
+ # @return [Hash<String,String>]
808
+ attr_accessor :flags
809
+
810
+ # Optional. Deprecated. Use 'flags' instead. The list of startup parameters to
811
+ # ignore. Defaults to ["extra_float_digits"]
812
+ # Corresponds to the JSON property `ignoreStartupParameters`
813
+ # @return [Array<String>]
814
+ attr_accessor :ignore_startup_parameters
815
+
816
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of client
817
+ # connections allowed.
818
+ # Corresponds to the JSON property `maxClientConn`
819
+ # @return [String]
820
+ attr_accessor :max_client_conn
821
+
822
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of prepared
823
+ # statements allowed. MCP makes sure that any statement prepared by a client, up
824
+ # to this limit, is available on the backing server connection in transaction
825
+ # and statement pooling mode. Even if the statement was originally prepared on
826
+ # another server connection. Defaults to 0.
827
+ # Corresponds to the JSON property `maxPreparedStatements`
828
+ # @return [String]
829
+ attr_accessor :max_prepared_statements
830
+
831
+ # Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to
832
+ # 0.
833
+ # Corresponds to the JSON property `minPoolSize`
834
+ # @return [String]
835
+ attr_accessor :min_pool_size
836
+
837
+ # Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `
838
+ # POOL_MODE_TRANSACTION`.
839
+ # Corresponds to the JSON property `poolMode`
840
+ # @return [String]
841
+ attr_accessor :pool_mode
842
+
843
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of seconds
844
+ # queries are allowed to spend waiting for execution. If the query is not
845
+ # assigned to a server during that time, the client is disconnected. 0 disables.
846
+ # Corresponds to the JSON property `queryWaitTimeout`
847
+ # @return [String]
848
+ attr_accessor :query_wait_timeout
849
+
850
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a
851
+ # server is allowed to be idle before it is disconnected. 0 disables.
852
+ # Corresponds to the JSON property `serverIdleTimeout`
853
+ # @return [String]
854
+ attr_accessor :server_idle_timeout
855
+
856
+ # Optional. Deprecated. Use 'flags' instead. The list of users that are allowed
857
+ # to connect to the MCP stats console. The users must exist in the database.
858
+ # Corresponds to the JSON property `statsUsers`
859
+ # @return [Array<String>]
860
+ attr_accessor :stats_users
861
+
862
+ def initialize(**args)
863
+ update!(**args)
864
+ end
865
+
866
+ # Update properties of this object
867
+ def update!(**args)
868
+ @default_pool_size = args[:default_pool_size] if args.key?(:default_pool_size)
869
+ @enable = args[:enable] if args.key?(:enable)
870
+ @enabled = args[:enabled] if args.key?(:enabled)
871
+ @flags = args[:flags] if args.key?(:flags)
872
+ @ignore_startup_parameters = args[:ignore_startup_parameters] if args.key?(:ignore_startup_parameters)
873
+ @max_client_conn = args[:max_client_conn] if args.key?(:max_client_conn)
874
+ @max_prepared_statements = args[:max_prepared_statements] if args.key?(:max_prepared_statements)
875
+ @min_pool_size = args[:min_pool_size] if args.key?(:min_pool_size)
876
+ @pool_mode = args[:pool_mode] if args.key?(:pool_mode)
877
+ @query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
878
+ @server_idle_timeout = args[:server_idle_timeout] if args.key?(:server_idle_timeout)
879
+ @stats_users = args[:stats_users] if args.key?(:stats_users)
880
+ end
881
+ end
882
+
782
883
  # ContinuousBackupConfig describes the continuous backups recovery
783
884
  # configurations of a cluster.
784
885
  class ContinuousBackupConfig
@@ -1527,6 +1628,11 @@ module Google
1527
1628
  # @return [Google::Apis::AlloydbV1beta::ClientConnectionConfig]
1528
1629
  attr_accessor :client_connection_config
1529
1630
 
1631
+ # Configuration for Managed Connection Pool (MCP).
1632
+ # Corresponds to the JSON property `connectionPoolConfig`
1633
+ # @return [Google::Apis::AlloydbV1beta::ConnectionPoolConfig]
1634
+ attr_accessor :connection_pool_config
1635
+
1530
1636
  # Output only. Create time stamp
1531
1637
  # Corresponds to the JSON property `createTime`
1532
1638
  # @return [String]
@@ -1712,6 +1818,7 @@ module Google
1712
1818
  @annotations = args[:annotations] if args.key?(:annotations)
1713
1819
  @availability_type = args[:availability_type] if args.key?(:availability_type)
1714
1820
  @client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
1821
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
1715
1822
  @create_time = args[:create_time] if args.key?(:create_time)
1716
1823
  @database_flags = args[:database_flags] if args.key?(:database_flags)
1717
1824
  @delete_time = args[:delete_time] if args.key?(:delete_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1beta
18
18
  # Version of the google-apis-alloydb_v1beta gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250308"
25
+ REVISION = "20250312"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class ConnectionPoolConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class ContinuousBackupConfig
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -834,6 +840,24 @@ module Google
834
840
  end
835
841
  end
836
842
 
843
+ class ConnectionPoolConfig
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ property :default_pool_size, as: 'defaultPoolSize'
847
+ property :enable, as: 'enable'
848
+ property :enabled, as: 'enabled'
849
+ hash :flags, as: 'flags'
850
+ collection :ignore_startup_parameters, as: 'ignoreStartupParameters'
851
+ property :max_client_conn, as: 'maxClientConn'
852
+ property :max_prepared_statements, as: 'maxPreparedStatements'
853
+ property :min_pool_size, as: 'minPoolSize'
854
+ property :pool_mode, as: 'poolMode'
855
+ property :query_wait_timeout, as: 'queryWaitTimeout'
856
+ property :server_idle_timeout, as: 'serverIdleTimeout'
857
+ collection :stats_users, as: 'statsUsers'
858
+ end
859
+ end
860
+
837
861
  class ContinuousBackupConfig
838
862
  # @private
839
863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1034,6 +1058,8 @@ module Google
1034
1058
  property :availability_type, as: 'availabilityType'
1035
1059
  property :client_connection_config, as: 'clientConnectionConfig', class: Google::Apis::AlloydbV1beta::ClientConnectionConfig, decorator: Google::Apis::AlloydbV1beta::ClientConnectionConfig::Representation
1036
1060
 
1061
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::AlloydbV1beta::ConnectionPoolConfig, decorator: Google::Apis::AlloydbV1beta::ConnectionPoolConfig::Representation
1062
+
1037
1063
  property :create_time, as: 'createTime'
1038
1064
  hash :database_flags, as: 'databaseFlags'
1039
1065
  property :delete_time, as: 'deleteTime'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.24.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.25.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: