View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Version (google_api_dialogflow v0.78.0)

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

  • createTime (type: DateTime.t, default: nil) - Output only. The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
  • description (type: String.t, default: nil) - Optional. The developer-provided description of this version.
  • name (type: String.t, default: nil) - Output only. The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
  • status (type: String.t, default: nil) - Output only. The status of this version. This field is read-only and cannot be set by create and update methods.
  • versionNumber (type: integer(), default: nil) - Output only. The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Version{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  name: String.t() | nil,
  status: String.t() | nil,
  versionNumber: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.