Class InputConfig

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
NameDescription
google.cloud.datalabeling_v1beta1.types.TextMetadatatext_metadata
Required for text import, as language code must be specified. This field is a member of `oneof`_ ``data_type_metadata``.
google.cloud.datalabeling_v1beta1.types.GcsSourcegcs_source
Source located in Cloud Storage. This field is a member of `oneof`_ ``source``.
google.cloud.datalabeling_v1beta1.types.BigQuerySourcebigquery_source
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``.
google.cloud.datalabeling_v1beta1.types.DataTypedata_type
Required. Data type must be specifed when user tries to import data.
google.cloud.datalabeling_v1beta1.types.AnnotationTypeannotation_type
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.
google.cloud.datalabeling_v1beta1.types.ClassificationMetadataclassification_metadata
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.

Inheritance

builtins.object > proto.message.Message > InputConfig