google-cloud-workflows-executions-v1 0.4.0 → 0.5.0
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: '026934a05afce412b520a2bdc35b9aece87cff5f0121174f34abc7e5eae1d735'
|
4
|
+
data.tar.gz: b1e61fbce51335a52224a526363a1d79059035d3861641186b82d9f8018cf761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b7e70bde031a1de9da2cf1b73008af7269c200acc7df7975707f7602c28f294e75bf235fda8529710c4689c9601445a7607b3ba3b28ea3e772a7209481ce9db
|
7
|
+
data.tar.gz: 385ae67a458ca639ffae46c8501c84867cf10b4549c2212745ea59caf4464ef739b9225fc66b8fe9e728caf8338d69ee4937e52afaaed44c3f8f4a7054f8f241
|
@@ -140,7 +140,8 @@ module Google
|
|
140
140
|
credentials: credentials,
|
141
141
|
endpoint: @config.endpoint,
|
142
142
|
channel_args: @config.channel_args,
|
143
|
-
interceptors: @config.interceptors
|
143
|
+
interceptors: @config.interceptors,
|
144
|
+
channel_pool_config: @config.channel_pool
|
144
145
|
)
|
145
146
|
end
|
146
147
|
|
@@ -653,6 +654,14 @@ module Google
|
|
653
654
|
end
|
654
655
|
end
|
655
656
|
|
657
|
+
##
|
658
|
+
# Configuration for the channel pool
|
659
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
660
|
+
#
|
661
|
+
def channel_pool
|
662
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
663
|
+
end
|
664
|
+
|
656
665
|
##
|
657
666
|
# Configuration RPC class for the Executions API.
|
658
667
|
#
|
@@ -196,6 +196,26 @@ module Google
|
|
196
196
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workflows::Executions::V1::Execution>]
|
197
197
|
#
|
198
198
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
199
|
+
#
|
200
|
+
# @example Basic example
|
201
|
+
# require "google/cloud/workflows/executions/v1"
|
202
|
+
#
|
203
|
+
# # Create a client object. The client can be reused for multiple calls.
|
204
|
+
# client = Google::Cloud::Workflows::Executions::V1::Executions::Rest::Client.new
|
205
|
+
#
|
206
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
207
|
+
# request = Google::Cloud::Workflows::Executions::V1::ListExecutionsRequest.new
|
208
|
+
#
|
209
|
+
# # Call the list_executions method.
|
210
|
+
# result = client.list_executions request
|
211
|
+
#
|
212
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
213
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
214
|
+
# result.each do |item|
|
215
|
+
# # Each element is of type ::Google::Cloud::Workflows::Executions::V1::Execution.
|
216
|
+
# p item
|
217
|
+
# end
|
218
|
+
#
|
199
219
|
def list_executions request, options = nil
|
200
220
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
201
221
|
|
@@ -263,6 +283,22 @@ module Google
|
|
263
283
|
# @return [::Google::Cloud::Workflows::Executions::V1::Execution]
|
264
284
|
#
|
265
285
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
286
|
+
#
|
287
|
+
# @example Basic example
|
288
|
+
# require "google/cloud/workflows/executions/v1"
|
289
|
+
#
|
290
|
+
# # Create a client object. The client can be reused for multiple calls.
|
291
|
+
# client = Google::Cloud::Workflows::Executions::V1::Executions::Rest::Client.new
|
292
|
+
#
|
293
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
294
|
+
# request = Google::Cloud::Workflows::Executions::V1::CreateExecutionRequest.new
|
295
|
+
#
|
296
|
+
# # Call the create_execution method.
|
297
|
+
# result = client.create_execution request
|
298
|
+
#
|
299
|
+
# # The returned object is of type Google::Cloud::Workflows::Executions::V1::Execution.
|
300
|
+
# p result
|
301
|
+
#
|
266
302
|
def create_execution request, options = nil
|
267
303
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
268
304
|
|
@@ -330,6 +366,22 @@ module Google
|
|
330
366
|
# @return [::Google::Cloud::Workflows::Executions::V1::Execution]
|
331
367
|
#
|
332
368
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
369
|
+
#
|
370
|
+
# @example Basic example
|
371
|
+
# require "google/cloud/workflows/executions/v1"
|
372
|
+
#
|
373
|
+
# # Create a client object. The client can be reused for multiple calls.
|
374
|
+
# client = Google::Cloud::Workflows::Executions::V1::Executions::Rest::Client.new
|
375
|
+
#
|
376
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
377
|
+
# request = Google::Cloud::Workflows::Executions::V1::GetExecutionRequest.new
|
378
|
+
#
|
379
|
+
# # Call the get_execution method.
|
380
|
+
# result = client.get_execution request
|
381
|
+
#
|
382
|
+
# # The returned object is of type Google::Cloud::Workflows::Executions::V1::Execution.
|
383
|
+
# p result
|
384
|
+
#
|
333
385
|
def get_execution request, options = nil
|
334
386
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
335
387
|
|
@@ -394,6 +446,22 @@ module Google
|
|
394
446
|
# @return [::Google::Cloud::Workflows::Executions::V1::Execution]
|
395
447
|
#
|
396
448
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
449
|
+
#
|
450
|
+
# @example Basic example
|
451
|
+
# require "google/cloud/workflows/executions/v1"
|
452
|
+
#
|
453
|
+
# # Create a client object. The client can be reused for multiple calls.
|
454
|
+
# client = Google::Cloud::Workflows::Executions::V1::Executions::Rest::Client.new
|
455
|
+
#
|
456
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
457
|
+
# request = Google::Cloud::Workflows::Executions::V1::CancelExecutionRequest.new
|
458
|
+
#
|
459
|
+
# # Call the cancel_execution method.
|
460
|
+
# result = client.cancel_execution request
|
461
|
+
#
|
462
|
+
# # The returned object is of type Google::Cloud::Workflows::Executions::V1::Execution.
|
463
|
+
# p result
|
464
|
+
#
|
397
465
|
def cancel_execution request, options = nil
|
398
466
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
399
467
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-workflows-executions-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-12 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.20.0
|
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.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|