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.



593
594
595
# File 'lib/google/apis/documentai_v1/classes.rb', line 593

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

Instance Attribute Details

#split_typeString

The dataset split type. Corresponds to the JSON property splitType

Returns:

  • (String)


586
587
588
# File 'lib/google/apis/documentai_v1/classes.rb', line 586

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)


591
592
593
# File 'lib/google/apis/documentai_v1/classes.rb', line 591

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



598
599
600
601
# File 'lib/google/apis/documentai_v1/classes.rb', line 598

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