Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Request message for starting an image labeling task.
Instance Attribute Summary collapse
-
#basic_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
Configuration for how human labeling task should be done.
-
#bounding_poly_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig
Config for image bounding poly (and bounding box) human labeling task.
-
#feature ⇒ String
Required.
-
#image_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig
Config for image classification human labeling task.
-
#polyline_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig
Config for image polyline human labeling task.
-
#segmentation_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig
Config for image segmentation Corresponds to the JSON property
segmentationConfig
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1LabelImageRequest
constructor
A new instance of GoogleCloudDatalabelingV1beta1LabelImageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1LabelImageRequest
Returns a new instance of GoogleCloudDatalabelingV1beta1LabelImageRequest.
3063 3064 3065 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#basic_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
Configuration for how human labeling task should be done.
Corresponds to the JSON property basicConfig
3036 3037 3038 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3036 def basic_config @basic_config end |
#bounding_poly_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig
Config for image bounding poly (and bounding box) human labeling task.
Corresponds to the JSON property boundingPolyConfig
3041 3042 3043 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3041 def bounding_poly_config @bounding_poly_config end |
#feature ⇒ String
Required. The type of image labeling task.
Corresponds to the JSON property feature
3046 3047 3048 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3046 def feature @feature end |
#image_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig
Config for image classification human labeling task.
Corresponds to the JSON property imageClassificationConfig
3051 3052 3053 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3051 def image_classification_config @image_classification_config end |
#polyline_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig
Config for image polyline human labeling task.
Corresponds to the JSON property polylineConfig
3056 3057 3058 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3056 def polyline_config @polyline_config end |
#segmentation_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig
Config for image segmentation
Corresponds to the JSON property segmentationConfig
3061 3062 3063 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3061 def segmentation_config @segmentation_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3068 3069 3070 3071 3072 3073 3074 3075 |
# File 'generated/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 |