class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig
The configuration of input data, including data type, location, etc.
Attributes
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. Corresponds to the JSON property `annotationType` @return [String]
The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. Corresponds to the JSON property `bigquerySource` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BigQuerySource]
Metadata for classification annotations. Corresponds to the JSON property `classificationMetadata` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetadata]
Required. Data type must be specifed when user tries to import data. Corresponds to the JSON property `dataType` @return [String]
Source of the Cloud Storage file to be imported. Corresponds to the JSON property `gcsSource` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsSource]
Metadata for the text. Corresponds to the JSON property `textMetadata` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextMetadata]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2847 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2852 def update!(**args) @annotation_type = args[:annotation_type] if args.key?(:annotation_type) @bigquery_source = args[:bigquery_source] if args.key?(:bigquery_source) @classification_metadata = args[:classification_metadata] if args.key?(:classification_metadata) @data_type = args[:data_type] if args.key?(:data_type) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @text_metadata = args[:text_metadata] if args.key?(:text_metadata) end