google-cloud-workflows-executions-v1 0.7.0 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a5f5cd88fd641d693be945f15a54c7b38ba3973ebe00a900456f7d240ad91e2
4
- data.tar.gz: 790a7ff45cc5c643d390b6a3b7360134c76aeba2ec06c5b12cb547de6b22af15
3
+ metadata.gz: 751bf073e8256780b58cd8dd794f4d41215097c8e3d8b5ce19f71aaaf191ee93
4
+ data.tar.gz: 7d530d00b9376b28d34268c0b5d0f7c0b9b63951abb9a326278a53ed55fe0c0b
5
5
  SHA512:
6
- metadata.gz: 5e5bdfbf4dd36d6dae7f2610612e35abcd782fe9689e0fd0a1a38808dae4277f86a32a79992403af443c7b60ac115188bb504430fe9405111f1fcf38052a897d
7
- data.tar.gz: 209c14fed285f5c75802d81dbe4a7225a76db6fd08a24f4bdf66540c14b0105c4cc2c287ac38e8c87fed76f1751ae1a5007dd63b6baa1b81fe3f5c45bc442649
6
+ metadata.gz: 69db93653fb6953079adecde270fd15e03fd44ff1f0070a0c2c6fa8b38f1874f1205f48af732eed22885af9c4e889e70352491aea2b2e48eaa246f3c23684513
7
+ data.tar.gz: 503fabad6457dcefc522749511a96cf78477440763a0774fc4d9843b02ccfcd22a01f00eb6b1414e49d22f5f0866e9cce277b26b9da244efdb7f42e05ebac390
@@ -32,6 +32,9 @@ module Google
32
32
  # [Workflows][google.cloud.workflows.v1.Workflow] called executions.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "workflowexecutions.$UNIVERSE_DOMAIN$"
37
40
 
@@ -253,10 +256,11 @@ module Google
253
256
  # Customize the options with defaults
254
257
  metadata = @config.rpcs.list_executions.metadata.to_h
255
258
 
256
- # Set x-goog-api-client and x-goog-user-project headers
259
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
257
260
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
258
261
  lib_name: @config.lib_name, lib_version: @config.lib_version,
259
262
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION
263
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
260
264
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
261
265
 
262
266
  header_params = {}
@@ -343,10 +347,11 @@ module Google
343
347
  # Customize the options with defaults
344
348
  metadata = @config.rpcs.create_execution.metadata.to_h
345
349
 
346
- # Set x-goog-api-client and x-goog-user-project headers
350
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
347
351
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
348
352
  lib_name: @config.lib_name, lib_version: @config.lib_version,
349
353
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION
354
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
350
355
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
351
356
 
352
357
  header_params = {}
@@ -433,10 +438,11 @@ module Google
433
438
  # Customize the options with defaults
434
439
  metadata = @config.rpcs.get_execution.metadata.to_h
435
440
 
436
- # Set x-goog-api-client and x-goog-user-project headers
441
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
437
442
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
438
443
  lib_name: @config.lib_name, lib_version: @config.lib_version,
439
444
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION
445
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
440
446
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
441
447
 
442
448
  header_params = {}
@@ -520,10 +526,11 @@ module Google
520
526
  # Customize the options with defaults
521
527
  metadata = @config.rpcs.cancel_execution.metadata.to_h
522
528
 
523
- # Set x-goog-api-client and x-goog-user-project headers
529
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
524
530
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
525
531
  lib_name: @config.lib_name, lib_version: @config.lib_version,
526
532
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION
533
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
527
534
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
528
535
 
529
536
  header_params = {}
@@ -34,6 +34,9 @@ module Google
34
34
  # [Workflows][google.cloud.workflows.v1.Workflow] called executions.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "workflowexecutions.$UNIVERSE_DOMAIN$"
39
42
 
@@ -245,12 +248,13 @@ module Google
245
248
  # Customize the options with defaults
246
249
  call_metadata = @config.rpcs.list_executions.metadata.to_h
247
250
 
248
- # Set x-goog-api-client and x-goog-user-project headers
251
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
249
252
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
250
253
  lib_name: @config.lib_name, lib_version: @config.lib_version,
251
254
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION,
252
255
  transports_version_send: [:rest]
253
256
 
257
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
254
258
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
255
259
 
256
260
  options.apply_defaults timeout: @config.rpcs.list_executions.timeout,
@@ -328,12 +332,13 @@ module Google
328
332
  # Customize the options with defaults
329
333
  call_metadata = @config.rpcs.create_execution.metadata.to_h
330
334
 
331
- # Set x-goog-api-client and x-goog-user-project headers
335
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
332
336
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
333
337
  lib_name: @config.lib_name, lib_version: @config.lib_version,
334
338
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION,
335
339
  transports_version_send: [:rest]
336
340
 
341
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
337
342
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
338
343
 
339
344
  options.apply_defaults timeout: @config.rpcs.create_execution.timeout,
@@ -411,12 +416,13 @@ module Google
411
416
  # Customize the options with defaults
412
417
  call_metadata = @config.rpcs.get_execution.metadata.to_h
413
418
 
414
- # Set x-goog-api-client and x-goog-user-project headers
419
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
415
420
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
416
421
  lib_name: @config.lib_name, lib_version: @config.lib_version,
417
422
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION,
418
423
  transports_version_send: [:rest]
419
424
 
425
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
420
426
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
421
427
 
422
428
  options.apply_defaults timeout: @config.rpcs.get_execution.timeout,
@@ -491,12 +497,13 @@ module Google
491
497
  # Customize the options with defaults
492
498
  call_metadata = @config.rpcs.cancel_execution.metadata.to_h
493
499
 
494
- # Set x-goog-api-client and x-goog-user-project headers
500
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
495
501
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
496
502
  lib_name: @config.lib_name, lib_version: @config.lib_version,
497
503
  gapic_version: ::Google::Cloud::Workflows::Executions::V1::VERSION,
498
504
  transports_version_send: [:rest]
499
505
 
506
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
500
507
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
501
508
 
502
509
  options.apply_defaults timeout: @config.rpcs.cancel_execution.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Workflows
23
23
  module Executions
24
24
  module V1
25
- VERSION = "0.7.0"
25
+ VERSION = "1.0.0"
26
26
  end
27
27
  end
28
28
  end
@@ -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-executions-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.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