Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata

Returns a new instance of GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata.



273
274
275
# File 'lib/google/apis/documentai_v1/classes.rb', line 273

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

Instance Attribute Details

#common_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata

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



266
267
268
# File 'lib/google/apis/documentai_v1/classes.rb', line 266

def 
  @common_metadata
end

#individual_batch_update_statusesArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus>

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



271
272
273
# File 'lib/google/apis/documentai_v1/classes.rb', line 271

def individual_batch_update_statuses
  @individual_batch_update_statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



278
279
280
281
# File 'lib/google/apis/documentai_v1/classes.rb', line 278

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