Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata

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) ⇒ GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata

Returns a new instance of GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata.



597
598
599
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 597

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

Instance Attribute Details

#basic_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig

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



595
596
597
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 595

def basic_config
  @basic_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



602
603
604
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 602

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