Skip to content

Commit

Permalink
feat(workflowexecutions): update the api
Browse files Browse the repository at this point in the history
#### workflowexecutions:v1

The following keys were added:
- schemas.Execution.properties.duration (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Dec 13, 2022
1 parent e521902 commit 3ff7723
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
Expand Up @@ -116,6 +116,7 @@ <h3>Method Details</h3>
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
&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;`
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
&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`.
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
Expand Down Expand Up @@ -167,6 +168,7 @@ <h3>Method Details</h3>
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
&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;`
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
&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`.
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
Expand Down Expand Up @@ -211,6 +213,7 @@ <h3>Method Details</h3>
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
&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;`
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
&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`.
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
Expand Down Expand Up @@ -254,7 +257,7 @@ <h3>Method Details</h3>
view: string, Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.
Allowed values
EXECUTION_VIEW_UNSPECIFIED - The default / unset value.
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.
FULL - Includes all data.
x__xgafv: string, V1 error format.
Allowed values
Expand All @@ -267,6 +270,7 @@ <h3>Method Details</h3>
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
&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;`
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
&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`.
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
Expand Down Expand Up @@ -312,7 +316,7 @@ <h3>Method Details</h3>
view: string, Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.
Allowed values
EXECUTION_VIEW_UNSPECIFIED - The default / unset value.
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.
BASIC - Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.
FULL - Includes all data.
x__xgafv: string, V1 error format.
Allowed values
Expand All @@ -327,6 +331,7 @@ <h3>Method Details</h3>
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
&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;`
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
&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`.
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
Expand Down
Expand Up @@ -125,6 +125,7 @@ <h3>Method Details</h3>
{ # A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
&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;`
&quot;callLogLevel&quot;: &quot;A String&quot;, # The call logging level associated to this execution.
&quot;duration&quot;: &quot;A String&quot;, # Output only. Measures the duration of the execution.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Marks the end of execution, successful or not.
&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`.
&quot;context&quot;: &quot;A String&quot;, # Human-readable stack trace string.
Expand Down
Expand Up @@ -224,7 +224,7 @@
],
"enumDescriptions": [
"The default / unset value.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
"Includes all data."
],
"location": "query",
Expand Down Expand Up @@ -275,7 +275,7 @@
],
"enumDescriptions": [
"The default / unset value.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
"Includes all data."
],
"location": "query",
Expand All @@ -299,7 +299,7 @@
}
}
},
"revision": "20221108",
"revision": "20221201",
"rootUrl": "https://workflowexecutions.googleapis.com/",
"schemas": {
"CancelExecutionRequest": {
Expand Down Expand Up @@ -349,6 +349,12 @@
],
"type": "string"
},
"duration": {
"description": "Output only. Measures the duration of the execution.",
"format": "google-duration",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. Marks the end of execution, successful or not.",
"format": "google-datetime",
Expand Down
Expand Up @@ -269,7 +269,7 @@
}
}
},
"revision": "20221108",
"revision": "20221201",
"rootUrl": "https://workflowexecutions.googleapis.com/",
"schemas": {
"CancelExecutionRequest": {
Expand Down

0 comments on commit 3ff7723

Please sign in to comment.