google-cloud-bigquery-storage-v1 0.9.2 → 0.10.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: dd6247e85a5ffc569f96771fba5c9a3662c25fbd53e6f8e2e9adb7aee9480376
4
- data.tar.gz: 0b501022ceac5a5bf209143d5639eb229adaa604d2aeb7b591910642c20e3dd5
3
+ metadata.gz: 3a95d34616ffc1455f203b27be3825854e709526a5cfe3e4c72db03faa5351b2
4
+ data.tar.gz: 8af44f131742eaf8ce8f843d85509b7f89edfd5e4098a85770e78a537d1ab13a
5
5
  SHA512:
6
- metadata.gz: b0018a10cb61fd33add4559fc6cd7c2323d79dd70244ffdaa0ee45d9ab79ab4139f0563739868c8fcf8be9ee5810a3ecb1378955e992f024a784ca8a0ef7f64c
7
- data.tar.gz: 6f45f00046cb5b0723f7bfb214b5e7918ef5ecb151e0f3cc7768a2eeeb9fc1e0f1a4753cd89eb38208dc10552dbeb34bcaae3f49c774b1115c5ad91146935010
6
+ metadata.gz: 77d2465381c89df36bfebfb685ff9ba73f7f7f099c61996277e44d8ed37b0f922f11cebfd52cf6e143923d0935d39f62a24d0e473718faa27c8c0d489e1955ff
7
+ data.tar.gz: fe39b9210c5843f6e3ad6fc5f5aaa068139dff0f941681b0b0003defdd566a13ac773fb0e66e7fbfa351acbec535a0d65a2904f0ba29e87ff7a59fde9fdf87b4
@@ -306,6 +306,13 @@ module Google
306
306
  # finalized (via the `FinalizeWriteStream` rpc), and the stream is explicitly
307
307
  # committed via the `BatchCommitWriteStreams` rpc.
308
308
  #
309
+ # Note: For users coding against the gRPC api directly, it may be
310
+ # necessary to supply the x-goog-request-params system parameter
311
+ # with `write_stream=<full_write_stream_name>`.
312
+ #
313
+ # More information about system parameters:
314
+ # https://cloud.google.com/apis/docs/system-parameters
315
+ #
309
316
  # @param request [::Gapic::StreamInput, ::Enumerable<::Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest, ::Hash>]
310
317
  # An enumerable of {::Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest} instances.
311
318
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -121,6 +121,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
121
121
  value :INVALID_STREAM_STATE, 5
122
122
  value :STREAM_FINALIZED, 6
123
123
  value :SCHEMA_MISMATCH_EXTRA_FIELDS, 7
124
+ value :OFFSET_ALREADY_EXISTS, 8
125
+ value :OFFSET_OUT_OF_RANGE, 9
124
126
  end
125
127
  end
126
128
  end
@@ -134,6 +134,13 @@ module Google
134
134
  # * For PENDING streams, data is not made visible until the stream itself is
135
135
  # finalized (via the `FinalizeWriteStream` rpc), and the stream is explicitly
136
136
  # committed via the `BatchCommitWriteStreams` rpc.
137
+ #
138
+ # Note: For users coding against the gRPC api directly, it may be
139
+ # necessary to supply the x-goog-request-params system parameter
140
+ # with `write_stream=<full_write_stream_name>`.
141
+ #
142
+ # More information about system parameters:
143
+ # https://cloud.google.com/apis/docs/system-parameters
137
144
  rpc :AppendRows, stream(::Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest), stream(::Google::Cloud::Bigquery::Storage::V1::AppendRowsResponse)
138
145
  # Gets information about a write stream.
139
146
  rpc :GetWriteStream, ::Google::Cloud::Bigquery::Storage::V1::GetWriteStreamRequest, ::Google::Cloud::Bigquery::Storage::V1::WriteStream
@@ -20,6 +20,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  optional :read_options, :message, 8, "google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions"
21
21
  repeated :streams, :message, 10, "google.cloud.bigquery.storage.v1.ReadStream"
22
22
  optional :estimated_total_bytes_scanned, :int64, 12
23
+ optional :trace_id, :string, 13
23
24
  oneof :schema do
24
25
  optional :avro_schema, :message, 4, "google.cloud.bigquery.storage.v1.AvroSchema"
25
26
  optional :arrow_schema, :message, 5, "google.cloud.bigquery.storage.v1.ArrowSchema"
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Storage
24
24
  module V1
25
- VERSION = "0.9.2"
25
+ VERSION = "0.10.0"
26
26
  end
27
27
  end
28
28
  end
@@ -27,6 +27,8 @@ module Google
27
27
  ##
28
28
  # To load this package, including all its services, and instantiate a client:
29
29
  #
30
+ # @example
31
+ #
30
32
  # require "google/cloud/bigquery/storage/v1"
31
33
  # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new
32
34
  #
@@ -189,10 +189,12 @@ module Google
189
189
  # request.
190
190
  #
191
191
  # For explicitly created write streams, the format is:
192
- # `projects/{project}/datasets/{dataset}/tables/{table}/streams/{id}`
192
+ #
193
+ # * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{id}`
193
194
  #
194
195
  # For the special default stream, the format is:
195
- # `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
196
+ #
197
+ # * `projects/{project}/datasets/{dataset}/tables/{table}/streams/_default`.
196
198
  # @!attribute [rw] offset
197
199
  # @return [::Google::Protobuf::Int64Value]
198
200
  # If present, the write is only performed if the next append offset is same
@@ -403,6 +405,12 @@ module Google
403
405
  # There is a schema mismatch and it is caused by user schema has extra
404
406
  # field than bigquery schema.
405
407
  SCHEMA_MISMATCH_EXTRA_FIELDS = 7
408
+
409
+ # Offset already exists.
410
+ OFFSET_ALREADY_EXISTS = 8
411
+
412
+ # Offset out of range.
413
+ OFFSET_OUT_OF_RANGE = 9
406
414
  end
407
415
  end
408
416
  end
@@ -64,6 +64,14 @@ module Google
64
64
  # Output only. An estimate on the number of bytes this session will scan when
65
65
  # all streams are completely consumed. This estimate is based on
66
66
  # metadata from the table which might be incomplete or stale.
67
+ # @!attribute [rw] trace_id
68
+ # @return [::String]
69
+ # Optional. ID set by client to annotate a session identity. This does not need
70
+ # to be strictly unique, but instead the same ID should be used to group
71
+ # logically connected sessions (e.g. All using the same ID for all sessions
72
+ # needed to complete a Spark SQL query is reasonable).
73
+ #
74
+ # Maximum length is 256 bytes.
67
75
  class ReadSession
68
76
  include ::Google::Protobuf::MessageExts
69
77
  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.9.2
4
+ version: 0.10.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-02-18 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common