google-cloud-bigquery-storage-v1 1.2.0 → 1.3.1

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: 42e9e16cd96ff478618f9cc75feaf9e07d835a967f2850a3e341040187fdcdfe
4
- data.tar.gz: 7b84d71a17d67f3fd6f2f095215764118dfe615e6e0a634cd9779e322f5aa41f
3
+ metadata.gz: 2f0be3fdd8efae30b7a70c4df91ad68adc6ac6cd20cc2eececc9829d95399a97
4
+ data.tar.gz: c1ac38c433a67cbbf67b306444a194d9c54d89c69b9cd69d7c1b348fd294a471
5
5
  SHA512:
6
- metadata.gz: 293911cf5a4c63d154d2ac1bd53cf93c0c9e9f98f610fcbe51cef92175399cd71593783014f5af05e0226cfbc1f47fcf2288291d14014e62230e2f596f4172f7
7
- data.tar.gz: db8b705fcd8d47175577bec0249aeeb1010b131ed506bc2961b0040c466d2ef284bac97baecc9ddafdde354fe3af4768685055b2805fcef2293bc08eb8e1a03a
6
+ metadata.gz: 7c3aa751d30bc344733c84d48909704927179370640dae1a8152990fee48b723e53f27d3318f76d561209cb6b1d83b03a09c709e423ce6cdfc9d1cc4c9ba60b0
7
+ data.tar.gz: a98dd0a723d9e301174369a0eeb749ff3e70df0f9ccf50bcef4fd1b579e710abd30b4b3df66bfcd021dee22eba3a373d152bcfbeb2c1ce771af9283b9e24309b
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -573,6 +573,13 @@ module Google
573
573
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
574
574
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
575
575
  # * (`nil`) indicating no credentials
576
+ #
577
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
578
+ # external source for authentication to Google Cloud, you must validate it before
579
+ # providing it to a Google API client library. Providing an unvalidated credential
580
+ # configuration to Google APIs can compromise the security of your systems and data.
581
+ # For more information, refer to [Validate credential configurations from external
582
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
576
583
  # @return [::Object]
577
584
  # @!attribute [rw] scope
578
585
  # The OAuth scopes
@@ -627,8 +634,8 @@ module Google
627
634
 
628
635
  config_attr :endpoint, nil, ::String, nil
629
636
  config_attr :credentials, nil do |value|
630
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
631
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
637
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
638
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
632
639
  allowed.any? { |klass| klass === value }
633
640
  end
634
641
  config_attr :scope, nil, ::String, ::Array, nil
@@ -828,6 +828,13 @@ module Google
828
828
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
829
829
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
830
830
  # * (`nil`) indicating no credentials
831
+ #
832
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
833
+ # external source for authentication to Google Cloud, you must validate it before
834
+ # providing it to a Google API client library. Providing an unvalidated credential
835
+ # configuration to Google APIs can compromise the security of your systems and data.
836
+ # For more information, refer to [Validate credential configurations from external
837
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
831
838
  # @return [::Object]
832
839
  # @!attribute [rw] scope
833
840
  # The OAuth scopes
@@ -882,8 +889,8 @@ module Google
882
889
 
883
890
  config_attr :endpoint, nil, ::String, nil
884
891
  config_attr :credentials, nil do |value|
885
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
886
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
892
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
893
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
887
894
  allowed.any? { |klass| klass === value }
888
895
  end
889
896
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Storage
24
24
  module V1
25
- VERSION = "1.2.0"
25
+ VERSION = "1.3.1"
26
26
  end
27
27
  end
28
28
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -118,9 +118,13 @@ module Google
118
118
  # @!attribute [rw] avro_rows
119
119
  # @return [::Google::Cloud::Bigquery::Storage::V1::AvroRows]
120
120
  # Serialized row data in AVRO format.
121
+ #
122
+ # Note: The following fields are mutually exclusive: `avro_rows`, `arrow_record_batch`. If a field in that set is populated, all other fields in the set will automatically be cleared.
121
123
  # @!attribute [rw] arrow_record_batch
122
124
  # @return [::Google::Cloud::Bigquery::Storage::V1::ArrowRecordBatch]
123
125
  # Serialized row data in Arrow RecordBatch format.
126
+ #
127
+ # Note: The following fields are mutually exclusive: `arrow_record_batch`, `avro_rows`. If a field in that set is populated, all other fields in the set will automatically be cleared.
124
128
  # @!attribute [rw] row_count
125
129
  # @return [::Integer]
126
130
  # Number of serialized rows in the rows block.
@@ -134,9 +138,13 @@ module Google
134
138
  # @!attribute [r] avro_schema
135
139
  # @return [::Google::Cloud::Bigquery::Storage::V1::AvroSchema]
136
140
  # Output only. Avro schema.
141
+ #
142
+ # Note: The following fields are mutually exclusive: `avro_schema`, `arrow_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
137
143
  # @!attribute [r] arrow_schema
138
144
  # @return [::Google::Cloud::Bigquery::Storage::V1::ArrowSchema]
139
145
  # Output only. Arrow schema.
146
+ #
147
+ # Note: The following fields are mutually exclusive: `arrow_schema`, `avro_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
140
148
  # @!attribute [rw] uncompressed_byte_size
141
149
  # @return [::Integer]
142
150
  # Optional. If the row data in this ReadRowsResponse is compressed, then
@@ -256,10 +264,14 @@ module Google
256
264
  # @!attribute [rw] proto_rows
257
265
  # @return [::Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest::ProtoData]
258
266
  # Rows in proto format.
267
+ #
268
+ # Note: The following fields are mutually exclusive: `proto_rows`, `arrow_rows`. If a field in that set is populated, all other fields in the set will automatically be cleared.
259
269
  # @!attribute [rw] arrow_rows
260
270
  # @return [::Google::Cloud::Bigquery::Storage::V1::AppendRowsRequest::ArrowData]
261
271
  # Rows in arrow format. This is an experimental feature only selected for
262
272
  # allowlisted customers.
273
+ #
274
+ # Note: The following fields are mutually exclusive: `arrow_rows`, `proto_rows`. If a field in that set is populated, all other fields in the set will automatically be cleared.
263
275
  # @!attribute [rw] trace_id
264
276
  # @return [::String]
265
277
  # Id set by client to annotate its identity. Only initial request setting is
@@ -366,6 +378,8 @@ module Google
366
378
  # @!attribute [rw] append_result
367
379
  # @return [::Google::Cloud::Bigquery::Storage::V1::AppendRowsResponse::AppendResult]
368
380
  # Result if the append is successful.
381
+ #
382
+ # Note: The following fields are mutually exclusive: `append_result`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
369
383
  # @!attribute [rw] error
370
384
  # @return [::Google::Rpc::Status]
371
385
  # Error returned when problems were encountered. If present,
@@ -388,6 +402,8 @@ module Google
388
402
  # request can be retried if previous failure is addressed.
389
403
  #
390
404
  # INTERNAL: Indicates server side error(s) that can be retried.
405
+ #
406
+ # Note: The following fields are mutually exclusive: `error`, `append_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
391
407
  # @!attribute [rw] updated_schema
392
408
  # @return [::Google::Cloud::Bigquery::Storage::V1::TableSchema]
393
409
  # If backend detects a schema update, pass it to user so that user can
@@ -40,9 +40,13 @@ module Google
40
40
  # @!attribute [r] avro_schema
41
41
  # @return [::Google::Cloud::Bigquery::Storage::V1::AvroSchema]
42
42
  # Output only. Avro schema.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `avro_schema`, `arrow_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [r] arrow_schema
44
46
  # @return [::Google::Cloud::Bigquery::Storage::V1::ArrowSchema]
45
47
  # Output only. Arrow schema.
48
+ #
49
+ # Note: The following fields are mutually exclusive: `arrow_schema`, `avro_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
50
  # @!attribute [rw] table
47
51
  # @return [::String]
48
52
  # Immutable. Table that this ReadSession is reading from, in the form
@@ -165,9 +169,13 @@ module Google
165
169
  # @!attribute [rw] arrow_serialization_options
166
170
  # @return [::Google::Cloud::Bigquery::Storage::V1::ArrowSerializationOptions]
167
171
  # Optional. Options specific to the Apache Arrow output format.
172
+ #
173
+ # Note: The following fields are mutually exclusive: `arrow_serialization_options`, `avro_serialization_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
168
174
  # @!attribute [rw] avro_serialization_options
169
175
  # @return [::Google::Cloud::Bigquery::Storage::V1::AvroSerializationOptions]
170
176
  # Optional. Options specific to the Apache Avro output format
177
+ #
178
+ # Note: The following fields are mutually exclusive: `avro_serialization_options`, `arrow_serialization_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
179
  # @!attribute [rw] sample_percentage
172
180
  # @return [::Float]
173
181
  # Optional. Specifies a table sampling percentage. Specifically, the query
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-storage-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -96,7 +95,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
96
95
  licenses:
97
96
  - Apache-2.0
98
97
  metadata: {}
99
- post_install_message:
100
98
  rdoc_options: []
101
99
  require_paths:
102
100
  - lib
@@ -104,15 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
- version: '2.7'
105
+ version: '3.0'
108
106
  required_rubygems_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
110
  version: '0'
113
111
  requirements: []
114
- rubygems_version: 3.5.23
115
- signing_key:
112
+ rubygems_version: 3.6.8
116
113
  specification_version: 4
117
114
  summary: API Client library for the BigQuery Storage V1 API
118
115
  test_files: []