View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3RestoreAgentRequest (google_api_dialogflow v0.78.0)

The request message for Agents.RestoreAgent.

Attributes

  • agentContent (type: String.t, default: nil) - Uncompressed raw byte content for agent.
  • agentUri (type: String.t, default: nil) - The Google Cloud Storage URI to restore agent from. The format of this URI must be gs:///. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
  • gitSource (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource.t, default: nil) - Setting for restoring from a git branch
  • restoreOption (type: String.t, default: nil) - Agent restore mode. If not specified, KEEP is assumed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3RestoreAgentRequest{
    agentContent: String.t() | nil,
    agentUri: String.t() | nil,
    gitSource:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource.t()
      | nil,
    restoreOption: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.