google-cloud-spanner 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google-cloud-spanner.rb +2 -2
- data/lib/google/cloud/spanner.rb +2 -2
- data/lib/google/cloud/spanner/admin/database.rb +5 -4
- data/lib/google/cloud/spanner/admin/database/credentials.rb +2 -2
- data/lib/google/cloud/spanner/admin/database/v1.rb +5 -14
- data/lib/google/cloud/spanner/admin/database/v1/database_admin_client.rb +14 -21
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb +2 -2
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/protobuf/any.rb +2 -2
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/rpc/status.rb +2 -2
- data/lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb +2 -2
- data/lib/google/cloud/spanner/admin/database/v1/doc/overview.rb +5 -4
- data/lib/google/cloud/spanner/admin/instance.rb +5 -4
- data/lib/google/cloud/spanner/admin/instance/credentials.rb +2 -2
- data/lib/google/cloud/spanner/admin/instance/v1.rb +5 -14
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/iam/v1/policy.rb +2 -2
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/protobuf/any.rb +2 -2
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/protobuf/field_mask.rb +2 -2
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/rpc/status.rb +2 -2
- data/lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb +2 -2
- data/lib/google/cloud/spanner/admin/instance/v1/doc/overview.rb +5 -4
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin_client.rb +14 -21
- data/lib/google/cloud/spanner/client.rb +2 -2
- data/lib/google/cloud/spanner/commit.rb +2 -2
- data/lib/google/cloud/spanner/convert.rb +2 -2
- data/lib/google/cloud/spanner/credentials.rb +2 -2
- data/lib/google/cloud/spanner/data.rb +2 -2
- data/lib/google/cloud/spanner/database.rb +2 -2
- data/lib/google/cloud/spanner/database/job.rb +2 -2
- data/lib/google/cloud/spanner/database/list.rb +2 -2
- data/lib/google/cloud/spanner/errors.rb +2 -2
- data/lib/google/cloud/spanner/fields.rb +2 -2
- data/lib/google/cloud/spanner/instance.rb +2 -2
- data/lib/google/cloud/spanner/instance/config.rb +2 -2
- data/lib/google/cloud/spanner/instance/config/list.rb +2 -2
- data/lib/google/cloud/spanner/instance/job.rb +2 -2
- data/lib/google/cloud/spanner/instance/list.rb +2 -2
- data/lib/google/cloud/spanner/policy.rb +2 -2
- data/lib/google/cloud/spanner/pool.rb +2 -2
- data/lib/google/cloud/spanner/project.rb +2 -2
- data/lib/google/cloud/spanner/range.rb +2 -2
- data/lib/google/cloud/spanner/results.rb +2 -2
- data/lib/google/cloud/spanner/service.rb +2 -2
- data/lib/google/cloud/spanner/session.rb +2 -2
- data/lib/google/cloud/spanner/snapshot.rb +2 -2
- data/lib/google/cloud/spanner/status.rb +2 -2
- data/lib/google/cloud/spanner/transaction.rb +2 -2
- data/lib/google/cloud/spanner/v1.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/protobuf/duration.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/protobuf/struct.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/protobuf/timestamp.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/keys.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/mutation.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/query_plan.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb +2 -2
- data/lib/google/cloud/spanner/v1/doc/overview.rb +2 -2
- data/lib/google/cloud/spanner/v1/spanner_client.rb +2 -2
- data/lib/google/cloud/spanner/version.rb +3 -3
- data/lib/google/spanner/admin/database/v1/spanner_database_admin_services_pb.rb +1 -1
- data/lib/google/spanner/admin/instance/v1/spanner_instance_admin_services_pb.rb +1 -1
- data/lib/google/spanner/v1/spanner_services_pb.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe7bf5ea7f7d653d908671aa73e72ae3f2916e045daace8dafcfdf13a56a886b
|
4
|
+
data.tar.gz: 20347421634b0f6e1ece36c787f62bb99bf5388b2ae2f873f06f38cc79dda647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec44b85b8bd9455526338e7c5f41872755ebbc1427110bee0c346b1dbcd2a1311aa867e02b08f495503f85306f30360afc3f8896ea5b0318bfc74740cb346db8
|
7
|
+
data.tar.gz: '08df6524da2309df130b8b4ad12ef3ed8a736511087d8bb2b1164146a332c6056136a65bb7a792ce03f8c24bb55884837b60d15111007883d9fe75547f53f114'
|
data/lib/google-cloud-spanner.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2016 Google
|
1
|
+
# Copyright 2016 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
data/lib/google/cloud/spanner.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2016 Google
|
1
|
+
# Copyright 2016 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -33,8 +33,9 @@ module Google
|
|
33
33
|
# steps:
|
34
34
|
#
|
35
35
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
36
|
-
# 2. [Enable
|
37
|
-
# 3. [
|
36
|
+
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
37
|
+
# 3. [Enable the Cloud Spanner Database Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-database)
|
38
|
+
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
38
39
|
#
|
39
40
|
# ### Next Steps
|
40
41
|
# - Read the [Cloud Spanner Database Admin API Product documentation][Product Documentation]
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -32,8 +32,9 @@ module Google
|
|
32
32
|
# steps:
|
33
33
|
#
|
34
34
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
35
|
-
# 2. [Enable
|
36
|
-
# 3. [
|
35
|
+
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
36
|
+
# 3. [Enable the Cloud Spanner Database Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-database)
|
37
|
+
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
37
38
|
#
|
38
39
|
# ### Next Steps
|
39
40
|
# - Read the [Cloud Spanner Database Admin API Product documentation][Product Documentation]
|
@@ -80,11 +81,6 @@ module Google
|
|
80
81
|
# @param timeout [Numeric]
|
81
82
|
# The default timeout, in seconds, for calls made through this client.
|
82
83
|
def self.new \
|
83
|
-
service_path: nil,
|
84
|
-
port: nil,
|
85
|
-
channel: nil,
|
86
|
-
chan_creds: nil,
|
87
|
-
updater_proc: nil,
|
88
84
|
credentials: nil,
|
89
85
|
scopes: nil,
|
90
86
|
client_config: nil,
|
@@ -92,11 +88,6 @@ module Google
|
|
92
88
|
lib_name: nil,
|
93
89
|
lib_version: nil
|
94
90
|
kwargs = {
|
95
|
-
service_path: service_path,
|
96
|
-
port: port,
|
97
|
-
channel: channel,
|
98
|
-
chan_creds: chan_creds,
|
99
|
-
updater_proc: updater_proc,
|
100
91
|
credentials: credentials,
|
101
92
|
scopes: scopes,
|
102
93
|
client_config: client_config,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -73,6 +73,10 @@ module Google
|
|
73
73
|
"https://www.googleapis.com/auth/spanner.admin"
|
74
74
|
].freeze
|
75
75
|
|
76
|
+
class OperationsClient < Google::Longrunning::OperationsClient
|
77
|
+
SERVICE_ADDRESS = SERVICE_ADDRESS
|
78
|
+
end
|
79
|
+
|
76
80
|
INSTANCE_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
77
81
|
"projects/{project}/instances/{instance}"
|
78
82
|
)
|
@@ -134,11 +138,6 @@ module Google
|
|
134
138
|
# @param timeout [Numeric]
|
135
139
|
# The default timeout, in seconds, for calls made through this client.
|
136
140
|
def initialize \
|
137
|
-
service_path: SERVICE_ADDRESS,
|
138
|
-
port: DEFAULT_SERVICE_PORT,
|
139
|
-
channel: nil,
|
140
|
-
chan_creds: nil,
|
141
|
-
updater_proc: nil,
|
142
141
|
credentials: nil,
|
143
142
|
scopes: ALL_SCOPES,
|
144
143
|
client_config: {},
|
@@ -151,21 +150,9 @@ module Google
|
|
151
150
|
require "google/gax/grpc"
|
152
151
|
require "google/spanner/admin/database/v1/spanner_database_admin_services_pb"
|
153
152
|
|
154
|
-
if channel || chan_creds || updater_proc
|
155
|
-
warn "The `channel`, `chan_creds`, and `updater_proc` parameters will be removed " \
|
156
|
-
"on 2017/09/08"
|
157
|
-
credentials ||= channel
|
158
|
-
credentials ||= chan_creds
|
159
|
-
credentials ||= updater_proc
|
160
|
-
end
|
161
|
-
if service_path != SERVICE_ADDRESS || port != DEFAULT_SERVICE_PORT
|
162
|
-
warn "`service_path` and `port` parameters are deprecated and will be removed"
|
163
|
-
end
|
164
|
-
|
165
153
|
credentials ||= Google::Cloud::Spanner::Admin::Database::Credentials.default
|
166
154
|
|
167
|
-
@operations_client =
|
168
|
-
service_path: service_path,
|
155
|
+
@operations_client = OperationsClient.new(
|
169
156
|
credentials: credentials,
|
170
157
|
scopes: scopes,
|
171
158
|
client_config: client_config,
|
@@ -190,9 +177,11 @@ module Google
|
|
190
177
|
updater_proc = credentials.updater_proc
|
191
178
|
end
|
192
179
|
|
180
|
+
package_version = Gem.loaded_specs['google-cloud-spanner'].version.version
|
181
|
+
|
193
182
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
194
183
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
195
|
-
google_api_client << " gapic
|
184
|
+
google_api_client << " gapic/#{package_version} gax/#{Google::Gax::VERSION}"
|
196
185
|
google_api_client << " grpc/#{GRPC::VERSION}"
|
197
186
|
google_api_client.freeze
|
198
187
|
|
@@ -212,6 +201,10 @@ module Google
|
|
212
201
|
kwargs: headers
|
213
202
|
)
|
214
203
|
end
|
204
|
+
|
205
|
+
# Allow overriding the service path/port in subclasses.
|
206
|
+
service_path = self.class::SERVICE_ADDRESS
|
207
|
+
port = self.class::DEFAULT_SERVICE_PORT
|
215
208
|
@database_admin_stub = Google::Gax::Grpc.create_stub(
|
216
209
|
service_path,
|
217
210
|
port,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -30,8 +30,9 @@ module Google
|
|
30
30
|
# steps:
|
31
31
|
#
|
32
32
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
33
|
-
# 2. [Enable
|
34
|
-
# 3. [
|
33
|
+
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
34
|
+
# 3. [Enable the Cloud Spanner Database Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-database)
|
35
|
+
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
35
36
|
#
|
36
37
|
# ### Installation
|
37
38
|
# ```
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -33,8 +33,9 @@ module Google
|
|
33
33
|
# steps:
|
34
34
|
#
|
35
35
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
36
|
-
# 2. [Enable
|
37
|
-
# 3. [
|
36
|
+
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
37
|
+
# 3. [Enable the Cloud Spanner Instance Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-instance)
|
38
|
+
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
38
39
|
#
|
39
40
|
# ### Next Steps
|
40
41
|
# - Read the [Cloud Spanner Instance Admin API Product documentation][Product Documentation]
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -32,8 +32,9 @@ module Google
|
|
32
32
|
# steps:
|
33
33
|
#
|
34
34
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
35
|
-
# 2. [Enable
|
36
|
-
# 3. [
|
35
|
+
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
36
|
+
# 3. [Enable the Cloud Spanner Instance Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-instance)
|
37
|
+
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
37
38
|
#
|
38
39
|
# ### Next Steps
|
39
40
|
# - Read the [Cloud Spanner Instance Admin API Product documentation][Product Documentation]
|
@@ -96,11 +97,6 @@ module Google
|
|
96
97
|
# @param timeout [Numeric]
|
97
98
|
# The default timeout, in seconds, for calls made through this client.
|
98
99
|
def self.new \
|
99
|
-
service_path: nil,
|
100
|
-
port: nil,
|
101
|
-
channel: nil,
|
102
|
-
chan_creds: nil,
|
103
|
-
updater_proc: nil,
|
104
100
|
credentials: nil,
|
105
101
|
scopes: nil,
|
106
102
|
client_config: nil,
|
@@ -108,11 +104,6 @@ module Google
|
|
108
104
|
lib_name: nil,
|
109
105
|
lib_version: nil
|
110
106
|
kwargs = {
|
111
|
-
service_path: service_path,
|
112
|
-
port: port,
|
113
|
-
channel: channel,
|
114
|
-
chan_creds: chan_creds,
|
115
|
-
updater_proc: updater_proc,
|
116
107
|
credentials: credentials,
|
117
108
|
scopes: scopes,
|
118
109
|
client_config: client_config,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright 2017
|
1
|
+
# Copyright 2017 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|