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.



627
628
629
# File 'lib/google/apis/documentai_v1/classes.rb', line 627

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



619
620
621
# File 'lib/google/apis/documentai_v1/classes.rb', line 619

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



625
626
627
# File 'lib/google/apis/documentai_v1/classes.rb', line 625

def newly_added_documents
  @newly_added_documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



632
633
634
635
# File 'lib/google/apis/documentai_v1/classes.rb', line 632

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