Class: Google::Cloud::DataLabeling::V1beta1::InputConfig

Inherits:
Object
  • Object
show all
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

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.

Returns:



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.

Returns:

  • (::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.



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.

Returns:



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.

Returns:



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.

Returns:

  • (::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.



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.

Returns:



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