Google Cloud Dialogflow V2 Client - Class Entry (1.0.1)

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.

Generated from protobuf field string agent_version = 1;

Returns
TypeDescription
string

setAgentVersion

The agent version loaded into this environment history entry.

Generated from protobuf field string agent_version = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The developer-provided description for this environment history entry.

Generated from protobuf field string description = 2;

Returns
TypeDescription
string

setDescription

The developer-provided description for this environment history entry.

Generated from protobuf field string description = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

The creation time of this environment history entry.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The creation time of this environment history entry.

Generated from protobuf field .google.protobuf.Timestamp create_time = 3;

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