Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata.



7370
7371
7372
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7370

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



7353
7354
7355
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7353

def 
  @common_metadata
end

#error_document_countFixnum

Total number of documents that failed to be deleted in storage. Corresponds to the JSON property errorDocumentCount

Returns:

  • (Fixnum)


7358
7359
7360
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7358

def error_document_count
  @error_document_count
end

#individual_batch_delete_statusesArray<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>

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



7363
7364
7365
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7363

def individual_batch_delete_statuses
  @individual_batch_delete_statuses
end

#total_document_countFixnum

Total number of documents deleting from dataset. Corresponds to the JSON property totalDocumentCount

Returns:

  • (Fixnum)


7368
7369
7370
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7368

def total_document_count
  @total_document_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7375
7376
7377
7378
7379
7380
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7375

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