Skip to content

Commit da1690b

Browse files
feat(workflowexecutions): update the api
#### workflowexecutions:v1 The following keys were added: - schemas.Error.properties.stackTrace (Total Keys: 1) - schemas.Position (Total Keys: 8) - schemas.StackTrace (Total Keys: 9)
1 parent d959217 commit da1690b

File tree

4 files changed

+506
-382
lines changed

4 files changed

+506
-382
lines changed

docs/dyn/workflowexecutions_v1.projects.locations.workflows.executions.html

Lines changed: 75 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,21 @@ <h3>Method Details</h3>
117117
&quot;argument&quot;: &quot;A String&quot;, # Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `&#x27;{&quot;argument&quot;:&quot;{\&quot;firstName\&quot;:\&quot;FIRST\&quot;,\&quot;lastName\&quot;:\&quot;LAST\&quot;}&quot;}&#x27;`
118118
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
119119
&quot;error&quot;: { # Error describes why the execution was abnormally terminated. # Output only. The error which caused the execution to finish prematurely. The value is only present if the execution&#x27;s state is `FAILED` or `CANCELLED`.
120-
&quot;context&quot;: &quot;A String&quot;, # Human readable error context, helpful for debugging purposes.
121-
&quot;payload&quot;: &quot;A String&quot;, # Error payload returned by the execution, represented as a JSON string.
120+
&quot;context&quot;: &quot;A String&quot;, # Human readable stack trace string.
121+
&quot;payload&quot;: &quot;A String&quot;, # Error message and data returned represented as a JSON string.
122+
&quot;stackTrace&quot;: { # A collection of stack elements (frames) where an error occurred. # Stack trace with detailed information of where error was generated.
123+
&quot;elements&quot;: [ # An array of Stack elements.
124+
{ # A single stack element (frame) where an error occurred.
125+
&quot;position&quot;: { # Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes. # The source position information of the stacktrace element.
126+
&quot;column&quot;: &quot;A String&quot;, # The source code column position (of the line) the current instruction was generated from.
127+
&quot;length&quot;: &quot;A String&quot;, # The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
128+
&quot;line&quot;: &quot;A String&quot;, # The source code line number the current instruction was generated from.
129+
},
130+
&quot;routine&quot;: &quot;A String&quot;, # The routine where the error occurred.
131+
&quot;step&quot;: &quot;A String&quot;, # The step the error occurred at.
132+
},
133+
],
134+
},
122135
},
123136
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
124137
&quot;result&quot;: &quot;A String&quot;, # Output only. Output of the execution represented as a JSON string. The value can only be present if the execution&#x27;s state is `SUCCEEDED`.
@@ -146,8 +159,21 @@ <h3>Method Details</h3>
146159
&quot;argument&quot;: &quot;A String&quot;, # Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `&#x27;{&quot;argument&quot;:&quot;{\&quot;firstName\&quot;:\&quot;FIRST\&quot;,\&quot;lastName\&quot;:\&quot;LAST\&quot;}&quot;}&#x27;`
147160
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
148161
&quot;error&quot;: { # Error describes why the execution was abnormally terminated. # Output only. The error which caused the execution to finish prematurely. The value is only present if the execution&#x27;s state is `FAILED` or `CANCELLED`.
149-
&quot;context&quot;: &quot;A String&quot;, # Human readable error context, helpful for debugging purposes.
150-
&quot;payload&quot;: &quot;A String&quot;, # Error payload returned by the execution, represented as a JSON string.
162+
&quot;context&quot;: &quot;A String&quot;, # Human readable stack trace string.
163+
&quot;payload&quot;: &quot;A String&quot;, # Error message and data returned represented as a JSON string.
164+
&quot;stackTrace&quot;: { # A collection of stack elements (frames) where an error occurred. # Stack trace with detailed information of where error was generated.
165+
&quot;elements&quot;: [ # An array of Stack elements.
166+
{ # A single stack element (frame) where an error occurred.
167+
&quot;position&quot;: { # Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes. # The source position information of the stacktrace element.
168+
&quot;column&quot;: &quot;A String&quot;, # The source code column position (of the line) the current instruction was generated from.
169+
&quot;length&quot;: &quot;A String&quot;, # The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
170+
&quot;line&quot;: &quot;A String&quot;, # The source code line number the current instruction was generated from.
171+
},
172+
&quot;routine&quot;: &quot;A String&quot;, # The routine where the error occurred.
173+
&quot;step&quot;: &quot;A String&quot;, # The step the error occurred at.
174+
},
175+
],
176+
},
151177
},
152178
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
153179
&quot;result&quot;: &quot;A String&quot;, # Output only. Output of the execution represented as a JSON string. The value can only be present if the execution&#x27;s state is `SUCCEEDED`.
@@ -168,8 +194,21 @@ <h3>Method Details</h3>
168194
&quot;argument&quot;: &quot;A String&quot;, # Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `&#x27;{&quot;argument&quot;:&quot;{\&quot;firstName\&quot;:\&quot;FIRST\&quot;,\&quot;lastName\&quot;:\&quot;LAST\&quot;}&quot;}&#x27;`
169195
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
170196
&quot;error&quot;: { # Error describes why the execution was abnormally terminated. # Output only. The error which caused the execution to finish prematurely. The value is only present if the execution&#x27;s state is `FAILED` or `CANCELLED`.
171-
&quot;context&quot;: &quot;A String&quot;, # Human readable error context, helpful for debugging purposes.
172-
&quot;payload&quot;: &quot;A String&quot;, # Error payload returned by the execution, represented as a JSON string.
197+
&quot;context&quot;: &quot;A String&quot;, # Human readable stack trace string.
198+
&quot;payload&quot;: &quot;A String&quot;, # Error message and data returned represented as a JSON string.
199+
&quot;stackTrace&quot;: { # A collection of stack elements (frames) where an error occurred. # Stack trace with detailed information of where error was generated.
200+
&quot;elements&quot;: [ # An array of Stack elements.
201+
{ # A single stack element (frame) where an error occurred.
202+
&quot;position&quot;: { # Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes. # The source position information of the stacktrace element.
203+
&quot;column&quot;: &quot;A String&quot;, # The source code column position (of the line) the current instruction was generated from.
204+
&quot;length&quot;: &quot;A String&quot;, # The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
205+
&quot;line&quot;: &quot;A String&quot;, # The source code line number the current instruction was generated from.
206+
},
207+
&quot;routine&quot;: &quot;A String&quot;, # The routine where the error occurred.
208+
&quot;step&quot;: &quot;A String&quot;, # The step the error occurred at.
209+
},
210+
],
211+
},
173212
},
174213
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
175214
&quot;result&quot;: &quot;A String&quot;, # Output only. Output of the execution represented as a JSON string. The value can only be present if the execution&#x27;s state is `SUCCEEDED`.
@@ -202,8 +241,21 @@ <h3>Method Details</h3>
202241
&quot;argument&quot;: &quot;A String&quot;, # Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `&#x27;{&quot;argument&quot;:&quot;{\&quot;firstName\&quot;:\&quot;FIRST\&quot;,\&quot;lastName\&quot;:\&quot;LAST\&quot;}&quot;}&#x27;`
203242
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
204243
&quot;error&quot;: { # Error describes why the execution was abnormally terminated. # Output only. The error which caused the execution to finish prematurely. The value is only present if the execution&#x27;s state is `FAILED` or `CANCELLED`.
205-
&quot;context&quot;: &quot;A String&quot;, # Human readable error context, helpful for debugging purposes.
206-
&quot;payload&quot;: &quot;A String&quot;, # Error payload returned by the execution, represented as a JSON string.
244+
&quot;context&quot;: &quot;A String&quot;, # Human readable stack trace string.
245+
&quot;payload&quot;: &quot;A String&quot;, # Error message and data returned represented as a JSON string.
246+
&quot;stackTrace&quot;: { # A collection of stack elements (frames) where an error occurred. # Stack trace with detailed information of where error was generated.
247+
&quot;elements&quot;: [ # An array of Stack elements.
248+
{ # A single stack element (frame) where an error occurred.
249+
&quot;position&quot;: { # Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes. # The source position information of the stacktrace element.
250+
&quot;column&quot;: &quot;A String&quot;, # The source code column position (of the line) the current instruction was generated from.
251+
&quot;length&quot;: &quot;A String&quot;, # The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
252+
&quot;line&quot;: &quot;A String&quot;, # The source code line number the current instruction was generated from.
253+
},
254+
&quot;routine&quot;: &quot;A String&quot;, # The routine where the error occurred.
255+
&quot;step&quot;: &quot;A String&quot;, # The step the error occurred at.
256+
},
257+
],
258+
},
207259
},
208260
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
209261
&quot;result&quot;: &quot;A String&quot;, # Output only. Output of the execution represented as a JSON string. The value can only be present if the execution&#x27;s state is `SUCCEEDED`.
@@ -240,8 +292,21 @@ <h3>Method Details</h3>
240292
&quot;argument&quot;: &quot;A String&quot;, # Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `&#x27;{&quot;argument&quot;:&quot;{\&quot;firstName\&quot;:\&quot;FIRST\&quot;,\&quot;lastName\&quot;:\&quot;LAST\&quot;}&quot;}&#x27;`
241293
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
242294
&quot;error&quot;: { # Error describes why the execution was abnormally terminated. # Output only. The error which caused the execution to finish prematurely. The value is only present if the execution&#x27;s state is `FAILED` or `CANCELLED`.
243-
&quot;context&quot;: &quot;A String&quot;, # Human readable error context, helpful for debugging purposes.
244-
&quot;payload&quot;: &quot;A String&quot;, # Error payload returned by the execution, represented as a JSON string.
295+
&quot;context&quot;: &quot;A String&quot;, # Human readable stack trace string.
296+
&quot;payload&quot;: &quot;A String&quot;, # Error message and data returned represented as a JSON string.
297+
&quot;stackTrace&quot;: { # A collection of stack elements (frames) where an error occurred. # Stack trace with detailed information of where error was generated.
298+
&quot;elements&quot;: [ # An array of Stack elements.
299+
{ # A single stack element (frame) where an error occurred.
300+
&quot;position&quot;: { # Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes. # The source position information of the stacktrace element.
301+
&quot;column&quot;: &quot;A String&quot;, # The source code column position (of the line) the current instruction was generated from.
302+
&quot;length&quot;: &quot;A String&quot;, # The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
303+
&quot;line&quot;: &quot;A String&quot;, # The source code line number the current instruction was generated from.
304+
},
305+
&quot;routine&quot;: &quot;A String&quot;, # The routine where the error occurred.
306+
&quot;step&quot;: &quot;A String&quot;, # The step the error occurred at.
307+
},
308+
],
309+
},
245310
},
246311
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
247312
&quot;result&quot;: &quot;A String&quot;, # Output only. Output of the execution represented as a JSON string. The value can only be present if the execution&#x27;s state is `SUCCEEDED`.

0 commit comments

Comments
 (0)