class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest

Request message for starting an image labeling task.

Attributes

basic_config[RW]

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

bounding_poly_config[RW]

Config for image bounding poly (and bounding box) human labeling task. Corresponds to the JSON property `boundingPolyConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig]

feature[RW]

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

image_classification_config[RW]

Config for image classification human labeling task. Corresponds to the JSON property `imageClassificationConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig]

polyline_config[RW]

Config for image polyline human labeling task. Corresponds to the JSON property `polylineConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig]

segmentation_config[RW]

Config for image segmentation Corresponds to the JSON property `segmentationConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3063
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 3068
def update!(**args)
  @basic_config = args[:basic_config] if args.key?(:basic_config)
  @bounding_poly_config = args[:bounding_poly_config] if args.key?(:bounding_poly_config)
  @feature = args[:feature] if args.key?(:feature)
  @image_classification_config = args[:image_classification_config] if args.key?(:image_classification_config)
  @polyline_config = args[:polyline_config] if args.key?(:polyline_config)
  @segmentation_config = args[:segmentation_config] if args.key?(:segmentation_config)
end