google-cloud-bigquery-storage-v1 1.8.1 → 1.10.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 +2 -2
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb +6 -2
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/credentials.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/paths.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/rest/client.rb +694 -0
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/rest/service_stub.rb +261 -0
- data/lib/google/cloud/bigquery/storage/v1/big_query_read/rest.rb +56 -0
- data/lib/google/cloud/bigquery/storage/v1/big_query_read.rb +7 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/client.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/credentials.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/paths.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/rest/client.rb +830 -0
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/rest/service_stub.rb +392 -0
- data/lib/google/cloud/bigquery/storage/v1/big_query_write/rest.rb +59 -0
- data/lib/google/cloud/bigquery/storage/v1/big_query_write.rb +7 -1
- data/lib/google/cloud/bigquery/storage/v1/rest.rb +40 -0
- data/lib/google/cloud/bigquery/storage/v1/storage_pb.rb +4 -1
- data/lib/google/cloud/bigquery/storage/v1/storage_services_pb.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/stream_pb.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/table_pb.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/storage/v1.rb +6 -1
- data/lib/google-cloud-bigquery-storage-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/bigquery/storage/v1/arrow.rb +1 -1
- data/proto_docs/google/cloud/bigquery/storage/v1/avro.rb +1 -1
- data/proto_docs/google/cloud/bigquery/storage/v1/protobuf.rb +1 -1
- data/proto_docs/google/cloud/bigquery/storage/v1/storage.rb +81 -2
- data/proto_docs/google/cloud/bigquery/storage/v1/stream.rb +1 -1
- data/proto_docs/google/cloud/bigquery/storage/v1/table.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/protobuf/wrappers.rb +1 -1
- data/proto_docs/google/rpc/status.rb +1 -1
- metadata +13 -6
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/protobuf/wrappers_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n,google/cloud/bigquery/storage/v1/table.proto\x12 google.cloud.bigquery.storage.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"Q\n\x0bTableSchema\x12\x42\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x32.google.cloud.bigquery.storage.v1.TableFieldSchema\"\
|
|
11
|
+
descriptor_data = "\n,google/cloud/bigquery/storage/v1/table.proto\x12 google.cloud.bigquery.storage.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"Q\n\x0bTableSchema\x12\x42\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x32.google.cloud.bigquery.storage.v1.TableFieldSchema\"\xc8\x07\n\x10TableFieldSchema\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12K\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.bigquery.storage.v1.TableFieldSchema.TypeB\x04\xe2\x41\x01\x02\x12K\n\x04mode\x18\x03 \x01(\x0e\x32\x37.google.cloud.bigquery.storage.v1.TableFieldSchema.ModeB\x04\xe2\x41\x01\x01\x12H\n\x06\x66ields\x18\x04 \x03(\x0b\x32\x32.google.cloud.bigquery.storage.v1.TableFieldSchemaB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nmax_length\x18\x07 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x17\n\tprecision\x18\x08 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x13\n\x05scale\x18\t \x01(\x03\x42\x04\xe2\x41\x01\x01\x12&\n\x18\x64\x65\x66\x61ult_value_expression\x18\n \x01(\tB\x04\xe2\x41\x01\x01\x12>\n\x13timestamp_precision\x18\x1b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x04\xe2\x41\x01\x01\x12\x65\n\x12range_element_type\x18\x0b \x01(\x0b\x32\x43.google.cloud.bigquery.storage.v1.TableFieldSchema.FieldElementTypeB\x04\xe2\x41\x01\x01\x1a_\n\x10\x46ieldElementType\x12K\n\x04type\x18\x01 \x01(\x0e\x32\x37.google.cloud.bigquery.storage.v1.TableFieldSchema.TypeB\x04\xe2\x41\x01\x02\"\xe0\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\t\n\x05INT64\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\n\n\x06STRUCT\x10\x04\x12\t\n\x05\x42YTES\x10\x05\x12\x08\n\x04\x42OOL\x10\x06\x12\r\n\tTIMESTAMP\x10\x07\x12\x08\n\x04\x44\x41TE\x10\x08\x12\x08\n\x04TIME\x10\t\x12\x0c\n\x08\x44\x41TETIME\x10\n\x12\r\n\tGEOGRAPHY\x10\x0b\x12\x0b\n\x07NUMERIC\x10\x0c\x12\x0e\n\nBIGNUMERIC\x10\r\x12\x0c\n\x08INTERVAL\x10\x0e\x12\x08\n\x04JSON\x10\x0f\x12\t\n\x05RANGE\x10\x10\"F\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08NULLABLE\x10\x01\x12\x0c\n\x08REQUIRED\x10\x02\x12\x0c\n\x08REPEATED\x10\x03\x42\xba\x01\n$com.google.cloud.bigquery.storage.v1B\nTableProtoP\x01Z>cloud.google.com/go/bigquery/storage/apiv1/storagepb;storagepb\xaa\x02 Google.Cloud.BigQuery.Storage.V1\xca\x02 Google\\Cloud\\BigQuery\\Storage\\V1b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -32,6 +32,11 @@ module Google
|
|
|
32
32
|
# require "google/cloud/bigquery/storage/v1"
|
|
33
33
|
# client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new
|
|
34
34
|
#
|
|
35
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
|
36
|
+
#
|
|
37
|
+
# require "google/cloud/bigquery/storage/v1"
|
|
38
|
+
# client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Rest::Client.new
|
|
39
|
+
#
|
|
35
40
|
module V1
|
|
36
41
|
end
|
|
37
42
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -66,6 +66,11 @@ module Google
|
|
|
66
66
|
# The offset requested must be less than the last row read from Read.
|
|
67
67
|
# Requesting a larger offset is undefined. If not specified, start reading
|
|
68
68
|
# from offset zero.
|
|
69
|
+
# @!attribute [rw] arrow_serialization_options
|
|
70
|
+
# @return [::Google::Cloud::Bigquery::Storage::V1::ArrowSerializationOptions]
|
|
71
|
+
# Optional. Options specific to the Apache Arrow output format.
|
|
72
|
+
#
|
|
73
|
+
# This feature is not yet available.
|
|
69
74
|
class ReadRowsRequest
|
|
70
75
|
include ::Google::Protobuf::MessageExts
|
|
71
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -161,6 +166,12 @@ module Google
|
|
|
161
166
|
# follows is not compressed, which can be useful for cases where compression
|
|
162
167
|
# does not yield appreciable savings. When uncompressed_byte_size is not
|
|
163
168
|
# greater than 0, the client should skip decompression.
|
|
169
|
+
# @!attribute [r] total_estimated_row_count
|
|
170
|
+
# @return [::Integer]
|
|
171
|
+
# Output only. The total estimated number of rows in the query results.
|
|
172
|
+
# Only populated when reading data from a BigQuery job.
|
|
173
|
+
#
|
|
174
|
+
# This feature is not yet available.
|
|
164
175
|
class ReadRowsResponse
|
|
165
176
|
include ::Google::Protobuf::MessageExts
|
|
166
177
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -219,7 +230,7 @@ module Google
|
|
|
219
230
|
# switching table destinations. You can also switch table destinations within
|
|
220
231
|
# the same connection for the default stream.
|
|
221
232
|
#
|
|
222
|
-
# The size of a single AppendRowsRequest must be less than
|
|
233
|
+
# The size of a single AppendRowsRequest must be less than 20 MB in size.
|
|
223
234
|
# Requests larger than this return an error, typically `INVALID_ARGUMENT`.
|
|
224
235
|
# @!attribute [rw] write_stream
|
|
225
236
|
# @return [::String]
|
|
@@ -306,6 +317,9 @@ module Google
|
|
|
306
317
|
# `NULL` instead of using default values for some columns, you can set
|
|
307
318
|
# `default_missing_value_interpretation` to `DEFAULT_VALUE` and at the same
|
|
308
319
|
# time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
|
|
320
|
+
# @!attribute [rw] client_stats
|
|
321
|
+
# @return [::Google::Cloud::Bigquery::Storage::V1::ClientStats]
|
|
322
|
+
# Optional. Stats and telemetry data gathered on the client side.
|
|
309
323
|
class AppendRowsRequest
|
|
310
324
|
include ::Google::Protobuf::MessageExts
|
|
311
325
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -611,6 +625,71 @@ module Google
|
|
|
611
625
|
FIELDS_ERROR = 1
|
|
612
626
|
end
|
|
613
627
|
end
|
|
628
|
+
|
|
629
|
+
# Stats and telemetry data gathered on the client side about requests
|
|
630
|
+
# being sent to the BigQuery Storage service, for internal use only.
|
|
631
|
+
# @!attribute [rw] request_stats
|
|
632
|
+
# @return [::Google::Cloud::Bigquery::Storage::V1::ClientStats::RequestStats]
|
|
633
|
+
# Optional. Per-request stats.
|
|
634
|
+
# @!attribute [rw] window_stats
|
|
635
|
+
# @return [::Google::Cloud::Bigquery::Storage::V1::ClientStats::WindowStats]
|
|
636
|
+
# Optional. Windowed stats.
|
|
637
|
+
class ClientStats
|
|
638
|
+
include ::Google::Protobuf::MessageExts
|
|
639
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
640
|
+
|
|
641
|
+
# Stats and telemetry data gathered on the client side about a single
|
|
642
|
+
# request.
|
|
643
|
+
# @!attribute [rw] send_time_millis
|
|
644
|
+
# @return [::Integer]
|
|
645
|
+
# Optional. Timestamp indicating when the request was sent over the
|
|
646
|
+
# network, expressed in epoch milliseconds.
|
|
647
|
+
# @!attribute [rw] queued_requests_count
|
|
648
|
+
# @return [::Integer]
|
|
649
|
+
# Optional. Number of pending requests at the moment this request was sent.
|
|
650
|
+
# This includes requests waiting to be sent, and those that are inflight.
|
|
651
|
+
class RequestStats
|
|
652
|
+
include ::Google::Protobuf::MessageExts
|
|
653
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
654
|
+
end
|
|
655
|
+
|
|
656
|
+
# Aggregate connection metrics over a window interval.
|
|
657
|
+
# @!attribute [rw] max_response_latency_millis
|
|
658
|
+
# @return [::Integer]
|
|
659
|
+
# Optional. The maximum response latency observed in the window, expressed
|
|
660
|
+
# in milliseconds.
|
|
661
|
+
# @!attribute [rw] avg_response_latency_millis
|
|
662
|
+
# @return [::Integer]
|
|
663
|
+
# Optional. The average response latency observed in the window, expressed
|
|
664
|
+
# in milliseconds.
|
|
665
|
+
# @!attribute [rw] longest_wait_no_response_millis
|
|
666
|
+
# @return [::Integer]
|
|
667
|
+
# Optional. The longest time spent waiting without receiving a response in
|
|
668
|
+
# the window. This could exceed max_response_latency_millis because the
|
|
669
|
+
# latter is evaluated only when a response is received. Expressed in
|
|
670
|
+
# milliseconds.
|
|
671
|
+
# @!attribute [rw] requests_sent_count
|
|
672
|
+
# @return [::Integer]
|
|
673
|
+
# Optional. How many requests were sent in the window.
|
|
674
|
+
# @!attribute [rw] responses_received_count
|
|
675
|
+
# @return [::Integer]
|
|
676
|
+
# Optional. How many responses were received in the window.
|
|
677
|
+
# @!attribute [rw] bytes_sent_count
|
|
678
|
+
# @return [::Integer]
|
|
679
|
+
# Optional. How many bytes were sent in the window.
|
|
680
|
+
# @!attribute [rw] window_start_time_epoch_millis
|
|
681
|
+
# @return [::Integer]
|
|
682
|
+
# Optional. Start time of the window interval for which these stats are
|
|
683
|
+
# aggregated, expressed in epoch milliseconds.
|
|
684
|
+
# @!attribute [rw] window_millis
|
|
685
|
+
# @return [::Integer]
|
|
686
|
+
# Optional. Duration of the window interval for which these stats are
|
|
687
|
+
# aggregated, expressed in milliseconds.
|
|
688
|
+
class WindowStats
|
|
689
|
+
include ::Google::Protobuf::MessageExts
|
|
690
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
691
|
+
end
|
|
692
|
+
end
|
|
614
693
|
end
|
|
615
694
|
end
|
|
616
695
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-bigquery-storage-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -37,9 +37,9 @@ dependencies:
|
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '1.0'
|
|
40
|
-
description:
|
|
41
|
-
Note that google-cloud-bigquery-storage-v1 is a version-specific
|
|
42
|
-
For most uses, we recommend installing the main client library google-cloud-bigquery-storage
|
|
40
|
+
description: google-cloud-bigquery-storage-v1 is the official client library for the
|
|
41
|
+
BigQuery Storage V1 API. Note that google-cloud-bigquery-storage-v1 is a version-specific
|
|
42
|
+
client library. For most uses, we recommend installing the main client library google-cloud-bigquery-storage
|
|
43
43
|
instead. See the readme for more details.
|
|
44
44
|
email: googleapis-packages@google.com
|
|
45
45
|
executables: []
|
|
@@ -59,11 +59,18 @@ files:
|
|
|
59
59
|
- lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb
|
|
60
60
|
- lib/google/cloud/bigquery/storage/v1/big_query_read/credentials.rb
|
|
61
61
|
- lib/google/cloud/bigquery/storage/v1/big_query_read/paths.rb
|
|
62
|
+
- lib/google/cloud/bigquery/storage/v1/big_query_read/rest.rb
|
|
63
|
+
- lib/google/cloud/bigquery/storage/v1/big_query_read/rest/client.rb
|
|
64
|
+
- lib/google/cloud/bigquery/storage/v1/big_query_read/rest/service_stub.rb
|
|
62
65
|
- lib/google/cloud/bigquery/storage/v1/big_query_write.rb
|
|
63
66
|
- lib/google/cloud/bigquery/storage/v1/big_query_write/client.rb
|
|
64
67
|
- lib/google/cloud/bigquery/storage/v1/big_query_write/credentials.rb
|
|
65
68
|
- lib/google/cloud/bigquery/storage/v1/big_query_write/paths.rb
|
|
69
|
+
- lib/google/cloud/bigquery/storage/v1/big_query_write/rest.rb
|
|
70
|
+
- lib/google/cloud/bigquery/storage/v1/big_query_write/rest/client.rb
|
|
71
|
+
- lib/google/cloud/bigquery/storage/v1/big_query_write/rest/service_stub.rb
|
|
66
72
|
- lib/google/cloud/bigquery/storage/v1/protobuf_pb.rb
|
|
73
|
+
- lib/google/cloud/bigquery/storage/v1/rest.rb
|
|
67
74
|
- lib/google/cloud/bigquery/storage/v1/storage_pb.rb
|
|
68
75
|
- lib/google/cloud/bigquery/storage/v1/storage_services_pb.rb
|
|
69
76
|
- lib/google/cloud/bigquery/storage/v1/stream_pb.rb
|