Cloud Translation V3 Client - Class GcsSource (1.16.0)

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

The Google Cloud Storage location for the input content.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ input_uri string

Required. Source data URI. For example, gs://my_bucket/my_object.

getInputUri

Required. Source data URI. For example, gs://my_bucket/my_object.

Returns
TypeDescription
string

setInputUri

Required. Source data URI. For example, gs://my_bucket/my_object.

Parameter
NameDescription
var string
Returns
TypeDescription
$this