Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata

Inherits:
Object
  • Object
show all
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

Details of a LabelTextClassification operation metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata

Returns a new instance of GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata.



3246
3247
3248
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3246

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#basic_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig

Configuration for how human labeling task should be done. Corresponds to the JSON property basicConfig



3244
3245
3246
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3244

def basic_config
  @basic_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3251
3252
3253
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3251

def update!(**args)
  @basic_config = args[:basic_config] if args.key?(:basic_config)
end