google-cloud-bigquery-storage-v1 0.27.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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 +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c2e406cf49d2b709951748ec547237c019b17f1474e01f82ef7bb5ec291998f
|
4
|
+
data.tar.gz: f5c6c379a590b6b0534d2743675f265ba3f1988651dac279ed4ae3176c135697
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a89c7aa5c4aa47be97613c9e6b5a76e9be001b636faa380f18741d478a92c1be0f291dccf5048ca85899ee2e08b1ce636b51a4491b7d6133bfbf765ca3c9f91
|
7
|
+
data.tar.gz: 23c48fc7d3ebd6f5a0c4a357ebe86b29286a2c68396eb942712c51f4d50c3d837c8093936cc2e0db2f70d5da07f2675fb76c91ba97648c23ad8a2856ee4055e6
|
@@ -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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
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.1
|
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-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|