Cloud Translation V3 Client - Class GcsOutputDestination (1.18.1)

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