Skip to content

Commit

Permalink
feat: add model_type in v1beta3 processor proto
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 603726122
  • Loading branch information
Google APIs authored and copybara-github committed Feb 2, 2024
1 parent a17d4ca commit c7fd8bd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions google/cloud/documentai/v1beta3/processor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,18 @@ message ProcessorVersion {
IMPORTING = 8;
}

// The possible model types of the processor version.
enum 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;
}

// The resource name of the processor version.
// Format:
// `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`
Expand Down Expand Up @@ -113,6 +125,9 @@ message ProcessorVersion {

// If set, information about the eventual deprecation of this version.
DeprecationInfo deprecation_info = 13;

// Output only. The model type of this processor version.
ModelType model_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
}

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

0 comments on commit c7fd8bd

Please sign in to comment.