Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat

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

Overview

The statistic representing a dataset split type for this export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat

Returns a new instance of GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat.



676
677
678
# File 'lib/google/apis/documentai_v1/classes.rb', line 676

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

Instance Attribute Details

#split_typeString

The dataset split type. Corresponds to the JSON property splitType

Returns:

  • (String)


669
670
671
# File 'lib/google/apis/documentai_v1/classes.rb', line 669

def split_type
  @split_type
end

#total_document_countFixnum

Total number of documents with the given dataset split type to be exported. Corresponds to the JSON property totalDocumentCount

Returns:

  • (Fixnum)


674
675
676
# File 'lib/google/apis/documentai_v1/classes.rb', line 674

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



681
682
683
684
# File 'lib/google/apis/documentai_v1/classes.rb', line 681

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