class ProjectsLocationsProcessorTypes extends Resource (View source)

The "processorTypes" collection of methods.

Typical usage is:

 $documentaiService = new Google\Service\Document(...);
 $processorTypes = $documentaiService->projects_locations_processorTypes;

Methods

get(string $name, array $optParams = [])

Gets a processor type detail. (processorTypes.get)

listProjectsLocationsProcessorTypes(string $parent, array $optParams = [])

Lists the processor types that exist.

Details

GoogleCloudDocumentaiV1ProcessorType get(string $name, array $optParams = [])

Gets a processor type detail. (processorTypes.get)

Parameters

string $name

Required. The processor type resource name.

array $optParams

Optional parameters.

Return Value

GoogleCloudDocumentaiV1ProcessorType

Exceptions

Exception

GoogleCloudDocumentaiV1ListProcessorTypesResponse listProjectsLocationsProcessorTypes(string $parent, array $optParams = [])

Lists the processor types that exist.

(processorTypes.listProjectsLocationsProcessorTypes)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

GoogleCloudDocumentaiV1ListProcessorTypesResponse

Exceptions

Exception