Skip to content

Commit

Permalink
feat(document_ai-v1beta3): Expose model_type field in processor versi…
Browse files Browse the repository at this point in the history
…on APIs (#24746)
  • Loading branch information
gcf-owl-bot[bot] authored Feb 5, 2024
1 parent 38cb894 commit 678f244
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.

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

0 comments on commit 678f244

Please sign in to comment.