Skip to content

Commit 3ff7723

Browse files
feat(workflowexecutions): update the api
#### workflowexecutions:v1 The following keys were added: - schemas.Execution.properties.duration (Total Keys: 3)
1 parent e521902 commit 3ff7723

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ <h3>Method Details</h3>
116116
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
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;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
119+
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
119120
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
120121
&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`.
121122
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
@@ -167,6 +168,7 @@ <h3>Method Details</h3>
167168
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
168169
&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;`
169170
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
171+
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
170172
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
171173
&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`.
172174
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
@@ -211,6 +213,7 @@ <h3>Method Details</h3>
211213
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
212214
&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;`
213215
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
216+
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
214217
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
215218
&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`.
216219
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
@@ -254,7 +257,7 @@ <h3>Method Details</h3>
254257
view: string, Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.
255258
Allowed values
256259
EXECUTION_VIEW_UNSPECIFIED - The default / unset value.
257-
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.
260+
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.
258261
FULL - Includes all data.
259262
x__xgafv: string, V1 error format.
260263
Allowed values
@@ -267,6 +270,7 @@ <h3>Method Details</h3>
267270
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
268271
&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;`
269272
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
273+
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
270274
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
271275
&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`.
272276
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
@@ -312,7 +316,7 @@ <h3>Method Details</h3>
312316
view: string, Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.
313317
Allowed values
314318
EXECUTION_VIEW_UNSPECIFIED - The default / unset value.
315-
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.
319+
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.
316320
FULL - Includes all data.
317321
x__xgafv: string, V1 error format.
318322
Allowed values
@@ -327,6 +331,7 @@ <h3>Method Details</h3>
327331
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
328332
&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;`
329333
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
334+
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
330335
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
331336
&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`.
332337
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ <h3>Method Details</h3>
125125
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
126126
&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;`
127127
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
128+
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
128129
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
129130
&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`.
130131
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.

googleapiclient/discovery_cache/documents/workflowexecutions.v1.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
],
225225
"enumDescriptions": [
226226
"The default / unset value.",
227-
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
227+
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
228228
"Includes all data."
229229
],
230230
"location": "query",
@@ -275,7 +275,7 @@
275275
],
276276
"enumDescriptions": [
277277
"The default / unset value.",
278-
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
278+
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
279279
"Includes all data."
280280
],
281281
"location": "query",
@@ -299,7 +299,7 @@
299299
}
300300
}
301301
},
302-
"revision": "20221108",
302+
"revision": "20221201",
303303
"rootUrl": "https://workflowexecutions.googleapis.com/",
304304
"schemas": {
305305
"CancelExecutionRequest": {
@@ -349,6 +349,12 @@
349349
],
350350
"type": "string"
351351
},
352+
"duration": {
353+
"description": "Output only. Measures the duration of the execution.",
354+
"format": "google-duration",
355+
"readOnly": true,
356+
"type": "string"
357+
},
352358
"endTime": {
353359
"description": "Output only. Marks the end of execution, successful or not.",
354360
"format": "google-datetime",

googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
}
270270
}
271271
},
272-
"revision": "20221108",
272+
"revision": "20221201",
273273
"rootUrl": "https://workflowexecutions.googleapis.com/",
274274
"schemas": {
275275
"CancelExecutionRequest": {

0 commit comments

Comments
 (0)