class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextRequest
Request message for LabelText.
Attributes
Configuration for how human labeling task should be done. Corresponds to the JSON property `basicConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]
Required. The type of text labeling task. Corresponds to the JSON property `feature` @return [String]
Config for text classification human labeling task. Corresponds to the JSON property `textClassificationConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig]
Config for text entity extraction human labeling task. Corresponds to the JSON property `textEntityExtractionConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3299 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3304 def update!(**args) @basic_config = args[:basic_config] if args.key?(:basic_config) @feature = args[:feature] if args.key?(:feature) @text_classification_config = args[:text_classification_config] if args.key?(:text_classification_config) @text_entity_extraction_config = args[:text_entity_extraction_config] if args.key?(:text_entity_extraction_config) end