Method: processors.create

Stay organized with collections Save and categorize content based on your preferences.

Full name: projects.locations.processors.create

Creates a processor from the type processor that the user chose. The processor will be at "ENABLED" state by default after its creation.

HTTP request

POST https://{endpoint}/v1beta3/{parent}/processors

Where {endpoint} is one of the supported service endpoints.

Path parameters

Parameters
parent

string

Required. The parent (project and location) under which to create the processor. Format: projects/{project}/locations/{location} It takes the form projects/{project}/locations/{location}.

Request body

The request body contains an instance of Processor.

Response body

If successful, the response body contains a newly created instance of Processor.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • documentai.processors.create

For more information, see the IAM documentation.