Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata

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 import document operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata

Returns a new instance of GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.



829
830
831
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 829

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



812
813
814
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 812

def 
  @common_metadata
end

#import_config_validation_resultsArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult>

Validation statuses of the batch documents import config. Corresponds to the JSON property importConfigValidationResults



817
818
819
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 817

def import_config_validation_results
  @import_config_validation_results
end

#individual_import_statusesArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>

The list of response details of each document. Corresponds to the JSON property individualImportStatuses



822
823
824
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 822

def individual_import_statuses
  @individual_import_statuses
end

#total_document_countFixnum

Total number of the documents that are qualified for importing. Corresponds to the JSON property totalDocumentCount

Returns:

  • (Fixnum)


827
828
829
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 827

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



834
835
836
837
838
839
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 834

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