class Google::Apis::TexttospeechV1beta1::Timepoint

This contains a mapping between a certain point in the input text and a corresponding time in the output audio.

Attributes

mark_name[RW]

Timepoint name as received from the client within “ tag. Corresponds to the JSON property `markName` @return [String]

time_seconds[RW]

Time offset in seconds from the start of the synthesized audio. Corresponds to the JSON property `timeSeconds` @return [Float]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/texttospeech_v1beta1/classes.rb, line 241
def update!(**args)
  @mark_name = args[:mark_name] if args.key?(:mark_name)
  @time_seconds = args[:time_seconds] if args.key?(:time_seconds)
end