GoogleCloudDialogflowV2Environment class

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.

Constructors

GoogleCloudDialogflowV2Environment()
GoogleCloudDialogflowV2Environment.fromJson(Map _json)

Properties

agentVersion String
Optional. The agent version loaded into this environment. Format: projects//agent/versions/.
read / write
description String
Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
Output only. The unique identifier of this agent environment. Format: projects//agent/environments/. For Environment ID, "-" is reserved for 'draft' environment.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String
Output only. The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods. Possible string values are: [...]
read / write
updateTime String
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.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited