Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::CreateProcessorRequest.
Request message for create a processor. Notice this request is sent to a regionalized backend service, and if the processor type is not available on that region, the creation will fail.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent (project and location) under which to create the processor.
Format:
projects/{project}/locations/{location}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent (project and location) under which to create the processor.
Format:
projects/{project}/locations/{location}
Returns
-
(::String) — Required. The parent (project and location) under which to create the processor.
Format:
projects/{project}/locations/{location}
#processor
def processor() -> ::Google::Cloud::DocumentAI::V1::Processor
Returns
- (::Google::Cloud::DocumentAI::V1::Processor) — Required. The processor to be created, requires [processor_type] and [display_name] to be set. Also, the processor is under CMEK if CMEK fields are set.
#processor=
def processor=(value) -> ::Google::Cloud::DocumentAI::V1::Processor
Parameter
- value (::Google::Cloud::DocumentAI::V1::Processor) — Required. The processor to be created, requires [processor_type] and [display_name] to be set. Also, the processor is under CMEK if CMEK fields are set.
Returns
- (::Google::Cloud::DocumentAI::V1::Processor) — Required. The processor to be created, requires [processor_type] and [display_name] to be set. Also, the processor is under CMEK if CMEK fields are set.