Reference documentation and code samples for the Google Cloud Ces V1 Client class Conversation.
A conversation represents an interaction between an end user and the CES app.
Generated from protobuf message google.cloud.ces.v1.Conversation
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The unique identifier of the conversation. Format: projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}
↳ start_time
↳ end_time
↳ turns
↳ turn_count
int
Output only. The number of turns in the conversation.
↳ channel_type
↳ source
int
Output only. Indicate the source of the conversation.
↳ input_types
int[]
Output only. The input types of the conversation.
↳ entry_agent
string
Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
↳ deployment
string
Output only. The deployment of the app used for processing the conversation. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
↳ app_version
string
Output only. The version of the app used for processing the conversation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
↳ language_code
string
Output only. The language code of the conversation.
↳ messages
getName
Identifier. The unique identifier of the conversation.
Format: projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}
string
setName
Identifier. The unique identifier of the conversation.
Format: projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}
var
string
$this
getStartTime
Output only. Timestamp when the conversation was created.
hasStartTime
clearStartTime
setStartTime
Output only. Timestamp when the conversation was created.
$this
getEndTime
Output only. Timestamp when the conversation was completed.
hasEndTime
clearEndTime
setEndTime
Output only. Timestamp when the conversation was completed.
$this
getTurns
Required. The turns in the conversation.
setTurns
Required. The turns in the conversation.
$this
getTurnCount
Output only. The number of turns in the conversation.
int
setTurnCount
Output only. The number of turns in the conversation.
var
int
$this
getChannelType
DEPRECATED. Please use input_types instead.
setChannelType
DEPRECATED. Please use input_types instead.
$this
getSource
Output only. Indicate the source of the conversation.
setSource
Output only. Indicate the source of the conversation.
$this
getInputTypes
Output only. The input types of the conversation.
setInputTypes
Output only. The input types of the conversation.
var
int[]
$this
getEntryAgent
Output only. The agent that initially handles the conversation. If not
specified, the conversation is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
string
setEntryAgent
Output only. The agent that initially handles the conversation. If not
specified, the conversation is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
var
string
$this
getDeployment
Output only. The deployment of the app used for processing the
conversation. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string
setDeployment
Output only. The deployment of the app used for processing the
conversation. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
var
string
$this
getAppVersion
Output only. The version of the app used for processing the conversation.
Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
string
setAppVersion
Output only. The version of the app used for processing the conversation.
Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
var
string
$this
getLanguageCode
Output only. The language code of the conversation.
string
setLanguageCode
Output only. The language code of the conversation.
var
string
$this
getMessages
Deprecated. Use turns instead.
setMessages
Deprecated. Use turns instead.
$this

