google-cloud-spanner-v1 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60a4f441ebb1333d9a977d0d65c3acf2eb38445f7c78238f6b274d3cc6a5579f
|
4
|
+
data.tar.gz: 9d61651450e7be75d6a878a245c9ff5ab4fe2eb9b076502b7ead88aa0fee1e47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8962a16c42c329e48f43550e229a95baef529a26f000f993c4a7775e7c4854f67bcce10e8c9d5552f0a8654f655474121af6ecf081d2de5caa211ea0cc8de053
|
7
|
+
data.tar.gz: 41af76b377f8ff20c311f0aeebee452458a9660c69849f309445521c43aca4c9173d86d1607bb196864aa7215d7a2aa2b3a83d3ede0d0cc6a9797546e4218b1a
|
@@ -195,7 +195,7 @@ module Google
|
|
195
195
|
credentials = @config.credentials
|
196
196
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
197
197
|
# but only if the default endpoint does not have a region prefix.
|
198
|
-
enable_self_signed_jwt = @config.endpoint ==
|
198
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
199
199
|
!@config.endpoint.split(".").first.include?("-")
|
200
200
|
credentials ||= Credentials.default scope: @config.scope,
|
201
201
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -210,7 +210,8 @@ module Google
|
|
210
210
|
credentials: credentials,
|
211
211
|
endpoint: @config.endpoint,
|
212
212
|
channel_args: @config.channel_args,
|
213
|
-
interceptors: @config.interceptors
|
213
|
+
interceptors: @config.interceptors,
|
214
|
+
channel_pool_config: @config.channel_pool
|
214
215
|
)
|
215
216
|
end
|
216
217
|
|
@@ -2082,7 +2083,9 @@ module Google
|
|
2082
2083
|
class Configuration
|
2083
2084
|
extend ::Gapic::Config
|
2084
2085
|
|
2085
|
-
|
2086
|
+
DEFAULT_ENDPOINT = "spanner.googleapis.com"
|
2087
|
+
|
2088
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2086
2089
|
config_attr :credentials, nil do |value|
|
2087
2090
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2088
2091
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -2117,6 +2120,14 @@ module Google
|
|
2117
2120
|
end
|
2118
2121
|
end
|
2119
2122
|
|
2123
|
+
##
|
2124
|
+
# Configuration for the channel pool
|
2125
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
2126
|
+
#
|
2127
|
+
def channel_pool
|
2128
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
2129
|
+
end
|
2130
|
+
|
2120
2131
|
##
|
2121
2132
|
# Configuration RPC class for the Spanner API.
|
2122
2133
|
#
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: '0'
|
225
225
|
requirements: []
|
226
|
-
rubygems_version: 3.4.
|
226
|
+
rubygems_version: 3.4.19
|
227
227
|
signing_key:
|
228
228
|
specification_version: 4
|
229
229
|
summary: Cloud Spanner is a managed, mission-critical, globally consistent and scalable
|