Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata

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

The metadata proto of ResyncDataset method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata

Returns a new instance of GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata.



591
592
593
# File 'lib/google/apis/documentai_v1/classes.rb', line 591

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



583
584
585
# File 'lib/google/apis/documentai_v1/classes.rb', line 583

def 
  @common_metadata
end

#newly_added_documentsArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>

Returns the newly added document Cloud Storage prefix if the documents are founded in Cloud Storage while not in Document Service storage. Corresponds to the JSON property newlyAddedDocuments



589
590
591
# File 'lib/google/apis/documentai_v1/classes.rb', line 589

def newly_added_documents
  @newly_added_documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
599
# File 'lib/google/apis/documentai_v1/classes.rb', line 596

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