Cloud Speech V1 Client - Class TranscriptOutputConfig (1.20.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
NameDescription
dataarray

Optional. Data for populating the Message object.

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

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
varstring
Returns
TypeDescription
$this

getOutputType

Returns
TypeDescription
string