Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Outcome.
Enumeration of possible outcomes of the code execution.
Protobuf type google.cloud.discoveryengine.v1.AssistantContent.CodeExecutionResult.Outcome
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ AssistantContent \ CodeExecutionResultMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
OUTCOME_UNSPECIFIED
Value: 0
Unspecified status. This value should not be used.
Generated from protobuf enum OUTCOME_UNSPECIFIED = 0;
OUTCOME_OK
Value: 1
Code execution completed successfully.
Generated from protobuf enum OUTCOME_OK = 1;
OUTCOME_FAILED
Value: 2
Code execution finished but with a failure. stderr
should contain the
reason.
Generated from protobuf enum OUTCOME_FAILED = 2;
OUTCOME_DEADLINE_EXCEEDED
Value: 3
Code execution ran for too long, and was cancelled. There may or may not be a partial output present.
Generated from protobuf enum OUTCOME_DEADLINE_EXCEEDED = 3;