Cloud Speech V1 Client - Class TranscriptOutputConfig (1.18.1)

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

Namespace

Google \ Cloud \ Speech \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getOutputType

Returns
Type Description
string