Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig
- 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 segmentation
Instance Attribute Summary collapse
-
#annotation_spec_set ⇒ String
Required.
-
#instruction_message ⇒ String
Instruction message showed on labelers UI.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1SegmentationConfig
constructor
A new instance of GoogleCloudDatalabelingV1beta1SegmentationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1SegmentationConfig
Returns a new instance of GoogleCloudDatalabelingV1beta1SegmentationConfig.
4188 4189 4190 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4188 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_spec_set ⇒ String
Required. Annotation spec set resource name. format: projects/project_id
/
annotationSpecSets/annotation_spec_set_id
Corresponds to the JSON property annotationSpecSet
4181 4182 4183 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4181 def annotation_spec_set @annotation_spec_set end |
#instruction_message ⇒ String
Instruction message showed on labelers UI.
Corresponds to the JSON property instructionMessage
4186 4187 4188 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4186 def @instruction_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4193 4194 4195 4196 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4193 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 |