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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae54ca2117d6a2bc3b7c167b0e219cf377df339fc53adfc80b199f92c8f49451
|
4
|
+
data.tar.gz: 28f4d23cb23c9377eef4eb5df0105f6fba3bc3dc931c56dff54f2b07565dfcbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94037dbd38fd210eba176514b4c8193f5e7c2021a54e9e46dcf9f8080da799260e60661f0add1e41f55d5a54faf6e5a750793af0ab5de0c229cdd0e1791a9893
|
7
|
+
data.tar.gz: 0d7d75ca723b9b7106d54928dd1487c7dca9cd4e4eeb45e105e300f40c4e743f0338c718cfa51bb0352ed8547fc1187a945ba73fcbce238ebab3b1b84b67b516
|
data/.yardopts
CHANGED
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 =
|
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,
|
1404
|
-
config_attr :credentials,
|
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,
|
1410
|
-
config_attr :lib_name,
|
1411
|
-
config_attr :lib_version,
|
1412
|
-
config_attr(:channel_args,
|
1413
|
-
config_attr :interceptors,
|
1414
|
-
config_attr :timeout,
|
1415
|
-
config_attr :metadata,
|
1416
|
-
config_attr :retry_policy,
|
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
|
data/proto_docs/README.md
CHANGED
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.
|
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-
|
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.
|
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.
|
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: []
|