google-cloud-workflows-v1beta 0.9.0 → 0.9.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 +4 -4
- data/lib/google/cloud/workflows/v1beta/version.rb +1 -1
- data/lib/google/cloud/workflows/v1beta/workflows/client.rb +13 -5
- data/lib/google/cloud/workflows/v1beta/workflows/operations.rb +16 -15
- data/lib/google/cloud/workflows/v1beta/workflows/rest/client.rb +13 -5
- data/lib/google/cloud/workflows/v1beta/workflows/rest/operations.rb +14 -14
- data/proto_docs/google/api/client.rb +74 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae387a5ccb84dd6377cc4884261a6ea3c1af059fa8624450ce975ff6112941d7
|
4
|
+
data.tar.gz: 0d502f5aae22c0694356021f3a972f937708d0bbd42965acd18b4336a628a1c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c3f193dd047bfd2a06396cbfa922f2842220cd0e735721133eda857b1d7ee620c34ba906e98f9a29d9347f37a733b23addef5c5ef2b7e1365f0b12b387d9d3a
|
7
|
+
data.tar.gz: 7fc2b66190c977bca85b7ac708d550cc20c6830725093f4dde74c4edae3a79542ff90f0db90c74455316a863974931f388785f7e81a540b7f63e2a3e66aa9563
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# networking interruptions.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "workflows.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -255,10 +258,11 @@ module Google
|
|
255
258
|
# Customize the options with defaults
|
256
259
|
metadata = @config.rpcs.list_workflows.metadata.to_h
|
257
260
|
|
258
|
-
# Set x-goog-api-client
|
261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
259
262
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
260
263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
261
264
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
265
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
262
266
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
263
267
|
|
264
268
|
header_params = {}
|
@@ -342,10 +346,11 @@ module Google
|
|
342
346
|
# Customize the options with defaults
|
343
347
|
metadata = @config.rpcs.get_workflow.metadata.to_h
|
344
348
|
|
345
|
-
# Set x-goog-api-client
|
349
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
346
350
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
347
351
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
348
352
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
353
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
349
354
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
350
355
|
|
351
356
|
header_params = {}
|
@@ -448,10 +453,11 @@ module Google
|
|
448
453
|
# Customize the options with defaults
|
449
454
|
metadata = @config.rpcs.create_workflow.metadata.to_h
|
450
455
|
|
451
|
-
# Set x-goog-api-client
|
456
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
452
457
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
453
458
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
454
459
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
460
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
455
461
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
456
462
|
|
457
463
|
header_params = {}
|
@@ -544,10 +550,11 @@ module Google
|
|
544
550
|
# Customize the options with defaults
|
545
551
|
metadata = @config.rpcs.delete_workflow.metadata.to_h
|
546
552
|
|
547
|
-
# Set x-goog-api-client
|
553
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
548
554
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
549
555
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
550
556
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
557
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
551
558
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
552
559
|
|
553
560
|
header_params = {}
|
@@ -644,10 +651,11 @@ module Google
|
|
644
651
|
# Customize the options with defaults
|
645
652
|
metadata = @config.rpcs.update_workflow.metadata.to_h
|
646
653
|
|
647
|
-
# Set x-goog-api-client
|
654
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
648
655
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
649
656
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
650
657
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
658
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
651
659
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
652
660
|
|
653
661
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Workflows
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "workflows.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -121,14 +124,6 @@ module Google
|
|
121
124
|
# Lists operations that match the specified filter in the request. If the
|
122
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
123
126
|
#
|
124
|
-
# NOTE: the `name` binding allows API services to override the binding
|
125
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
126
|
-
# override the binding, API services can add a binding such as
|
127
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
128
|
-
# For backwards compatibility, the default name includes the operations
|
129
|
-
# collection id, however overriding users must ensure the name binding
|
130
|
-
# is the parent resource, without the operations collection id.
|
131
|
-
#
|
132
127
|
# @overload list_operations(request, options = nil)
|
133
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
134
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -191,10 +186,11 @@ module Google
|
|
191
186
|
# Customize the options with defaults
|
192
187
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
188
|
|
194
|
-
# Set x-goog-api-client
|
189
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
190
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
191
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
192
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
193
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
194
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
195
|
|
200
196
|
header_params = {}
|
@@ -287,10 +283,11 @@ module Google
|
|
287
283
|
# Customize the options with defaults
|
288
284
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
285
|
|
290
|
-
# Set x-goog-api-client
|
286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
287
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
289
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
290
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
291
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
292
|
|
296
293
|
header_params = {}
|
@@ -376,10 +373,11 @@ module Google
|
|
376
373
|
# Customize the options with defaults
|
377
374
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
375
|
|
379
|
-
# Set x-goog-api-client
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
377
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
379
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
380
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
381
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
382
|
|
385
383
|
header_params = {}
|
@@ -415,8 +413,9 @@ module Google
|
|
415
413
|
# other methods to check whether the cancellation succeeded or whether the
|
416
414
|
# operation completed despite cancellation. On successful cancellation,
|
417
415
|
# the operation is not deleted; instead, it becomes an operation with
|
418
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
419
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
420
419
|
#
|
421
420
|
# @overload cancel_operation(request, options = nil)
|
422
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -470,10 +469,11 @@ module Google
|
|
470
469
|
# Customize the options with defaults
|
471
470
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
471
|
|
473
|
-
# Set x-goog-api-client
|
472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
473
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
475
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
476
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
477
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
478
|
|
479
479
|
header_params = {}
|
@@ -574,10 +574,11 @@ module Google
|
|
574
574
|
# Customize the options with defaults
|
575
575
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
576
|
|
577
|
-
# Set x-goog-api-client
|
577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
578
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
580
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
|
581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
583
|
|
583
584
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# networking interruptions.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "workflows.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -247,12 +250,13 @@ module Google
|
|
247
250
|
# Customize the options with defaults
|
248
251
|
call_metadata = @config.rpcs.list_workflows.metadata.to_h
|
249
252
|
|
250
|
-
# Set x-goog-api-client
|
253
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
251
254
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
252
255
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
253
256
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
254
257
|
transports_version_send: [:rest]
|
255
258
|
|
259
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
256
260
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
257
261
|
|
258
262
|
options.apply_defaults timeout: @config.rpcs.list_workflows.timeout,
|
@@ -326,12 +330,13 @@ module Google
|
|
326
330
|
# Customize the options with defaults
|
327
331
|
call_metadata = @config.rpcs.get_workflow.metadata.to_h
|
328
332
|
|
329
|
-
# Set x-goog-api-client
|
333
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
330
334
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
331
335
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
332
336
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
333
337
|
transports_version_send: [:rest]
|
334
338
|
|
339
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
335
340
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
336
341
|
|
337
342
|
options.apply_defaults timeout: @config.rpcs.get_workflow.timeout,
|
@@ -425,12 +430,13 @@ module Google
|
|
425
430
|
# Customize the options with defaults
|
426
431
|
call_metadata = @config.rpcs.create_workflow.metadata.to_h
|
427
432
|
|
428
|
-
# Set x-goog-api-client
|
433
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
429
434
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
430
435
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
431
436
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
432
437
|
transports_version_send: [:rest]
|
433
438
|
|
439
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
434
440
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
435
441
|
|
436
442
|
options.apply_defaults timeout: @config.rpcs.create_workflow.timeout,
|
@@ -514,12 +520,13 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
call_metadata = @config.rpcs.delete_workflow.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
521
527
|
transports_version_send: [:rest]
|
522
528
|
|
529
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
523
530
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
524
531
|
|
525
532
|
options.apply_defaults timeout: @config.rpcs.delete_workflow.timeout,
|
@@ -607,12 +614,13 @@ module Google
|
|
607
614
|
# Customize the options with defaults
|
608
615
|
call_metadata = @config.rpcs.update_workflow.metadata.to_h
|
609
616
|
|
610
|
-
# Set x-goog-api-client
|
617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
611
618
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
612
619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
613
620
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
614
621
|
transports_version_send: [:rest]
|
615
622
|
|
623
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
616
624
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
617
625
|
|
618
626
|
options.apply_defaults timeout: @config.rpcs.update_workflow.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "workflows.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -112,14 +115,6 @@ module Google
|
|
112
115
|
# Lists operations that match the specified filter in the request. If the
|
113
116
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
114
117
|
#
|
115
|
-
# NOTE: the `name` binding allows API services to override the binding
|
116
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
117
|
-
# override the binding, API services can add a binding such as
|
118
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
119
|
-
# For backwards compatibility, the default name includes the operations
|
120
|
-
# collection id, however overriding users must ensure the name binding
|
121
|
-
# is the parent resource, without the operations collection id.
|
122
|
-
#
|
123
118
|
# @overload list_operations(request, options = nil)
|
124
119
|
# Pass arguments to `list_operations` via a request object, either of type
|
125
120
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -181,12 +176,13 @@ module Google
|
|
181
176
|
# Customize the options with defaults
|
182
177
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
178
|
|
184
|
-
# Set x-goog-api-client
|
179
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
180
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
181
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
182
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
188
183
|
transports_version_send: [:rest]
|
189
184
|
|
185
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
186
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
187
|
|
192
188
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +265,13 @@ module Google
|
|
269
265
|
# Customize the options with defaults
|
270
266
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
267
|
|
272
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
269
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
271
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
276
272
|
transports_version_send: [:rest]
|
277
273
|
|
274
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
275
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
276
|
|
280
277
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +348,13 @@ module Google
|
|
351
348
|
# Customize the options with defaults
|
352
349
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
350
|
|
354
|
-
# Set x-goog-api-client
|
351
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
352
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
353
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
354
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
358
355
|
transports_version_send: [:rest]
|
359
356
|
|
357
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
358
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
359
|
|
362
360
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -384,8 +382,9 @@ module Google
|
|
384
382
|
# other methods to check whether the cancellation succeeded or whether the
|
385
383
|
# operation completed despite cancellation. On successful cancellation,
|
386
384
|
# the operation is not deleted; instead, it becomes an operation with
|
387
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
388
|
-
# corresponding to
|
385
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
386
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
387
|
+
# `Code.CANCELLED`.
|
389
388
|
#
|
390
389
|
# @overload cancel_operation(request, options = nil)
|
391
390
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -438,12 +437,13 @@ module Google
|
|
438
437
|
# Customize the options with defaults
|
439
438
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
439
|
|
441
|
-
# Set x-goog-api-client
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
441
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
443
|
gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
|
445
444
|
transports_version_send: [:rest]
|
446
445
|
|
446
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
447
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
448
|
|
449
449
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -118,6 +121,10 @@ module Google
|
|
118
121
|
# @return [::String]
|
119
122
|
# Optional link to proto reference documentation. Example:
|
120
123
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
124
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
125
|
+
# @return [::String]
|
126
|
+
# Optional link to REST reference documentation. Example:
|
127
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
128
|
class Publishing
|
122
129
|
include ::Google::Protobuf::MessageExts
|
123
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +199,32 @@ module Google
|
|
192
199
|
# @!attribute [rw] common
|
193
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
201
|
# Some settings.
|
202
|
+
# @!attribute [rw] experimental_features
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
204
|
+
# Experimental features to be included during client library generation.
|
195
205
|
class PythonSettings
|
196
206
|
include ::Google::Protobuf::MessageExts
|
197
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# Experimental features to be included during client library generation.
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
211
|
+
# by default.
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
213
|
+
# @return [::Boolean]
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
217
|
+
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
224
|
+
class ExperimentalFeatures
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
198
228
|
end
|
199
229
|
|
200
230
|
# Settings for Node client libraries.
|
@@ -276,9 +306,28 @@ module Google
|
|
276
306
|
# @!attribute [rw] common
|
277
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
278
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
279
319
|
class GoSettings
|
280
320
|
include ::Google::Protobuf::MessageExts
|
281
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
282
331
|
end
|
283
332
|
|
284
333
|
# Describes the generator configuration for a method.
|
@@ -286,6 +335,13 @@ module Google
|
|
286
335
|
# @return [::String]
|
287
336
|
# The fully qualified name of the method, for which the options below apply.
|
288
337
|
# This is used to find the method to apply the options.
|
338
|
+
#
|
339
|
+
# Example:
|
340
|
+
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
343
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
344
|
+
# # method settings for CreateFolder...
|
289
345
|
# @!attribute [rw] long_running
|
290
346
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
347
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +350,14 @@ module Google
|
|
294
350
|
#
|
295
351
|
# Example of a YAML configuration::
|
296
352
|
#
|
297
|
-
#
|
298
|
-
#
|
353
|
+
# publishing:
|
354
|
+
# method_settings:
|
299
355
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
356
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
357
|
+
# initial_poll_delay: 60s # 1 minute
|
303
358
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
359
|
+
# max_poll_delay: 360s # 6 minutes
|
360
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
361
|
# @!attribute [rw] auto_populated_fields
|
309
362
|
# @return [::Array<::String>]
|
310
363
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +366,8 @@ module Google
|
|
313
366
|
#
|
314
367
|
# Example of a YAML configuration:
|
315
368
|
#
|
316
|
-
#
|
317
|
-
#
|
369
|
+
# publishing:
|
370
|
+
# method_settings:
|
318
371
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
372
|
# auto_populated_fields:
|
320
373
|
# - request_id
|
@@ -350,6 +403,17 @@ module Google
|
|
350
403
|
end
|
351
404
|
end
|
352
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
353
417
|
# The organization for which the client libraries are being published.
|
354
418
|
# Affects the url where generated docs are published, etc.
|
355
419
|
module ClientLibraryOrganization
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
43
|
# @!attribute [rw] response
|
44
44
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
45
|
+
# The normal, successful response of the operation. If the original
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
48
48
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -55,7 +55,8 @@ module Google
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
|
-
# The request message for
|
58
|
+
# The request message for
|
59
|
+
# Operations.GetOperation.
|
59
60
|
# @!attribute [rw] name
|
60
61
|
# @return [::String]
|
61
62
|
# The name of the operation resource.
|
@@ -64,7 +65,8 @@ module Google
|
|
64
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
66
|
end
|
66
67
|
|
67
|
-
# The request message for
|
68
|
+
# The request message for
|
69
|
+
# Operations.ListOperations.
|
68
70
|
# @!attribute [rw] name
|
69
71
|
# @return [::String]
|
70
72
|
# The name of the operation's parent resource.
|
@@ -82,7 +84,8 @@ module Google
|
|
82
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
85
|
end
|
84
86
|
|
85
|
-
# The response message for
|
87
|
+
# The response message for
|
88
|
+
# Operations.ListOperations.
|
86
89
|
# @!attribute [rw] operations
|
87
90
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
91
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +97,8 @@ module Google
|
|
94
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
98
|
end
|
96
99
|
|
97
|
-
# The request message for
|
100
|
+
# The request message for
|
101
|
+
# Operations.CancelOperation.
|
98
102
|
# @!attribute [rw] name
|
99
103
|
# @return [::String]
|
100
104
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +107,8 @@ module Google
|
|
103
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
108
|
end
|
105
109
|
|
106
|
-
# The request message for
|
110
|
+
# The request message for
|
111
|
+
# Operations.DeleteOperation.
|
107
112
|
# @!attribute [rw] name
|
108
113
|
# @return [::String]
|
109
114
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +117,8 @@ module Google
|
|
112
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
118
|
end
|
114
119
|
|
115
|
-
# The request message for
|
120
|
+
# The request message for
|
121
|
+
# Operations.WaitOperation.
|
116
122
|
# @!attribute [rw] name
|
117
123
|
# @return [::String]
|
118
124
|
# The name of the operation resource to wait on.
|
@@ -130,13 +136,12 @@ module Google
|
|
130
136
|
#
|
131
137
|
# Example:
|
132
138
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
139
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
140
|
+
# option (google.longrunning.operation_info) = {
|
141
|
+
# response_type: "ExportResponse"
|
142
|
+
# metadata_type: "ExportMetadata"
|
143
|
+
# };
|
144
|
+
# }
|
140
145
|
# @!attribute [rw] response_type
|
141
146
|
# @return [::String]
|
142
147
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-workflows-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.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: 2024-
|
11
|
+
date: 2024-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
rubygems_version: 3.5.
|
110
|
+
rubygems_version: 3.5.23
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Manage workflow definitions. To execute workflows and manage executions,
|