Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Outcome.
Enumeration of possible outcomes of the code execution.
Protobuf type google.cloud.aiplatform.v1.CodeExecutionResult.Outcome
Namespace
Google \ Cloud \ AIPlatform \ V1 \ 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;