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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 ( |
↳ 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 | |
---|---|
Type | Description |
string |
setInputUri
Required. The input URI of source file. This must be a Cloud Storage path
(gs://...
).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMimeType
Required. The format of the source file. Only "text/csv" is supported.
Returns | |
---|---|
Type | Description |
string |
setMimeType
Required. The format of the source file. Only "text/csv" is supported.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |