class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary

A point in a conversation that marks the start or the end of an annotation.

Attributes

transcript_index[RW]

The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. Corresponds to the JSON property `transcriptIndex` @return [Fixnum]

word_index[RW]

The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. Corresponds to the JSON property `wordIndex` @return [Fixnum]

Public Class Methods

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