class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo

Word-level info for words in a transcript.

Attributes

confidence[RW]

A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset. Corresponds to the JSON property `confidence` @return [Float]

end_offset[RW]

Time offset of the end of this word relative to the beginning of the total conversation. Corresponds to the JSON property `endOffset` @return [String]

start_offset[RW]

Time offset of the start of this word relative to the beginning of the total conversation. Corresponds to the JSON property `startOffset` @return [String]

word[RW]

The word itself. Includes punctuation marks that surround the word. Corresponds to the JSON property `word` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 805
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 810
def update!(**args)
  @confidence = args[:confidence] if args.key?(:confidence)
  @end_offset = args[:end_offset] if args.key?(:end_offset)
  @start_offset = args[:start_offset] if args.key?(:start_offset)
  @word = args[:word] if args.key?(:word)
end