Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata

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) ⇒ GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata.



11061
11062
11063
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11061

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata

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



11044
11045
11046
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11044

def 
  @common_metadata
end

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

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



11049
11050
11051
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11049

def import_config_validation_results
  @import_config_validation_results
end

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

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



11054
11055
11056
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11054

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)


11059
11060
11061
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11059

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11066
11067
11068
11069
11070
11071
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11066

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