View Source GoogleApi.ToolResults.V1beta3.Model.Outcome (google_api_tool_results v0.34.0)

Interprets a result so that humans and machines can act on it.

Attributes

  • failureDetail (type: GoogleApi.ToolResults.V1beta3.Model.FailureDetail.t, default: nil) - More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional
  • inconclusiveDetail (type: GoogleApi.ToolResults.V1beta3.Model.InconclusiveDetail.t, default: nil) - More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional
  • skippedDetail (type: GoogleApi.ToolResults.V1beta3.Model.SkippedDetail.t, default: nil) - More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional
  • successDetail (type: GoogleApi.ToolResults.V1beta3.Model.SuccessDetail.t, default: nil) - More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional
  • summary (type: String.t, default: nil) - The simplest way to interpret a result. Required

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ToolResults.V1beta3.Model.Outcome{
  failureDetail: GoogleApi.ToolResults.V1beta3.Model.FailureDetail.t() | nil,
  inconclusiveDetail:
    GoogleApi.ToolResults.V1beta3.Model.InconclusiveDetail.t() | nil,
  skippedDetail: GoogleApi.ToolResults.V1beta3.Model.SkippedDetail.t() | nil,
  successDetail: GoogleApi.ToolResults.V1beta3.Model.SuccessDetail.t() | nil,
  summary: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.