Google Cloud Dialogflow V2 Client - Class Entry (1.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Entry.

Represents an environment history entry.

Generated from protobuf message google.cloud.dialogflow.v2.EnvironmentHistory.Entry

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ agent_version string

The agent version loaded into this environment history entry.

↳ description string

The developer-provided description for this environment history entry.

↳ create_time Google\Protobuf\Timestamp

The creation time of this environment history entry.

getAgentVersion

The agent version loaded into this environment history entry.

Returns
TypeDescription
string

setAgentVersion

The agent version loaded into this environment history entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The developer-provided description for this environment history entry.

Returns
TypeDescription
string

setDescription

The developer-provided description for this environment history entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

The creation time of this environment history entry.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The creation time of this environment history entry.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this