class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CallAnnotation

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

Attributes

annotation_end_boundary[RW]

A point in a conversation that marks the start or the end of an annotation. Corresponds to the JSON property `annotationEndBoundary` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]

annotation_start_boundary[RW]

A point in a conversation that marks the start or the end of an annotation. Corresponds to the JSON property `annotationStartBoundary` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]

channel_tag[RW]

The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. Corresponds to the JSON property `channelTag` @return [Fixnum]

entity_mention_data[RW]

The data for an entity mention annotation. This represents a mention of an ` Entity` in the conversation. Corresponds to the JSON property `entityMentionData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EntityMentionData]

hold_data[RW]

The data for a hold annotation. Corresponds to the JSON property `holdData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1HoldData]

intent_match_data[RW]

The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. Corresponds to the JSON property `intentMatchData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IntentMatchData]

interruption_data[RW]

The data for an interruption annotation. Corresponds to the JSON property `interruptionData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InterruptionData]

phrase_match_data[RW]

The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. Corresponds to the JSON property `phraseMatchData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchData]

sentiment_data[RW]

The data for a sentiment annotation. Corresponds to the JSON property `sentimentData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData]

silence_data[RW]

The data for a silence annotation. Corresponds to the JSON property `silenceData` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SilenceData]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 442
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 447
def update!(**args)
  @annotation_end_boundary = args[:annotation_end_boundary] if args.key?(:annotation_end_boundary)
  @annotation_start_boundary = args[:annotation_start_boundary] if args.key?(:annotation_start_boundary)
  @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
  @entity_mention_data = args[:entity_mention_data] if args.key?(:entity_mention_data)
  @hold_data = args[:hold_data] if args.key?(:hold_data)
  @intent_match_data = args[:intent_match_data] if args.key?(:intent_match_data)
  @interruption_data = args[:interruption_data] if args.key?(:interruption_data)
  @phrase_match_data = args[:phrase_match_data] if args.key?(:phrase_match_data)
  @sentiment_data = args[:sentiment_data] if args.key?(:sentiment_data)
  @silence_data = args[:silence_data] if args.key?(:silence_data)
end