Google Cloud Ces V1 Client - Class Response (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class Response.

Represents a response from the agent.

Generated from protobuf message google.cloud.ces.v1.TriggerAction.Response

Namespace

Google \ Cloud \ Ces \ V1 \ TriggerAction

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ text
string

Required. Text for the agent to respond with.

↳ disabled
bool

Optional. Whether the response is disabled. Disabled responses are not used by the agent.

getText

Required. Text for the agent to respond with.

Returns
Type
Description
string

setText

Required. Text for the agent to respond with.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDisabled

Optional. Whether the response is disabled. Disabled responses are not used by the agent.

Returns
Type
Description
bool

setDisabled

Optional. Whether the response is disabled. Disabled responses are not used by the agent.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: