Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ProcessorType.
A processor type is responsible for performing a certain document understanding task on a certain type of document.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_creation
def allow_creation() -> ::Boolean
Returns
- (::Boolean) — Whether the processor type allows creation. If yes, user can create a processor of this processor type. Otherwise, user needs to require for whitelisting.
#allow_creation=
def allow_creation=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the processor type allows creation. If yes, user can create a processor of this processor type. Otherwise, user needs to require for whitelisting.
Returns
- (::Boolean) — Whether the processor type allows creation. If yes, user can create a processor of this processor type. Otherwise, user needs to require for whitelisting.
#available_locations
def available_locations() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::ProcessorType::LocationInfo>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::ProcessorType::LocationInfo>) — The locations in which this processor is available.
#available_locations=
def available_locations=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::ProcessorType::LocationInfo>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::ProcessorType::LocationInfo>) — The locations in which this processor is available.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::ProcessorType::LocationInfo>) — The locations in which this processor is available.
#category
def category() -> ::String
Returns
- (::String) — The processor category.
#category=
def category=(value) -> ::String
Parameter
- value (::String) — The processor category.
Returns
- (::String) — The processor category.
#name
def name() -> ::String
Returns
- (::String) — The resource name of the processor type.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The resource name of the processor type.
Returns
- (::String) — The resource name of the processor type.
#type
def type() -> ::String
Returns
- (::String) — The type of the processor.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — The type of the processor.
Returns
- (::String) — The type of the processor.