REST Resource: projects.locations.agents.flows.versions

Resource: Version

Represents a version of a flow.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "nluSettings": {
    object (NluSettings)
  },
  "createTime": string,
  "state": enum (State)
}
Fields
name

string

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

displayName

string

Required. The human-readable name of the version. Limit of 64 characters.

description

string

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

nluSettings

object (NluSettings)

Output only. The NLU settings of the flow at version creation.

createTime

string (Timestamp format)

Output only. Create time of the version.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

state

enum (State)

Output only. The state of this version. This field is read-only and cannot be set by create and update methods.

State

The state of the version.

Enums
STATE_UNSPECIFIED Not specified. This value is not used.
RUNNING Version is not ready to serve (e.g. training is running).
SUCCEEDED Training has succeeded and this version is ready to serve.
FAILED Version training failed.

Methods

compareVersions

Compares the specified base version with target version.

create

Creates a Version in the specified Flow.

delete

Deletes the specified Version.

get

Retrieves the specified Version.

list

Returns the list of all versions in the specified Flow.

load

Loads resources in the specified version to the draft flow.

patch

Updates the specified Version.