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

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

A piece of metadata that applies to a window of a call.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ interruption_data Google\Cloud\ContactCenterInsights\V1\InterruptionData

Data specifying an interruption.

↳ sentiment_data Google\Cloud\ContactCenterInsights\V1\SentimentData

Data specifying sentiment.

↳ silence_data Google\Cloud\ContactCenterInsights\V1\SilenceData

Data specifying silence.

↳ hold_data Google\Cloud\ContactCenterInsights\V1\HoldData

Data specifying a hold.

↳ entity_mention_data Google\Cloud\ContactCenterInsights\V1\EntityMentionData

Data specifying an entity mention.

↳ intent_match_data Google\Cloud\ContactCenterInsights\V1\IntentMatchData

Data specifying an intent match.

↳ phrase_match_data Google\Cloud\ContactCenterInsights\V1\PhraseMatchData

Data specifying a phrase match.

↳ issue_match_data Google\Cloud\ContactCenterInsights\V1\IssueMatchData

Data specifying an issue match.

↳ channel_tag int

The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.

↳ annotation_start_boundary Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary

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

↳ annotation_end_boundary Google\Cloud\ContactCenterInsights\V1\AnnotationBoundary

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

getInterruptionData

Data specifying an interruption.

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

hasInterruptionData

setInterruptionData

Data specifying an interruption.

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

getSentimentData

Data specifying sentiment.

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

hasSentimentData

setSentimentData

Data specifying sentiment.

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

getSilenceData

Data specifying silence.

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

hasSilenceData

setSilenceData

Data specifying silence.

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

getHoldData

Data specifying a hold.

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

hasHoldData

setHoldData

Data specifying a hold.

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

getEntityMentionData

Data specifying an entity mention.

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

hasEntityMentionData

setEntityMentionData

Data specifying an entity mention.

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

getIntentMatchData

Data specifying an intent match.

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

hasIntentMatchData

setIntentMatchData

Data specifying an intent match.

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

getPhraseMatchData

Data specifying a phrase match.

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

hasPhraseMatchData

setPhraseMatchData

Data specifying a phrase match.

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

getIssueMatchData

Data specifying an issue match.

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

hasIssueMatchData

setIssueMatchData

Data specifying an issue match.

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

getChannelTag

The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.

Returns
TypeDescription
int

setChannelTag

The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAnnotationStartBoundary

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

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

hasAnnotationStartBoundary

clearAnnotationStartBoundary

setAnnotationStartBoundary

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

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

getAnnotationEndBoundary

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

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

hasAnnotationEndBoundary

clearAnnotationEndBoundary

setAnnotationEndBoundary

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

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

getData

Returns
TypeDescription
string