google-cloud-workflows-v1 0.8.0 → 1.0.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: b81f7c6b25941a6af16794b5aeaf6e965a3cd4784c79d86214d53bc00ec14a1d
4
- data.tar.gz: d91c54b5e627c9568644d2ed0278d61422da413a187a21a0f1151c170ae1efd5
3
+ metadata.gz: b2704ef8f6ed8648c08d1e06a5203e3ee7b598363f017d85414b017fce0db04b
4
+ data.tar.gz: 76e262178b3880e60f866a40ad3dee6112ee6f6dcd030f4976e3f5e864012612
5
5
  SHA512:
6
- metadata.gz: 901f119b603ad953edf9522deb2527d3b0fb8d5414083623bbf3dd5b6866888a46ae420ed551da304279d13223e31d01267d58d513f72c6c5fa1ca0225cfcc49
7
- data.tar.gz: 737a15917e00fe36e8e700049d9fc9eb5e161a4a8c0e7b53f5e4bbc8a2d71293eae83531e267282062b6d5c5318623729c1fe20f4f49e33985c9fc5280b65b61
6
+ metadata.gz: 5180f38ceb1682d399d7a0768fefac92c2f5b0f8cc7640ae17d25c5e6848dde8333116401db7ca9f7a9fa21ce780b9ee65f2df07c894d766a9876d56254aa776
7
+ data.tar.gz: e29f16a7c7265c91cc3e7d42f4a74fc9f260791c7456a279082f1635afde017265ca8e18889d376a383e1cc2aee3775be0dc703854d9a443032213a6711e1d22
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workflows
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -33,6 +33,9 @@ module Google
33
33
  # networking interruptions.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "workflows.$UNIVERSE_DOMAIN$"
38
41
 
@@ -270,10 +273,11 @@ module Google
270
273
  # Customize the options with defaults
271
274
  metadata = @config.rpcs.list_workflows.metadata.to_h
272
275
 
273
- # 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
274
277
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
275
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
276
279
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION
280
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
277
281
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
278
282
 
279
283
  header_params = {}
@@ -363,10 +367,11 @@ module Google
363
367
  # Customize the options with defaults
364
368
  metadata = @config.rpcs.get_workflow.metadata.to_h
365
369
 
366
- # Set x-goog-api-client and x-goog-user-project headers
370
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
367
371
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
368
372
  lib_name: @config.lib_name, lib_version: @config.lib_version,
369
373
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION
374
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
370
375
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
371
376
 
372
377
  header_params = {}
@@ -469,10 +474,11 @@ module Google
469
474
  # Customize the options with defaults
470
475
  metadata = @config.rpcs.create_workflow.metadata.to_h
471
476
 
472
- # Set x-goog-api-client and x-goog-user-project headers
477
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
473
478
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
474
479
  lib_name: @config.lib_name, lib_version: @config.lib_version,
475
480
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION
481
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
476
482
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
477
483
 
478
484
  header_params = {}
@@ -565,10 +571,11 @@ module Google
565
571
  # Customize the options with defaults
566
572
  metadata = @config.rpcs.delete_workflow.metadata.to_h
567
573
 
568
- # Set x-goog-api-client and x-goog-user-project headers
574
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
569
575
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
570
576
  lib_name: @config.lib_name, lib_version: @config.lib_version,
571
577
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION
578
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
572
579
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
573
580
 
574
581
  header_params = {}
@@ -665,10 +672,11 @@ module Google
665
672
  # Customize the options with defaults
666
673
  metadata = @config.rpcs.update_workflow.metadata.to_h
667
674
 
668
- # Set x-goog-api-client and x-goog-user-project headers
675
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
669
676
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
670
677
  lib_name: @config.lib_name, lib_version: @config.lib_version,
671
678
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION
679
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
672
680
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
673
681
 
674
682
  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::V1::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::V1::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::V1::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::V1::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::V1::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,
@@ -35,6 +35,9 @@ module Google
35
35
  # networking interruptions.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "workflows.$UNIVERSE_DOMAIN$"
40
43
 
@@ -263,12 +266,13 @@ module Google
263
266
  # Customize the options with defaults
264
267
  call_metadata = @config.rpcs.list_workflows.metadata.to_h
265
268
 
266
- # Set x-goog-api-client and x-goog-user-project headers
269
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
267
270
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
268
271
  lib_name: @config.lib_name, lib_version: @config.lib_version,
269
272
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION,
270
273
  transports_version_send: [:rest]
271
274
 
275
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
272
276
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
273
277
 
274
278
  options.apply_defaults timeout: @config.rpcs.list_workflows.timeout,
@@ -348,12 +352,13 @@ module Google
348
352
  # Customize the options with defaults
349
353
  call_metadata = @config.rpcs.get_workflow.metadata.to_h
350
354
 
351
- # Set x-goog-api-client and x-goog-user-project headers
355
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
352
356
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
353
357
  lib_name: @config.lib_name, lib_version: @config.lib_version,
354
358
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION,
355
359
  transports_version_send: [:rest]
356
360
 
361
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
357
362
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
358
363
 
359
364
  options.apply_defaults timeout: @config.rpcs.get_workflow.timeout,
@@ -447,12 +452,13 @@ module Google
447
452
  # Customize the options with defaults
448
453
  call_metadata = @config.rpcs.create_workflow.metadata.to_h
449
454
 
450
- # Set x-goog-api-client and x-goog-user-project headers
455
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
451
456
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
452
457
  lib_name: @config.lib_name, lib_version: @config.lib_version,
453
458
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION,
454
459
  transports_version_send: [:rest]
455
460
 
461
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
456
462
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
457
463
 
458
464
  options.apply_defaults timeout: @config.rpcs.create_workflow.timeout,
@@ -536,12 +542,13 @@ module Google
536
542
  # Customize the options with defaults
537
543
  call_metadata = @config.rpcs.delete_workflow.metadata.to_h
538
544
 
539
- # Set x-goog-api-client and x-goog-user-project headers
545
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
540
546
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
541
547
  lib_name: @config.lib_name, lib_version: @config.lib_version,
542
548
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION,
543
549
  transports_version_send: [:rest]
544
550
 
551
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
545
552
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
546
553
 
547
554
  options.apply_defaults timeout: @config.rpcs.delete_workflow.timeout,
@@ -629,12 +636,13 @@ module Google
629
636
  # Customize the options with defaults
630
637
  call_metadata = @config.rpcs.update_workflow.metadata.to_h
631
638
 
632
- # Set x-goog-api-client and x-goog-user-project headers
639
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
633
640
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
634
641
  lib_name: @config.lib_name, lib_version: @config.lib_version,
635
642
  gapic_version: ::Google::Cloud::Workflows::V1::VERSION,
636
643
  transports_version_send: [:rest]
637
644
 
645
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
638
646
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
639
647
 
640
648
  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::V1::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::V1::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::V1::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::V1::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,
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 1.0.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common