Class: Google::Apis::MeetV2::Transcript

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

Metadata for a transcript generated from a conference. It refers to the ASR ( Automatic Speech Recognition) result of user's speech during the conference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Transcript

Returns a new instance of Transcript.



655
656
657
# File 'lib/google/apis/meet_v2/classes.rb', line 655

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

Instance Attribute Details

#docs_destinationGoogle::Apis::MeetV2::DocsDestination

Google Docs location where the transcript file is saved. Corresponds to the JSON property docsDestination



631
632
633
# File 'lib/google/apis/meet_v2/classes.rb', line 631

def docs_destination
  @docs_destination
end

#end_timeString

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

Returns:

  • (String)


636
637
638
# File 'lib/google/apis/meet_v2/classes.rb', line 636

def end_time
  @end_time
end

#nameString

Output only. Resource name of the transcript. Format: conferenceRecords/ conference_record/transcripts/transcript, wheretranscript`is a 1:1 mapping to each unique transcription session of the conference. Corresponds to the JSON propertyname`

Returns:

  • (String)


643
644
645
# File 'lib/google/apis/meet_v2/classes.rb', line 643

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


648
649
650
# File 'lib/google/apis/meet_v2/classes.rb', line 648

def start_time
  @start_time
end

#stateString

Output only. Current state. Corresponds to the JSON property state

Returns:

  • (String)


653
654
655
# File 'lib/google/apis/meet_v2/classes.rb', line 653

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



660
661
662
663
664
665
666
# File 'lib/google/apis/meet_v2/classes.rb', line 660

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