google-apis-workflowexecutions_v1 0.19.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/workflowexecutions_v1/classes.rb +15 -0
- data/lib/google/apis/workflowexecutions_v1/gem_version.rb +3 -3
- data/lib/google/apis/workflowexecutions_v1/representations.rb +2 -0
- data/lib/google/apis/workflowexecutions_v1/service.rb +12 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 286d61d5eb9b6f0292ddd1938b0bfd6ca8cf91cdb4f7be1a93436d524156103a
|
4
|
+
data.tar.gz: 410dc3032e8db700446dbcecec8db7a9f6bd2bb18d19b48f23821b025949a094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeb9cd78774e1fabb422a620beb14be93df59d4d057435ba6237fa21f70ac2c97fed3250904a072889881cf622a230f1d21565a429f328660f5c40581aa59a79
|
7
|
+
data.tar.gz: 2482138a77041ed9800a51870897c08caf86d4da65d01d0982954fc981e10c4cfa980767dc6613b51684d2c9d9b530e97f07390f7ea15bec12573725cd3c78e3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-workflowexecutions_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230117
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.20.0 (2022-12-18)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221206
|
11
|
+
|
3
12
|
### v0.19.0 (2022-10-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221020
|
@@ -84,6 +84,11 @@ module Google
|
|
84
84
|
# @return [String]
|
85
85
|
attr_accessor :call_log_level
|
86
86
|
|
87
|
+
# Output only. Measures the duration of the execution.
|
88
|
+
# Corresponds to the JSON property `duration`
|
89
|
+
# @return [String]
|
90
|
+
attr_accessor :duration
|
91
|
+
|
87
92
|
# Output only. Marks the end of execution, successful or not.
|
88
93
|
# Corresponds to the JSON property `endTime`
|
89
94
|
# @return [String]
|
@@ -94,6 +99,14 @@ module Google
|
|
94
99
|
# @return [Google::Apis::WorkflowexecutionsV1::Error]
|
95
100
|
attr_accessor :error
|
96
101
|
|
102
|
+
# Labels associated with this execution. Labels can contain at most 64 entries.
|
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.
|
106
|
+
# Corresponds to the JSON property `labels`
|
107
|
+
# @return [Hash<String,String>]
|
108
|
+
attr_accessor :labels
|
109
|
+
|
97
110
|
# Output only. The resource name of the execution. Format: projects/`project`/
|
98
111
|
# locations/`location`/workflows/`workflow`/executions/`execution`
|
99
112
|
# Corresponds to the JSON property `name`
|
@@ -134,8 +147,10 @@ module Google
|
|
134
147
|
def update!(**args)
|
135
148
|
@argument = args[:argument] if args.key?(:argument)
|
136
149
|
@call_log_level = args[:call_log_level] if args.key?(:call_log_level)
|
150
|
+
@duration = args[:duration] if args.key?(:duration)
|
137
151
|
@end_time = args[:end_time] if args.key?(:end_time)
|
138
152
|
@error = args[:error] if args.key?(:error)
|
153
|
+
@labels = args[:labels] if args.key?(:labels)
|
139
154
|
@name = args[:name] if args.key?(:name)
|
140
155
|
@result = args[:result] if args.key?(:result)
|
141
156
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -109,9 +109,11 @@ module Google
|
|
109
109
|
class Representation < Google::Apis::Core::JsonRepresentation
|
110
110
|
property :argument, as: 'argument'
|
111
111
|
property :call_log_level, as: 'callLogLevel'
|
112
|
+
property :duration, as: 'duration'
|
112
113
|
property :end_time, as: 'endTime'
|
113
114
|
property :error, as: 'error', class: Google::Apis::WorkflowexecutionsV1::Error, decorator: Google::Apis::WorkflowexecutionsV1::Error::Representation
|
114
115
|
|
116
|
+
hash :labels, as: 'labels'
|
115
117
|
property :name, as: 'name'
|
116
118
|
property :result, as: 'result'
|
117
119
|
property :start_time, as: 'startTime'
|
@@ -194,6 +194,15 @@ module Google
|
|
194
194
|
# @param [String] parent
|
195
195
|
# Required. Name of the workflow for which the executions should be listed.
|
196
196
|
# Format: projects/`project`/locations/`location`/workflows/`workflow`
|
197
|
+
# @param [String] filter
|
198
|
+
# Optional. Filters applied to the [Executions.ListExecutions] results. The
|
199
|
+
# following fields are supported for filtering: executionID, state, startTime,
|
200
|
+
# endTime, duration, workflowRevisionID, stepName, and label.
|
201
|
+
# @param [String] order_by
|
202
|
+
# Optional. The orderding applied to the [Executions.ListExecutions] results. By
|
203
|
+
# default the ordering is based on descending start time. The following fields
|
204
|
+
# are supported for order by: executionID, startTime, endTime, duration, state,
|
205
|
+
# and workflowRevisionID.
|
197
206
|
# @param [Fixnum] page_size
|
198
207
|
# Maximum number of executions to return per call. Max supported value depends
|
199
208
|
# on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The
|
@@ -223,11 +232,13 @@ module Google
|
|
223
232
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
224
233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
225
234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
226
|
-
def list_project_location_workflow_executions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
235
|
+
def list_project_location_workflow_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
227
236
|
command = make_simple_command(:get, 'v1/{+parent}/executions', options)
|
228
237
|
command.response_representation = Google::Apis::WorkflowexecutionsV1::ListExecutionsResponse::Representation
|
229
238
|
command.response_class = Google::Apis::WorkflowexecutionsV1::ListExecutionsResponse
|
230
239
|
command.params['parent'] = parent unless parent.nil?
|
240
|
+
command.query['filter'] = filter unless filter.nil?
|
241
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
231
242
|
command.query['pageSize'] = page_size unless page_size.nil?
|
232
243
|
command.query['pageToken'] = page_token unless page_token.nil?
|
233
244
|
command.query['view'] = view unless view.nil?
|
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.
|
4
|
+
version: 0.21.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:
|
11
|
+
date: 2023-01-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.21.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Workflow Executions API V1
|