google-cloud-bigquery-storage-v1 0.14.0 → 0.15.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: 6eb514d8a87f950d7333d8a24f08ba2e8e5710fdbe055f890bea49f3b742b0a4
4
- data.tar.gz: cd8f0057d5ad2da143516f146c04c208e6f219f29fef22271d26be21d7e08b2e
3
+ metadata.gz: 0abc8b859be6c644255db082774e841e2489e7b24ed7035cb7471cf9f163fd9c
4
+ data.tar.gz: f9ee0a03278e1d077608a5ccca9d76083b7fa3ef994e8dd2c0618b6d636105ed
5
5
  SHA512:
6
- metadata.gz: c521cfb6d963a905aa31e3f213220c1c5dd939ac8c42d78a630f0f3f6c41656c7e17f3c4446e6ea1c8bec8356390697288670ffd1c637fc9144607ef199df9a2
7
- data.tar.gz: adae465e4f76681dacefd2fd7057c0a972beb7053b236a3bfec484b48371477469e700b2c030b8434bc6e030716ce3962143cc6965929f67f4b2d433402c8d52
6
+ metadata.gz: ebab73bb11c6015e4fc2912926dd9bb23e746e63eaaa5452db60d5b0a2301ab7437db54e15e2578f35d3b18ac73cac6cde1569e74352bab072e2b8c2e6d1db21
7
+ data.tar.gz: 7ad7a13d18b4385c8676414e5172fb90a8b8d4d6908bbfdbc48b9a6e4befb0bd2b1c6d8a5d7e8b4fee0d1e39efd8b48f09e92ed6698bf61f4a8664064a5fddd4
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -401,7 +401,7 @@ module Google
401
401
  # @param options [::Gapic::CallOptions, ::Hash]
402
402
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
403
403
  #
404
- # @overload get_write_stream(name: nil)
404
+ # @overload get_write_stream(name: nil, view: nil)
405
405
  # Pass arguments to `get_write_stream` via keyword arguments. Note that at
406
406
  # least one keyword argument is required. To specify no parameters, or to keep all
407
407
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -409,6 +409,9 @@ module Google
409
409
  # @param name [::String]
410
410
  # Required. Name of the stream to get, in the form of
411
411
  # `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
412
+ # @param view [::Google::Cloud::Bigquery::Storage::V1::WriteStreamView]
413
+ # Indicates whether to get full or partial view of the WriteStream. If
414
+ # not set, view returned will be basic.
412
415
  #
413
416
  # @yield [response, operation] Access the result along with the RPC operation
414
417
  # @yieldparam response [::Google::Cloud::Bigquery::Storage::V1::WriteStream]
@@ -89,6 +89,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
89
89
  end
90
90
  add_message "google.cloud.bigquery.storage.v1.GetWriteStreamRequest" do
91
91
  optional :name, :string, 1
92
+ optional :view, :enum, 3, "google.cloud.bigquery.storage.v1.WriteStreamView"
92
93
  end
93
94
  add_message "google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest" do
94
95
  optional :parent, :string, 1
@@ -48,6 +48,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
48
48
  optional :commit_time, :message, 4, "google.protobuf.Timestamp"
49
49
  optional :table_schema, :message, 5, "google.cloud.bigquery.storage.v1.TableSchema"
50
50
  optional :write_mode, :enum, 7, "google.cloud.bigquery.storage.v1.WriteStream.WriteMode"
51
+ optional :location, :string, 8
51
52
  end
52
53
  add_enum "google.cloud.bigquery.storage.v1.WriteStream.Type" do
53
54
  value :TYPE_UNSPECIFIED, 0
@@ -64,6 +65,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
65
  value :AVRO, 1
65
66
  value :ARROW, 2
66
67
  end
68
+ add_enum "google.cloud.bigquery.storage.v1.WriteStreamView" do
69
+ value :WRITE_STREAM_VIEW_UNSPECIFIED, 0
70
+ value :BASIC, 1
71
+ value :FULL, 2
72
+ end
67
73
  end
68
74
  end
69
75
 
@@ -80,6 +86,7 @@ module Google
80
86
  WriteStream::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.WriteStream.Type").enummodule
81
87
  WriteStream::WriteMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.WriteStream.WriteMode").enummodule
82
88
  DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.DataFormat").enummodule
89
+ WriteStreamView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.storage.v1.WriteStreamView").enummodule
83
90
  end
84
91
  end
85
92
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Storage
24
24
  module V1
25
- VERSION = "0.14.0"
25
+ VERSION = "0.15.0"
26
26
  end
27
27
  end
28
28
  end
@@ -306,6 +306,10 @@ module Google
306
306
  # @return [::String]
307
307
  # Required. Name of the stream to get, in the form of
308
308
  # `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
309
+ # @!attribute [rw] view
310
+ # @return [::Google::Cloud::Bigquery::Storage::V1::WriteStreamView]
311
+ # Indicates whether to get full or partial view of the WriteStream. If
312
+ # not set, view returned will be basic.
309
313
  class GetWriteStreamRequest
310
314
  include ::Google::Protobuf::MessageExts
311
315
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -198,6 +198,11 @@ module Google
198
198
  # @!attribute [rw] write_mode
199
199
  # @return [::Google::Cloud::Bigquery::Storage::V1::WriteStream::WriteMode]
200
200
  # Immutable. Mode of the stream.
201
+ # @!attribute [rw] location
202
+ # @return [::String]
203
+ # Immutable. The geographic location where the stream's dataset resides. See
204
+ # https://cloud.google.com/bigquery/docs/locations for supported
205
+ # locations.
201
206
  class WriteStream
202
207
  include ::Google::Protobuf::MessageExts
203
208
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -242,6 +247,23 @@ module Google
242
247
  # See https://arrow.apache.org/ for more details.
243
248
  ARROW = 2
244
249
  end
250
+
251
+ # WriteStreamView is a view enum that controls what details about a write
252
+ # stream should be returned.
253
+ module WriteStreamView
254
+ # The default / unset value.
255
+ WRITE_STREAM_VIEW_UNSPECIFIED = 0
256
+
257
+ # The BASIC projection returns basic metadata about a write stream. The
258
+ # basic view does not include schema information. This is the default view
259
+ # returned by GetWriteStream.
260
+ BASIC = 1
261
+
262
+ # The FULL projection returns all available write stream metadata, including
263
+ # the schema. CreateWriteStream returns the full projection of write stream
264
+ # metadata.
265
+ FULL = 2
266
+ end
245
267
  end
246
268
  end
247
269
  end
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.14.0
4
+ version: 0.15.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-08-18 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common