Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::CreateProcessorRequest.
Request message for the CreateProcessor method. Notice this request is sent to a regionalized backend service. If the ProcessorType isn't available in that region, the creation fails.
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 [Processor.display_name]][] to be set. Also, the Processor.kms_key_name field must be set if the processor is under CMEK.
#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 [Processor.display_name]][] to be set. Also, the Processor.kms_key_name field must be set if the processor is under CMEK.
Returns
- (::Google::Cloud::DocumentAI::V1::Processor) — Required. The processor to be created, requires Processor.type and [Processor.display_name]][] to be set. Also, the Processor.kms_key_name field must be set if the processor is under CMEK.