@@ -395,6 +395,11 @@ class GoogleCloudDocumentaiUiv1beta3DocumentId
395395 # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
396396 attr_accessor :gcs_managed_doc_id
397397
398+ # The revision reference specifies which revision on the document to read.
399+ # Corresponds to the JSON property `revisionRef`
400+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef]
401+ attr_accessor :revision_ref
402+
398403 # The revision reference specifies which revision on the document to read.
399404 # Corresponds to the JSON property `revisionReference`
400405 # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference]
@@ -407,6 +412,7 @@ def initialize(**args)
407412 # Update properties of this object
408413 def update! ( **args )
409414 @gcs_managed_doc_id = args [ :gcs_managed_doc_id ] if args . key? ( :gcs_managed_doc_id )
415+ @revision_ref = args [ :revision_ref ] if args . key? ( :revision_ref )
410416 @revision_reference = args [ :revision_reference ] if args . key? ( :revision_reference )
411417 end
412418 end
@@ -883,6 +889,39 @@ def update!(**args)
883889 end
884890 end
885891
892+ # The revision reference specifies which revision on the document to read.
893+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
894+ include Google ::Apis ::Core ::Hashable
895+
896+ # Reads the revision generated by the processor version. The format takes the
897+ # full resource name of processor version. `projects/`project`/locations/`
898+ # location`/processors/`processor`/processorVersions/`processorVersion``
899+ # Corresponds to the JSON property `latestProcessorVersion`
900+ # @return [String]
901+ attr_accessor :latest_processor_version
902+
903+ # Reads the revision by the predefined case.
904+ # Corresponds to the JSON property `revisionCase`
905+ # @return [String]
906+ attr_accessor :revision_case
907+
908+ # Reads the revision given by the id.
909+ # Corresponds to the JSON property `revisionId`
910+ # @return [String]
911+ attr_accessor :revision_id
912+
913+ def initialize ( **args )
914+ update! ( **args )
915+ end
916+
917+ # Update properties of this object
918+ def update! ( **args )
919+ @latest_processor_version = args [ :latest_processor_version ] if args . key? ( :latest_processor_version )
920+ @revision_case = args [ :revision_case ] if args . key? ( :revision_case )
921+ @revision_id = args [ :revision_id ] if args . key? ( :revision_id )
922+ end
923+ end
924+
886925 # The revision reference specifies which revision on the document to read.
887926 class GoogleCloudDocumentaiUiv1beta3RevisionReference
888927 include Google ::Apis ::Core ::Hashable
@@ -8113,6 +8152,43 @@ def update!(**args)
81138152 end
81148153 end
81158154
8155+ # Gives a short summary of an evaluation, and links to the evaluation itself.
8156+ class GoogleCloudDocumentaiV1beta3EvaluationReference
8157+ include Google ::Apis ::Core ::Hashable
8158+
8159+ # Evaluation metrics, either in aggregate or about a specific entity.
8160+ # Corresponds to the JSON property `aggregateMetrics`
8161+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
8162+ attr_accessor :aggregate_metrics
8163+
8164+ # Evaluation metrics, either in aggregate or about a specific entity.
8165+ # Corresponds to the JSON property `aggregateMetricsExact`
8166+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
8167+ attr_accessor :aggregate_metrics_exact
8168+
8169+ # The resource name of the evaluation.
8170+ # Corresponds to the JSON property `evaluation`
8171+ # @return [String]
8172+ attr_accessor :evaluation
8173+
8174+ # The resource name of the Long Running Operation for the evaluation.
8175+ # Corresponds to the JSON property `operation`
8176+ # @return [String]
8177+ attr_accessor :operation
8178+
8179+ def initialize ( **args )
8180+ update! ( **args )
8181+ end
8182+
8183+ # Update properties of this object
8184+ def update! ( **args )
8185+ @aggregate_metrics = args [ :aggregate_metrics ] if args . key? ( :aggregate_metrics )
8186+ @aggregate_metrics_exact = args [ :aggregate_metrics_exact ] if args . key? ( :aggregate_metrics_exact )
8187+ @evaluation = args [ :evaluation ] if args . key? ( :evaluation )
8188+ @operation = args [ :operation ] if args . key? ( :operation )
8189+ end
8190+ end
8191+
81168192 # Response message for fetch processor types.
81178193 class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
81188194 include Google ::Apis ::Core ::Hashable
@@ -8680,6 +8756,11 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersion
86808756 # @return [String]
86818757 attr_accessor :kms_key_version_name
86828758
8759+ # Gives a short summary of an evaluation, and links to the evaluation itself.
8760+ # Corresponds to the JSON property `latestEvaluation`
8761+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
8762+ attr_accessor :latest_evaluation
8763+
86838764 # The resource name of the processor version. Format: `projects/`project`/
86848765 # locations/`location`/processors/`processor`/processorVersions/`
86858766 # processor_version``
@@ -8705,6 +8786,7 @@ def update!(**args)
87058786 @google_managed = args [ :google_managed ] if args . key? ( :google_managed )
87068787 @kms_key_name = args [ :kms_key_name ] if args . key? ( :kms_key_name )
87078788 @kms_key_version_name = args [ :kms_key_version_name ] if args . key? ( :kms_key_version_name )
8789+ @latest_evaluation = args [ :latest_evaluation ] if args . key? ( :latest_evaluation )
87088790 @name = args [ :name ] if args . key? ( :name )
87098791 @state = args [ :state ] if args . key? ( :state )
87108792 end
0 commit comments