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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c18c686d3bdbd341b2b9009ba1ad1f91f475095162b0ccdb855867dd3183cb5f
4
- data.tar.gz: 6c0a4216f485e798aa9c47e0b80e1d743cdf27618ecb9df01cdb624a041dd91d
3
+ metadata.gz: 24fbf3178638affd82ff4963497cd418769843aa3960365ba483359949bd19b9
4
+ data.tar.gz: 76c79dccd57d3b2326bb69172ce27442b2cd864d9705a95c110f77d9c1d2a42a
5
5
  SHA512:
6
- metadata.gz: 4b870fdb06133e93dfad3f44da5337dc51e43285e0d33d1f58eb6083f93f3289cc006deed6751d6eba5a423f771166ed990edebe9c0519fa35a76da71c896981
7
- data.tar.gz: c656dd3bccf8a557ee5a575097a2e495718010617f76001129d0b7d37deae41a5c689c3a6ada735e0fb4da38660454c988c224c8c35091832e3c0b3b6f010f78
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 ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
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"
@@ -17,7 +17,7 @@ module Google
17
17
  module Cloud
18
18
  module Bigquery
19
19
  module DataTransfer
20
- VERSION = "0.6.0".freeze
20
+ VERSION = "0.7.0".freeze
21
21
  end
22
22
  end
23
23
  end
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.6.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-02-13 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax