Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

Metadata of the auto-labeling documents operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata

Returns a new instance of GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata.



44
45
46
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 44

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata

The common metadata for long running operations. Corresponds to the JSON property commonMetadata



32
33
34
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 32

def 
  @common_metadata
end

#individual_auto_label_statusesArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus>

The list of individual auto-labeling statuses of the dataset documents. Corresponds to the JSON property individualAutoLabelStatuses



37
38
39
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 37

def individual_auto_label_statuses
  @individual_auto_label_statuses
end

#total_document_countFixnum

Total number of the auto-labeling documents. Corresponds to the JSON property totalDocumentCount

Returns:

  • (Fixnum)


42
43
44
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 42

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49
50
51
52
53
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 49

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