Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class Conversation.
The conversation resource.
Generated from protobuf message google.cloud.contactcenterinsights.v1.Conversation
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ call_metadata
↳ expire_time
Google\Protobuf\Timestamp
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
↳ ttl
Google\Protobuf\Duration
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
↳ name
string
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
↳ data_source
Google\Cloud\ContactCenterInsights\V1\ConversationDataSource
The source of the audio and transcription for the conversation.
↳ create_time
↳ update_time
↳ start_time
↳ language_code
string
A user-specified language code for the conversation.
↳ agent_id
string
An opaque, user-specified string representing the human agent who handled the conversation.
↳ labels
array| Google\Protobuf\Internal\MapField
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
↳ transcript
Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript
Output only. The conversation transcript.
↳ medium
int
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
↳ duration
↳ turn_count
int
Output only. The number of turns in the conversation.
↳ latest_analysis
Google\Cloud\ContactCenterInsights\V1\Analysis
Output only. The conversation's latest analysis, if one exists.
↳ runtime_annotations
array< Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation
>
Output only. The annotations that were generated during the customer and agent interaction.
↳ dialogflow_intents
array| Google\Protobuf\Internal\MapField
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
↳ obfuscated_user_id
string
Obfuscated user ID which the customer sent to us.
getCallMetadata
Call-specific metadata.
hasCallMetadata
setCallMetadata
Call-specific metadata.
$this
getExpireTime
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
hasExpireTime
setExpireTime
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
$this
getTtl
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
hasTtl
setTtl
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
$this
getName
Immutable. The resource name of the conversation.
Format: projects/{project}/locations/{location}/conversations/{conversation}
string
setName
Immutable. The resource name of the conversation.
Format: projects/{project}/locations/{location}/conversations/{conversation}
var
string
$this
getDataSource
The source of the audio and transcription for the conversation.
hasDataSource
clearDataSource
setDataSource
The source of the audio and transcription for the conversation.
$this
getCreateTime
Output only. The time at which the conversation was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the conversation was created.
$this
getUpdateTime
Output only. The most recent time at which the conversation was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The most recent time at which the conversation was updated.
$this
getStartTime
The time at which the conversation started.
hasStartTime
clearStartTime
setStartTime
The time at which the conversation started.
$this
getLanguageCode
A user-specified language code for the conversation.
string
setLanguageCode
A user-specified language code for the conversation.
var
string
$this
getAgentId
An opaque, user-specified string representing the human agent who handled the conversation.
string
setAgentId
An opaque, user-specified string representing the human agent who handled the conversation.
var
string
$this
getLabels
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
setLabels
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
$this
getTranscript
Output only. The conversation transcript.
hasTranscript
clearTranscript
setTranscript
Output only. The conversation transcript.
$this
getMedium
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
int
setMedium
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
var
int
$this
getDuration
Output only. The duration of the conversation.
hasDuration
clearDuration
setDuration
Output only. The duration of 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
getLatestAnalysis
Output only. The conversation's latest analysis, if one exists.
hasLatestAnalysis
clearLatestAnalysis
setLatestAnalysis
Output only. The conversation's latest analysis, if one exists.
$this
getRuntimeAnnotations
Output only. The annotations that were generated during the customer and agent interaction.
setRuntimeAnnotations
Output only. The annotations that were generated during the customer and agent interaction.
$this
getDialogflowIntents
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
setDialogflowIntents
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
$this
getObfuscatedUserId
Obfuscated user ID which the customer sent to us.
string
setObfuscatedUserId
Obfuscated user ID which the customer sent to us.
var
string
$this
getMetadata
string
getExpiration
string