Table of Contents

Enum GeminiCodeExecutionOutcome

Enumeration of possible outcomes of the code execution.

public enum GeminiCodeExecutionOutcome
Extension Methods

Fields

[EnumMember(Value = "OUTCOME_DEADLINE_EXCEEDED")] DeadlineExceeded = 3

Code execution ran for too long, and was cancelled. There may or may not be a partial output present.

[EnumMember(Value = "OUTCOME_FAILED")] Failed = 2

Code execution finished but with a failure. stderr should contain the reason.

[EnumMember(Value = "OUTCOME_OK")] Ok = 1

Code execution completed successfully.

[EnumMember(Value = "OUTCOME_UNSPECIFIED")] Unspecified = 0

Unspecified status. This value should not be used.