# Class InputConfig (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.1 1.10.5 1.9.0 1.8.3 1.7.0 1.6.3 1.5.2 1.4.0 1.3.0 1.2.4 1.1.0 1.0.0 0.4.2 0.3.0 0.2.1

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

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

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `text_metadata` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.TextMetadata` Required for text import, as language code must be specified. This field is a member of `oneof`_ `data_type_metadata`. |
| `gcs_source` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.GcsSource` Source located in Cloud Storage. This field is a member of `oneof`_ `source`. |
| `bigquery_source` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.BigQuerySource` Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob. This field is a member of `oneof`_ `source`. |
| `data_type` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.DataType` Required. Data type must be specifed when user tries to import data. |
| `annotation_type` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.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` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.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. |