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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ article_suggestion ArticleSuggestionData

Agent Assist Article Suggestion data.

↳ faq_answer FaqAnswerData

Agent Assist FAQ answer data.

↳ smart_reply SmartReplyData

Agent Assist Smart Reply data.

↳ smart_compose_suggestion SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data.

↳ dialogflow_interaction DialogflowInteractionData

Dialogflow interaction data.

↳ conversation_summarization_suggestion 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 AnnotationBoundary

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

↳ end_boundary AnnotationBoundary

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

↳ answer_feedback AnswerFeedback

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

↳ user_input RuntimeAnnotation\UserInput

Explicit input used for generating the answer

getArticleSuggestion

Agent Assist Article Suggestion data.

Returns
Type Description
ArticleSuggestionData|null

hasArticleSuggestion

setArticleSuggestion

Agent Assist Article Suggestion data.

Parameter
Name Description
var ArticleSuggestionData
Returns
Type Description
$this

getFaqAnswer

Agent Assist FAQ answer data.

Returns
Type Description
FaqAnswerData|null

hasFaqAnswer

setFaqAnswer

Agent Assist FAQ answer data.

Parameter
Name Description
var FaqAnswerData
Returns
Type Description
$this

getSmartReply

Agent Assist Smart Reply data.

Returns
Type Description
SmartReplyData|null

hasSmartReply

setSmartReply

Agent Assist Smart Reply data.

Parameter
Name Description
var SmartReplyData
Returns
Type Description
$this

getSmartComposeSuggestion

Agent Assist Smart Compose suggestion data.

Returns
Type Description
SmartComposeSuggestionData|null

hasSmartComposeSuggestion

setSmartComposeSuggestion

Agent Assist Smart Compose suggestion data.

Parameter
Name Description
var SmartComposeSuggestionData
Returns
Type Description
$this

getDialogflowInteraction

Dialogflow interaction data.

Returns
Type Description
DialogflowInteractionData|null

hasDialogflowInteraction

setDialogflowInteraction

Dialogflow interaction data.

Parameter
Name Description
var DialogflowInteractionData
Returns
Type Description
$this

getConversationSummarizationSuggestion

Conversation summarization suggestion data.

Returns
Type Description
ConversationSummarizationSuggestionData|null

hasConversationSummarizationSuggestion

setConversationSummarizationSuggestion

Conversation summarization suggestion data.

Parameter
Name Description
var ConversationSummarizationSuggestionData
Returns
Type Description
$this

getAnnotationId

The unique identifier of the annotation.

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

Returns
Type Description
string

setAnnotationId

The unique identifier of the annotation.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

The time at which this annotation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time at which this annotation was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getStartBoundary

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

Returns
Type Description
AnnotationBoundary|null

hasStartBoundary

clearStartBoundary

setStartBoundary

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

Parameter
Name Description
var AnnotationBoundary
Returns
Type Description
$this

getEndBoundary

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

Returns
Type Description
AnnotationBoundary|null

hasEndBoundary

clearEndBoundary

setEndBoundary

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

Parameter
Name Description
var AnnotationBoundary
Returns
Type Description
$this

getAnswerFeedback

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

Returns
Type Description
AnswerFeedback|null

hasAnswerFeedback

clearAnswerFeedback

setAnswerFeedback

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

Parameter
Name Description
var AnswerFeedback
Returns
Type Description
$this

getUserInput

Explicit input used for generating the answer

Returns
Type Description
RuntimeAnnotation\UserInput|null

hasUserInput

clearUserInput

setUserInput

Explicit input used for generating the answer

Parameter
Name Description
var RuntimeAnnotation\UserInput
Returns
Type Description
$this

getData

Returns
Type Description
string