GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CodeExecutionResult (google_api_ai_platform v0.27.0)

View Source

Result of executing the [ExecutableCode]. Always follows a part containing the [ExecutableCode].

Attributes

  • outcome (type: String.t, default: nil) - Required. Outcome of the code execution.
  • output (type: String.t, default: nil) - Optional. Contains stdout when code execution is successful, stderr or other description otherwise.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CodeExecutionResult{
    outcome: String.t() | nil,
    output: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.