GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ToolCallResult (google_api_dialogflow v0.89.0)

View Source

The result of calling a tool's action.

Attributes

  • action (type: String.t, default: nil) - Required. The name of the tool's action associated with this call.
  • content (type: String.t, default: nil) - Only populated if the response content is utf-8 encoded.
  • createTime (type: DateTime.t, default: nil) - Output only. Create time of the tool call result.
  • error (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ToolCallResultError.t, default: nil) - The tool call's error.
  • rawContent (type: String.t, default: nil) - Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded).
  • tool (type: String.t, default: nil) - Required. The tool associated with this call. Format: projects//locations//tools/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ToolCallResult{
  action: String.t() | nil,
  content: String.t() | nil,
  createTime: DateTime.t() | nil,
  error:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ToolCallResultError.t()
    | nil,
  rawContent: String.t() | nil,
  tool: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.