GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Environment (google_api_dialogflow v0.66.2) View Source

You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for: - testing - development - production - etc. For more information, see the versions and environments guide.

Attributes

  • agentVersion (type: String.t, default: nil) - Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
  • description (type: String.t, default: nil) - Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.
  • fulfillment (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Fulfillment.t, default: nil) - Optional. The fulfillment settings to use for this environment.
  • name (type: String.t, default: nil) - Output only. The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.
  • state (type: String.t, default: nil) - Output only. The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
  • textToSpeechSettings (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextToSpeechSettings.t, default: nil) - Optional. Text to speech settings for this environment.
  • updateTime (type: DateTime.t, default: nil) - Output only. The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Environment{
  agentVersion: String.t() | nil,
  description: String.t() | nil,
  fulfillment:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Fulfillment.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil,
  textToSpeechSettings:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextToSpeechSettings.t()
    | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.