google-cloud-bigquery-storage-v1 0.8.1 → 0.9.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: 3321ce1006bfab7c7513dedf48c006e0f30a930a0b2bc5e1ae9dfe775dd276d4
|
4
|
+
data.tar.gz: dc10dc964e656decaa880405ec57ce0aa2c61edef92cf29f897b252d8a1ba815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa4151bc016d5daea090d012dc307b73dc05dd4006c760b42e330ec0267c075dbc2aaefc989ad1dda861e967c94b1eafa38fc2fe62fb50f54ae8d2dd74cb5b60
|
7
|
+
data.tar.gz: ee14302ce6f9129d58897a79ac7e5d1eb6c13dd3a21c9d5e2edfbd062122653b2bdc4ac4d93b3ea23b0467b0e77c60658fffd16279b3000c9a6d57b6c8bbad69
|
@@ -44,6 +44,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
44
44
|
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
45
45
|
optional :commit_time, :message, 4, "google.protobuf.Timestamp"
|
46
46
|
optional :table_schema, :message, 5, "google.cloud.bigquery.storage.v1.TableSchema"
|
47
|
+
optional :write_mode, :enum, 7, "google.cloud.bigquery.storage.v1.WriteStream.WriteMode"
|
47
48
|
end
|
48
49
|
add_enum "google.cloud.bigquery.storage.v1.WriteStream.Type" do
|
49
50
|
value :TYPE_UNSPECIFIED, 0
|
@@ -51,6 +52,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
52
|
value :PENDING, 2
|
52
53
|
value :BUFFERED, 3
|
53
54
|
end
|
55
|
+
add_enum "google.cloud.bigquery.storage.v1.WriteStream.WriteMode" do
|
56
|
+
value :WRITE_MODE_UNSPECIFIED, 0
|
57
|
+
value :INSERT, 1
|
58
|
+
end
|
54
59
|
add_enum "google.cloud.bigquery.storage.v1.DataFormat" do
|
55
60
|
value :DATA_FORMAT_UNSPECIFIED, 0
|
56
61
|
value :AVRO, 1
|
@@ -70,6 +75,7 @@ module Google
|
|
70
75
|
ReadStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.ReadStream").msgclass
|
71
76
|
WriteStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.WriteStream").msgclass
|
72
77
|
WriteStream::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.WriteStream.Type").enummodule
|
78
|
+
WriteStream::WriteMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.WriteStream.WriteMode").enummodule
|
73
79
|
DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.DataFormat").enummodule
|
74
80
|
end
|
75
81
|
end
|
@@ -141,6 +141,9 @@ module Google
|
|
141
141
|
# `CreateWriteStream` response. Caller should generate data that's
|
142
142
|
# compatible with this schema to send in initial `AppendRowsRequest`.
|
143
143
|
# The table schema could go out of date during the life time of the stream.
|
144
|
+
# @!attribute [rw] write_mode
|
145
|
+
# @return [::Google::Cloud::Bigquery::Storage::V1::WriteStream::WriteMode]
|
146
|
+
# Immutable. Mode of the stream.
|
144
147
|
class WriteStream
|
145
148
|
include ::Google::Protobuf::MessageExts
|
146
149
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -160,6 +163,16 @@ module Google
|
|
160
163
|
# Data is only visible up to the offset to which it was flushed.
|
161
164
|
BUFFERED = 3
|
162
165
|
end
|
166
|
+
|
167
|
+
# Mode enum of the stream.
|
168
|
+
module WriteMode
|
169
|
+
# Unknown type.
|
170
|
+
WRITE_MODE_UNSPECIFIED = 0
|
171
|
+
|
172
|
+
# Insert new records into the table.
|
173
|
+
# It is the default value if customers do not specify it.
|
174
|
+
INSERT = 1
|
175
|
+
end
|
163
176
|
end
|
164
177
|
|
165
178
|
# Data format for input or output data.
|
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.9.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: 2021-
|
11
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|