Version 1
Connector Overview: This page documents all 20 actions for the Googledocumentaiconnector v1.
Evaluations
GET ListV1EvaluationsByParent
/v1/{parent}/evaluations
Retrieves a set of evaluations for a given processor version.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The resource name of the ProcessorVersion to list evaluations for. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} |
|
|
The standard list page size. If unspecified, at most 5 evaluations are returned. The maximum value is 100. Values above 100 are coerced to 100. |
|
|
A page token, received from a previous ListEvaluations call. Provide this to retrieve the subsequent page. |
|
|
N/A |
HumanReviewConfig
POST ReviewDocumentV1ReviewDocumentByHumanReviewConfig
/v1/{humanReviewConfig}:reviewDocument
Send a document for Human Review. The input document should be processed by the specified processor.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The resource name of the HumanReviewConfig that the document will be reviewed with. |
|
|
N/A |
Options (2)
|
Option Name |
Description |
|---|---|
|
|
The priority of the human review task. |
|
|
Whether the validation should be performed on the ad-hoc review request. |
Locations (2)
GET FetchProcessorTypesV1FetchProcessorTypesByParent
/v1/{parent}:fetchProcessorTypes
Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The location of processor types to list. Format: projects/{project}/locations/{location}. |
|
|
N/A |
GET ListV1LocationsByName
/v1/{name}/locations
Lists information about the supported locations for this service.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
The resource that owns the locations collection, if applicable. |
|
|
A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160. |
|
|
Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. |
|
|
A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. |
|
|
The maximum number of results to return. If not set, the service selects a default. |
|
|
N/A |
Operations (3)
POST CancelV1CancelByName
/v1/{name}:cancel
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
The name of the operation resource to be cancelled. |
|
|
N/A |
DELETE DeleteV1ByName
/v1/{name}
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
The name of the operation resource to be deleted. |
|
|
N/A |
GET ListV1ByName
/v1/{name}
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
The standard list page token. |
|
|
The name of the operation's parent resource. |
|
|
The standard list filter. |
|
|
The standard list page size. |
|
|
N/A |
ProcessorTypes
GET ListV1ProcessorTypesByParent
/v1/{parent}/processorTypes
Lists the processor types that exist.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The location of processor types to list. Format: projects/{project}/locations/{location}. |
|
|
Used to retrieve the next page of results, empty if at the end of the list. |
|
|
The maximum number of processor types to return. If unspecified, at most 100 processor types will be returned. The maximum value is 500. Values above 500 will be coerced to 500. |
|
|
N/A |
ProcessorVersions (7)
POST BatchProcessV1BatchProcessByName
/v1/{name}:batchProcess
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
Whether human review should be skipped for this request. Default to false. |
POST DeployV1DeployByName
/v1/{name}:deploy
Deploys the processor version.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The processor version resource name to be deployed. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
POST EvaluateProcessorVersionV1EvaluateProcessorVersion
/v1/{processorVersion}:evaluateProcessorVersion
Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The resource name of the ProcessorVersion to evaluate. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} |
|
|
N/A |
GET ListV1ProcessorVersionsByParent
/v1/{parent}/processorVersions
Lists all versions of a processor.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The parent (project, location and processor) to list all versions. Format: projects/{project}/locations/{location}/processors/{processor} |
|
|
We will return the processor versions sorted by creation time. The page token will point to the next processor version. |
|
|
The maximum number of processor versions to return. If unspecified, at most 10 processor versions will be returned. The maximum value is 20. Values above 20 will be coerced to 20. |
|
|
N/A |
POST ProcessV1ProcessByName
/v1/{name}:process
Processes a single document.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
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: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} |
|
|
N/A |
Options (3)
|
Option Name |
Description |
|---|---|
|
|
Whether human review should be skipped for this request. Default to false. |
|
|
Specifies which fields to include in the ProcessResponse.document output. Only supports top-level document and pages field, so it must be in the form of {document_field_name} or pages.{page_field_name}. |
|
|
Optional. Option to remove images from the document. |
POST TrainV1ProcessorVersionsTrainByParent
/v1/{parent}/processorVersions:train
Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The parent (project, location and processor) to create the new version for. Format: projects/{project}/locations/{location}/processors/{processor}. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
Optional. The processor version to use as a base for training. This processor version must be a child of parent. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}. |
POST UndeployV1UndeployByName
/v1/{name}:undeploy
Undeploys the processor version.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The processor version resource name to be undeployed. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
Processors (5)
POST CreateV1ProcessorsByParent
/v1/{parent}/processors
Creates a processor from the ProcessorType provided. The processor will be at ENABLED state by default after its creation. Note that this method requires the documentai.processors.create permission on the project, which is highly privileged. A user or service account with this permission can create new processors that can interact with any gcs bucket in your project.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The parent (project and location) under which to create the processor. Format: projects/{project}/locations/{location} |
|
|
N/A |
Options (11)
|
Option Name |
Description |
|---|---|
|
|
Output only. Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor} |
|
|
Output only. The state of the processor. |
|
|
The processor type, such as: OCR_PROCESSOR, INVOICE_PROCESSOR. To get a list of processor types, see FetchProcessorTypes. |
|
|
Output only. The processor version aliases. |
|
|
The display name of the processor. |
|
|
Output only. Reserved for future use. |
|
|
The default processor version. |
|
|
The time the processor was created. |
|
|
Output only. Immutable. The http endpoint that can be called to invoke processing. |
|
|
Output only. Reserved for future use. |
|
|
The KMS key used for encryption and decryption in CMEK scenarios. |
POST DisableV1DisableByName
/v1/{name}:disable
Disables a processor
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The processor resource name to be disabled. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
POST EnableV1EnableByName
/v1/{name}:enable
Enables a processor
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The processor resource name to be enabled. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
N/A |
GET ListV1ProcessorsByParent
/v1/{parent}/processors
Lists all processors which belong to this project.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
The maximum number of processors to return. If unspecified, at most 50 processors will be returned. The maximum value is 100. Values above 100 will be coerced to 100. |
|
|
We will return the processors sorted by creation time. The page token will point to the next processor. |
|
|
Required. The parent (project and location) which owns this collection of Processors. Format: projects/{project}/locations/{location} |
|
|
N/A |
POST SetDefaultProcessorVersionV1SetDefaultProcessorVersionByProcessor
/v1/{processor}:setDefaultProcessorVersion
Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Upload protocol for media (e.g. "raw", "multipart"). |
|
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
|
|
Returns response with indentations and line breaks. |
|
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
|
|
OAuth 2.0 token for the current user. |
|
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
|
|
OAuth access token. |
|
|
JSONP |
|
|
Selector specifying which fields to include in a partial response. |
|
|
V1 error format. (Acceptable values are: "1", "2") |
|
|
Data format for response. (Acceptable values are: "json", "media", "proto") |
|
|
Required. The resource name of the Processor to change default version. |
|
|
N/A |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
Required. The resource name of child ProcessorVersion to use as default. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version} |