google-apis-workflowexecutions_v1 0.23.0 → 0.25.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: 7670fa626d258611fd84f5321e97b2967d46cc1ca543e2073f2743f18002006c
4
- data.tar.gz: 11f242770ce3c112e459a4667ecbaf3448ff54c239bece728693ae6856acab6d
3
+ metadata.gz: d79f44fefc117ab0411e25a926c77b89db273192e8ebe274adeee3d59ea8f62e
4
+ data.tar.gz: bdefd0742be3bb5280d52d042c79fd6a2964fb887efdbed36f961ea55963e79c
5
5
  SHA512:
6
- metadata.gz: 8c512844ca15d60efa8a20c01b6465e51af426233a15ca24d01a33ec9fc665fe19ec7c3df44151c68a3140466ed1a24657f40c95839aa2da906ee2504ff7a522
7
- data.tar.gz: 5ff13757c97f0c516933fb8b037a0cc16f81c1ba0b2df25565a10c4ca3cd6c717aeba15630c92693535c573e082c1a38d1b490dba933fbaaa5952966c9c47499
6
+ metadata.gz: dd661a06f574aa5160a991a9f48eb3e976d2f7d006c490f1996254c72b80dc3327211aa9841009a452934b7dcc2e72d4653de2a9a041a295667b3fb13be32773
7
+ data.tar.gz: 5eda431713ea0d929acc3a67b3bc03bc0855f6f985034519dde2d2bcbc540ef1f5f28c2ab81f4803ee1ef3119bb82201d00d9415b509f638cddf2a802c21a2a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workflowexecutions_v1
2
2
 
3
+ ### v0.25.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230607
6
+
7
+ ### v0.24.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230328
10
+
3
11
  ### v0.23.0 (2023-03-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20230221
@@ -131,6 +131,11 @@ module Google
131
131
  # @return [String]
132
132
  attr_accessor :state
133
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
+
134
139
  # Represents the current status of this execution.
135
140
  # Corresponds to the JSON property `status`
136
141
  # @return [Google::Apis::WorkflowexecutionsV1::Status]
@@ -157,6 +162,7 @@ module Google
157
162
  @result = args[:result] if args.key?(:result)
158
163
  @start_time = args[:start_time] if args.key?(:start_time)
159
164
  @state = args[:state] if args.key?(:state)
165
+ @state_error = args[:state_error] if args.key?(:state_error)
160
166
  @status = args[:status] if args.key?(:status)
161
167
  @workflow_revision_id = args[:workflow_revision_id] if args.key?(:workflow_revision_id)
162
168
  end
@@ -335,6 +341,31 @@ module Google
335
341
  end
336
342
  end
337
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
+
338
369
  # Represents the current status of this execution.
339
370
  class Status
340
371
  include Google::Apis::Core::Hashable
@@ -394,6 +425,13 @@ module Google
394
425
  # @return [String]
395
426
  attr_accessor :gcp_cloud_events_mode
396
427
 
428
+ # The number of attempts that have been made to deliver this message. This is
429
+ # set by Pub/Sub for subscriptions that have the "dead letter" feature enabled,
430
+ # and hence provided here for compatibility, but is ignored by Workflows.
431
+ # Corresponds to the JSON property `deliveryAttempt`
432
+ # @return [Fixnum]
433
+ attr_accessor :delivery_attempt
434
+
397
435
  # A message that is published by publishers and consumed by subscribers. The
398
436
  # message must contain either a non-empty data field or at least one attribute.
399
437
  # Note that client libraries represent this object differently depending on the
@@ -418,6 +456,7 @@ module Google
418
456
  # Update properties of this object
419
457
  def update!(**args)
420
458
  @gcp_cloud_events_mode = args[:gcp_cloud_events_mode] if args.key?(:gcp_cloud_events_mode)
459
+ @delivery_attempt = args[:delivery_attempt] if args.key?(:delivery_attempt)
421
460
  @message = args[:message] if args.key?(:message)
422
461
  @subscription = args[:subscription] if args.key?(:subscription)
423
462
  end
@@ -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.23.0"
19
+ GEM_VERSION = "0.25.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 = "20230221"
25
+ REVISION = "20230607"
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
@@ -191,6 +207,7 @@ module Google
191
207
  # @private
192
208
  class Representation < Google::Apis::Core::JsonRepresentation
193
209
  property :gcp_cloud_events_mode, as: 'GCPCloudEventsMode'
210
+ property :delivery_attempt, as: 'deliveryAttempt'
194
211
  property :message, as: 'message', class: Google::Apis::WorkflowexecutionsV1::PubsubMessage, decorator: Google::Apis::WorkflowexecutionsV1::PubsubMessage::Representation
195
212
 
196
213
  property :subscription, as: 'subscription'
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.23.0
4
+ version: 0.25.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-03-05 00:00:00.000000000 Z
11
+ date: 2023-06-18 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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.25.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: []