google-cloud-life_sciences-v2beta 0.1.1 → 0.1.2

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: 3571a02a3284b6632759c820b93691e6b7248bbd5acbea382146a3e16caaba45
4
- data.tar.gz: 4572e1a31852755bad925ed64edb25ca94e0d246e8c2ceff54dd82ad3b1ded04
3
+ metadata.gz: 29e937118cff724265b2c3ed8fcaf805b2a9603e88d34cb371f329db7805fddb
4
+ data.tar.gz: ea46d8267755fad79aa883114d5a2f3e59ddced32627ee5e263a80cde2ef1573
5
5
  SHA512:
6
- metadata.gz: ec89f639ea3757e261b7721b715a211ba647d1ad2a9fe155bee9fa68819007b0a91fbaf9f11c990e6aca4781e355aa71a8f6aec7e1a3576a04a7ea597884aa86
7
- data.tar.gz: 7fc641517418c34a3a990aa6645e7b5ad514c9d62533558237d5c09c1df1e0d9c643812751e8cb7d7093c6169c6e91547e526c8e782955b5ba6d59b3d5519e7e
6
+ metadata.gz: 0ea6751221f5a8130bbc3006b5f366d08d6eeef048abf4261442b3272cde67087d8c8ece20903e950158b6c44e178ca77c1880fec416338c83cb375918de7b3a
7
+ data.tar.gz: 8661927ee1c65ac8b8c0583ddd283a534125d271bc062fe257d20c951141a16484983f3fab974ba37127393477d300e8f7ab020258c9726274f8713405eef58b
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module LifeSciences
23
23
  module V2beta
24
- VERSION = "0.1.1"
24
+ VERSION = "0.1.2"
25
25
  end
26
26
  end
27
27
  end
@@ -40,13 +40,12 @@ module Google
40
40
  # See {::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client::Configuration}
41
41
  # for a description of the configuration fields.
42
42
  #
43
- # ## Example
43
+ # @example
44
44
  #
45
- # To modify the configuration for all WorkflowsService clients:
46
- #
47
- # ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.configure do |config|
48
- # config.timeout = 10.0
49
- # end
45
+ # # Modify the configuration for all WorkflowsService clients
46
+ # ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.configure do |config|
47
+ # config.timeout = 10.0
48
+ # end
50
49
  #
51
50
  # @yield [config] Configure the Client client.
52
51
  # @yieldparam config [Client::Configuration]
@@ -95,19 +94,15 @@ module Google
95
94
  ##
96
95
  # Create a new WorkflowsService client object.
97
96
  #
98
- # ## Examples
99
- #
100
- # To create a new WorkflowsService client with the default
101
- # configuration:
97
+ # @example
102
98
  #
103
- # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new
99
+ # # Create a client using the default configuration
100
+ # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new
104
101
  #
105
- # To create a new WorkflowsService client with a custom
106
- # configuration:
107
- #
108
- # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new do |config|
109
- # config.timeout = 10.0
110
- # end
102
+ # # Create a client using a custom configuration
103
+ # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new do |config|
104
+ # config.timeout = 10.0
105
+ # end
111
106
  #
112
107
  # @yield [config] Configure the WorkflowsService client.
113
108
  # @yieldparam config [Client::Configuration]
@@ -127,10 +122,9 @@ module Google
127
122
 
128
123
  # Create credentials
129
124
  credentials = @config.credentials
130
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
125
+ # Use self-signed JWT if the endpoint is unchanged from default,
131
126
  # but only if the default endpoint does not have a region prefix.
132
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
133
- @config.endpoint == Client.configure.endpoint &&
127
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
134
128
  !@config.endpoint.split(".").first.include?("-")
135
129
  credentials ||= Credentials.default scope: @config.scope,
136
130
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -248,7 +242,9 @@ module Google
248
242
  options.apply_defaults timeout: @config.rpcs.run_pipeline.timeout,
249
243
  metadata: metadata,
250
244
  retry_policy: @config.rpcs.run_pipeline.retry_policy
251
- options.apply_defaults metadata: @config.metadata,
245
+
246
+ options.apply_defaults timeout: @config.timeout,
247
+ metadata: @config.metadata,
252
248
  retry_policy: @config.retry_policy
253
249
 
254
250
  @workflows_service_stub.call_rpc :run_pipeline, request, options: options do |response, operation|
@@ -273,22 +269,21 @@ module Google
273
269
  # Configuration can be applied globally to all clients, or to a single client
274
270
  # on construction.
275
271
  #
276
- # # Examples
277
- #
278
- # To modify the global config, setting the timeout for run_pipeline
279
- # to 20 seconds, and all remaining timeouts to 10 seconds:
280
- #
281
- # ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.configure do |config|
282
- # config.timeout = 10.0
283
- # config.rpcs.run_pipeline.timeout = 20.0
284
- # end
285
- #
286
- # To apply the above configuration only to a new client:
287
- #
288
- # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new do |config|
289
- # config.timeout = 10.0
290
- # config.rpcs.run_pipeline.timeout = 20.0
291
- # end
272
+ # @example
273
+ #
274
+ # # Modify the global config, setting the timeout for
275
+ # # run_pipeline to 20 seconds,
276
+ # # and all remaining timeouts to 10 seconds.
277
+ # ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.configure do |config|
278
+ # config.timeout = 10.0
279
+ # config.rpcs.run_pipeline.timeout = 20.0
280
+ # end
281
+ #
282
+ # # Apply the above configuration only to a new client.
283
+ # client = ::Google::Cloud::LifeSciences::V2beta::WorkflowsService::Client.new do |config|
284
+ # config.timeout = 10.0
285
+ # config.rpcs.run_pipeline.timeout = 20.0
286
+ # end
292
287
  #
293
288
  # @!attribute [rw] endpoint
294
289
  # The hostname or hostname:port of the service endpoint.
@@ -169,7 +169,9 @@ module Google
169
169
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
170
170
  metadata: metadata,
171
171
  retry_policy: @config.rpcs.list_operations.retry_policy
172
- options.apply_defaults metadata: @config.metadata,
172
+
173
+ options.apply_defaults timeout: @config.timeout,
174
+ metadata: @config.metadata,
173
175
  retry_policy: @config.retry_policy
174
176
 
175
177
  @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
@@ -239,7 +241,9 @@ module Google
239
241
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
240
242
  metadata: metadata,
241
243
  retry_policy: @config.rpcs.get_operation.retry_policy
242
- options.apply_defaults metadata: @config.metadata,
244
+
245
+ options.apply_defaults timeout: @config.timeout,
246
+ metadata: @config.metadata,
243
247
  retry_policy: @config.retry_policy
244
248
 
245
249
  @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
@@ -309,7 +313,9 @@ module Google
309
313
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
310
314
  metadata: metadata,
311
315
  retry_policy: @config.rpcs.delete_operation.retry_policy
312
- options.apply_defaults metadata: @config.metadata,
316
+
317
+ options.apply_defaults timeout: @config.timeout,
318
+ metadata: @config.metadata,
313
319
  retry_policy: @config.retry_policy
314
320
 
315
321
  @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
@@ -384,7 +390,9 @@ module Google
384
390
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
385
391
  metadata: metadata,
386
392
  retry_policy: @config.rpcs.cancel_operation.retry_policy
387
- options.apply_defaults metadata: @config.metadata,
393
+
394
+ options.apply_defaults timeout: @config.timeout,
395
+ metadata: @config.metadata,
388
396
  retry_policy: @config.retry_policy
389
397
 
390
398
  @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
@@ -456,7 +464,9 @@ module Google
456
464
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
457
465
  metadata: metadata,
458
466
  retry_policy: @config.rpcs.wait_operation.retry_policy
459
- options.apply_defaults metadata: @config.metadata,
467
+
468
+ options.apply_defaults timeout: @config.timeout,
469
+ metadata: @config.metadata,
460
470
  retry_policy: @config.retry_policy
461
471
 
462
472
  @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
@@ -481,22 +491,21 @@ module Google
481
491
  # Configuration can be applied globally to all clients, or to a single client
482
492
  # on construction.
483
493
  #
484
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
493
- #
494
- # To apply the above configuration only to a new client:
495
- #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
499
- # end
494
+ # @example
495
+ #
496
+ # # Modify the global config, setting the timeout for
497
+ # # list_operations to 20 seconds,
498
+ # # and all remaining timeouts to 10 seconds.
499
+ # ::Google::Longrunning::Operations::Client.configure do |config|
500
+ # config.timeout = 10.0
501
+ # config.rpcs.list_operations.timeout = 20.0
502
+ # end
503
+ #
504
+ # # Apply the above configuration only to a new client.
505
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
506
+ # config.timeout = 10.0
507
+ # config.rpcs.list_operations.timeout = 20.0
508
+ # end
500
509
  #
501
510
  # @!attribute [rw] endpoint
502
511
  # The hostname or hostname:port of the service endpoint.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-life_sciences-v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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