Class: Google::Apis::MeetV2::TranscriptEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/meet_v2/classes.rb,
lib/google/apis/meet_v2/representations.rb,
lib/google/apis/meet_v2/representations.rb

Overview

Single entry for one user’s speech during a transcript session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TranscriptEntry

Returns a new instance of TranscriptEntry.



1008
1009
1010
# File 'lib/google/apis/meet_v2/classes.rb', line 1008

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

Output only. Timestamp when the transcript entry ended. Corresponds to the JSON property endTime

Returns:

  • (String)


978
979
980
# File 'lib/google/apis/meet_v2/classes.rb', line 978

def end_time
  @end_time
end

#language_codeString

Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax ( https://tools.ietf.org/html/bcp47) Corresponds to the JSON property languageCode

Returns:

  • (String)


984
985
986
# File 'lib/google/apis/meet_v2/classes.rb', line 984

def language_code
  @language_code
end

#nameString

Output only. Resource name of the entry. Format: "conferenceRecords/ conference_record/transcripts/transcript/entries/entry" Corresponds to the JSON property name

Returns:

  • (String)


990
991
992
# File 'lib/google/apis/meet_v2/classes.rb', line 990

def name
  @name
end

#participantString

Output only. Refers to the participant who speaks. Corresponds to the JSON property participant

Returns:

  • (String)


995
996
997
# File 'lib/google/apis/meet_v2/classes.rb', line 995

def participant
  @participant
end

#start_timeString

Output only. Timestamp when the transcript entry started. Corresponds to the JSON property startTime

Returns:

  • (String)


1000
1001
1002
# File 'lib/google/apis/meet_v2/classes.rb', line 1000

def start_time
  @start_time
end

#textString

Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change. Corresponds to the JSON property text

Returns:

  • (String)


1006
1007
1008
# File 'lib/google/apis/meet_v2/classes.rb', line 1006

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1013
1014
1015
1016
1017
1018
1019
1020
# File 'lib/google/apis/meet_v2/classes.rb', line 1013

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @language_code = args[:language_code] if args.key?(:language_code)
  @name = args[:name] if args.key?(:name)
  @participant = args[:participant] if args.key?(:participant)
  @start_time = args[:start_time] if args.key?(:start_time)
  @text = args[:text] if args.key?(:text)
end