Google Cloud Document Ai V1 Client - Class ListProcessorTypesRequest (1.4.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ListProcessorTypesRequest.

Request message for the ListProcessorTypes method. Some processor types may require the project be added to an allowlist.

Generated from protobuf message google.cloud.documentai.v1.ListProcessorTypesRequest

Namespace

Google \ Cloud \ DocumentAI \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The location of processor types to list. Format: projects/{project}/locations/{location}.

↳ page_size int

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.

↳ page_token string

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

getParent

Required. The location of processor types to list.

Format: projects/{project}/locations/{location}.

Returns
TypeDescription
string

setParent

Required. The location of processor types to list.

Format: projects/{project}/locations/{location}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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.

Returns
TypeDescription
int

setPageSize

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The location of processor types to list. Format: projects/{project}/locations/{location}. Please see Google\Cloud\DocumentAI\V1\DocumentProcessorServiceClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\ListProcessorTypesRequest