Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessorVersion.
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
Generated from protobuf message google.cloud.documentai.v1.ProcessorVersion
Namespace
Google \ Cloud \ DocumentAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
↳ display_name
string
The display name of the processor version.
↳ document_schema
Google\Cloud\DocumentAI\V1\DocumentSchema
The schema of the processor version. Describes the output.
↳ state
int
The state of the processor version.
↳ create_time
↳ latest_evaluation
Google\Cloud\DocumentAI\V1\EvaluationReference
The most recently invoked evaluation for the processor version.
↳ kms_key_name
string
The KMS key name used for encryption.
↳ kms_key_version_name
string
The KMS key version with which data is encrypted.
↳ google_managed
bool
Denotes that this ProcessorVersion is managed by google.
↳ deprecation_info
Google\Cloud\DocumentAI\V1\ProcessorVersion\DeprecationInfo
If set, information about the eventual deprecation of this version.
getName
The resource name of the processor version.
Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
string
setName
The resource name of the processor version.
Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
var
string
$this
getDisplayName
The display name of the processor version.
string
setDisplayName
The display name of the processor version.
var
string
$this
getDocumentSchema
The schema of the processor version. Describes the output.
hasDocumentSchema
clearDocumentSchema
setDocumentSchema
The schema of the processor version. Describes the output.
$this
getState
The state of the processor version.
int
setState
The state of the processor version.
var
int
$this
getCreateTime
The time the processor version was created.
hasCreateTime
clearCreateTime
setCreateTime
The time the processor version was created.
$this
getLatestEvaluation
The most recently invoked evaluation for the processor version.
hasLatestEvaluation
clearLatestEvaluation
setLatestEvaluation
The most recently invoked evaluation for the processor version.
$this
getKmsKeyName
The KMS key name used for encryption.
string
setKmsKeyName
The KMS key name used for encryption.
var
string
$this
getKmsKeyVersionName
The KMS key version with which data is encrypted.
string
setKmsKeyVersionName
The KMS key version with which data is encrypted.
var
string
$this
getGoogleManaged
Denotes that this ProcessorVersion is managed by google.
bool
setGoogleManaged
Denotes that this ProcessorVersion is managed by google.
var
bool
$this
getDeprecationInfo
If set, information about the eventual deprecation of this version.
hasDeprecationInfo
clearDeprecationInfo
setDeprecationInfo
If set, information about the eventual deprecation of this version.
$this