Skip to content

Commit d4d1e13

Browse files
rebase and regen
1 parent 86146a8 commit d4d1e13

2 files changed

Lines changed: 52 additions & 26 deletions

File tree

openapi/openapiv2.json

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12764,9 +12764,13 @@
1276412764
"$ref": "#/definitions/v1Callback",
1276512765
"description": "Information on how this callback should be invoked (e.g. its URL and type)."
1276612766
},
12767+
"status": {
12768+
"$ref": "#/definitions/v1CallbackExecutionStatus",
12769+
"description": "A general status for this callback, indicates whether it is currently running or in one of the terminal statuses."
12770+
},
1276712771
"state": {
12768-
"$ref": "#/definitions/v1CallbackExecutionState",
12769-
"description": "Current state of the callback execution."
12772+
"$ref": "#/definitions/v1CallbackState",
12773+
"description": "The detailed state of this callback, provides more granular information than the general status."
1277012774
},
1277112775
"attempt": {
1277212776
"type": "integer",
@@ -12828,9 +12832,9 @@
1282812832
"type": "string",
1282912833
"description": "Run ID of the callback execution."
1283012834
},
12831-
"state": {
12832-
"$ref": "#/definitions/v1CallbackExecutionState",
12833-
"description": "Current state of the callback execution."
12835+
"status": {
12836+
"$ref": "#/definitions/v1CallbackExecutionStatus",
12837+
"description": "Only running and terminal statuses appear here. More detailed information in CallbackExecutionInfo but not\navailable in the list response."
1283412838
},
1283512839
"createTime": {
1283612840
"type": "string",
@@ -12869,17 +12873,17 @@
1286912873
},
1287012874
"description": "The outcome of a completed callback execution: either success or a failure."
1287112875
},
12872-
"v1CallbackExecutionState": {
12876+
"v1CallbackExecutionStatus": {
1287312877
"type": "string",
1287412878
"enum": [
12875-
"CALLBACK_EXECUTION_STATE_UNSPECIFIED",
12876-
"CALLBACK_EXECUTION_STATE_RUNNING",
12877-
"CALLBACK_EXECUTION_STATE_SUCCEEDED",
12878-
"CALLBACK_EXECUTION_STATE_FAILED",
12879-
"CALLBACK_EXECUTION_STATE_TERMINATED"
12879+
"CALLBACK_EXECUTION_STATUS_UNSPECIFIED",
12880+
"CALLBACK_EXECUTION_STATUS_RUNNING",
12881+
"CALLBACK_EXECUTION_STATUS_SUCCEEDED",
12882+
"CALLBACK_EXECUTION_STATUS_FAILED",
12883+
"CALLBACK_EXECUTION_STATUS_TERMINATED"
1288012884
],
12881-
"default": "CALLBACK_EXECUTION_STATE_UNSPECIFIED",
12882-
"description": "Terminal status of a standalone callback execution.\n\n - CALLBACK_EXECUTION_STATE_UNSPECIFIED: Default value, unspecified status.\n - CALLBACK_EXECUTION_STATE_RUNNING: Callback execution is running.\n - CALLBACK_EXECUTION_STATE_SUCCEEDED: Callback has succeeded.\n - CALLBACK_EXECUTION_STATE_FAILED: Callback has failed.\n - CALLBACK_EXECUTION_STATE_TERMINATED: Callback was terminated via TerminateCallbackExecution."
12885+
"default": "CALLBACK_EXECUTION_STATUS_UNSPECIFIED",
12886+
"description": "Status of a callback execution.\nThe status is updated once, when the callback is originally scheduled, and again when the callback reaches a terminal\nstatus.\n\n - CALLBACK_EXECUTION_STATUS_UNSPECIFIED: Default value, unspecified status.\n - CALLBACK_EXECUTION_STATUS_RUNNING: Callback execution is running.\n - CALLBACK_EXECUTION_STATUS_SUCCEEDED: Callback has succeeded.\n - CALLBACK_EXECUTION_STATUS_FAILED: Callback has failed.\n - CALLBACK_EXECUTION_STATUS_TERMINATED: Callback was terminated via TerminateCallbackExecution."
1288312887
},
1288412888
"v1CallbackInfo": {
1288512889
"type": "object",
@@ -15985,6 +15989,10 @@
1598515989
"v1PollCallbackExecutionResponse": {
1598615990
"type": "object",
1598715991
"properties": {
15992+
"runId": {
15993+
"type": "string",
15994+
"description": "The run ID of the callback, useful when run_id was not specified in the request."
15995+
},
1598815996
"outcome": {
1598915997
"$ref": "#/definitions/v1CallbackExecutionOutcome"
1599015998
}

openapi/openapiv3.yaml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9597,15 +9597,28 @@ components:
95979597
allOf:
95989598
- $ref: '#/components/schemas/Callback'
95999599
description: Information on how this callback should be invoked (e.g. its URL and type).
9600+
status:
9601+
enum:
9602+
- CALLBACK_EXECUTION_STATUS_UNSPECIFIED
9603+
- CALLBACK_EXECUTION_STATUS_RUNNING
9604+
- CALLBACK_EXECUTION_STATUS_SUCCEEDED
9605+
- CALLBACK_EXECUTION_STATUS_FAILED
9606+
- CALLBACK_EXECUTION_STATUS_TERMINATED
9607+
type: string
9608+
description: A general status for this callback, indicates whether it is currently running or in one of the terminal statuses.
9609+
format: enum
96009610
state:
96019611
enum:
9602-
- CALLBACK_EXECUTION_STATE_UNSPECIFIED
9603-
- CALLBACK_EXECUTION_STATE_RUNNING
9604-
- CALLBACK_EXECUTION_STATE_SUCCEEDED
9605-
- CALLBACK_EXECUTION_STATE_FAILED
9606-
- CALLBACK_EXECUTION_STATE_TERMINATED
9612+
- CALLBACK_STATE_UNSPECIFIED
9613+
- CALLBACK_STATE_STANDBY
9614+
- CALLBACK_STATE_SCHEDULED
9615+
- CALLBACK_STATE_BACKING_OFF
9616+
- CALLBACK_STATE_FAILED
9617+
- CALLBACK_STATE_SUCCEEDED
9618+
- CALLBACK_STATE_BLOCKED
9619+
- CALLBACK_STATE_TERMINATED
96079620
type: string
9608-
description: Current state of the callback execution.
9621+
description: The detailed state of this callback, provides more granular information than the general status.
96099622
format: enum
96109623
attempt:
96119624
type: integer
@@ -9660,15 +9673,17 @@ components:
96609673
runId:
96619674
type: string
96629675
description: Run ID of the callback execution.
9663-
state:
9676+
status:
96649677
enum:
9665-
- CALLBACK_EXECUTION_STATE_UNSPECIFIED
9666-
- CALLBACK_EXECUTION_STATE_RUNNING
9667-
- CALLBACK_EXECUTION_STATE_SUCCEEDED
9668-
- CALLBACK_EXECUTION_STATE_FAILED
9669-
- CALLBACK_EXECUTION_STATE_TERMINATED
9678+
- CALLBACK_EXECUTION_STATUS_UNSPECIFIED
9679+
- CALLBACK_EXECUTION_STATUS_RUNNING
9680+
- CALLBACK_EXECUTION_STATUS_SUCCEEDED
9681+
- CALLBACK_EXECUTION_STATUS_FAILED
9682+
- CALLBACK_EXECUTION_STATUS_TERMINATED
96709683
type: string
9671-
description: Current state of the callback execution.
9684+
description: |-
9685+
Only running and terminal statuses appear here. More detailed information in CallbackExecutionInfo but not
9686+
available in the list response.
96729687
format: enum
96739688
createTime:
96749689
type: string
@@ -12757,6 +12772,9 @@ components:
1275712772
PollCallbackExecutionResponse:
1275812773
type: object
1275912774
properties:
12775+
runId:
12776+
type: string
12777+
description: The run ID of the callback, useful when run_id was not specified in the request.
1276012778
outcome:
1276112779
$ref: '#/components/schemas/CallbackExecutionOutcome'
1276212780
PollWorkflowTaskQueueResponse:

0 commit comments

Comments
 (0)