Cloud Speech V1 Client - Class TranscriptOutputConfig (1.11.2)

Reference documentation and code samples for the Cloud Speech V1 Client class TranscriptOutputConfig.

Specifies an optional destination for the recognition results.

Generated from protobuf message google.cloud.speech.v1.TranscriptOutputConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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.

getGcsUri

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.

Returns
TypeDescription
string

hasGcsUri

setGcsUri

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOutputType

Returns
TypeDescription
string