google-cloud-workflows-v1beta 0.8.2 → 0.9.1

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: e946dd6db7401644dfdd2b18ab43a6df70e1d7d6cab2998baf98fb87981fe0e6
4
- data.tar.gz: 1c3a22a14602ac4b4eda7331d34d6e0c237eb16de95b279f1a57b48490a39cb7
3
+ metadata.gz: 46671c618f300bcc9ee63a83e85745d0cf438eab69b07526f90c0eb791a9d06c
4
+ data.tar.gz: '08e636d59812d539bca79add1dea4a480fc18210a86f0f36b23b421ff189c43d'
5
5
  SHA512:
6
- metadata.gz: 62506926c8ab59caa49d8d5a2da4c3b9ef331b564cb70ca9e685bd0c0e7a21080019027bc3b12904946f35d9e90c22e2bc7c6e03f2f6975822416ac53e61827d
7
- data.tar.gz: 49588511db3ff2f9447fc0987d84c309b23d92c354df36a671f09a7cd162e7844e6054d7d212f5a58280d5134cb0e3665933f597b6e1b8c0548f1505e137b317
6
+ metadata.gz: 6b8e009e5841807589c8c3748684d5e8abe1779bd883e32ee3069098cc65d4f07c09ef6406dd41d881abe18352947fcb0816bed3748ec8aa9171ad0914a6d3df
7
+ data.tar.gz: cd4091a5b9c9e967e515a8b71a9f6c2652eb99ca21687bc79a622f650ab00b2b01af6a935aac852c2c6f2b90f8a9cf80239b763e7d8d948466aa00e67533024f
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workflows
23
23
  module V1beta
24
- VERSION = "0.8.2"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::Workflows::V1beta::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -13,7 +13,7 @@ require 'google/protobuf/field_mask_pb'
13
13
  require 'google/protobuf/timestamp_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n-google/cloud/workflows/v1beta/workflows.proto\x12\x1dgoogle.cloud.workflows.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x05\n\x08Workflow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x42\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.workflows.v1beta.Workflow.StateB\x04\xe2\x41\x01\x03\x12\x19\n\x0brevision_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12>\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32\x33.google.cloud.workflows.v1beta.Workflow.LabelsEntry\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x19\n\x0fsource_contents\x18\n \x01(\tH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01:d\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}B\r\n\x0bsource_code\"\x9b\x01\n\x14ListWorkflowsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x81\x01\n\x15ListWorkflowsResponse\x12:\n\tworkflows\x18\x01 \x03(\x0b\x32\'.google.cloud.workflows.v1beta.Workflow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x12GetWorkflowRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\"\xaf\x01\n\x15\x43reateWorkflowRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x08workflow\x18\x02 \x01(\x0b\x32\'.google.cloud.workflows.v1beta.WorkflowB\x04\xe2\x41\x01\x02\x12\x19\n\x0bworkflow_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"Q\n\x15\x44\x65leteWorkflowRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\"\x89\x01\n\x15UpdateWorkflowRequest\x12?\n\x08workflow\x18\x01 \x01(\x0b\x32\'.google.cloud.workflows.v1beta.WorkflowB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa5\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x05 \x01(\t2\xf9\x08\n\tWorkflows\x12\xbe\x01\n\rListWorkflows\x12\x33.google.cloud.workflows.v1beta.ListWorkflowsRequest\x1a\x34.google.cloud.workflows.v1beta.ListWorkflowsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{parent=projects/*/locations/*}/workflows\x12\xab\x01\n\x0bGetWorkflow\x12\x31.google.cloud.workflows.v1beta.GetWorkflowRequest\x1a\'.google.cloud.workflows.v1beta.Workflow\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{name=projects/*/locations/*/workflows/*}\x12\xe9\x01\n\x0e\x43reateWorkflow\x12\x34.google.cloud.workflows.v1beta.CreateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\xda\x41\x1bparent,workflow,workflow_id\x82\xd3\xe4\x93\x02=\"1/v1beta/{parent=projects/*/locations/*}/workflows:\x08workflow\x12\xd4\x01\n\x0e\x44\x65leteWorkflow\x12\x34.google.cloud.workflows.v1beta.DeleteWorkflowRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta/{name=projects/*/locations/*/workflows/*}\x12\xeb\x01\n\x0eUpdateWorkflow\x12\x34.google.cloud.workflows.v1beta.UpdateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\xda\x41\x14workflow,update_mask\x82\xd3\xe4\x93\x02\x46\x32:/v1beta/{workflow.name=projects/*/locations/*/workflows/*}:\x08workflow\x1aL\xca\x41\x18workflows.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBv\n!com.google.cloud.workflows.v1betaB\x0eWorkflowsProtoP\x01Z?cloud.google.com/go/workflows/apiv1beta/workflowspb;workflowspbb\x06proto3"
16
+ descriptor_data = "\n-google/cloud/workflows/v1beta/workflows.proto\x12\x1dgoogle.cloud.workflows.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x04\n\x08Workflow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x41\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.workflows.v1beta.Workflow.StateB\x03\xe0\x41\x03\x12\x18\n\x0brevision_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32\x33.google.cloud.workflows.v1beta.Workflow.LabelsEntry\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x19\n\x0fsource_contents\x18\n \x01(\tH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01:d\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}B\r\n\x0bsource_code\"\x9a\x01\n\x14ListWorkflowsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x81\x01\n\x15ListWorkflowsResponse\x12:\n\tworkflows\x18\x01 \x03(\x0b\x32\'.google.cloud.workflows.v1beta.Workflow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x12GetWorkflowRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\"\xac\x01\n\x15\x43reateWorkflowRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12>\n\x08workflow\x18\x02 \x01(\x0b\x32\'.google.cloud.workflows.v1beta.WorkflowB\x03\xe0\x41\x02\x12\x18\n\x0bworkflow_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"P\n\x15\x44\x65leteWorkflowRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\"\x88\x01\n\x15UpdateWorkflowRequest\x12>\n\x08workflow\x18\x01 \x01(\x0b\x32\'.google.cloud.workflows.v1beta.WorkflowB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa5\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x05 \x01(\t2\xf9\x08\n\tWorkflows\x12\xbe\x01\n\rListWorkflows\x12\x33.google.cloud.workflows.v1beta.ListWorkflowsRequest\x1a\x34.google.cloud.workflows.v1beta.ListWorkflowsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{parent=projects/*/locations/*}/workflows\x12\xab\x01\n\x0bGetWorkflow\x12\x31.google.cloud.workflows.v1beta.GetWorkflowRequest\x1a\'.google.cloud.workflows.v1beta.Workflow\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{name=projects/*/locations/*/workflows/*}\x12\xe9\x01\n\x0e\x43reateWorkflow\x12\x34.google.cloud.workflows.v1beta.CreateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\xda\x41\x1bparent,workflow,workflow_id\x82\xd3\xe4\x93\x02=\"1/v1beta/{parent=projects/*/locations/*}/workflows:\x08workflow\x12\xd4\x01\n\x0e\x44\x65leteWorkflow\x12\x34.google.cloud.workflows.v1beta.DeleteWorkflowRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta/{name=projects/*/locations/*/workflows/*}\x12\xeb\x01\n\x0eUpdateWorkflow\x12\x34.google.cloud.workflows.v1beta.UpdateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\xda\x41\x14workflow,update_mask\x82\xd3\xe4\x93\x02\x46\x32:/v1beta/{workflow.name=projects/*/locations/*/workflows/*}:\x08workflow\x1aL\xca\x41\x18workflows.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBv\n!com.google.cloud.workflows.v1betaB\x0eWorkflowsProtoP\x01Z?cloud.google.com/go/workflows/apiv1beta/workflowspb;workflowspbb\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -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'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
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
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.8.2
4
+ version: 0.9.1
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-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Workflows link series of serverless tasks together in an order you define.
160
48
  Combine the power of Google Cloud's APIs, serverless products like Cloud Functions
161
49
  and Cloud Run, and calls to external APIs to create flexible serverless applications.
@@ -212,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
100
  requirements:
213
101
  - - ">="
214
102
  - !ruby/object:Gem::Version
215
- version: '2.6'
103
+ version: '2.7'
216
104
  required_rubygems_version: !ruby/object:Gem::Requirement
217
105
  requirements:
218
106
  - - ">="
219
107
  - !ruby/object:Gem::Version
220
108
  version: '0'
221
109
  requirements: []
222
- rubygems_version: 3.5.3
110
+ rubygems_version: 3.5.6
223
111
  signing_key:
224
112
  specification_version: 4
225
113
  summary: Manage workflow definitions. To execute workflows and manage executions,