google-cloud-bigquery-storage-v1 0.12.0 → 0.13.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: 3bf502ff137eb32c42f1c3886398c54f31ff15dfa6666c6286632b0235776574
|
4
|
+
data.tar.gz: 830ffcd051c2ca5934baf1f71c8686294b0f11a7a58a71393f95bf13ed7a4190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8747321713667c4a27420608af7b15dd230f58b0aa63b158973713dfe8a9db5c54232ea2c19e530c62421602366077c22bdaaf50fe612267c43bbc374de8533d
|
7
|
+
data.tar.gz: ec6716922908c2053bfd2405880ecac28a7c4486f6d93b9def7260031e087d95aa6772d32e073864c1ae10d9acc412052f7565d51d098548496ede14ad5b3ddc
|
@@ -193,7 +193,7 @@ module Google
|
|
193
193
|
# @param options [::Gapic::CallOptions, ::Hash]
|
194
194
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
195
195
|
#
|
196
|
-
# @overload create_read_session(parent: nil, read_session: nil, max_stream_count: nil)
|
196
|
+
# @overload create_read_session(parent: nil, read_session: nil, max_stream_count: nil, preferred_min_stream_count: nil)
|
197
197
|
# Pass arguments to `create_read_session` via keyword arguments. Note that at
|
198
198
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
199
199
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -214,6 +214,15 @@ module Google
|
|
214
214
|
# Typically, clients should either leave this unset to let the system to
|
215
215
|
# determine an upper bound OR set this a size for the maximum "units of work"
|
216
216
|
# it can gracefully handle.
|
217
|
+
# @param preferred_min_stream_count [::Integer]
|
218
|
+
# The minimum preferred stream count. This parameter can be used to inform
|
219
|
+
# the service that there is a desired lower bound on the number of streams.
|
220
|
+
# This is typically a target parallelism of the client (e.g. a Spark
|
221
|
+
# cluster with N-workers would set this to a low multiple of N to ensure
|
222
|
+
# good cluster utilization).
|
223
|
+
#
|
224
|
+
# The system will make a best effort to provide at least this number of
|
225
|
+
# streams, but in some cases might provide less.
|
217
226
|
#
|
218
227
|
# @yield [response, operation] Access the result along with the RPC operation
|
219
228
|
# @yieldparam response [::Google::Cloud::Bigquery::Storage::V1::ReadSession]
|
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
22
|
optional :parent, :string, 1
|
23
23
|
optional :read_session, :message, 2, "google.cloud.bigquery.storage.v1.ReadSession"
|
24
24
|
optional :max_stream_count, :int32, 3
|
25
|
+
optional :preferred_min_stream_count, :int32, 4
|
25
26
|
end
|
26
27
|
add_message "google.cloud.bigquery.storage.v1.ReadRowsRequest" do
|
27
28
|
optional :read_stream, :string, 1
|
@@ -77,6 +78,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
77
78
|
add_message "google.cloud.bigquery.storage.v1.AppendRowsResponse" do
|
78
79
|
optional :updated_schema, :message, 3, "google.cloud.bigquery.storage.v1.TableSchema"
|
79
80
|
repeated :row_errors, :message, 4, "google.cloud.bigquery.storage.v1.RowError"
|
81
|
+
optional :write_stream, :string, 5
|
80
82
|
oneof :response do
|
81
83
|
optional :append_result, :message, 1, "google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult"
|
82
84
|
optional :error, :message, 2, "google.rpc.Status"
|
@@ -42,6 +42,16 @@ module Google
|
|
42
42
|
# Typically, clients should either leave this unset to let the system to
|
43
43
|
# determine an upper bound OR set this a size for the maximum "units of work"
|
44
44
|
# it can gracefully handle.
|
45
|
+
# @!attribute [rw] preferred_min_stream_count
|
46
|
+
# @return [::Integer]
|
47
|
+
# The minimum preferred stream count. This parameter can be used to inform
|
48
|
+
# the service that there is a desired lower bound on the number of streams.
|
49
|
+
# This is typically a target parallelism of the client (e.g. a Spark
|
50
|
+
# cluster with N-workers would set this to a low multiple of N to ensure
|
51
|
+
# good cluster utilization).
|
52
|
+
#
|
53
|
+
# The system will make a best effort to provide at least this number of
|
54
|
+
# streams, but in some cases might provide less.
|
45
55
|
class CreateReadSessionRequest
|
46
56
|
include ::Google::Protobuf::MessageExts
|
47
57
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -183,6 +193,9 @@ module Google
|
|
183
193
|
# Due to the nature of AppendRows being a bidirectional streaming RPC, certain
|
184
194
|
# parts of the AppendRowsRequest need only be specified for the first request
|
185
195
|
# sent each time the gRPC network connection is opened/reopened.
|
196
|
+
#
|
197
|
+
# The size of a single AppendRowsRequest must be less than 10 MB in size.
|
198
|
+
# Requests larger than this return an error, typically `INVALID_ARGUMENT`.
|
186
199
|
# @!attribute [rw] write_stream
|
187
200
|
# @return [::String]
|
188
201
|
# Required. The write_stream identifies the target of the append operation, and only
|
@@ -269,6 +282,10 @@ module Google
|
|
269
282
|
# If a request failed due to corrupted rows, no rows in the batch will be
|
270
283
|
# appended. The API will return row level error info, so that the caller can
|
271
284
|
# remove the bad rows and retry the request.
|
285
|
+
# @!attribute [rw] write_stream
|
286
|
+
# @return [::String]
|
287
|
+
# The target of the append operation. Matches the write_stream in the
|
288
|
+
# corresponding request.
|
272
289
|
class AppendRowsResponse
|
273
290
|
include ::Google::Protobuf::MessageExts
|
274
291
|
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: 0.13.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: 2022-07-
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|