google-apis-workflowexecutions_v1 0.15.0 → 0.17.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: 0e280c8fb8fa5792c88d9039511ab34edb514bf94173037adac54dbf7093151f
4
- data.tar.gz: 741c4c18fa3f89d19bfd1ce219e7d48a97702d3c1cc4471ddbcbcc2075fba219
3
+ metadata.gz: d7480302f8b553bed3da853cb15f4a0a8878cf7131c081b471c64ca4b1b5290f
4
+ data.tar.gz: 608ee1b9dac4525b3529d4bc49b1ab62b959500ce5083f2e0a5576a61a0c2914
5
5
  SHA512:
6
- metadata.gz: 59dfc3db563d86e9b972ca23aadda63ae55eb777f595b9a8c7251b41f1bd480c6a7b3ab6278867da095808108a5c1d6bcca5484726aa82613e9260e82a9d0452
7
- data.tar.gz: f47f7003aa81ccda61316424074cb3f515a7c100a1f00cc995b2960a060ada480d1242bf33368b3e02df4596b2ad1710c40f793f33b6993ae9cd7cbb82c78c3f
6
+ metadata.gz: c08e0cbd22d4422aeb7f47ddcda5d0583d42244e12a595fdd68ba85a6722259fa35cc0de4c487e6d29ce806720c4ee1f3a00a3057aa1c4a27cc1767a057c8a1a
7
+ data.tar.gz: 3a0d3d92264fd168e50ef02595f2d44fe707c04a53f9a02e6153a7a38d8ba2fabc0060b7f6ac38ec6fe415ff8f22217eed65e76bdeeb99d73962799743713367
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.16.0 (2022-08-31)
8
+
9
+ * Regenerated from discovery document revision 20220817
10
+ * Regenerated using generator version 0.9.0
11
+
3
12
  ### v0.15.0 (2022-07-02)
4
13
 
5
14
  * Regenerated using generator version 0.8.0
@@ -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.15.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220412"
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
@@ -196,7 +196,7 @@ module Google
196
196
  # Format: projects/`project`/locations/`location`/workflows/`workflow`
197
197
  # @param [Fixnum] page_size
198
198
  # Maximum number of executions to return per call. Max supported value depends
199
- # on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The
199
+ # on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The
200
200
  # default value used if the field is not specified is 100, regardless of the
201
201
  # selected view. Values greater than the max value will be coerced down to it.
202
202
  # @param [String] page_token
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.15.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-07-04 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.15.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: []