Class: Google::Apis::MeetV2::TranscriptEntry
- Inherits:
-
Object
- Object
- Google::Apis::MeetV2::TranscriptEntry
- 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
-
#end_time ⇒ String
Output only.
-
#language_code ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#participant ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
-
#text ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TranscriptEntry
constructor
A new instance of TranscriptEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TranscriptEntry
Returns a new instance of TranscriptEntry.
1011 1012 1013 |
# File 'lib/google/apis/meet_v2/classes.rb', line 1011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. Timestamp when the transcript entry ended.
Corresponds to the JSON property endTime
981 982 983 |
# File 'lib/google/apis/meet_v2/classes.rb', line 981 def end_time @end_time end |
#language_code ⇒ String
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
987 988 989 |
# File 'lib/google/apis/meet_v2/classes.rb', line 987 def language_code @language_code end |
#name ⇒ String
Output only. Resource name of the entry. Format: "conferenceRecords/
conference_record/transcripts/transcript/entries/entry"
Corresponds to the JSON property name
993 994 995 |
# File 'lib/google/apis/meet_v2/classes.rb', line 993 def name @name end |
#participant ⇒ String
Output only. Refers to the participant who speaks.
Corresponds to the JSON property participant
998 999 1000 |
# File 'lib/google/apis/meet_v2/classes.rb', line 998 def participant @participant end |
#start_time ⇒ String
Output only. Timestamp when the transcript entry started.
Corresponds to the JSON property startTime
1003 1004 1005 |
# File 'lib/google/apis/meet_v2/classes.rb', line 1003 def start_time @start_time end |
#text ⇒ String
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
1009 1010 1011 |
# File 'lib/google/apis/meet_v2/classes.rb', line 1009 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1016 1017 1018 1019 1020 1021 1022 1023 |
# File 'lib/google/apis/meet_v2/classes.rb', line 1016 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 |