google-cloud-bigquery-storage-v1 0.6.2 → 0.6.3

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: f3ee48f556489873d73de342f983d552d7f613f35581cd047a83561f6a6ab5e6
4
- data.tar.gz: dbbab82846fa82748b9bc9a0c020ee1b3d5ad5800f4da8eb67f90bd9658a59cc
3
+ metadata.gz: 9de5bdc6e2bb433b3937deeb7df241e3b56afda6e2c44aeb3c551124132cc4bf
4
+ data.tar.gz: b6dc331ed903776ddb7c3a59ddc558603a10193e34305c46278f7e57883bc869
5
5
  SHA512:
6
- metadata.gz: fefd9b92ca5b6f42eafbe4768dfbc30429efebfedef044a4291202f99bb85729425a7c322a30598643c07f40c832a0a476cc4a691d2edd449a743416e9a36918
7
- data.tar.gz: 94a98be8ec85dd24f7bcfecfd555e6a669b0a3df525341bf5fe56f52eaa222adfb790c680d2894896c547c1faed85b6e7013ae4873c6b6cbb720be0eef143f40
6
+ metadata.gz: ff07ccb1cb7aef1abf61e4fc74ec34303f99f6bbb660d9e83d31fe997756fe520bf0190cc3abe3f4b18748ef6919025ad3bd4220093b90dd28d4f173c08c2acd
7
+ data.tar.gz: bad37ed54b9af037aa4536603f9e4a325d0611ce3932fe8ee2b22bf106c547a4f75a9d5ff3e1025f4deac1b6c50d31ae9edac208e9c8cddd9017d6539b885e52
@@ -44,13 +44,12 @@ module Google
44
44
  # See {::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client::Configuration}
45
45
  # for a description of the configuration fields.
46
46
  #
47
- # ## Example
47
+ # @example
48
48
  #
49
- # To modify the configuration for all BigQueryRead clients:
50
- #
51
- # ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.configure do |config|
52
- # config.timeout = 10.0
53
- # end
49
+ # # Modify the configuration for all BigQueryRead clients
50
+ # ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.configure do |config|
51
+ # config.timeout = 10.0
52
+ # end
54
53
  #
55
54
  # @yield [config] Configure the Client client.
56
55
  # @yieldparam config [Client::Configuration]
@@ -112,19 +111,15 @@ module Google
112
111
  ##
113
112
  # Create a new BigQueryRead client object.
114
113
  #
115
- # ## Examples
116
- #
117
- # To create a new BigQueryRead client with the default
118
- # configuration:
119
- #
120
- # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new
114
+ # @example
121
115
  #
122
- # To create a new BigQueryRead client with a custom
123
- # configuration:
116
+ # # Create a client using the default configuration
117
+ # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new
124
118
  #
125
- # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new do |config|
126
- # config.timeout = 10.0
127
- # end
119
+ # # Create a client using a custom configuration
120
+ # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new do |config|
121
+ # config.timeout = 10.0
122
+ # end
128
123
  #
129
124
  # @yield [config] Configure the BigQueryRead client.
130
125
  # @yieldparam config [Client::Configuration]
@@ -144,10 +139,9 @@ module Google
144
139
 
145
140
  # Create credentials
146
141
  credentials = @config.credentials
147
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
142
+ # Use self-signed JWT if the endpoint is unchanged from default,
148
143
  # but only if the default endpoint does not have a region prefix.
149
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
150
- @config.endpoint == Client.configure.endpoint &&
144
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
151
145
  !@config.endpoint.split(".").first.include?("-")
152
146
  credentials ||= Credentials.default scope: @config.scope,
153
147
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -253,7 +247,9 @@ module Google
253
247
  options.apply_defaults timeout: @config.rpcs.create_read_session.timeout,
254
248
  metadata: metadata,
255
249
  retry_policy: @config.rpcs.create_read_session.retry_policy
256
- options.apply_defaults metadata: @config.metadata,
250
+
251
+ options.apply_defaults timeout: @config.timeout,
252
+ metadata: @config.metadata,
257
253
  retry_policy: @config.retry_policy
258
254
 
259
255
  @big_query_read_stub.call_rpc :create_read_session, request, options: options do |response, operation|
@@ -329,7 +325,9 @@ module Google
329
325
  options.apply_defaults timeout: @config.rpcs.read_rows.timeout,
330
326
  metadata: metadata,
331
327
  retry_policy: @config.rpcs.read_rows.retry_policy
332
- options.apply_defaults metadata: @config.metadata,
328
+
329
+ options.apply_defaults timeout: @config.timeout,
330
+ metadata: @config.metadata,
333
331
  retry_policy: @config.retry_policy
334
332
 
335
333
  @big_query_read_stub.call_rpc :read_rows, request, options: options do |response, operation|
@@ -414,7 +412,9 @@ module Google
414
412
  options.apply_defaults timeout: @config.rpcs.split_read_stream.timeout,
415
413
  metadata: metadata,
416
414
  retry_policy: @config.rpcs.split_read_stream.retry_policy
417
- options.apply_defaults metadata: @config.metadata,
415
+
416
+ options.apply_defaults timeout: @config.timeout,
417
+ metadata: @config.metadata,
418
418
  retry_policy: @config.retry_policy
419
419
 
420
420
  @big_query_read_stub.call_rpc :split_read_stream, request, options: options do |response, operation|
@@ -438,22 +438,21 @@ module Google
438
438
  # Configuration can be applied globally to all clients, or to a single client
439
439
  # on construction.
440
440
  #
441
- # # Examples
442
- #
443
- # To modify the global config, setting the timeout for create_read_session
444
- # to 20 seconds, and all remaining timeouts to 10 seconds:
445
- #
446
- # ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.configure do |config|
447
- # config.timeout = 10.0
448
- # config.rpcs.create_read_session.timeout = 20.0
449
- # end
450
- #
451
- # To apply the above configuration only to a new client:
452
- #
453
- # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new do |config|
454
- # config.timeout = 10.0
455
- # config.rpcs.create_read_session.timeout = 20.0
456
- # end
441
+ # @example
442
+ #
443
+ # # Modify the global config, setting the timeout for
444
+ # # create_read_session to 20 seconds,
445
+ # # and all remaining timeouts to 10 seconds.
446
+ # ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.configure do |config|
447
+ # config.timeout = 10.0
448
+ # config.rpcs.create_read_session.timeout = 20.0
449
+ # end
450
+ #
451
+ # # Apply the above configuration only to a new client.
452
+ # client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new do |config|
453
+ # config.timeout = 10.0
454
+ # config.rpcs.create_read_session.timeout = 20.0
455
+ # end
457
456
  #
458
457
  # @!attribute [rw] endpoint
459
458
  # The hostname or hostname:port of the service endpoint.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Storage
24
24
  module V1
25
- VERSION = "0.6.2"
25
+ VERSION = "0.6.3"
26
26
  end
27
27
  end
28
28
  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.6.2
4
+ version: 0.6.3
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-07-12 00:00:00.000000000 Z
11
+ date: 2021-08-11 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.5'
19
+ version: '0.7'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a