google-cloud-bigquery-data_transfer 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/bigquery/data_transfer.rb +1 -1
- data/lib/google/cloud/bigquery/data_transfer/v1.rb +1 -1
- data/lib/google/cloud/bigquery/data_transfer/v1/data_transfer_service_client.rb +3 -0
- data/lib/google/cloud/bigquery/data_transfer/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: 24fbf3178638affd82ff4963497cd418769843aa3960365ba483359949bd19b9
|
4
|
+
data.tar.gz: 76c79dccd57d3b2326bb69172ce27442b2cd864d9705a95c110f77d9c1d2a42a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e891be868bc7725d026310ad43100d852ad2c01179a76bd0f4509361ac7c21cb9f55d59ed69d58d76d249414abf96dd9c9e6f3f4ccc6f21a467dd324481d9386
|
7
|
+
data.tar.gz: 4e0891884158baf2b2939faccf9f137119b56b6b7461f508e22bd61c4e7d94444c0f83eef694b12e19a00d153cff8337da60f57ed21787bc1877f04d4ac5689a
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Ruby Client for BigQuery Data Transfer API
|
1
|
+
# Ruby Client for BigQuery Data Transfer API
|
2
2
|
|
3
3
|
[BigQuery Data Transfer API][Product Documentation]:
|
4
4
|
Schedule queries or transfer external data from SaaS applications to Google
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for BigQuery Data Transfer API
|
25
|
+
# # Ruby Client for BigQuery Data Transfer API
|
26
26
|
#
|
27
27
|
# [BigQuery Data Transfer API][Product Documentation]:
|
28
28
|
# Schedule queries or transfer external data from SaaS applications to Google
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for BigQuery Data Transfer API
|
25
|
+
# # Ruby Client for BigQuery Data Transfer API
|
26
26
|
#
|
27
27
|
# [BigQuery Data Transfer API][Product Documentation]:
|
28
28
|
# Schedule queries or transfer external data from SaaS applications to Google
|
@@ -317,6 +317,9 @@ module Google
|
|
317
317
|
google_api_client.freeze
|
318
318
|
|
319
319
|
headers = { :"x-goog-api-client" => google_api_client }
|
320
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
321
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
322
|
+
end
|
320
323
|
headers.merge!(metadata) unless metadata.nil?
|
321
324
|
client_config_file = Pathname.new(__dir__).join(
|
322
325
|
"data_transfer_service_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-data_transfer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2020-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|