Represents a CallAnnotation.
Package
@google-cloud/contact-center-insights!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.contactcenterinsights.v1.ICallAnnotation);Constructs a new CallAnnotation.
| Name | Description |
| properties |
ICallAnnotation
Properties to set |
Properties
annotationEndBoundary
public annotationEndBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);CallAnnotation annotationEndBoundary.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null) |
annotationStartBoundary
public annotationStartBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);CallAnnotation annotationStartBoundary.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null) |
channelTag
public channelTag: number;CallAnnotation channelTag.
| Type | Description |
| number |
data
public data?: ("interruptionData"|"sentimentData"|"silenceData"|"holdData"|"entityMentionData"|"intentMatchData"|"phraseMatchData");CallAnnotation data.
| Type | Description |
| ("interruptionData"|"sentimentData"|"silenceData"|"holdData"|"entityMentionData"|"intentMatchData"|"phraseMatchData") |
entityMentionData
public entityMentionData?: (google.cloud.contactcenterinsights.v1.IEntityMentionData|null);CallAnnotation entityMentionData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IEntityMentionData|null) |
holdData
public holdData?: (google.cloud.contactcenterinsights.v1.IHoldData|null);CallAnnotation holdData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IHoldData|null) |
intentMatchData
public intentMatchData?: (google.cloud.contactcenterinsights.v1.IIntentMatchData|null);CallAnnotation intentMatchData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IIntentMatchData|null) |
interruptionData
public interruptionData?: (google.cloud.contactcenterinsights.v1.IInterruptionData|null);CallAnnotation interruptionData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IInterruptionData|null) |
phraseMatchData
public phraseMatchData?: (google.cloud.contactcenterinsights.v1.IPhraseMatchData|null);CallAnnotation phraseMatchData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.IPhraseMatchData|null) |
sentimentData
public sentimentData?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);CallAnnotation sentimentData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.ISentimentData|null) |
silenceData
public silenceData?: (google.cloud.contactcenterinsights.v1.ISilenceData|null);CallAnnotation silenceData.
| Type | Description |
| (google.cloud.contactcenterinsights.v1.ISilenceData|null) |
Methods
create(properties)
public static create(properties?: google.cloud.contactcenterinsights.v1.ICallAnnotation): google.cloud.contactcenterinsights.v1.CallAnnotation;Creates a new CallAnnotation instance using the specified properties.
| Name | Description |
| properties |
ICallAnnotation
Properties to set |
| Type | Description |
| google.cloud.contactcenterinsights.v1.CallAnnotation | CallAnnotation instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CallAnnotation;Decodes a CallAnnotation message from the specified reader or buffer.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| length |
number
Message length if known beforehand |
| Type | Description |
| google.cloud.contactcenterinsights.v1.CallAnnotation | CallAnnotation |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CallAnnotation;Decodes a CallAnnotation message from the specified reader or buffer, length delimited.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| Type | Description |
| google.cloud.contactcenterinsights.v1.CallAnnotation | CallAnnotation |
encode(message, writer)
public static encode(message: google.cloud.contactcenterinsights.v1.ICallAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified CallAnnotation message. Does not implicitly messages.
| Name | Description |
| message |
ICallAnnotation
CallAnnotation message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
| $protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICallAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified CallAnnotation message, length delimited. Does not implicitly messages.
| Name | Description |
| message |
ICallAnnotation
CallAnnotation message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
| $protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CallAnnotation;Creates a CallAnnotation message from a plain object. Also converts values to their respective internal types.
| Name | Description |
| object |
{ [k: string]: any }
Plain object |
| Type | Description |
| google.cloud.contactcenterinsights.v1.CallAnnotation | CallAnnotation |
toJSON()
public toJSON(): { [k: string]: any };Converts this CallAnnotation to JSON.
| Type | Description |
| { [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.contactcenterinsights.v1.CallAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a CallAnnotation message. Also converts values to other types if specified.
| Name | Description |
| message |
google.cloud.contactcenterinsights.v1.CallAnnotation
CallAnnotation |
| options |
$protobuf.IConversionOptions
Conversion options |
| Type | Description |
| { [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a CallAnnotation message.
| Name | Description |
| message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
| (string|null) |
|