Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::InputConfig.
The configuration of input data, including data type, location, etc.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation_type
def annotation_type() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType- (::Google::Cloud::DataLabeling::V1beta1::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.
#annotation_type=
def annotation_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType- value (::Google::Cloud::DataLabeling::V1beta1::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.
- (::Google::Cloud::DataLabeling::V1beta1::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.
#bigquery_source
def bigquery_source() -> ::Google::Cloud::DataLabeling::V1beta1::BigQuerySource-
(::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using
this InputConfig in an EvaluationJob.
Note: The following fields are mutually exclusive:
bigquery_source,gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bigquery_source=
def bigquery_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::BigQuerySource-
value (::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using
this InputConfig in an EvaluationJob.
Note: The following fields are mutually exclusive:
bigquery_source,gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using
this InputConfig in an EvaluationJob.
Note: The following fields are mutually exclusive:
bigquery_source,gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
#classification_metadata
def classification_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata- (::Google::Cloud::DataLabeling::V1beta1::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.
#classification_metadata=
def classification_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata- value (::Google::Cloud::DataLabeling::V1beta1::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.
- (::Google::Cloud::DataLabeling::V1beta1::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.
#data_type
def data_type() -> ::Google::Cloud::DataLabeling::V1beta1::DataType- (::Google::Cloud::DataLabeling::V1beta1::DataType) — Required. Data type must be specifed when user tries to import data.
#data_type=
def data_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::DataType- value (::Google::Cloud::DataLabeling::V1beta1::DataType) — Required. Data type must be specifed when user tries to import data.
- (::Google::Cloud::DataLabeling::V1beta1::DataType) — Required. Data type must be specifed when user tries to import data.
#gcs_source
def gcs_source() -> ::Google::Cloud::DataLabeling::V1beta1::GcsSource-
(::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.
Note: The following fields are mutually exclusive:
gcs_source,bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcs_source=
def gcs_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::GcsSource-
value (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.
Note: The following fields are mutually exclusive:
gcs_source,bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.
Note: The following fields are mutually exclusive:
gcs_source,bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_metadata
def text_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::TextMetadata- (::Google::Cloud::DataLabeling::V1beta1::TextMetadata) — Required for text import, as language code must be specified.
#text_metadata=
def text_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextMetadata- value (::Google::Cloud::DataLabeling::V1beta1::TextMetadata) — Required for text import, as language code must be specified.
- (::Google::Cloud::DataLabeling::V1beta1::TextMetadata) — Required for text import, as language code must be specified.