google-apis-alloydb_v1beta 0.24.0 → 0.26.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: 2c31defc23592a5a8bec0c4d80b7ec01da7f28a11fb0b0857c574b194de5d6a2
4
+ data.tar.gz: 378e0db1e571b7c235caa154b99d277e2f24cfaab824023750d206cf88bd84d5
5
5
  SHA512:
6
- metadata.gz: 52df6779bc0ce0df3dd5c34fadad04a997aa12c60a39962fdc9bffc1c2bcfe87241e07f9aeadaf51e31b1df36f5297b77d83c4aa8967754593ddeb0132652bc9
7
- data.tar.gz: a18bb84d9356385ace88099df59725760bdc1ef5003526fcbd157891b5159f8be92753613c75d268aa6647474be2f6c80c929bd0e48bf10c3663c0a1d02820d6
6
+ metadata.gz: fc7dd5ba439a9c826412273b7153bd4568d2415e0c5530474e7f2ee60332ea588384210ace87591f6bea16203421311716e3aee827c93e85aa535e916f690dcf
7
+ data.tar.gz: 76e0c4e3010725eedbc5247e1f9a92ad7b42454af3c71073c5e9e89cfe450c827e4b252aa42ed857e920d94d76f0a919800fd0e87678ce757e45f3259c82ec4c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.26.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250320
6
+
7
+ ### v0.25.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250312
10
+
3
11
  ### v0.24.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250308
@@ -259,7 +259,9 @@ module Google
259
259
  # @return [String]
260
260
  attr_accessor :uid
261
261
 
262
- # Output only. Update time stamp
262
+ # Output only. Update time stamp Users should not infer any meaning from this
263
+ # field. Its value is generally unrelated to the timing of the backup creation
264
+ # operation.
263
265
  # Corresponds to the JSON property `updateTime`
264
266
  # @return [String]
265
267
  attr_accessor :update_time
@@ -779,6 +781,107 @@ module Google
779
781
  end
780
782
  end
781
783
 
784
+ # Configuration for Managed Connection Pool (MCP).
785
+ class ConnectionPoolConfig
786
+ include Google::Apis::Core::Hashable
787
+
788
+ # Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to
789
+ # 20.
790
+ # Corresponds to the JSON property `defaultPoolSize`
791
+ # @return [String]
792
+ attr_accessor :default_pool_size
793
+
794
+ # Optional. Deprecated; Prefer 'enabled' as this will be removed soon. TODO(b/
795
+ # 394996708) move to reserved once the field is removed from the gcloud client.
796
+ # Corresponds to the JSON property `enable`
797
+ # @return [Boolean]
798
+ attr_accessor :enable
799
+ alias_method :enable?, :enable
800
+
801
+ # Optional. Whether to enable Managed Connection Pool (MCP).
802
+ # Corresponds to the JSON property `enabled`
803
+ # @return [Boolean]
804
+ attr_accessor :enabled
805
+ alias_method :enabled?, :enabled
806
+
807
+ # Optional. Connection Pool flags, as a list of "key": "value" pairs.
808
+ # Corresponds to the JSON property `flags`
809
+ # @return [Hash<String,String>]
810
+ attr_accessor :flags
811
+
812
+ # Optional. Deprecated. Use 'flags' instead. The list of startup parameters to
813
+ # ignore. Defaults to ["extra_float_digits"]
814
+ # Corresponds to the JSON property `ignoreStartupParameters`
815
+ # @return [Array<String>]
816
+ attr_accessor :ignore_startup_parameters
817
+
818
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of client
819
+ # connections allowed.
820
+ # Corresponds to the JSON property `maxClientConn`
821
+ # @return [String]
822
+ attr_accessor :max_client_conn
823
+
824
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of prepared
825
+ # statements allowed. MCP makes sure that any statement prepared by a client, up
826
+ # to this limit, is available on the backing server connection in transaction
827
+ # and statement pooling mode. Even if the statement was originally prepared on
828
+ # another server connection. Defaults to 0.
829
+ # Corresponds to the JSON property `maxPreparedStatements`
830
+ # @return [String]
831
+ attr_accessor :max_prepared_statements
832
+
833
+ # Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to
834
+ # 0.
835
+ # Corresponds to the JSON property `minPoolSize`
836
+ # @return [String]
837
+ attr_accessor :min_pool_size
838
+
839
+ # Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `
840
+ # POOL_MODE_TRANSACTION`.
841
+ # Corresponds to the JSON property `poolMode`
842
+ # @return [String]
843
+ attr_accessor :pool_mode
844
+
845
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of seconds
846
+ # queries are allowed to spend waiting for execution. If the query is not
847
+ # assigned to a server during that time, the client is disconnected. 0 disables.
848
+ # Corresponds to the JSON property `queryWaitTimeout`
849
+ # @return [String]
850
+ attr_accessor :query_wait_timeout
851
+
852
+ # Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a
853
+ # server is allowed to be idle before it is disconnected. 0 disables.
854
+ # Corresponds to the JSON property `serverIdleTimeout`
855
+ # @return [String]
856
+ attr_accessor :server_idle_timeout
857
+
858
+ # Optional. Deprecated. Use 'flags' instead. The list of users that are allowed
859
+ # to connect to the MCP stats console. The users must exist in the database.
860
+ # Corresponds to the JSON property `statsUsers`
861
+ # @return [Array<String>]
862
+ attr_accessor :stats_users
863
+
864
+ def initialize(**args)
865
+ update!(**args)
866
+ end
867
+
868
+ # Update properties of this object
869
+ def update!(**args)
870
+ @default_pool_size = args[:default_pool_size] if args.key?(:default_pool_size)
871
+ @enable = args[:enable] if args.key?(:enable)
872
+ @enabled = args[:enabled] if args.key?(:enabled)
873
+ @flags = args[:flags] if args.key?(:flags)
874
+ @ignore_startup_parameters = args[:ignore_startup_parameters] if args.key?(:ignore_startup_parameters)
875
+ @max_client_conn = args[:max_client_conn] if args.key?(:max_client_conn)
876
+ @max_prepared_statements = args[:max_prepared_statements] if args.key?(:max_prepared_statements)
877
+ @min_pool_size = args[:min_pool_size] if args.key?(:min_pool_size)
878
+ @pool_mode = args[:pool_mode] if args.key?(:pool_mode)
879
+ @query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
880
+ @server_idle_timeout = args[:server_idle_timeout] if args.key?(:server_idle_timeout)
881
+ @stats_users = args[:stats_users] if args.key?(:stats_users)
882
+ end
883
+ end
884
+
782
885
  # ContinuousBackupConfig describes the continuous backups recovery
783
886
  # configurations of a cluster.
784
887
  class ContinuousBackupConfig
@@ -1527,6 +1630,11 @@ module Google
1527
1630
  # @return [Google::Apis::AlloydbV1beta::ClientConnectionConfig]
1528
1631
  attr_accessor :client_connection_config
1529
1632
 
1633
+ # Configuration for Managed Connection Pool (MCP).
1634
+ # Corresponds to the JSON property `connectionPoolConfig`
1635
+ # @return [Google::Apis::AlloydbV1beta::ConnectionPoolConfig]
1636
+ attr_accessor :connection_pool_config
1637
+
1530
1638
  # Output only. Create time stamp
1531
1639
  # Corresponds to the JSON property `createTime`
1532
1640
  # @return [String]
@@ -1712,6 +1820,7 @@ module Google
1712
1820
  @annotations = args[:annotations] if args.key?(:annotations)
1713
1821
  @availability_type = args[:availability_type] if args.key?(:availability_type)
1714
1822
  @client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
1823
+ @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
1715
1824
  @create_time = args[:create_time] if args.key?(:create_time)
1716
1825
  @database_flags = args[:database_flags] if args.key?(:database_flags)
1717
1826
  @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.26.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 = "20250320"
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'
@@ -94,6 +94,9 @@ module Google
94
94
  # Lists information about the supported locations for this service.
95
95
  # @param [String] name
96
96
  # The resource that owns the locations collection, if applicable.
97
+ # @param [Array<String>, String] extra_location_types
98
+ # Optional. A list of extra location types that should be used as conditions for
99
+ # controlling the visibility of the locations.
97
100
  # @param [String] filter
98
101
  # A filter to narrow down results to a preferred subset. The filtering language
99
102
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -121,11 +124,12 @@ module Google
121
124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
122
125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
124
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
127
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
125
128
  command = make_simple_command(:get, 'v1beta/{+name}/locations', options)
126
129
  command.response_representation = Google::Apis::AlloydbV1beta::GoogleCloudLocationListLocationsResponse::Representation
127
130
  command.response_class = Google::Apis::AlloydbV1beta::GoogleCloudLocationListLocationsResponse
128
131
  command.params['name'] = name unless name.nil?
132
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
129
133
  command.query['filter'] = filter unless filter.nil?
130
134
  command.query['pageSize'] = page_size unless page_size.nil?
131
135
  command.query['pageToken'] = page_token unless page_token.nil?
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.26.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-30 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.26.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: