Class: Google::Apis::SpeechV1::TranscriptOutputConfig

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

Overview

Specifies an optional destination for the recognition results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TranscriptOutputConfig

Returns a new instance of TranscriptOutputConfig.



1444
1445
1446
# File 'lib/google/apis/speech_v1/classes.rb', line 1444

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

Instance Attribute Details

#gcs_uriString

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

Returns:

  • (String)


1442
1443
1444
# File 'lib/google/apis/speech_v1/classes.rb', line 1442

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1449
1450
1451
# File 'lib/google/apis/speech_v1/classes.rb', line 1449

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