Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetadata
- 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
Metadata for classification annotations.
Instance Attribute Summary collapse
-
#is_multi_label ⇒ Boolean
(also: #is_multi_label?)
Whether the classification task is multi-label or not.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ClassificationMetadata
constructor
A new instance of GoogleCloudDatalabelingV1beta1ClassificationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ClassificationMetadata
Returns a new instance of GoogleCloudDatalabelingV1beta1ClassificationMetadata.
1279 1280 1281 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_multi_label ⇒ Boolean Also known as: is_multi_label?
Whether the classification task is multi-label or not.
Corresponds to the JSON property isMultiLabel
1276 1277 1278 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1276 def is_multi_label @is_multi_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1284 1285 1286 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1284 def update!(**args) @is_multi_label = args[:is_multi_label] if args.key?(:is_multi_label) end |