Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Transcription
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Transcription
- 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
-
#finished ⇒ Boolean
(also: #finished?)
Optional.
-
#text ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Transcription
constructor
A new instance of GoogleCloudAiplatformV1beta1Transcription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Transcription
Returns a new instance of GoogleCloudAiplatformV1beta1Transcription.
61127 61128 61129 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61127 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
61119 61120 61121 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61119 def finished @finished end |
#text ⇒ String
Optional. Transcription text.
Corresponds to the JSON property text
61125 61126 61127 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61125 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61132 61133 61134 61135 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61132 def update!(**args) @finished = args[:finished] if args.key?(:finished) @text = args[:text] if args.key?(:text) end |