Class InputConfig (1.0.0)

InputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration of input data, including data type, location, etc.

Attributes

NameDescription
text_metadata .dataset.TextMetadata
Required for text import, as language code must be specified.
gcs_source .dataset.GcsSource
Source located in Cloud Storage.
bigquery_source .dataset.BigQuerySource
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
data_type .dataset.DataType
Required. Data type must be specifed when user tries to import data.
annotation_type .annotation.AnnotationType
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 .dataset.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.