Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class InputConfig.
The configuration of input data, including data type, location, etc.
Generated from protobuf message google.cloud.datalabeling.v1beta1.InputConfig
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text_metadata
↳ gcs_source
↳ bigquery_source
BigQuerySource
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob .
↳ data_type
int
Required. Data type must be specifed when user tries to import data.
↳ annotation_type
int
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob .
↳ classification_metadata
ClassificationMetadata
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
getTextMetadata
Required for text import, as language code must be specified.
hasTextMetadata
setTextMetadata
Required for text import, as language code must be specified.
$this
getGcsSource
Source located in Cloud Storage.
hasGcsSource
setGcsSource
Source located in Cloud Storage.
$this
getBigquerySource
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob .
hasBigquerySource
setBigquerySource
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob .
$this
getDataType
Required. Data type must be specifed when user tries to import data.
int
setDataType
Required. Data type must be specifed when user tries to import data.
var
int
$this
getAnnotationType
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob .
int
setAnnotationType
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob .
var
int
$this
getClassificationMetadata
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
hasClassificationMetadata
clearClassificationMetadata
setClassificationMetadata
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
$this
getDataTypeMetadata
string
getSource
string