generated/google/apis/speech_v2beta/classes.rb in google-api-client-0.31.0 vs generated/google/apis/speech_v2beta/classes.rb in google-api-client-0.32.0
- old
+ new
@@ -307,13 +307,13 @@
# and corresponding to the end of the spoken word.
# This field is only set if `enable_word_time_offsets=true` and only
# in the top hypothesis.
# This is an experimental feature and the accuracy of the time offset can
# vary.
- # Corresponds to the JSON property `endTime`
+ # Corresponds to the JSON property `endOffset`
# @return [String]
- attr_accessor :end_time
+ attr_accessor :end_offset
# Output only. A distinct integer value is assigned for every speaker within
# the audio. This field specifies which one of those speakers was detected to
# have spoken this word. Value ranges from `1` to
# `diarization_speaker_count`. speaker_tag is set if
@@ -326,13 +326,13 @@
# and corresponding to the start of the spoken word.
# This field is only set if `enable_word_time_offsets=true` and only
# in the top hypothesis.
# This is an experimental feature and the accuracy of the time offset can
# vary.
- # Corresponds to the JSON property `startTime`
+ # Corresponds to the JSON property `startOffset`
# @return [String]
- attr_accessor :start_time
+ attr_accessor :start_offset
# Output only. The word corresponding to this set of information.
# Corresponds to the JSON property `word`
# @return [String]
attr_accessor :word
@@ -342,12 +342,12 @@
end
# Update properties of this object
def update!(**args)
@confidence = args[:confidence] if args.key?(:confidence)
- @end_time = args[:end_time] if args.key?(:end_time)
+ @end_offset = args[:end_offset] if args.key?(:end_offset)
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
- @start_time = args[:start_time] if args.key?(:start_time)
+ @start_offset = args[:start_offset] if args.key?(:start_offset)
@word = args[:word] if args.key?(:word)
end
end
end
end