Cloud Speech V1p1beta1 Client - Class TranscriptOutputConfig (1.16.0)

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

Specifies an optional destination for the recognition results.

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

Namespace

Google \ Cloud \ Speech \ V1p1beta1

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