Class ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource
The "processorVersions" collection of methods.
Inherited Members
Namespace: Google.Apis.Document.v1beta3
Assembly: Google.Apis.Document.v1beta3.dll
Syntax
public class ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource
Constructors
ProcessorVersionsResource(IClientService)
Constructs a new resource.
Declaration
public ProcessorVersionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Evaluations
Gets the Evaluations resource.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.EvaluationsResource Evaluations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.EvaluationsResource |
Methods
BatchProcess(GoogleCloudDocumentaiV1beta3BatchProcessRequest, string)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.BatchProcessRequest BatchProcess(GoogleCloudDocumentaiV1beta3BatchProcessRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3BatchProcessRequest | body | The body of the request. |
string | name | Required. The resource name of Processor or ProcessorVersion. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.BatchProcessRequest |
Delete(string)
Deletes the processor version, all artifacts under the processor version will be deleted.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The processor version resource name to be deleted. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.DeleteRequest |
Deploy(GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest, string)
Deploys the processor version.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.DeployRequest Deploy(GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest | body | The body of the request. |
string | name | Required. The processor version resource name to be deployed. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.DeployRequest |
EvaluateProcessorVersion(GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest, string)
Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.EvaluateProcessorVersionRequest EvaluateProcessorVersion(GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest body, string processorVersion)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest | body | The body of the request. |
string | processorVersion | Required. The resource name of the ProcessorVersion to evaluate.
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.EvaluateProcessorVersionRequest |
Get(string)
Gets a processor version detail.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The processor resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.GetRequest |
ImportProcessorVersion(GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest, string)
Imports a processor version from source processor version.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.ImportProcessorVersionRequest ImportProcessorVersion(GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest | body | The body of the request. |
string | parent | Required. The destination processor name to create the processor version in. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.ImportProcessorVersionRequest |
List(string)
Lists all versions of a processor.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent (project, location and processor) to list all versions. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.ListRequest |
Process(GoogleCloudDocumentaiV1beta3ProcessRequest, string)
Processes a single document.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.ProcessRequest Process(GoogleCloudDocumentaiV1beta3ProcessRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3ProcessRequest | body | The body of the request. |
string | name | Required. The resource name of the Processor or ProcessorVersion to use for processing. If a
Processor is specified, the server will use its default version. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.ProcessRequest |
Train(GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest, string)
Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.TrainRequest Train(GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest | body | The body of the request. |
string | parent | Required. The parent (project, location and processor) to create the new version for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.TrainRequest |
Undeploy(GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest, string)
Undeploys the processor version.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.UndeployRequest Undeploy(GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest | body | The body of the request. |
string | name | Required. The processor version resource name to be undeployed. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.UndeployRequest |