Google Cloud Contact Center Insights V1 Client - Class RuntimeAnnotation (1.6.2)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class RuntimeAnnotation.

An annotation that was generated during the customer and agent interaction.

Generated from protobuf message google.cloud.contactcenterinsights.v1.RuntimeAnnotation

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ article_suggestion Google\Cloud\ContactCenterInsights\V1\ArticleSuggestionData

Agent Assist Article Suggestion data.

↳ faq_answer Google\Cloud\ContactCenterInsights\V1\FaqAnswerData

Agent Assist FAQ answer data.

↳ smart_reply Google\Cloud\ContactCenterInsights\V1\SmartReplyData

Agent Assist Smart Reply data.

↳ smart_compose_suggestion Google\Cloud\ContactCenterInsights\V1\SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data.

↳ dialogflow_interaction Google\Cloud\ContactCenterInsights\V1\DialogflowInteractionData

Dialogflow interaction data.

↳ conversation_summarization_suggestion Google\Cloud\ContactCenterInsights\V1\ConversationSummarizationSuggestionData

Conversation summarization suggestion data.

↳ annotation_id string

The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}

↳ create_time Google\Protobuf\Timestamp

The time at which this annotation was created.

↳ start_boundary Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary

The boundary in the conversation where the annotation starts, inclusive.

↳ end_boundary Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary

The boundary in the conversation where the annotation ends, inclusive.

↳ answer_feedback Google\Cloud\ContactCenterInsights\V1\AnswerFeedback

The feedback that the customer has about the answer in data.

getArticleSuggestion

Agent Assist Article Suggestion data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\ArticleSuggestionData|null

hasArticleSuggestion

setArticleSuggestion

Agent Assist Article Suggestion data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\ArticleSuggestionData
Returns
TypeDescription
$this

getFaqAnswer

Agent Assist FAQ answer data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\FaqAnswerData|null

hasFaqAnswer

setFaqAnswer

Agent Assist FAQ answer data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\FaqAnswerData
Returns
TypeDescription
$this

getSmartReply

Agent Assist Smart Reply data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\SmartReplyData|null

hasSmartReply

setSmartReply

Agent Assist Smart Reply data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\SmartReplyData
Returns
TypeDescription
$this

getSmartComposeSuggestion

Agent Assist Smart Compose suggestion data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\SmartComposeSuggestionData|null

hasSmartComposeSuggestion

setSmartComposeSuggestion

Agent Assist Smart Compose suggestion data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\SmartComposeSuggestionData
Returns
TypeDescription
$this

getDialogflowInteraction

Dialogflow interaction data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\DialogflowInteractionData|null

hasDialogflowInteraction

setDialogflowInteraction

Dialogflow interaction data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\DialogflowInteractionData
Returns
TypeDescription
$this

getConversationSummarizationSuggestion

Conversation summarization suggestion data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\ConversationSummarizationSuggestionData|null

hasConversationSummarizationSuggestion

setConversationSummarizationSuggestion

Conversation summarization suggestion data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\ConversationSummarizationSuggestionData
Returns
TypeDescription
$this

getAnnotationId

The unique identifier of the annotation.

Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}

Returns
TypeDescription
string

setAnnotationId

The unique identifier of the annotation.

Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

The time at which this annotation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time at which this annotation was created.

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

getStartBoundary

The boundary in the conversation where the annotation starts, inclusive.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary|null

hasStartBoundary

clearStartBoundary

setStartBoundary

The boundary in the conversation where the annotation starts, inclusive.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary
Returns
TypeDescription
$this

getEndBoundary

The boundary in the conversation where the annotation ends, inclusive.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary|null

hasEndBoundary

clearEndBoundary

setEndBoundary

The boundary in the conversation where the annotation ends, inclusive.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary
Returns
TypeDescription
$this

getAnswerFeedback

The feedback that the customer has about the answer in data.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\AnswerFeedback|null

hasAnswerFeedback

clearAnswerFeedback

setAnswerFeedback

The feedback that the customer has about the answer in data.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\AnswerFeedback
Returns
TypeDescription
$this

getData

Returns
TypeDescription
string