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.



566
567
568
# File 'lib/google/apis/documentai_v1/classes.rb', line 566

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



558
559
560
# File 'lib/google/apis/documentai_v1/classes.rb', line 558

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



564
565
566
# File 'lib/google/apis/documentai_v1/classes.rb', line 564

def newly_added_documents
  @newly_added_documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



571
572
573
574
# File 'lib/google/apis/documentai_v1/classes.rb', line 571

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