Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
- 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 text entity extraction human labeling task.
Instance Attribute Summary collapse
-
#annotation_spec_set ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
constructor
A new instance of GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
Returns a new instance of GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig.
4338 4339 4340 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4338 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
4336 4337 4338 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4336 def annotation_spec_set @annotation_spec_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4343 4344 4345 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4343 def update!(**args) @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) end |