google-apis-alloydb_v1alpha 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: 1320f43c0b326c569c7ea77af35355f1687abe13eef3019e4b15ca23d0480319
4
- data.tar.gz: 99d75e9140986706a2de05cccf30ff1c273d59cdd5d851582f6ed13dec9e3c2f
3
+ metadata.gz: d7646c09514f1e3f9667bd22237bd43551011b3901627aac64d44921bce951b3
4
+ data.tar.gz: 07a7d6ffe4eb4103c25eed03be5a488d10f7954821e8fbc0e44fe533f147c46e
5
5
  SHA512:
6
- metadata.gz: 645313ed701d57e946468fffd6516fc14e23c3c679e293bba4ebfe51a6e343e65713998aaeca2e4dcfed26183ca68b55eaf1ab5e105c21a27c21ceaeed1acd07
7
- data.tar.gz: 67e0bf9c403dcde40b5ec4e231c96e7527d359ce262f625382a4014dc24252eaa5e455f964c1fb64c25a38828426dda3596034ece069f76d479b2271148b69fb
6
+ metadata.gz: eadc69fc520c660e8945d2afe9a2fa70ceec25979a909c2cc36f378727dac8b650ef8c5f55844fc31e9accdbabfbc3f05996eaa4eab966ad8f3a011a577230b4
7
+ data.tar.gz: 4d68ff7e4cdeca5e4ed6d5caa02f65af23d1e9a5195bc8e87cedf5a4a1e14c6506a00e66bf83104bc4229a500447a5dc462c6d72098f512a5e02c4814b92160b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
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
@@ -806,6 +806,107 @@ module Google
806
806
  end
807
807
  end
808
808
 
809
+ # Configuration for Managed Connection Pool (MCP).
810
+ class ConnectionPoolConfig
811
+ include Google::Apis::Core::Hashable
812
+
813
+ # Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to
814
+ # 20.
815
+ # Corresponds to the JSON property `defaultPoolSize`
816
+ # @return [String]
817
+ attr_accessor :default_pool_size
818
+
819
+ # Optional. Deprecated; Prefer 'enabled' as this will be removed soon. TODO(b/
820
+ # 394996708) move to reserved once the field is removed from the gcloud client.
821
+ # Corresponds to the JSON property `enable`
822
+ # @return [Boolean]
823
+ attr_accessor :enable
824
+ alias_method :enable?, :enable
825
+
826
+ # Optional. Whether to enable Managed Connection Pool (MCP).
827
+ # Corresponds to the JSON property `enabled`
828
+ # @return [Boolean]
829
+ attr_accessor :enabled
830
+ alias_method :enabled?, :enabled
831
+
832
+ # Optional. Connection Pool flags, as a list of "key": "value" pairs.
833
+ # Corresponds to the JSON property `flags`
834
+ # @return [Hash<String,String>]
835
+ attr_accessor :flags
836
+
837
+ # Optional. Deprecated. Use 'flags' instead. The list of startup parameters to
838
+ # ignore. Defaults to ["extra_float_digits"]
839
+ # Corresponds to the JSON property `ignoreStartupParameters`
840
+ # @return [Array<String>]
841
+ attr_accessor :ignore_startup_parameters
842
+
843
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of client
844
+ # connections allowed.
845
+ # Corresponds to the JSON property `maxClientConn`
846
+ # @return [String]
847
+ attr_accessor :max_client_conn
848
+
849
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of prepared
850
+ # statements allowed. MCP makes sure that any statement prepared by a client, up
851
+ # to this limit, is available on the backing server connection in transaction
852
+ # and statement pooling mode. Even if the statement was originally prepared on
853
+ # another server connection. Defaults to 0.
854
+ # Corresponds to the JSON property `maxPreparedStatements`
855
+ # @return [String]
856
+ attr_accessor :max_prepared_statements
857
+
858
+ # Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to
859
+ # 0.
860
+ # Corresponds to the JSON property `minPoolSize`
861
+ # @return [String]
862
+ attr_accessor :min_pool_size
863
+
864
+ # Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `
865
+ # POOL_MODE_TRANSACTION`.
866
+ # Corresponds to the JSON property `poolMode`
867
+ # @return [String]
868
+ attr_accessor :pool_mode
869
+
870
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of seconds
871
+ # queries are allowed to spend waiting for execution. If the query is not
872
+ # assigned to a server during that time, the client is disconnected. 0 disables.
873
+ # Corresponds to the JSON property `queryWaitTimeout`
874
+ # @return [String]
875
+ attr_accessor :query_wait_timeout
876
+
877
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a
878
+ # server is allowed to be idle before it is disconnected. 0 disables.
879
+ # Corresponds to the JSON property `serverIdleTimeout`
880
+ # @return [String]
881
+ attr_accessor :server_idle_timeout
882
+
883
+ # Optional. Deprecated. Use 'flags' instead. The list of users that are allowed
884
+ # to connect to the MCP stats console. The users must exist in the database.
885
+ # Corresponds to the JSON property `statsUsers`
886
+ # @return [Array<String>]
887
+ attr_accessor :stats_users
888
+
889
+ def initialize(**args)
890
+ update!(**args)
891
+ end
892
+
893
+ # Update properties of this object
894
+ def update!(**args)
895
+ @default_pool_size = args[:default_pool_size] if args.key?(:default_pool_size)
896
+ @enable = args[:enable] if args.key?(:enable)
897
+ @enabled = args[:enabled] if args.key?(:enabled)
898
+ @flags = args[:flags] if args.key?(:flags)
899
+ @ignore_startup_parameters = args[:ignore_startup_parameters] if args.key?(:ignore_startup_parameters)
900
+ @max_client_conn = args[:max_client_conn] if args.key?(:max_client_conn)
901
+ @max_prepared_statements = args[:max_prepared_statements] if args.key?(:max_prepared_statements)
902
+ @min_pool_size = args[:min_pool_size] if args.key?(:min_pool_size)
903
+ @pool_mode = args[:pool_mode] if args.key?(:pool_mode)
904
+ @query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
905
+ @server_idle_timeout = args[:server_idle_timeout] if args.key?(:server_idle_timeout)
906
+ @stats_users = args[:stats_users] if args.key?(:stats_users)
907
+ end
908
+ end
909
+
809
910
  # ContinuousBackupConfig describes the continuous backups recovery
810
911
  # configurations of a cluster.
811
912
  class ContinuousBackupConfig
@@ -1554,6 +1655,11 @@ module Google
1554
1655
  # @return [Google::Apis::AlloydbV1alpha::ClientConnectionConfig]
1555
1656
  attr_accessor :client_connection_config
1556
1657
 
1658
+ # Configuration for Managed Connection Pool (MCP).
1659
+ # Corresponds to the JSON property `connectionPoolConfig`
1660
+ # @return [Google::Apis::AlloydbV1alpha::ConnectionPoolConfig]
1661
+ attr_accessor :connection_pool_config
1662
+
1557
1663
  # Output only. Create time stamp
1558
1664
  # Corresponds to the JSON property `createTime`
1559
1665
  # @return [String]
@@ -1745,6 +1851,7 @@ module Google
1745
1851
  @annotations = args[:annotations] if args.key?(:annotations)
1746
1852
  @availability_type = args[:availability_type] if args.key?(:availability_type)
1747
1853
  @client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
1854
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
1748
1855
  @create_time = args[:create_time] if args.key?(:create_time)
1749
1856
  @database_flags = args[:database_flags] if args.key?(:database_flags)
1750
1857
  @delete_time = args[:delete_time] if args.key?(:delete_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha 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
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class ConnectionPoolConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class ContinuousBackupConfig
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -848,6 +854,24 @@ module Google
848
854
  end
849
855
  end
850
856
 
857
+ class ConnectionPoolConfig
858
+ # @private
859
+ class Representation < Google::Apis::Core::JsonRepresentation
860
+ property :default_pool_size, as: 'defaultPoolSize'
861
+ property :enable, as: 'enable'
862
+ property :enabled, as: 'enabled'
863
+ hash :flags, as: 'flags'
864
+ collection :ignore_startup_parameters, as: 'ignoreStartupParameters'
865
+ property :max_client_conn, as: 'maxClientConn'
866
+ property :max_prepared_statements, as: 'maxPreparedStatements'
867
+ property :min_pool_size, as: 'minPoolSize'
868
+ property :pool_mode, as: 'poolMode'
869
+ property :query_wait_timeout, as: 'queryWaitTimeout'
870
+ property :server_idle_timeout, as: 'serverIdleTimeout'
871
+ collection :stats_users, as: 'statsUsers'
872
+ end
873
+ end
874
+
851
875
  class ContinuousBackupConfig
852
876
  # @private
853
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1048,6 +1072,8 @@ module Google
1048
1072
  property :availability_type, as: 'availabilityType'
1049
1073
  property :client_connection_config, as: 'clientConnectionConfig', class: Google::Apis::AlloydbV1alpha::ClientConnectionConfig, decorator: Google::Apis::AlloydbV1alpha::ClientConnectionConfig::Representation
1050
1074
 
1075
+ property :connection_pool_config, as: 'connectionPoolConfig', class: Google::Apis::AlloydbV1alpha::ConnectionPoolConfig, decorator: Google::Apis::AlloydbV1alpha::ConnectionPoolConfig::Representation
1076
+
1051
1077
  property :create_time, as: 'createTime'
1052
1078
  hash :database_flags, as: 'databaseFlags'
1053
1079
  property :delete_time, as: 'deleteTime'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1alpha
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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.24.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.25.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: