google-apis-alloydb_v1alpha 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63b241c2bd36716e541e44d109b84d13b2368c36bac04e5f51881595fe36cc4e
|
4
|
+
data.tar.gz: 33009ef48eb57ac58d92bbf8f2943d321c9e1525a25ee5c415cc5eb0b41aa97e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ea033bf4a13c481b0db6318fd80b722461b55ea4f770ddbea2cc938f155a6988368fff002f97338d08992398c85b3deec6923da9ead27c43248b1b8c606dfda
|
7
|
+
data.tar.gz: 6b7bb2745060512fc9985da0b5d1b59d4ef87023eef31c83a91ff9d5755de5e80be51a6d7c4001b619311fedeb0f033ca044f90f6cea6b77a026055d605bf395
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1alpha
|
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
|
@@ -265,7 +265,9 @@ module Google
|
|
265
265
|
# @return [String]
|
266
266
|
attr_accessor :uid
|
267
267
|
|
268
|
-
# Output only. Update time stamp
|
268
|
+
# Output only. Update time stamp Users should not infer any meaning from this
|
269
|
+
# field. Its value is generally unrelated to the timing of the backup creation
|
270
|
+
# operation.
|
269
271
|
# Corresponds to the JSON property `updateTime`
|
270
272
|
# @return [String]
|
271
273
|
attr_accessor :update_time
|
@@ -806,6 +808,107 @@ module Google
|
|
806
808
|
end
|
807
809
|
end
|
808
810
|
|
811
|
+
# Configuration for Managed Connection Pool (MCP).
|
812
|
+
class ConnectionPoolConfig
|
813
|
+
include Google::Apis::Core::Hashable
|
814
|
+
|
815
|
+
# Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to
|
816
|
+
# 20.
|
817
|
+
# Corresponds to the JSON property `defaultPoolSize`
|
818
|
+
# @return [String]
|
819
|
+
attr_accessor :default_pool_size
|
820
|
+
|
821
|
+
# Optional. Deprecated; Prefer 'enabled' as this will be removed soon. TODO(b/
|
822
|
+
# 394996708) move to reserved once the field is removed from the gcloud client.
|
823
|
+
# Corresponds to the JSON property `enable`
|
824
|
+
# @return [Boolean]
|
825
|
+
attr_accessor :enable
|
826
|
+
alias_method :enable?, :enable
|
827
|
+
|
828
|
+
# Optional. Whether to enable Managed Connection Pool (MCP).
|
829
|
+
# Corresponds to the JSON property `enabled`
|
830
|
+
# @return [Boolean]
|
831
|
+
attr_accessor :enabled
|
832
|
+
alias_method :enabled?, :enabled
|
833
|
+
|
834
|
+
# Optional. Connection Pool flags, as a list of "key": "value" pairs.
|
835
|
+
# Corresponds to the JSON property `flags`
|
836
|
+
# @return [Hash<String,String>]
|
837
|
+
attr_accessor :flags
|
838
|
+
|
839
|
+
# Optional. Deprecated. Use 'flags' instead. The list of startup parameters to
|
840
|
+
# ignore. Defaults to ["extra_float_digits"]
|
841
|
+
# Corresponds to the JSON property `ignoreStartupParameters`
|
842
|
+
# @return [Array<String>]
|
843
|
+
attr_accessor :ignore_startup_parameters
|
844
|
+
|
845
|
+
# Optional. Deprecated. Use 'flags' instead. The maximum number of client
|
846
|
+
# connections allowed.
|
847
|
+
# Corresponds to the JSON property `maxClientConn`
|
848
|
+
# @return [String]
|
849
|
+
attr_accessor :max_client_conn
|
850
|
+
|
851
|
+
# Optional. Deprecated. Use 'flags' instead. The maximum number of prepared
|
852
|
+
# statements allowed. MCP makes sure that any statement prepared by a client, up
|
853
|
+
# to this limit, is available on the backing server connection in transaction
|
854
|
+
# and statement pooling mode. Even if the statement was originally prepared on
|
855
|
+
# another server connection. Defaults to 0.
|
856
|
+
# Corresponds to the JSON property `maxPreparedStatements`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :max_prepared_statements
|
859
|
+
|
860
|
+
# Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to
|
861
|
+
# 0.
|
862
|
+
# Corresponds to the JSON property `minPoolSize`
|
863
|
+
# @return [String]
|
864
|
+
attr_accessor :min_pool_size
|
865
|
+
|
866
|
+
# Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `
|
867
|
+
# POOL_MODE_TRANSACTION`.
|
868
|
+
# Corresponds to the JSON property `poolMode`
|
869
|
+
# @return [String]
|
870
|
+
attr_accessor :pool_mode
|
871
|
+
|
872
|
+
# Optional. Deprecated. Use 'flags' instead. The maximum number of seconds
|
873
|
+
# queries are allowed to spend waiting for execution. If the query is not
|
874
|
+
# assigned to a server during that time, the client is disconnected. 0 disables.
|
875
|
+
# Corresponds to the JSON property `queryWaitTimeout`
|
876
|
+
# @return [String]
|
877
|
+
attr_accessor :query_wait_timeout
|
878
|
+
|
879
|
+
# Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a
|
880
|
+
# server is allowed to be idle before it is disconnected. 0 disables.
|
881
|
+
# Corresponds to the JSON property `serverIdleTimeout`
|
882
|
+
# @return [String]
|
883
|
+
attr_accessor :server_idle_timeout
|
884
|
+
|
885
|
+
# Optional. Deprecated. Use 'flags' instead. The list of users that are allowed
|
886
|
+
# to connect to the MCP stats console. The users must exist in the database.
|
887
|
+
# Corresponds to the JSON property `statsUsers`
|
888
|
+
# @return [Array<String>]
|
889
|
+
attr_accessor :stats_users
|
890
|
+
|
891
|
+
def initialize(**args)
|
892
|
+
update!(**args)
|
893
|
+
end
|
894
|
+
|
895
|
+
# Update properties of this object
|
896
|
+
def update!(**args)
|
897
|
+
@default_pool_size = args[:default_pool_size] if args.key?(:default_pool_size)
|
898
|
+
@enable = args[:enable] if args.key?(:enable)
|
899
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
900
|
+
@flags = args[:flags] if args.key?(:flags)
|
901
|
+
@ignore_startup_parameters = args[:ignore_startup_parameters] if args.key?(:ignore_startup_parameters)
|
902
|
+
@max_client_conn = args[:max_client_conn] if args.key?(:max_client_conn)
|
903
|
+
@max_prepared_statements = args[:max_prepared_statements] if args.key?(:max_prepared_statements)
|
904
|
+
@min_pool_size = args[:min_pool_size] if args.key?(:min_pool_size)
|
905
|
+
@pool_mode = args[:pool_mode] if args.key?(:pool_mode)
|
906
|
+
@query_wait_timeout = args[:query_wait_timeout] if args.key?(:query_wait_timeout)
|
907
|
+
@server_idle_timeout = args[:server_idle_timeout] if args.key?(:server_idle_timeout)
|
908
|
+
@stats_users = args[:stats_users] if args.key?(:stats_users)
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
809
912
|
# ContinuousBackupConfig describes the continuous backups recovery
|
810
913
|
# configurations of a cluster.
|
811
914
|
class ContinuousBackupConfig
|
@@ -1554,6 +1657,11 @@ module Google
|
|
1554
1657
|
# @return [Google::Apis::AlloydbV1alpha::ClientConnectionConfig]
|
1555
1658
|
attr_accessor :client_connection_config
|
1556
1659
|
|
1660
|
+
# Configuration for Managed Connection Pool (MCP).
|
1661
|
+
# Corresponds to the JSON property `connectionPoolConfig`
|
1662
|
+
# @return [Google::Apis::AlloydbV1alpha::ConnectionPoolConfig]
|
1663
|
+
attr_accessor :connection_pool_config
|
1664
|
+
|
1557
1665
|
# Output only. Create time stamp
|
1558
1666
|
# Corresponds to the JSON property `createTime`
|
1559
1667
|
# @return [String]
|
@@ -1745,6 +1853,7 @@ module Google
|
|
1745
1853
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1746
1854
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
1747
1855
|
@client_connection_config = args[:client_connection_config] if args.key?(:client_connection_config)
|
1856
|
+
@connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
|
1748
1857
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1749
1858
|
@database_flags = args[:database_flags] if args.key?(:database_flags)
|
1750
1859
|
@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.
|
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 = "
|
25
|
+
REVISION = "20250320"
|
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'
|
@@ -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, 'v1alpha/{+name}/locations', options)
|
126
129
|
command.response_representation = Google::Apis::AlloydbV1alpha::GoogleCloudLocationListLocationsResponse::Representation
|
127
130
|
command.response_class = Google::Apis::AlloydbV1alpha::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_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.26.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:
|