google-cloud-bigquery-storage-v1 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9041851c373718175111413b2e1125660d22bcc2ca78bb0d46bf97ad75866661
4
- data.tar.gz: 771714ee33b98b3750ff14a38295b1156c59011ce18fc46664aa54152e798a64
3
+ metadata.gz: 3bf502ff137eb32c42f1c3886398c54f31ff15dfa6666c6286632b0235776574
4
+ data.tar.gz: 830ffcd051c2ca5934baf1f71c8686294b0f11a7a58a71393f95bf13ed7a4190
5
5
  SHA512:
6
- metadata.gz: 89db88a25bb273beee8ba6dcedae7231c2ee4906a240c1ec2505fbd81e6196bb737879f37150a235cd7e378ef07b4b2a759b317af9a8e365d776d27025a8cfbb
7
- data.tar.gz: 5c3f7a8acc54d45b82d2d5786dc08431d7b090f41ed7681f795899d3a747e3a16332aec2f8fcc2090fa1c060cdbbe003fc5c8e78246dd38c18b452c4358ec8b6
6
+ metadata.gz: 8747321713667c4a27420608af7b15dd230f58b0aa63b158973713dfe8a9db5c54232ea2c19e530c62421602366077c22bdaaf50fe612267c43bbc374de8533d
7
+ data.tar.gz: ec6716922908c2053bfd2405880ecac28a7c4486f6d93b9def7260031e087d95aa6772d32e073864c1ae10d9acc412052f7565d51d098548496ede14ad5b3ddc
data/README.md CHANGED
@@ -76,14 +76,14 @@ 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.5+.
79
+ This library is supported on Ruby 2.6+.
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
83
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
84
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
85
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
86
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
87
87
 
88
88
  ## Which client should I use?
89
89
 
@@ -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]
@@ -70,9 +70,9 @@ module Google
70
70
  end
71
71
  default_config = Client::Configuration.new parent_config
72
72
 
73
- default_config.rpcs.create_write_stream.timeout = 600.0
73
+ default_config.rpcs.create_write_stream.timeout = 1200.0
74
74
  default_config.rpcs.create_write_stream.retry_policy = {
75
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
75
+ initial_delay: 10.0, max_delay: 120.0, multiplier: 1.3, retry_codes: [4, 14, 8]
76
76
  }
77
77
 
78
78
  default_config.rpcs.append_rows.timeout = 86_400.0
@@ -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"
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Storage
24
24
  module V1
25
- VERSION = "0.11.0"
25
+ VERSION = "0.13.0"
26
26
  end
27
27
  end
28
28
  end
@@ -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.11.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-06-22 00:00:00.000000000 Z
11
+ date: 2022-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.10'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -212,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
- version: '2.5'
215
+ version: '2.6'
216
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
218
  - - ">="