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.



743
744
745
# File 'lib/google/apis/documentai_v1/classes.rb', line 743

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

Instance Attribute Details

#split_typeString

The dataset split type. Corresponds to the JSON property splitType

Returns:

  • (String)


736
737
738
# File 'lib/google/apis/documentai_v1/classes.rb', line 736

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)


741
742
743
# File 'lib/google/apis/documentai_v1/classes.rb', line 741

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



748
749
750
751
# File 'lib/google/apis/documentai_v1/classes.rb', line 748

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