Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ListProcessorTypesRequest.
Request message for list processor types.
Generated from protobuf message google.cloud.documentai.v1.ListProcessorTypesRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The location of processor type to list. The available processor types may depend on the allow-listing on projects. Format: |
↳ 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 type to list.
The available processor types may depend on the allow-listing on projects.
Format: projects/{project}/locations/{location}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
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}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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.
Generated from protobuf field int32 page_size = 2;
Returns | |
---|---|
Type | Description |
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.
Generated from protobuf field int32 page_size = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
Used to retrieve the next page of results, empty if at the end of the list.
Generated from protobuf field string page_token = 3;
Returns | |
---|---|
Type | Description |
string |
setPageToken
Used to retrieve the next page of results, empty if at the end of the list.
Generated from protobuf field string page_token = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |