google-cloud-notebooks-v1 0.8.0 → 0.8.1
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/notebooks/v1/managed_notebook_service/client.rb +14 -14
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +11 -11
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +14 -14
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +11 -11
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/notebooks/v1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06a43a56bb038b9cd593fa326990947c92536337f4e35a506367efd86bb1145f
|
4
|
+
data.tar.gz: ed1341d1d7cb595145f836deb682e5e0451462c1f74c72f4ea54b4f091e8b6e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e00cff43b21e9ccad04d8fcb02a28c60ea87b3cd8c67d29a96e5d7ab9a107c2b07b072dd22bb1ea21afabd31a6d74ae6b727fd459f2ea6ef14920e118ee5dfa9
|
7
|
+
data.tar.gz: 18c023ccf1d518c8346a6d692379612109d7735a935b746053148df24322d29e6cb353b3a6c2a7a3d81baff6169f8ff0e98ff78d5d0b76aed1820b709f5e7564
|
@@ -180,20 +180,6 @@ module Google
|
|
180
180
|
config.universe_domain = @config.universe_domain
|
181
181
|
end
|
182
182
|
|
183
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
184
|
-
config.credentials = credentials
|
185
|
-
config.quota_project = @quota_project_id
|
186
|
-
config.endpoint = @config.endpoint
|
187
|
-
config.universe_domain = @config.universe_domain
|
188
|
-
end
|
189
|
-
|
190
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
191
|
-
config.credentials = credentials
|
192
|
-
config.quota_project = @quota_project_id
|
193
|
-
config.endpoint = @config.endpoint
|
194
|
-
config.universe_domain = @config.universe_domain
|
195
|
-
end
|
196
|
-
|
197
183
|
@managed_notebook_service_stub = ::Gapic::ServiceStub.new(
|
198
184
|
::Google::Cloud::Notebooks::V1::ManagedNotebookService::Stub,
|
199
185
|
credentials: credentials,
|
@@ -204,6 +190,20 @@ module Google
|
|
204
190
|
interceptors: @config.interceptors,
|
205
191
|
channel_pool_config: @config.channel_pool
|
206
192
|
)
|
193
|
+
|
194
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
195
|
+
config.credentials = credentials
|
196
|
+
config.quota_project = @quota_project_id
|
197
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
198
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
199
|
+
end
|
200
|
+
|
201
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
202
|
+
config.credentials = credentials
|
203
|
+
config.quota_project = @quota_project_id
|
204
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
205
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
206
|
+
end
|
207
207
|
end
|
208
208
|
|
209
209
|
##
|
@@ -177,28 +177,28 @@ module Google
|
|
177
177
|
config.universe_domain = @config.universe_domain
|
178
178
|
end
|
179
179
|
|
180
|
+
@managed_notebook_service_stub = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::ServiceStub.new(
|
181
|
+
endpoint: @config.endpoint,
|
182
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
183
|
+
universe_domain: @config.universe_domain,
|
184
|
+
credentials: credentials
|
185
|
+
)
|
186
|
+
|
180
187
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
181
188
|
config.credentials = credentials
|
182
189
|
config.quota_project = @quota_project_id
|
183
|
-
config.endpoint = @
|
184
|
-
config.universe_domain = @
|
190
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
191
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
185
192
|
config.bindings_override = @config.bindings_override
|
186
193
|
end
|
187
194
|
|
188
195
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
189
196
|
config.credentials = credentials
|
190
197
|
config.quota_project = @quota_project_id
|
191
|
-
config.endpoint = @
|
192
|
-
config.universe_domain = @
|
198
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
199
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
193
200
|
config.bindings_override = @config.bindings_override
|
194
201
|
end
|
195
|
-
|
196
|
-
@managed_notebook_service_stub = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::ServiceStub.new(
|
197
|
-
endpoint: @config.endpoint,
|
198
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
199
|
-
universe_domain: @config.universe_domain,
|
200
|
-
credentials: credentials
|
201
|
-
)
|
202
202
|
end
|
203
203
|
|
204
204
|
##
|
@@ -224,20 +224,6 @@ module Google
|
|
224
224
|
config.universe_domain = @config.universe_domain
|
225
225
|
end
|
226
226
|
|
227
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
228
|
-
config.credentials = credentials
|
229
|
-
config.quota_project = @quota_project_id
|
230
|
-
config.endpoint = @config.endpoint
|
231
|
-
config.universe_domain = @config.universe_domain
|
232
|
-
end
|
233
|
-
|
234
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
235
|
-
config.credentials = credentials
|
236
|
-
config.quota_project = @quota_project_id
|
237
|
-
config.endpoint = @config.endpoint
|
238
|
-
config.universe_domain = @config.universe_domain
|
239
|
-
end
|
240
|
-
|
241
227
|
@notebook_service_stub = ::Gapic::ServiceStub.new(
|
242
228
|
::Google::Cloud::Notebooks::V1::NotebookService::Stub,
|
243
229
|
credentials: credentials,
|
@@ -248,6 +234,20 @@ module Google
|
|
248
234
|
interceptors: @config.interceptors,
|
249
235
|
channel_pool_config: @config.channel_pool
|
250
236
|
)
|
237
|
+
|
238
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
239
|
+
config.credentials = credentials
|
240
|
+
config.quota_project = @quota_project_id
|
241
|
+
config.endpoint = @notebook_service_stub.endpoint
|
242
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
243
|
+
end
|
244
|
+
|
245
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
246
|
+
config.credentials = credentials
|
247
|
+
config.quota_project = @quota_project_id
|
248
|
+
config.endpoint = @notebook_service_stub.endpoint
|
249
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
250
|
+
end
|
251
251
|
end
|
252
252
|
|
253
253
|
##
|
@@ -221,28 +221,28 @@ module Google
|
|
221
221
|
config.universe_domain = @config.universe_domain
|
222
222
|
end
|
223
223
|
|
224
|
+
@notebook_service_stub = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::ServiceStub.new(
|
225
|
+
endpoint: @config.endpoint,
|
226
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
227
|
+
universe_domain: @config.universe_domain,
|
228
|
+
credentials: credentials
|
229
|
+
)
|
230
|
+
|
224
231
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
225
232
|
config.credentials = credentials
|
226
233
|
config.quota_project = @quota_project_id
|
227
|
-
config.endpoint = @
|
228
|
-
config.universe_domain = @
|
234
|
+
config.endpoint = @notebook_service_stub.endpoint
|
235
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
229
236
|
config.bindings_override = @config.bindings_override
|
230
237
|
end
|
231
238
|
|
232
239
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
233
240
|
config.credentials = credentials
|
234
241
|
config.quota_project = @quota_project_id
|
235
|
-
config.endpoint = @
|
236
|
-
config.universe_domain = @
|
242
|
+
config.endpoint = @notebook_service_stub.endpoint
|
243
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
237
244
|
config.bindings_override = @config.bindings_override
|
238
245
|
end
|
239
|
-
|
240
|
-
@notebook_service_stub = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::ServiceStub.new(
|
241
|
-
endpoint: @config.endpoint,
|
242
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
243
|
-
universe_domain: @config.universe_domain,
|
244
|
-
credentials: credentials
|
245
|
-
)
|
246
246
|
end
|
247
247
|
|
248
248
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the list_instances REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-notebooks-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|