google-cloud-workflows-executions-v1beta 0.3.2 → 0.3.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: c6cd719d64b953cc42b467c6371b19131207cee7c678adecfa1c81a1fafcfa77
4
- data.tar.gz: d6a226762fdf504bc6649a1899da8308b1a9307c8d4177ce3748c1a69cf02a42
3
+ metadata.gz: a0635efb3755a1fae706ee774fe75aeb7f298ae745b7a46bc1cd1c6e20468116
4
+ data.tar.gz: 24f3033ec05c7b235e08fe1ad91018a053e925dc0de1be8b93ac473ece0eaa7a
5
5
  SHA512:
6
- metadata.gz: 3ed7111c6662c157e41c51b7408f3f33ad12c8592007eb8728d53a9c8d7c5c57c30d5718ba181d1f929e65a4b0e57dcf7f7b2ab8532f52119940baf637e8e2ce
7
- data.tar.gz: 98d6f0b3d063979db9a2c02f04540f2c1e6d3e738dde3da431dde2ae6184efa2a7367cc512a7d5f2c6c89e3163d5dcd25d74183e25ca2708f7ea85c6232e196f
6
+ metadata.gz: 98d83c42121151881d8619b1ac0e51322c2b9b689527d92dbadd84b7a3d16e3fc28d8013fe1290c3d45fb099c025332744003f22c853bc59d7d76e312726cf16
7
+ data.tar.gz: edf1447d41b015cc04a216b190f7e60dde553acb6f2b768fc1689b09cbfbedb358e5f545381fec41e4c8c98f8740f06e8fc267cd659ac7cd7259bbb01a1ce079
@@ -43,13 +43,12 @@ module Google
43
43
  # See {::Google::Cloud::Workflows::Executions::V1beta::Executions::Client::Configuration}
44
44
  # for a description of the configuration fields.
45
45
  #
46
- # ## Example
46
+ # @example
47
47
  #
48
- # To modify the configuration for all Executions clients:
49
- #
50
- # ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.configure do |config|
51
- # config.timeout = 10.0
52
- # end
48
+ # # Modify the configuration for all Executions clients
49
+ # ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.configure do |config|
50
+ # config.timeout = 10.0
51
+ # end
53
52
  #
54
53
  # @yield [config] Configure the Client client.
55
54
  # @yieldparam config [Client::Configuration]
@@ -96,19 +95,15 @@ module Google
96
95
  ##
97
96
  # Create a new Executions client object.
98
97
  #
99
- # ## Examples
100
- #
101
- # To create a new Executions client with the default
102
- # configuration:
103
- #
104
- # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
98
+ # @example
105
99
  #
106
- # To create a new Executions client with a custom
107
- # configuration:
100
+ # # Create a client using the default configuration
101
+ # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
108
102
  #
109
- # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
110
- # config.timeout = 10.0
111
- # end
103
+ # # Create a client using a custom configuration
104
+ # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
105
+ # config.timeout = 10.0
106
+ # end
112
107
  #
113
108
  # @yield [config] Configure the Executions client.
114
109
  # @yieldparam config [Client::Configuration]
@@ -128,10 +123,9 @@ module Google
128
123
 
129
124
  # Create credentials
130
125
  credentials = @config.credentials
131
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
126
+ # Use self-signed JWT if the endpoint is unchanged from default,
132
127
  # but only if the default endpoint does not have a region prefix.
133
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
134
- @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
135
129
  !@config.endpoint.split(".").first.include?("-")
136
130
  credentials ||= Credentials.default scope: @config.scope,
137
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -226,7 +220,9 @@ module Google
226
220
  options.apply_defaults timeout: @config.rpcs.list_executions.timeout,
227
221
  metadata: metadata,
228
222
  retry_policy: @config.rpcs.list_executions.retry_policy
229
- options.apply_defaults metadata: @config.metadata,
223
+
224
+ options.apply_defaults timeout: @config.timeout,
225
+ metadata: @config.metadata,
230
226
  retry_policy: @config.retry_policy
231
227
 
232
228
  @executions_stub.call_rpc :list_executions, request, options: options do |response, operation|
@@ -297,7 +293,9 @@ module Google
297
293
  options.apply_defaults timeout: @config.rpcs.create_execution.timeout,
298
294
  metadata: metadata,
299
295
  retry_policy: @config.rpcs.create_execution.retry_policy
300
- options.apply_defaults metadata: @config.metadata,
296
+
297
+ options.apply_defaults timeout: @config.timeout,
298
+ metadata: @config.metadata,
301
299
  retry_policy: @config.retry_policy
302
300
 
303
301
  @executions_stub.call_rpc :create_execution, request, options: options do |response, operation|
@@ -368,7 +366,9 @@ module Google
368
366
  options.apply_defaults timeout: @config.rpcs.get_execution.timeout,
369
367
  metadata: metadata,
370
368
  retry_policy: @config.rpcs.get_execution.retry_policy
371
- options.apply_defaults metadata: @config.metadata,
369
+
370
+ options.apply_defaults timeout: @config.timeout,
371
+ metadata: @config.metadata,
372
372
  retry_policy: @config.retry_policy
373
373
 
374
374
  @executions_stub.call_rpc :get_execution, request, options: options do |response, operation|
@@ -436,7 +436,9 @@ module Google
436
436
  options.apply_defaults timeout: @config.rpcs.cancel_execution.timeout,
437
437
  metadata: metadata,
438
438
  retry_policy: @config.rpcs.cancel_execution.retry_policy
439
- options.apply_defaults metadata: @config.metadata,
439
+
440
+ options.apply_defaults timeout: @config.timeout,
441
+ metadata: @config.metadata,
440
442
  retry_policy: @config.retry_policy
441
443
 
442
444
  @executions_stub.call_rpc :cancel_execution, request, options: options do |response, operation|
@@ -460,22 +462,21 @@ module Google
460
462
  # Configuration can be applied globally to all clients, or to a single client
461
463
  # on construction.
462
464
  #
463
- # # Examples
464
- #
465
- # To modify the global config, setting the timeout for list_executions
466
- # to 20 seconds, and all remaining timeouts to 10 seconds:
467
- #
468
- # ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.configure do |config|
469
- # config.timeout = 10.0
470
- # config.rpcs.list_executions.timeout = 20.0
471
- # end
472
- #
473
- # To apply the above configuration only to a new client:
474
- #
475
- # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
476
- # config.timeout = 10.0
477
- # config.rpcs.list_executions.timeout = 20.0
478
- # end
465
+ # @example
466
+ #
467
+ # # Modify the global config, setting the timeout for
468
+ # # list_executions to 20 seconds,
469
+ # # and all remaining timeouts to 10 seconds.
470
+ # ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.configure do |config|
471
+ # config.timeout = 10.0
472
+ # config.rpcs.list_executions.timeout = 20.0
473
+ # end
474
+ #
475
+ # # Apply the above configuration only to a new client.
476
+ # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
477
+ # config.timeout = 10.0
478
+ # config.rpcs.list_executions.timeout = 20.0
479
+ # end
479
480
  #
480
481
  # @!attribute [rw] endpoint
481
482
  # The hostname or hostname:port of the service endpoint.
@@ -22,7 +22,7 @@ module Google
22
22
  module Workflows
23
23
  module Executions
24
24
  module V1beta
25
- VERSION = "0.3.2"
25
+ VERSION = "0.3.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-workflows-executions-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.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