Class: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig
- Inherits:
-
Object
- Object
- Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/speech_v1p1beta1/classes.rb,
lib/google/apis/speech_v1p1beta1/representations.rb,
lib/google/apis/speech_v1p1beta1/representations.rb
Overview
Specifies an optional destination for the recognition results.
Instance Attribute Summary collapse
-
#gcs_uri ⇒ String
Specifies a Cloud Storage URI for the recognition results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TranscriptOutputConfig
constructor
A new instance of TranscriptOutputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TranscriptOutputConfig
Returns a new instance of TranscriptOutputConfig.
1474 1475 1476 |
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 1474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_uri ⇒ String
Specifies a Cloud Storage URI for the recognition results. Must be specified
in the format: gs://bucket_name/object_name
, and the bucket must already
exist.
Corresponds to the JSON property gcsUri
1472 1473 1474 |
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 1472 def gcs_uri @gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1479 1480 1481 |
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 1479 def update!(**args) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) end |