google-apis-workflowexecutions_v1 0.16.0 → 0.17.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: 4171a96979f3cc938df4afa92ce1c168b9031d8b6a73b5046a3311e772d9b74c
4
- data.tar.gz: 2c8192db363dc89cf718414c3376b614fc2a863de1af65ad229ad1ac4016a0cf
3
+ metadata.gz: d7480302f8b553bed3da853cb15f4a0a8878cf7131c081b471c64ca4b1b5290f
4
+ data.tar.gz: 608ee1b9dac4525b3529d4bc49b1ab62b959500ce5083f2e0a5576a61a0c2914
5
5
  SHA512:
6
- metadata.gz: dbc151835dcce29ad1a41c4853e42a4bcee2acab4e9bb217ccac253dea78063caf0358eeeede4c02e71d266c32aa9e4d7afec2dd80053816a7432795f263bce3
7
- data.tar.gz: 32820f01766142bd77bdbc882ec08188c0147343dbd504c59c13849f1135c21e2bfb033090485b68959bab4f0624fc3cb930321acb8adb1a262e638f9dc49864
6
+ metadata.gz: c08e0cbd22d4422aeb7f47ddcda5d0583d42244e12a595fdd68ba85a6722259fa35cc0de4c487e6d29ce806720c4ee1f3a00a3057aa1c4a27cc1767a057c8a1a
7
+ data.tar.gz: 3a0d3d92264fd168e50ef02595f2d44fe707c04a53f9a02e6153a7a38d8ba2fabc0060b7f6ac38ec6fe415ff8f22217eed65e76bdeeb99d73962799743713367
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workflowexecutions_v1
2
2
 
3
+ ### v0.17.0 (2022-09-13)
4
+
5
+ * Regenerated from discovery document revision 20220830
6
+
3
7
  ### v0.16.0 (2022-08-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20220817
@@ -116,6 +116,19 @@ module Google
116
116
  # @return [String]
117
117
  attr_accessor :state
118
118
 
119
+ # > **Preview:** This field is covered by the > [Pre-GA Offerings Terms](https://
120
+ # cloud.google.com/terms/service-terms) of > the Google Cloud Terms of Service.
121
+ # Pre-GA features might have limited > support, and changes to pre-GA features
122
+ # might not be compatible with > other pre-GA versions. For more information,
123
+ # see the > [launch stage descriptions](https://cloud.google.com/products#
124
+ # product-launch-stages). > This field is usable only if your project has access.
125
+ # See the > [access request page](https://docs.google.com/forms/d/e/
126
+ # 1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents
127
+ # the current status of this execution.
128
+ # Corresponds to the JSON property `status`
129
+ # @return [Google::Apis::WorkflowexecutionsV1::Status]
130
+ attr_accessor :status
131
+
119
132
  # Output only. Revision of the workflow this execution is using.
120
133
  # Corresponds to the JSON property `workflowRevisionId`
121
134
  # @return [String]
@@ -135,6 +148,7 @@ module Google
135
148
  @result = args[:result] if args.key?(:result)
136
149
  @start_time = args[:start_time] if args.key?(:start_time)
137
150
  @state = args[:state] if args.key?(:state)
151
+ @status = args[:status] if args.key?(:status)
138
152
  @workflow_revision_id = args[:workflow_revision_id] if args.key?(:workflow_revision_id)
139
153
  end
140
154
  end
@@ -312,6 +326,63 @@ module Google
312
326
  end
313
327
  end
314
328
 
329
+ # > **Preview:** This field is covered by the > [Pre-GA Offerings Terms](https://
330
+ # cloud.google.com/terms/service-terms) of > the Google Cloud Terms of Service.
331
+ # Pre-GA features might have limited > support, and changes to pre-GA features
332
+ # might not be compatible with > other pre-GA versions. For more information,
333
+ # see the > [launch stage descriptions](https://cloud.google.com/products#
334
+ # product-launch-stages). > This field is usable only if your project has access.
335
+ # See the > [access request page](https://docs.google.com/forms/d/e/
336
+ # 1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents
337
+ # the current status of this execution.
338
+ class Status
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # A list of currently executing or last executed step names for the workflow
342
+ # execution currently running. If the workflow has succeeded or failed, this is
343
+ # the last attempted or executed step. Presently, if the current step is inside
344
+ # a subworkflow, the list only includes that step. In the future, the list will
345
+ # contain items for each step in the call stack, starting with the outermost
346
+ # step in the `main` subworkflow, and ending with the most deeply nested step.
347
+ # Corresponds to the JSON property `currentSteps`
348
+ # @return [Array<Google::Apis::WorkflowexecutionsV1::Step>]
349
+ attr_accessor :current_steps
350
+
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
354
+
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ @current_steps = args[:current_steps] if args.key?(:current_steps)
358
+ end
359
+ end
360
+
361
+ # Represents a step of the workflow this execution is running.
362
+ class Step
363
+ include Google::Apis::Core::Hashable
364
+
365
+ # Name of a routine within the workflow.
366
+ # Corresponds to the JSON property `routine`
367
+ # @return [String]
368
+ attr_accessor :routine
369
+
370
+ # Name of a step within the routine.
371
+ # Corresponds to the JSON property `step`
372
+ # @return [String]
373
+ attr_accessor :step
374
+
375
+ def initialize(**args)
376
+ update!(**args)
377
+ end
378
+
379
+ # Update properties of this object
380
+ def update!(**args)
381
+ @routine = args[:routine] if args.key?(:routine)
382
+ @step = args[:step] if args.key?(:step)
383
+ end
384
+ end
385
+
315
386
  # Request for the TriggerPubsubExecution method.
316
387
  class TriggerPubsubExecutionRequest
317
388
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkflowexecutionsV1
18
18
  # Version of the google-apis-workflowexecutions_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220817"
25
+ REVISION = "20220830"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,18 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class Status
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Step
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class TriggerPubsubExecutionRequest
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -104,6 +116,8 @@ module Google
104
116
  property :result, as: 'result'
105
117
  property :start_time, as: 'startTime'
106
118
  property :state, as: 'state'
119
+ property :status, as: 'status', class: Google::Apis::WorkflowexecutionsV1::Status, decorator: Google::Apis::WorkflowexecutionsV1::Status::Representation
120
+
107
121
  property :workflow_revision_id, as: 'workflowRevisionId'
108
122
  end
109
123
  end
@@ -155,6 +169,22 @@ module Google
155
169
  end
156
170
  end
157
171
 
172
+ class Status
173
+ # @private
174
+ class Representation < Google::Apis::Core::JsonRepresentation
175
+ collection :current_steps, as: 'currentSteps', class: Google::Apis::WorkflowexecutionsV1::Step, decorator: Google::Apis::WorkflowexecutionsV1::Step::Representation
176
+
177
+ end
178
+ end
179
+
180
+ class Step
181
+ # @private
182
+ class Representation < Google::Apis::Core::JsonRepresentation
183
+ property :routine, as: 'routine'
184
+ property :step, as: 'step'
185
+ end
186
+ end
187
+
158
188
  class TriggerPubsubExecutionRequest
159
189
  # @private
160
190
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workflowexecutions_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workflowexecutions_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workflowexecutions_v1
63
63
  post_install_message:
64
64
  rdoc_options: []