Class: Google::Cloud::DocumentAI::V1::CreateProcessorRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1/document_processor_service.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns 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}



588
589
590
591
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 588

class CreateProcessorRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#processor::Google::Cloud::DocumentAI::V1::Processor

Returns 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:



588
589
590
591
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 588

class CreateProcessorRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end