Method: processorTypes.list

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

Full name: projects.locations.processorTypes.list

Lists the processor types that exist.

HTTP request

GET https://{endpoint}/v1beta3/{parent}/processorTypes

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

Path parameters

Parameters
parent

string

Required. The location of processor type to list. The available processor types may depend on the allow-listing on projects. Format: projects/{project}/locations/{location} It takes the form projects/{project}/locations/{location}.

Authorization requires the following IAM permission on the specified resource parent:

  • documentai.processorTypes.list

Query parameters

Parameters
pageSize

integer

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.

pageToken

string

Used to retrieve the next page of results, empty if at the end of the list.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for list processor types.

JSON representation
{
  "processorTypes": [
    {
      object (ProcessorType)
    }
  ],
  "nextPageToken": string
}
Fields
processorTypes[]

object (ProcessorType)

The processor types.

nextPageToken

string

Points to the next page, otherwise empty.

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.processorTypes.list

For more information, see the IAM documentation.