Google Cloud Datalabeling V1beta1 Client - Class GcsSource (0.4.2)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class GcsSource.

Source of the Cloud Storage file to be imported.

Generated from protobuf message google.cloud.datalabeling.v1beta1.GcsSource

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ input_uri string

Required. The input URI of source file. This must be a Cloud Storage path (gs://...).

↳ mime_type string

Required. The format of the source file. Only "text/csv" is supported.

getInputUri

Required. The input URI of source file. This must be a Cloud Storage path (gs://...).

Returns
TypeDescription
string

setInputUri

Required. The input URI of source file. This must be a Cloud Storage path (gs://...).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMimeType

Required. The format of the source file. Only "text/csv" is supported.

Returns
TypeDescription
string

setMimeType

Required. The format of the source file. Only "text/csv" is supported.

Parameter
NameDescription
var string
Returns
TypeDescription
$this