Cloud Speech V1 Client - Class TranscriptOutputConfig (1.7.0)

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.

Generated from protobuf field string gcs_uri = 1;

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.

Generated from protobuf field string gcs_uri = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOutputType

Returns
TypeDescription
string