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.



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

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



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

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



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

def newly_added_documents
  @newly_added_documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



577
578
579
580
# File 'lib/google/apis/documentai_v1/classes.rb', line 577

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