google-cloud-bigquery-storage-v1 0.26.0 → 1.0.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb +9 -3
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/client.rb +15 -6
- data/lib/google/cloud/bigquery/storage/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29756750ea938d51b45c80251e27c9b55261b75150816ab0add44e2091f172f2
|
4
|
+
data.tar.gz: 4458a7c986e0903c16d8fae61e6f54ba2c012ddd70680f1caf96be13da59075e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13dcca660eb0bde476da760468b29a04cdfbbefb6acb6996ebb8f3180d272eb16d97fc73997317ae187c299aa67b2d157a777adf64b85651c3bc5352b114334a
|
7
|
+
data.tar.gz: 45f9e1bfe2aa2a9d3d4d5bf3dddc86a3b2e6c8d0a62e1841478c5a9dc921701298ce4729194028657a490bbad0086223b8ed678997fae523c84ad895679d6217
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The Read API can be used to read data from BigQuery.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "bigquerystorage.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -274,10 +277,11 @@ module Google
|
|
274
277
|
# Customize the options with defaults
|
275
278
|
metadata = @config.rpcs.create_read_session.metadata.to_h
|
276
279
|
|
277
|
-
# Set x-goog-api-client
|
280
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
278
281
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
279
282
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
280
283
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
284
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
281
285
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
282
286
|
|
283
287
|
header_params = {}
|
@@ -372,10 +376,11 @@ module Google
|
|
372
376
|
# Customize the options with defaults
|
373
377
|
metadata = @config.rpcs.read_rows.metadata.to_h
|
374
378
|
|
375
|
-
# Set x-goog-api-client
|
379
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
376
380
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
377
381
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
378
382
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
383
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
379
384
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
380
385
|
|
381
386
|
header_params = {}
|
@@ -476,10 +481,11 @@ module Google
|
|
476
481
|
# Customize the options with defaults
|
477
482
|
metadata = @config.rpcs.split_read_stream.metadata.to_h
|
478
483
|
|
479
|
-
# Set x-goog-api-client
|
484
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
480
485
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
481
486
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
482
487
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
488
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
483
489
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
484
490
|
|
485
491
|
header_params = {}
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# https://cloud.google.com/bigquery/docs/write-api
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "bigquerystorage.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -259,10 +262,11 @@ module Google
|
|
259
262
|
# Customize the options with defaults
|
260
263
|
metadata = @config.rpcs.create_write_stream.metadata.to_h
|
261
264
|
|
262
|
-
# Set x-goog-api-client
|
265
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
263
266
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
264
267
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
265
268
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
269
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
266
270
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
267
271
|
|
268
272
|
header_params = {}
|
@@ -375,10 +379,11 @@ module Google
|
|
375
379
|
# Customize the options with defaults
|
376
380
|
metadata = @config.rpcs.append_rows.metadata.to_h
|
377
381
|
|
378
|
-
# Set x-goog-api-client
|
382
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
379
383
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
380
384
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
381
385
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
386
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
382
387
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
383
388
|
|
384
389
|
options.apply_defaults timeout: @config.rpcs.append_rows.timeout,
|
@@ -456,10 +461,11 @@ module Google
|
|
456
461
|
# Customize the options with defaults
|
457
462
|
metadata = @config.rpcs.get_write_stream.metadata.to_h
|
458
463
|
|
459
|
-
# Set x-goog-api-client
|
464
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
460
465
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
461
466
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
462
467
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
468
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
463
469
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
464
470
|
|
465
471
|
header_params = {}
|
@@ -543,10 +549,11 @@ module Google
|
|
543
549
|
# Customize the options with defaults
|
544
550
|
metadata = @config.rpcs.finalize_write_stream.metadata.to_h
|
545
551
|
|
546
|
-
# Set x-goog-api-client
|
552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
547
553
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
548
554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
549
555
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
556
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
550
557
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
551
558
|
|
552
559
|
header_params = {}
|
@@ -636,10 +643,11 @@ module Google
|
|
636
643
|
# Customize the options with defaults
|
637
644
|
metadata = @config.rpcs.batch_commit_write_streams.metadata.to_h
|
638
645
|
|
639
|
-
# Set x-goog-api-client
|
646
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
640
647
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
641
648
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
642
649
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
650
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
643
651
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
644
652
|
|
645
653
|
header_params = {}
|
@@ -731,10 +739,11 @@ module Google
|
|
731
739
|
# Customize the options with defaults
|
732
740
|
metadata = @config.rpcs.flush_rows.metadata.to_h
|
733
741
|
|
734
|
-
# Set x-goog-api-client
|
742
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
735
743
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
736
744
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
737
745
|
gapic_version: ::Google::Cloud::Bigquery::Storage::V1::VERSION
|
746
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
738
747
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
739
748
|
|
740
749
|
header_params = {}
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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: 1.0.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: 2024-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: The BigQuery Storage API provides fast access to BigQuery managed storage.
|
160
48
|
Note that google-cloud-bigquery-storage-v1 is a version-specific client library.
|
161
49
|
For most uses, we recommend installing the main client library google-cloud-bigquery-storage
|
@@ -216,14 +104,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
216
104
|
requirements:
|
217
105
|
- - ">="
|
218
106
|
- !ruby/object:Gem::Version
|
219
|
-
version: '2.
|
107
|
+
version: '2.7'
|
220
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
109
|
requirements:
|
222
110
|
- - ">="
|
223
111
|
- !ruby/object:Gem::Version
|
224
112
|
version: '0'
|
225
113
|
requirements: []
|
226
|
-
rubygems_version: 3.5.
|
114
|
+
rubygems_version: 3.5.6
|
227
115
|
signing_key:
|
228
116
|
specification_version: 4
|
229
117
|
summary: API Client library for the BigQuery Storage V1 API
|