GoogleCloudDocumentaiV1beta3ProcessorType class

A processor type is responsible for performing a certain document understanding task on a certain type of document.

All processor types are created by the documentai service internally. User will only list all available processor types via UI. For different users (projects), the available processor types may be different since we'll expose the access of some types via EAP whitelisting. We make the ProcessorType a resource under location so we have a unified API and keep the possibility that UI will load different available processor types from different regions. But for alpha the behavior is that the user will always get the union of all available processor types among all regions no matter which regionalized endpoint is called, and then we use the 'available_locations' field to show under which regions a processor type is available. For example, users can call either the 'US' or 'EU' endpoint to feach processor types. In the return, we will have an 'invoice parsing' processor with 'available_locations' field only containing 'US'. So the user can try to create an 'invoice parsing' processor under the location 'US'. Such attempt of creating under the location 'EU' will fail. Next ID: 8.

Properties

allowCreation bool?
Whether the processor type allows creation.
getter/setter pair
availableLocations List<GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo>?
The locations in which this processor is available.
getter/setter pair
category String?
The processor category, used by UI to group processor types.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the processor type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of the processor, e.g, "invoice_parsing".
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited