class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion

A processor version is an implementation of a processor. Each processor can have multiple versions, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor's behavior (when processing documents) is defined by a default version.

Attributes

create_time[RW]

The time the processor version was created. Corresponds to the JSON property `createTime` @return [String]

display_name[RW]

The display name of the processor version. Corresponds to the JSON property `displayName` @return [String]

latest_evaluation[RW]

Gives a short summary of an evaluation, and links to the evaluation itself. Corresponds to the JSON property `latestEvaluation` @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]

name[RW]

The resource name of the processor version. Format: projects/`project`/ locations/`location`/processors/`processor`/processorVersions/` processor_version` Corresponds to the JSON property `name` @return [String]

schema[RW]

The schema defines the output of the processed document by a processor. Corresponds to the JSON property `schema` @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema]

state[RW]

The state of the processor version. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 7031
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1beta3/classes.rb, line 7036
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
  @name = args[:name] if args.key?(:name)
  @schema = args[:schema] if args.key?(:schema)
  @state = args[:state] if args.key?(:state)
end