Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added EvaluationReference to evaluation.proto #20134

Merged
merged 2 commits into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -882,17 +882,24 @@ module OperationType
# Remove an element identified by `parent`.
REMOVE = 2

# Replace an element identified by `parent`.
# Updates any fields within the given provenance scope of the message. It
# 'overwrites' the fields rather than replacing them. This is
# especially relevant when we just want to update a field value of an
# entity without also affecting all the child properties.
UPDATE = 7

# Currently unused. Replace an element identified by `parent`.
REPLACE = 3

# Request human review for the element identified by `parent`.
# Deprecated. Request human review for the element identified by
# `parent`.
EVAL_REQUESTED = 4

# Element is reviewed and approved at human review, confidence will be
# set to 1.0.
# Deprecated. Element is reviewed and approved at human review,
# confidence will be set to 1.0.
EVAL_APPROVED = 5

# Element is skipped in the validation process.
# Deprecated. Element is skipped in the validation process.
EVAL_SKIPPED = 6
end
end
Expand All @@ -908,7 +915,8 @@ module OperationType
# resource name.
# @!attribute [rw] id
# @return [::String]
# Id of the revision. Unique within the context of the document.
# Id of the revision, internally generated by doc proto storage.
# Unique within the context of the document.
# @!attribute [rw] parent
# @return [::Array<::Integer>]
# The revisions that this revision is based on. This can include one or
Expand All @@ -921,7 +929,8 @@ module OperationType
# `provenance.parent.revision` fields that index into this field.
# @!attribute [rw] create_time
# @return [::Google::Protobuf::Timestamp]
# The time that the revision was created.
# The time that the revision was created, internally generated by
# doc proto storage at the time of create.
# @!attribute [rw] human_review
# @return [::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview]
# Human Review information of this revision.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@ module Google
module Cloud
module DocumentAI
module V1beta3
# Gives a short summary of an evaluation, and links to the evaluation itself.
# @!attribute [rw] operation
# @return [::String]
# The resource name of the Long Running Operation for the evaluation.
# @!attribute [rw] evaluation
# @return [::String]
# The resource name of the evaluation.
# @!attribute [rw] aggregate_metrics
# @return [::Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics]
# An aggregate of the statistics for the evaluation with fuzzy matching on.
# @!attribute [rw] aggregate_metrics_exact
# @return [::Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics]
# An aggregate of the statistics for the evaluation with fuzzy matching off.
class EvaluationReference
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# An evaluation of a ProcessorVersion's performance.
# @!attribute [rw] name
# @return [::String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ module V1beta3
# @!attribute [rw] create_time
# @return [::Google::Protobuf::Timestamp]
# The time the processor version was created.
# @!attribute [rw] latest_evaluation
# @return [::Google::Cloud::DocumentAI::V1beta3::EvaluationReference]
# The most recently invoked evaluation for the processor version.
# @!attribute [rw] kms_key_name
# @return [::String]
# The KMS key name used for encryption.
Expand Down