google-apis-workflows_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: a2fec5f42f60d1767ea68eb2b0cde23931e78aeb8e82996a262dd7667bcf99c0
4
- data.tar.gz: 66a728f7038e87a41088de40b51234297135d2a9eb9036df8dbc114cde21ed9f
3
+ metadata.gz: 4d2905e0d44185847ddef218bf65687538d184e830f847ef5330c5f4ba24ea78
4
+ data.tar.gz: 298542f8bea17eee2bf99f3c360aea55242bce2db8ec12d460351aae552b64e7
5
5
  SHA512:
6
- metadata.gz: 1beaa274340706595b30b2ca627b47aabb23bb3f322e2a881f62eb7b5dfb10290e7aa27f1ff2e9c6861294a0e544889eb465c7eb3790cb7198ed253cbe6be725
7
- data.tar.gz: 19761e5ee2358e849adbbcfe3aabf29abd38f54fd31b8c425afcc968b946891cb25ce8efeed799775fb489e6fe4d573620a004456205e1ada5ea666bd7e3f855
6
+ metadata.gz: 3518a13bbb5b3a3ba0d15ae76490e4f92ec53cc9eb4fcaf05fdf95300cad5dc0398da9e44b185766c4d76656d76b55a921c9b52bece988ccd4b2b25da423f763
7
+ data.tar.gz: 51d0f8df1578225aac83eaacca97c880b1c416f83aa4e8256d5a3e71369ccc952ac884f3d576b134dc15c0cf5814c333f78a01ba50c7bc607509ab9ba9dc74b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workflows_v1
2
2
 
3
+ ### v0.24.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230329
6
+
7
+ ### v0.23.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230322
10
+
3
11
  ### v0.22.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230308
@@ -272,6 +272,31 @@ module Google
272
272
  end
273
273
  end
274
274
 
275
+ # Describes an error related to the current state of the workflow.
276
+ class StateError
277
+ include Google::Apis::Core::Hashable
278
+
279
+ # Provides specifics about the error.
280
+ # Corresponds to the JSON property `details`
281
+ # @return [String]
282
+ attr_accessor :details
283
+
284
+ # The type of this state error.
285
+ # Corresponds to the JSON property `type`
286
+ # @return [String]
287
+ attr_accessor :type
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @details = args[:details] if args.key?(:details)
296
+ @type = args[:type] if args.key?(:type)
297
+ end
298
+ end
299
+
275
300
  # The `Status` type defines a logical error model that is suitable for different
276
301
  # programming environments, including REST APIs and RPC APIs. It is used by [
277
302
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -315,11 +340,28 @@ module Google
315
340
  class Workflow
316
341
  include Google::Apis::Core::Hashable
317
342
 
343
+ # Optional. Describes the level of platform logging to apply to calls and call
344
+ # responses during executions of this workflow. If both the workflow and the
345
+ # execution specify a logging level, the execution level takes precedence.
346
+ # Corresponds to the JSON property `callLogLevel`
347
+ # @return [String]
348
+ attr_accessor :call_log_level
349
+
318
350
  # Output only. The timestamp for when the workflow was created.
319
351
  # Corresponds to the JSON property `createTime`
320
352
  # @return [String]
321
353
  attr_accessor :create_time
322
354
 
355
+ # Optional. The resource name of a KMS crypto key used to encrypt or decrypt the
356
+ # data associated with the workflow. Format: projects/`project`/locations/`
357
+ # location`/keyRings/`keyRing`/cryptoKeys/`cryptoKey` Using `-` as a wildcard
358
+ # for the ``project`` or not providing one at all will infer the project from
359
+ # the account. If not provided, data associated with the workflow will not be
360
+ # CMEK-encrypted.
361
+ # Corresponds to the JSON property `cryptoKeyName`
362
+ # @return [String]
363
+ attr_accessor :crypto_key_name
364
+
323
365
  # Description of the workflow provided by the user. Must be at most 1000 unicode
324
366
  # characters long.
325
367
  # Corresponds to the JSON property `description`
@@ -377,6 +419,11 @@ module Google
377
419
  # @return [String]
378
420
  attr_accessor :state
379
421
 
422
+ # Describes an error related to the current state of the workflow.
423
+ # Corresponds to the JSON property `stateError`
424
+ # @return [Google::Apis::WorkflowsV1::StateError]
425
+ attr_accessor :state_error
426
+
380
427
  # Output only. The timestamp for when the workflow was last updated.
381
428
  # Corresponds to the JSON property `updateTime`
382
429
  # @return [String]
@@ -388,7 +435,9 @@ module Google
388
435
 
389
436
  # Update properties of this object
390
437
  def update!(**args)
438
+ @call_log_level = args[:call_log_level] if args.key?(:call_log_level)
391
439
  @create_time = args[:create_time] if args.key?(:create_time)
440
+ @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
392
441
  @description = args[:description] if args.key?(:description)
393
442
  @labels = args[:labels] if args.key?(:labels)
394
443
  @name = args[:name] if args.key?(:name)
@@ -397,6 +446,7 @@ module Google
397
446
  @service_account = args[:service_account] if args.key?(:service_account)
398
447
  @source_contents = args[:source_contents] if args.key?(:source_contents)
399
448
  @state = args[:state] if args.key?(:state)
449
+ @state_error = args[:state_error] if args.key?(:state_error)
400
450
  @update_time = args[:update_time] if args.key?(:update_time)
401
451
  end
402
452
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkflowsV1
18
18
  # Version of the google-apis-workflows_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 = "20230308"
25
+ REVISION = "20230329"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class StateError
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class Status
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -144,6 +150,14 @@ module Google
144
150
  end
145
151
  end
146
152
 
153
+ class StateError
154
+ # @private
155
+ class Representation < Google::Apis::Core::JsonRepresentation
156
+ property :details, as: 'details'
157
+ property :type, as: 'type'
158
+ end
159
+ end
160
+
147
161
  class Status
148
162
  # @private
149
163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -156,7 +170,9 @@ module Google
156
170
  class Workflow
157
171
  # @private
158
172
  class Representation < Google::Apis::Core::JsonRepresentation
173
+ property :call_log_level, as: 'callLogLevel'
159
174
  property :create_time, as: 'createTime'
175
+ property :crypto_key_name, as: 'cryptoKeyName'
160
176
  property :description, as: 'description'
161
177
  hash :labels, as: 'labels'
162
178
  property :name, as: 'name'
@@ -165,6 +181,8 @@ module Google
165
181
  property :service_account, as: 'serviceAccount'
166
182
  property :source_contents, as: 'sourceContents'
167
183
  property :state, as: 'state'
184
+ property :state_error, as: 'stateError', class: Google::Apis::WorkflowsV1::StateError, decorator: Google::Apis::WorkflowsV1::StateError::Representation
185
+
168
186
  property :update_time, as: 'updateTime'
169
187
  end
170
188
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workflows_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-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-23 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-workflows_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workflows_v1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflows_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workflows_v1
63
63
  post_install_message:
64
64
  rdoc_options: []