google-apis-workflows_v1 0.23.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d2905e0d44185847ddef218bf65687538d184e830f847ef5330c5f4ba24ea78
|
4
|
+
data.tar.gz: 298542f8bea17eee2bf99f3c360aea55242bce2db8ec12d460351aae552b64e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3518a13bbb5b3a3ba0d15ae76490e4f92ec53cc9eb4fcaf05fdf95300cad5dc0398da9e44b185766c4d76656d76b55a921c9b52bece988ccd4b2b25da423f763
|
7
|
+
data.tar.gz: 51d0f8df1578225aac83eaacca97c880b1c416f83aa4e8256d5a3e71369ccc952ac884f3d576b134dc15c0cf5814c333f78a01ba50c7bc607509ab9ba9dc74b3
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -327,6 +352,16 @@ module Google
|
|
327
352
|
# @return [String]
|
328
353
|
attr_accessor :create_time
|
329
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
|
+
|
330
365
|
# Description of the workflow provided by the user. Must be at most 1000 unicode
|
331
366
|
# characters long.
|
332
367
|
# Corresponds to the JSON property `description`
|
@@ -384,6 +419,11 @@ module Google
|
|
384
419
|
# @return [String]
|
385
420
|
attr_accessor :state
|
386
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
|
+
|
387
427
|
# Output only. The timestamp for when the workflow was last updated.
|
388
428
|
# Corresponds to the JSON property `updateTime`
|
389
429
|
# @return [String]
|
@@ -397,6 +437,7 @@ module Google
|
|
397
437
|
def update!(**args)
|
398
438
|
@call_log_level = args[:call_log_level] if args.key?(:call_log_level)
|
399
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)
|
400
441
|
@description = args[:description] if args.key?(:description)
|
401
442
|
@labels = args[:labels] if args.key?(:labels)
|
402
443
|
@name = args[:name] if args.key?(:name)
|
@@ -405,6 +446,7 @@ module Google
|
|
405
446
|
@service_account = args[:service_account] if args.key?(:service_account)
|
406
447
|
@source_contents = args[:source_contents] if args.key?(:source_contents)
|
407
448
|
@state = args[:state] if args.key?(:state)
|
449
|
+
@state_error = args[:state_error] if args.key?(:state_error)
|
408
450
|
@update_time = args[:update_time] if args.key?(:update_time)
|
409
451
|
end
|
410
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.
|
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 = "
|
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
|
@@ -158,6 +172,7 @@ module Google
|
|
158
172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
159
173
|
property :call_log_level, as: 'callLogLevel'
|
160
174
|
property :create_time, as: 'createTime'
|
175
|
+
property :crypto_key_name, as: 'cryptoKeyName'
|
161
176
|
property :description, as: 'description'
|
162
177
|
hash :labels, as: 'labels'
|
163
178
|
property :name, as: 'name'
|
@@ -166,6 +181,8 @@ module Google
|
|
166
181
|
property :service_account, as: 'serviceAccount'
|
167
182
|
property :source_contents, as: 'sourceContents'
|
168
183
|
property :state, as: 'state'
|
184
|
+
property :state_error, as: 'stateError', class: Google::Apis::WorkflowsV1::StateError, decorator: Google::Apis::WorkflowsV1::StateError::Representation
|
185
|
+
|
169
186
|
property :update_time, as: 'updateTime'
|
170
187
|
end
|
171
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.
|
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-04-
|
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.
|
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: []
|