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: add model_type in v1beta3 processor proto #24746

Merged
merged 2 commits into from
Feb 5, 2024
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.

Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ module V1beta3
# @!attribute [rw] deprecation_info
# @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::DeprecationInfo]
# If set, information about the eventual deprecation of this version.
# @!attribute [r] model_type
# @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::ModelType]
# Output only. The model type of this processor version.
class ProcessorVersion
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down Expand Up @@ -102,6 +105,18 @@ module State
# The processor version is being imported.
IMPORTING = 8
end

# The possible model types of the processor version.
module ModelType
# The processor version has unspecified model type.
MODEL_TYPE_UNSPECIFIED = 0

# The processor version has generative model type.
MODEL_TYPE_GENERATIVE = 1

# The processor version has custom model type.
MODEL_TYPE_CUSTOM = 2
end
end

# Contains the alias and the aliased resource name of processor version.
Expand Down