Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/google/apis/documentai_v1beta2/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.



8046
8047
8048
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8046

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata

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



8029
8030
8031
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8029

def 
  @common_metadata
end

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

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



8034
8035
8036
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8034

def import_config_validation_results
  @import_config_validation_results
end

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

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



8039
8040
8041
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8039

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)


8044
8045
8046
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8044

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8051
8052
8053
8054
8055
8056
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 8051

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