Class: Google::Cloud::DataLabeling::V1beta1::InputConfig
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::InputConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb
Overview
The configuration of input data, including data type, location, etc.
Instance Attribute Summary collapse
-
#annotation_type ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
Optional.
-
#bigquery_source ⇒ ::Google::Cloud::DataLabeling::V1beta1::BigQuerySource
Source located in BigQuery.
-
#classification_metadata ⇒ ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata
Optional.
-
#data_type ⇒ ::Google::Cloud::DataLabeling::V1beta1::DataType
Required.
-
#gcs_source ⇒ ::Google::Cloud::DataLabeling::V1beta1::GcsSource
Source located in Cloud Storage.
-
#text_metadata ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextMetadata
Required for text import, as language code must be specified.
Instance Attribute Details
#annotation_type ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
Returns 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.
85 86 87 88 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 85 class InputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#bigquery_source ⇒ ::Google::Cloud::DataLabeling::V1beta1::BigQuerySource
Returns 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.
85 86 87 88 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 85 class InputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#classification_metadata ⇒ ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata
Returns 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.
85 86 87 88 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 85 class InputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#data_type ⇒ ::Google::Cloud::DataLabeling::V1beta1::DataType
Returns Required. Data type must be specifed when user tries to import data.
85 86 87 88 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 85 class InputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gcs_source ⇒ ::Google::Cloud::DataLabeling::V1beta1::GcsSource
Returns 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.
85 86 87 88 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 85 class InputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_metadata ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextMetadata
Returns Required for text import, as language code must be specified.
85 86 87 88 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 85 class InputConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |