google-cloud-bigquery-data_transfer-v1 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0f6e9b2a2b327c9c026d58f49641839dfa873aeedb0a78a3239b548f58c1ca2
4
- data.tar.gz: a949bbb17360320a615962d3ce9898171b7924cff9086e0c25741561dbb98c27
3
+ metadata.gz: ae54ca2117d6a2bc3b7c167b0e219cf377df339fc53adfc80b199f92c8f49451
4
+ data.tar.gz: 28f4d23cb23c9377eef4eb5df0105f6fba3bc3dc931c56dff54f2b07565dfcbc
5
5
  SHA512:
6
- metadata.gz: f165b6d98665140caa20776b04c2597de50de371bc7bf1fa065d25927d45ff6b5ec49bb7e0bed669376cb8eb49baa689dd3cb79cc5e11a5e65bcb2ad5d6d486c
7
- data.tar.gz: 450bfc308abbddde07d82724f19a5234e83f7da11937cb576d7dd9c7d6dc46fab1d2a8cd3c8d0d05beb08866e64c13221900eac443029775e60eee47aec0ba90
6
+ metadata.gz: 94037dbd38fd210eba176514b4c8193f5e7c2021a54e9e46dcf9f8080da799260e60661f0add1e41f55d5a54faf6e5a750793af0ab5de0c229cdd0e1791a9893
7
+ data.tar.gz: 0d7d75ca723b9b7106d54928dd1487c7dca9cd4e4eeb45e105e300f40c4e743f0338c718cfa51bb0352ed8547fc1187a945ba73fcbce238ebab3b1b84b67b516
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=BigQuery Data Transfer V1 API
2
+ --title=BigQuery Data Transfer Service V1 API
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Ruby Client for the BigQuery Data Transfer V1 API
1
+ # Ruby Client for the BigQuery Data Transfer Service V1 API
2
2
 
3
- API Client library for the BigQuery Data Transfer V1 API
3
+ API Client library for the BigQuery Data Transfer Service V1 API
4
4
 
5
5
  Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.
6
6
 
@@ -220,7 +220,8 @@ module Google
220
220
  if credentials.is_a?(String) || credentials.is_a?(Hash)
221
221
  credentials = Credentials.new credentials, scope: @config.scope
222
222
  end
223
- @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
223
+ @quota_project_id = @config.quota_project
224
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
224
225
 
225
226
  @data_transfer_service_stub = ::Gapic::ServiceStub.new(
226
227
  ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Stub,
@@ -1396,24 +1397,28 @@ module Google
1396
1397
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1397
1398
  # trigger a retry.
1398
1399
  # @return [::Hash]
1400
+ # @!attribute [rw] quota_project
1401
+ # A separate project against which to charge quota.
1402
+ # @return [::String]
1399
1403
  #
1400
1404
  class Configuration
1401
1405
  extend ::Gapic::Config
1402
1406
 
1403
- config_attr :endpoint, "bigquerydatatransfer.googleapis.com", String
1404
- config_attr :credentials, nil do |value|
1407
+ config_attr :endpoint, "bigquerydatatransfer.googleapis.com", ::String
1408
+ config_attr :credentials, nil do |value|
1405
1409
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1406
1410
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1407
1411
  allowed.any? { |klass| klass === value }
1408
1412
  end
1409
- config_attr :scope, nil, ::String, ::Array, nil
1410
- config_attr :lib_name, nil, ::String, nil
1411
- config_attr :lib_version, nil, ::String, nil
1412
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1413
- config_attr :interceptors, nil, ::Array, nil
1414
- config_attr :timeout, nil, ::Numeric, nil
1415
- config_attr :metadata, nil, ::Hash, nil
1416
- config_attr :retry_policy, nil, ::Hash, Proc, nil
1413
+ config_attr :scope, nil, ::String, ::Array, nil
1414
+ config_attr :lib_name, nil, ::String, nil
1415
+ config_attr :lib_version, nil, ::String, nil
1416
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1417
+ config_attr :interceptors, nil, ::Array, nil
1418
+ config_attr :timeout, nil, ::Numeric, nil
1419
+ config_attr :metadata, nil, ::Hash, nil
1420
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1421
+ config_attr :quota_project, nil, ::String, nil
1417
1422
 
1418
1423
  # @private
1419
1424
  def initialize parent_config = nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataTransfer
24
24
  module V1
25
- VERSION = "0.1.1"
25
+ VERSION = "0.2.0"
26
26
  end
27
27
  end
28
28
  end
data/proto_docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # BigQuery Data Transfer V1 Protocol Buffer Documentation
1
+ # BigQuery Data Transfer Service V1 Protocol Buffer Documentation
2
2
 
3
3
  These files are for the YARD documentation of the generated protobuf files.
4
4
  They are not intended to be required or loaded at runtime.
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.1.1
4
+ version: 0.2.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-05-05 00:00:00.000000000 Z
11
+ date: 2020-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -58,14 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.10'
61
+ version: '5.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '5.10'
68
+ version: '5.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-focus
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-rg
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.2'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.2'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: rake
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -179,5 +207,5 @@ requirements: []
179
207
  rubygems_version: 3.0.6
180
208
  signing_key:
181
209
  specification_version: 4
182
- summary: API Client library for the BigQuery Data Transfer V1 API
210
+ summary: API Client library for the BigQuery Data Transfer Service V1 API
183
211
  test_files: []