Google Cloud Datalabeling V1beta1 Client - Class GcsSource (0.7.2)Stay organized with collectionsSave and categorize content based on your preferences.
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 messagegoogle.cloud.datalabeling.v1beta1.GcsSource
Namespace
Google \ Cloud \ DataLabeling \ V1beta1
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 (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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]