google-apis-workflowexecutions_v1 0.22.0 → 0.24.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: 9f796120dd377df207db46c7c07f44a53a465eddaa2b03473820387f76489a08
4
- data.tar.gz: 5fef42b6ef5a146512163b982c447f9c24a42c310a04f54b41a7ab92956d0161
3
+ metadata.gz: bb4b15100ff509e62c4d3915de20b9d3adce71fa6af9eb03c2316dbfa876cf5a
4
+ data.tar.gz: 00b912dd2c174a47ec9591628e4e1120eb87e9ef94c53c0191df7d826b2825f6
5
5
  SHA512:
6
- metadata.gz: 71e8ede84a39a07615f9b72b5524724207c0423f4bc99dae6874173a55dcc601e735e4635fd58249231e3af1bb95b1502f79d1815d8b8d67c1be562b55968686
7
- data.tar.gz: 433c8e9c4146aa31a0e0d9903b75e03702ac2b77612363923548daad9bd8f8ceb1d4719b57398b53592f8526b093edbb781574355877df79f96adc3b49524c63
6
+ metadata.gz: 3fd3cc0651ceffd3aa8924549ed9a593e594ba44f03bedfb8e49fd650e44f3307b63a285356a2b8caf3e87b3bb36b2f6741e50b506f97feaa51750900003b6b9
7
+ data.tar.gz: 381951917cfdd94794bc53d395974d7ebf2c3643d7c3ea0ba4bed614678f02130ee0213bf6e2d278eeb38fc0c2d71d55e88e167056153ceb1f900149b67de3ad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workflowexecutions_v1
2
2
 
3
+ ### v0.24.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230328
6
+
7
+ ### v0.23.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230221
10
+
3
11
  ### v0.22.0 (2023-02-26)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -101,8 +101,10 @@ module Google
101
101
 
102
102
  # Labels associated with this execution. Labels can contain at most 64 entries.
103
103
  # Keys and values can be no longer than 63 characters and can only contain
104
- # lowercase letters, numeric characters, underscores and dashes. Label keys must
105
- # start with a letter. International characters are allowed.
104
+ # lowercase letters, numeric characters, underscores, and dashes. Label keys
105
+ # must start with a letter. International characters are allowed. By default,
106
+ # labels are inherited from the workflow but are overridden by any labels
107
+ # associated with the execution.
106
108
  # Corresponds to the JSON property `labels`
107
109
  # @return [Hash<String,String>]
108
110
  attr_accessor :labels
@@ -129,6 +131,11 @@ module Google
129
131
  # @return [String]
130
132
  attr_accessor :state
131
133
 
134
+ # Describes an error related to the current state of the Execution resource.
135
+ # Corresponds to the JSON property `stateError`
136
+ # @return [Google::Apis::WorkflowexecutionsV1::StateError]
137
+ attr_accessor :state_error
138
+
132
139
  # Represents the current status of this execution.
133
140
  # Corresponds to the JSON property `status`
134
141
  # @return [Google::Apis::WorkflowexecutionsV1::Status]
@@ -155,6 +162,7 @@ module Google
155
162
  @result = args[:result] if args.key?(:result)
156
163
  @start_time = args[:start_time] if args.key?(:start_time)
157
164
  @state = args[:state] if args.key?(:state)
165
+ @state_error = args[:state_error] if args.key?(:state_error)
158
166
  @status = args[:status] if args.key?(:status)
159
167
  @workflow_revision_id = args[:workflow_revision_id] if args.key?(:workflow_revision_id)
160
168
  end
@@ -333,6 +341,31 @@ module Google
333
341
  end
334
342
  end
335
343
 
344
+ # Describes an error related to the current state of the Execution resource.
345
+ class StateError
346
+ include Google::Apis::Core::Hashable
347
+
348
+ # Provides specifics about the error.
349
+ # Corresponds to the JSON property `details`
350
+ # @return [String]
351
+ attr_accessor :details
352
+
353
+ # The type of this state error.
354
+ # Corresponds to the JSON property `type`
355
+ # @return [String]
356
+ attr_accessor :type
357
+
358
+ def initialize(**args)
359
+ update!(**args)
360
+ end
361
+
362
+ # Update properties of this object
363
+ def update!(**args)
364
+ @details = args[:details] if args.key?(:details)
365
+ @type = args[:type] if args.key?(:type)
366
+ end
367
+ end
368
+
336
369
  # Represents the current status of this execution.
337
370
  class Status
338
371
  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.22.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230117"
25
+ REVISION = "20230328"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class StateError
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Status
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -118,6 +124,8 @@ module Google
118
124
  property :result, as: 'result'
119
125
  property :start_time, as: 'startTime'
120
126
  property :state, as: 'state'
127
+ property :state_error, as: 'stateError', class: Google::Apis::WorkflowexecutionsV1::StateError, decorator: Google::Apis::WorkflowexecutionsV1::StateError::Representation
128
+
121
129
  property :status, as: 'status', class: Google::Apis::WorkflowexecutionsV1::Status, decorator: Google::Apis::WorkflowexecutionsV1::Status::Representation
122
130
 
123
131
  property :workflow_revision_id, as: 'workflowRevisionId'
@@ -171,6 +179,14 @@ module Google
171
179
  end
172
180
  end
173
181
 
182
+ class StateError
183
+ # @private
184
+ class Representation < Google::Apis::Core::JsonRepresentation
185
+ property :details, as: 'details'
186
+ property :type, as: 'type'
187
+ end
188
+ end
189
+
174
190
  class Status
175
191
  # @private
176
192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -199,7 +199,7 @@ module Google
199
199
  # following fields are supported for filtering: executionID, state, startTime,
200
200
  # endTime, duration, workflowRevisionID, stepName, and label.
201
201
  # @param [String] order_by
202
- # Optional. The orderding applied to the [Executions.ListExecutions] results. By
202
+ # Optional. The ordering applied to the [Executions.ListExecutions] results. By
203
203
  # default the ordering is based on descending start time. The following fields
204
204
  # are supported for order by: executionID, startTime, endTime, duration, state,
205
205
  # and workflowRevisionID.
@@ -211,7 +211,9 @@ module Google
211
211
  # @param [String] page_token
212
212
  # A page token, received from a previous `ListExecutions` call. Provide this to
213
213
  # retrieve the subsequent page. When paginating, all other parameters provided
214
- # to `ListExecutions` must match the call that provided the page token.
214
+ # to `ListExecutions` must match the call that provided the page token. Note
215
+ # that pagination is applied to dynamic data. The list of executions returned
216
+ # can change between page requests.
215
217
  # @param [String] view
216
218
  # Optional. A view defining which fields should be filled in the returned
217
219
  # executions. The API will default to the BASIC view.
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.22.0
4
+ version: 0.24.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: 2023-02-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.24.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: []