Class: Google::Cloud::DocumentAI::V1::DocumentProcessorService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1::DocumentProcessorService::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/document_ai/v1/document_processor_service/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 gRPC 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
2538 2539 2540 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2538 def batch_process_documents @batch_process_documents end |
#create_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_processor
2598 2599 2600 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2598 def create_processor @create_processor end |
#delete_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor
2603 2604 2605 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2603 def delete_processor @delete_processor end |
#delete_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor_version
2583 2584 2585 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2583 def delete_processor_version @delete_processor_version end |
#deploy_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for deploy_processor_version
2588 2589 2590 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2588 def deploy_processor_version @deploy_processor_version end |
#disable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_processor
2613 2614 2615 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2613 def disable_processor @disable_processor end |
#enable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_processor
2608 2609 2610 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2608 def enable_processor @enable_processor end |
#evaluate_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for evaluate_processor_version
2628 2629 2630 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2628 def evaluate_processor_version @evaluate_processor_version end |
#fetch_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for fetch_processor_types
2543 2544 2545 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2543 def fetch_processor_types @fetch_processor_types end |
#get_evaluation ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_evaluation
2633 2634 2635 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2633 def get_evaluation @get_evaluation end |
#get_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor
2563 2564 2565 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2563 def get_processor @get_processor end |
#get_processor_type ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor_type
2553 2554 2555 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2553 def get_processor_type @get_processor_type end |
#get_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor_version
2573 2574 2575 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2573 def get_processor_version @get_processor_version end |
#list_evaluations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_evaluations
2638 2639 2640 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2638 def list_evaluations @list_evaluations end |
#list_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processor_types
2548 2549 2550 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2548 def list_processor_types @list_processor_types end |
#list_processor_versions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processor_versions
2578 2579 2580 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2578 def list_processor_versions @list_processor_versions end |
#list_processors ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processors
2558 2559 2560 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2558 def list_processors @list_processors end |
#process_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for process_document
2533 2534 2535 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2533 def process_document @process_document end |
#review_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for review_document
2623 2624 2625 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2623 def review_document @review_document end |
#set_default_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_default_processor_version
2618 2619 2620 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2618 def set_default_processor_version @set_default_processor_version end |
#train_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for train_processor_version
2568 2569 2570 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2568 def train_processor_version @train_processor_version end |
#undeploy_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undeploy_processor_version
2593 2594 2595 |
# File 'lib/google/cloud/document_ai/v1/document_processor_service/client.rb', line 2593 def undeploy_processor_version @undeploy_processor_version end |