Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Transcription

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

Overview

Audio transcription in Server Content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1Transcription

Returns a new instance of GoogleCloudAiplatformV1Transcription.



49549
49550
49551
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 49549

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

Instance Attribute Details

#finishedBoolean Also known as: finished?

Optional. The bool indicates the end of the transcription. Corresponds to the JSON property finished

Returns:

  • (Boolean)


49541
49542
49543
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 49541

def finished
  @finished
end

#textString

Optional. Transcription text. Corresponds to the JSON property text

Returns:

  • (String)


49547
49548
49549
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 49547

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49554
49555
49556
49557
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 49554

def update!(**args)
  @finished = args[:finished] if args.key?(:finished)
  @text = args[:text] if args.key?(:text)
end