Class: Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb
Overview
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.
-
Instance Attribute Summary collapse
-
#batch_process_documents ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
batch_process_documents
. -
#create_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_processor
. -
#delete_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_processor
. -
#delete_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_processor_version
. -
#deploy_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
deploy_processor_version
. -
#disable_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
disable_processor
. -
#enable_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
enable_processor
. -
#evaluate_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
evaluate_processor_version
. -
#fetch_processor_types ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
fetch_processor_types
. -
#get_evaluation ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_evaluation
. -
#get_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_processor
. -
#get_processor_type ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_processor_type
. -
#get_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_processor_version
. -
#list_evaluations ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_evaluations
. -
#list_processor_types ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_processor_types
. -
#list_processor_versions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_processor_versions
. -
#list_processors ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_processors
. -
#process_document ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
process_document
. -
#review_document ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
review_document
. -
#set_default_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_default_processor_version
. -
#train_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
train_processor_version
. -
#undeploy_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
undeploy_processor_version
.
Instance Attribute Details
#batch_process_documents ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_process_documents
2365 2366 2367 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2365 def batch_process_documents @batch_process_documents end |
#create_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_processor
2425 2426 2427 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2425 def create_processor @create_processor end |
#delete_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor
2430 2431 2432 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2430 def delete_processor @delete_processor end |
#delete_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor_version
2410 2411 2412 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2410 def delete_processor_version @delete_processor_version end |
#deploy_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for deploy_processor_version
2415 2416 2417 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2415 def deploy_processor_version @deploy_processor_version end |
#disable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_processor
2440 2441 2442 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2440 def disable_processor @disable_processor end |
#enable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_processor
2435 2436 2437 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2435 def enable_processor @enable_processor end |
#evaluate_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for evaluate_processor_version
2455 2456 2457 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2455 def evaluate_processor_version @evaluate_processor_version end |
#fetch_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for fetch_processor_types
2370 2371 2372 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2370 def fetch_processor_types @fetch_processor_types end |
#get_evaluation ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_evaluation
2460 2461 2462 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2460 def get_evaluation @get_evaluation end |
#get_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor
2390 2391 2392 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2390 def get_processor @get_processor end |
#get_processor_type ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor_type
2380 2381 2382 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2380 def get_processor_type @get_processor_type end |
#get_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor_version
2400 2401 2402 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2400 def get_processor_version @get_processor_version end |
#list_evaluations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_evaluations
2465 2466 2467 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2465 def list_evaluations @list_evaluations end |
#list_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processor_types
2375 2376 2377 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2375 def list_processor_types @list_processor_types end |
#list_processor_versions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processor_versions
2405 2406 2407 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2405 def list_processor_versions @list_processor_versions end |
#list_processors ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processors
2385 2386 2387 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2385 def list_processors @list_processors end |
#process_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for process_document
2360 2361 2362 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2360 def process_document @process_document end |
#review_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for review_document
2450 2451 2452 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2450 def review_document @review_document end |
#set_default_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_default_processor_version
2445 2446 2447 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2445 def set_default_processor_version @set_default_processor_version end |
#train_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for train_processor_version
2395 2396 2397 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2395 def train_processor_version @train_processor_version end |
#undeploy_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undeploy_processor_version
2420 2421 2422 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb', line 2420 def undeploy_processor_version @undeploy_processor_version end |