Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Transcription

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

Overview

Audio transcription in Server Content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Transcription

Returns a new instance of GoogleCloudAiplatformV1beta1Transcription.



67027
67028
67029
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67027

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)


67019
67020
67021
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67019

def finished
  @finished
end

#textString

Optional. Transcription text. Corresponds to the JSON property text

Returns:

  • (String)


67025
67026
67027
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67025

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



67032
67033
67034
67035
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67032

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