Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client::Configuration::Rpcs.
Configuration RPC class for the DocumentProcessorService API.
Includes fields providing the configuration for each RPC in this service.
Each configuration object is of type Gapic::Config::Method
and includes
the following configuration fields:
-
timeout
(type:Numeric
) - The call timeout in seconds -
metadata
(type:Hash{Symbol=>String}
) - Additional headers -
retry_policy (type:
Hash`) - The retry policy. The policy fields include the following keys:-
:initial_delay
(type:Numeric
) - The initial delay in seconds. -
:max_delay
(type:Numeric
) - The max delay in seconds. -
:multiplier
(type:Numeric
) - The incremental backoff multiplier. -
:retry_codes
(type:Array<String>
) - The error codes that should trigger a retry.
-
Inherits
- Object
Methods
#batch_process_documents
def batch_process_documents() -> ::Gapic::Config::Method
RPC-specific configuration for batch_process_documents
- (::Gapic::Config::Method)
#create_processor
def create_processor() -> ::Gapic::Config::Method
RPC-specific configuration for create_processor
- (::Gapic::Config::Method)
#delete_processor
def delete_processor() -> ::Gapic::Config::Method
RPC-specific configuration for delete_processor
- (::Gapic::Config::Method)
#delete_processor_version
def delete_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for delete_processor_version
- (::Gapic::Config::Method)
#deploy_processor_version
def deploy_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for deploy_processor_version
- (::Gapic::Config::Method)
#disable_processor
def disable_processor() -> ::Gapic::Config::Method
RPC-specific configuration for disable_processor
- (::Gapic::Config::Method)
#enable_processor
def enable_processor() -> ::Gapic::Config::Method
RPC-specific configuration for enable_processor
- (::Gapic::Config::Method)
#evaluate_processor_version
def evaluate_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for evaluate_processor_version
- (::Gapic::Config::Method)
#fetch_processor_types
def fetch_processor_types() -> ::Gapic::Config::Method
RPC-specific configuration for fetch_processor_types
- (::Gapic::Config::Method)
#get_evaluation
def get_evaluation() -> ::Gapic::Config::Method
RPC-specific configuration for get_evaluation
- (::Gapic::Config::Method)
#get_processor
def get_processor() -> ::Gapic::Config::Method
RPC-specific configuration for get_processor
- (::Gapic::Config::Method)
#get_processor_type
def get_processor_type() -> ::Gapic::Config::Method
RPC-specific configuration for get_processor_type
- (::Gapic::Config::Method)
#get_processor_version
def get_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for get_processor_version
- (::Gapic::Config::Method)
#list_evaluations
def list_evaluations() -> ::Gapic::Config::Method
RPC-specific configuration for list_evaluations
- (::Gapic::Config::Method)
#list_processor_types
def list_processor_types() -> ::Gapic::Config::Method
RPC-specific configuration for list_processor_types
- (::Gapic::Config::Method)
#list_processor_versions
def list_processor_versions() -> ::Gapic::Config::Method
RPC-specific configuration for list_processor_versions
- (::Gapic::Config::Method)
#list_processors
def list_processors() -> ::Gapic::Config::Method
RPC-specific configuration for list_processors
- (::Gapic::Config::Method)
#process_document
def process_document() -> ::Gapic::Config::Method
RPC-specific configuration for process_document
- (::Gapic::Config::Method)
#review_document
def review_document() -> ::Gapic::Config::Method
RPC-specific configuration for review_document
- (::Gapic::Config::Method)
#set_default_processor_version
def set_default_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for set_default_processor_version
- (::Gapic::Config::Method)
#train_processor_version
def train_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for train_processor_version
- (::Gapic::Config::Method)
#undeploy_processor_version
def undeploy_processor_version() -> ::Gapic::Config::Method
RPC-specific configuration for undeploy_processor_version
- (::Gapic::Config::Method)