Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Transcription
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Transcription
- 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
-
#finished ⇒ Boolean
(also: #finished?)
Optional.
-
#text ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1Transcription
constructor
A new instance of GoogleCloudAiplatformV1Transcription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1Transcription
Returns a new instance of GoogleCloudAiplatformV1Transcription.
47228 47229 47230 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finished ⇒ Boolean Also known as: finished?
Optional. The bool indicates the end of the transcription.
Corresponds to the JSON property finished
47220 47221 47222 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47220 def finished @finished end |
#text ⇒ String
Optional. Transcription text.
Corresponds to the JSON property text
47226 47227 47228 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47226 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47233 47234 47235 47236 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 47233 def update!(**args) @finished = args[:finished] if args.key?(:finished) @text = args[:text] if args.key?(:text) end |