Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata

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

Metadata of the import document operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata.



6873
6874
6875
# File 'lib/google/apis/documentai_v1/classes.rb', line 6873

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata

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



6856
6857
6858
# File 'lib/google/apis/documentai_v1/classes.rb', line 6856

def 
  @common_metadata
end

#import_config_validation_resultsArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult>

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



6861
6862
6863
# File 'lib/google/apis/documentai_v1/classes.rb', line 6861

def import_config_validation_results
  @import_config_validation_results
end

#individual_import_statusesArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus>

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



6866
6867
6868
# File 'lib/google/apis/documentai_v1/classes.rb', line 6866

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)


6871
6872
6873
# File 'lib/google/apis/documentai_v1/classes.rb', line 6871

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6878
6879
6880
6881
6882
6883
# File 'lib/google/apis/documentai_v1/classes.rb', line 6878

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