google-cloud-bigquery-storage-v1 0.1.4 → 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: '094eaede5742519eb2ac1ef455ea7a4869bf545bf3a900639e224d43ea650968'
|
|
4
|
+
data.tar.gz: d26bafeee5b6564794a95aa6ba1c81b084f0c99059853575187cc1b229bd0b43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3cb7bcd707d152cff11a462aed09cd980ee73df821c67da920b3337786a770e172fe8f13225b55968733a985d7252d86f4a8c937d8c71ef34d36a517efe32f2
|
|
7
|
+
data.tar.gz: db4e91764b85dd4288fc6cfaf7c75270f4cc7e3312c753baafeb8d40bd270eac9cbbfc8e8676f29705732a199ba96d46907110fac7f6aa2a486afddb870fe1a4
|
|
@@ -157,7 +157,8 @@ module Google
|
|
|
157
157
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
158
158
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
159
159
|
end
|
|
160
|
-
@quota_project_id =
|
|
160
|
+
@quota_project_id = @config.quota_project
|
|
161
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
161
162
|
|
|
162
163
|
@big_query_read_stub = ::Gapic::ServiceStub.new(
|
|
163
164
|
::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Stub,
|
|
@@ -503,24 +504,28 @@ module Google
|
|
|
503
504
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
504
505
|
# trigger a retry.
|
|
505
506
|
# @return [::Hash]
|
|
507
|
+
# @!attribute [rw] quota_project
|
|
508
|
+
# A separate project against which to charge quota.
|
|
509
|
+
# @return [::String]
|
|
506
510
|
#
|
|
507
511
|
class Configuration
|
|
508
512
|
extend ::Gapic::Config
|
|
509
513
|
|
|
510
|
-
config_attr :endpoint,
|
|
511
|
-
config_attr :credentials,
|
|
514
|
+
config_attr :endpoint, "bigquerystorage.googleapis.com", ::String
|
|
515
|
+
config_attr :credentials, nil do |value|
|
|
512
516
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
513
517
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
514
518
|
allowed.any? { |klass| klass === value }
|
|
515
519
|
end
|
|
516
|
-
config_attr :scope,
|
|
517
|
-
config_attr :lib_name,
|
|
518
|
-
config_attr :lib_version,
|
|
519
|
-
config_attr(:channel_args,
|
|
520
|
-
config_attr :interceptors,
|
|
521
|
-
config_attr :timeout,
|
|
522
|
-
config_attr :metadata,
|
|
523
|
-
config_attr :retry_policy,
|
|
520
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
|
521
|
+
config_attr :lib_name, nil, ::String, nil
|
|
522
|
+
config_attr :lib_version, nil, ::String, nil
|
|
523
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
|
524
|
+
config_attr :interceptors, nil, ::Array, nil
|
|
525
|
+
config_attr :timeout, nil, ::Numeric, nil
|
|
526
|
+
config_attr :metadata, nil, ::Hash, nil
|
|
527
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
|
528
|
+
config_attr :quota_project, nil, ::String, nil
|
|
524
529
|
|
|
525
530
|
# @private
|
|
526
531
|
def initialize parent_config = nil
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-bigquery-storage-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
|