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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0635efb3755a1fae706ee774fe75aeb7f298ae745b7a46bc1cd1c6e20468116
|
4
|
+
data.tar.gz: 24f3033ec05c7b235e08fe1ad91018a053e925dc0de1be8b93ac473ece0eaa7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
#
|
46
|
+
# @example
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
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
|
-
#
|
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
|
-
#
|
107
|
-
#
|
100
|
+
# # Create a client using the default configuration
|
101
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
108
102
|
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
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
|
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.
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# to 20 seconds,
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
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.
|
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.
|
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-
|
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.
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|