class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextRequest

Request message for LabelText.

Attributes

basic_config[RW]

Configuration for how human labeling task should be done. Corresponds to the JSON property `basicConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]

feature[RW]

Required. The type of text labeling task. Corresponds to the JSON property `feature` @return [String]

text_classification_config[RW]

Config for text classification human labeling task. Corresponds to the JSON property `textClassificationConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig]

text_entity_extraction_config[RW]

Config for text entity extraction human labeling task. Corresponds to the JSON property `textEntityExtractionConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3299
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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