google-cloud-bigquery-data_transfer-v1 0.12.0 → 0.12.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/bigquery/data_transfer/v1/data_transfer_service/client.rb +7 -7
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/rest/client.rb +8 -8
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/bigquery/data_transfer/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: 81eb04970eb300b730fb83347648110ca86a84f250f66828ed992c567c8e4d0d
|
4
|
+
data.tar.gz: a0daba87ec8d3e445a17bd54049ea351dbf9b5b7986fb6d7bddff585ccb94223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b9a8b06f9cb99cab101ebba2c5fdc292325d4fed2ba57832ca0339d04463b29a03677b24d7eef5744baf7bd468ab46c64fc0b75746e599752fd6005876d8a2
|
7
|
+
data.tar.gz: 50f2ede877ef5f26b6ec5bcb64a1b2767b5bd94cc69e646c5fc9539e114471217d06a51957917e2c65a06d6ed73b93b70d50901efbee3a9b50bcbfc93e8c032d
|
@@ -204,13 +204,6 @@ module Google
|
|
204
204
|
@quota_project_id = @config.quota_project
|
205
205
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
206
206
|
|
207
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
208
|
-
config.credentials = credentials
|
209
|
-
config.quota_project = @quota_project_id
|
210
|
-
config.endpoint = @config.endpoint
|
211
|
-
config.universe_domain = @config.universe_domain
|
212
|
-
end
|
213
|
-
|
214
207
|
@data_transfer_service_stub = ::Gapic::ServiceStub.new(
|
215
208
|
::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Stub,
|
216
209
|
credentials: credentials,
|
@@ -221,6 +214,13 @@ module Google
|
|
221
214
|
interceptors: @config.interceptors,
|
222
215
|
channel_pool_config: @config.channel_pool
|
223
216
|
)
|
217
|
+
|
218
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
219
|
+
config.credentials = credentials
|
220
|
+
config.quota_project = @quota_project_id
|
221
|
+
config.endpoint = @data_transfer_service_stub.endpoint
|
222
|
+
config.universe_domain = @data_transfer_service_stub.universe_domain
|
223
|
+
end
|
224
224
|
end
|
225
225
|
|
226
226
|
##
|
@@ -201,20 +201,20 @@ module Google
|
|
201
201
|
@quota_project_id = @config.quota_project
|
202
202
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
203
203
|
|
204
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
205
|
-
config.credentials = credentials
|
206
|
-
config.quota_project = @quota_project_id
|
207
|
-
config.endpoint = @config.endpoint
|
208
|
-
config.universe_domain = @config.universe_domain
|
209
|
-
config.bindings_override = @config.bindings_override
|
210
|
-
end
|
211
|
-
|
212
204
|
@data_transfer_service_stub = ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Rest::ServiceStub.new(
|
213
205
|
endpoint: @config.endpoint,
|
214
206
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
215
207
|
universe_domain: @config.universe_domain,
|
216
208
|
credentials: credentials
|
217
209
|
)
|
210
|
+
|
211
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
212
|
+
config.credentials = credentials
|
213
|
+
config.quota_project = @quota_project_id
|
214
|
+
config.endpoint = @data_transfer_service_stub.endpoint
|
215
|
+
config.universe_domain = @data_transfer_service_stub.universe_domain
|
216
|
+
config.bindings_override = @config.bindings_override
|
217
|
+
end
|
218
218
|
end
|
219
219
|
|
220
220
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the get_data_source REST call
|
58
67
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-data_transfer-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.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
|