Cloud Translation V3 Client - Class GcsOutputDestination (1.17.5)

Reference documentation and code samples for the Cloud Translation V3 Client class GcsOutputDestination.

The Google Cloud Storage location for the output content.

Generated from protobuf message google.cloud.translation.v3.GcsOutputDestination

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ output_uri_prefix string

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

getOutputUriPrefix

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

Returns
TypeDescription
string

setOutputUriPrefix

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

Parameter
NameDescription
var string
Returns
TypeDescription
$this