Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
Config for image bounding poly (and bounding box) human labeling task.
Instance Attribute Summary collapse
-
#annotation_spec_set ⇒ String
Required.
-
#instruction_message ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1BoundingPolyConfig
constructor
A new instance of GoogleCloudDatalabelingV1beta1BoundingPolyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1BoundingPolyConfig
Returns a new instance of GoogleCloudDatalabelingV1beta1BoundingPolyConfig.
1258 1259 1260 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_spec_set ⇒ String
Required. Annotation spec set resource name.
Corresponds to the JSON property annotationSpecSet
1251 1252 1253 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1251 def annotation_spec_set @annotation_spec_set end |
#instruction_message ⇒ String
Optional. Instruction message showed on contributors UI.
Corresponds to the JSON property instructionMessage
1256 1257 1258 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1256 def @instruction_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1263 1264 1265 1266 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1263 def update!(**args) @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) @instruction_message = args[:instruction_message] if args.key?(:instruction_message) end |