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.



989
990
991
# File 'lib/google/apis/documentai_v1/classes.rb', line 989

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



975
976
977
# File 'lib/google/apis/documentai_v1/classes.rb', line 975

def 
  @common_metadata
end

#dataset_resync_statusesArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus>

The list of dataset resync statuses. Not checked when ResyncDatasetRequest. dataset_documents is specified. Corresponds to the JSON property datasetResyncStatuses



981
982
983
# File 'lib/google/apis/documentai_v1/classes.rb', line 981

def dataset_resync_statuses
  @dataset_resync_statuses
end

#individual_document_resync_statusesArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus>

The list of document resync statuses. The same document could have multiple individual_document_resync_statuses if it has multiple inconsistencies. Corresponds to the JSON property individualDocumentResyncStatuses



987
988
989
# File 'lib/google/apis/documentai_v1/classes.rb', line 987

def individual_document_resync_statuses
  @individual_document_resync_statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



994
995
996
997
998
# File 'lib/google/apis/documentai_v1/classes.rb', line 994

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