Class: Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/document_ai/v1beta3/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
. -
#import_processor_version ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
import_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
2473 2474 2475 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2473 def batch_process_documents @batch_process_documents end |
#create_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_processor
2533 2534 2535 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2533 def create_processor @create_processor end |
#delete_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor
2538 2539 2540 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2538 def delete_processor @delete_processor end |
#delete_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor_version
2518 2519 2520 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2518 def delete_processor_version @delete_processor_version end |
#deploy_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for deploy_processor_version
2523 2524 2525 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2523 def deploy_processor_version @deploy_processor_version end |
#disable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_processor
2548 2549 2550 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2548 def disable_processor @disable_processor end |
#enable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_processor
2543 2544 2545 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2543 def enable_processor @enable_processor end |
#evaluate_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for evaluate_processor_version
2563 2564 2565 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2563 def evaluate_processor_version @evaluate_processor_version end |
#fetch_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for fetch_processor_types
2478 2479 2480 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2478 def fetch_processor_types @fetch_processor_types end |
#get_evaluation ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_evaluation
2568 2569 2570 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2568 def get_evaluation @get_evaluation end |
#get_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor
2498 2499 2500 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2498 def get_processor @get_processor end |
#get_processor_type ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor_type
2488 2489 2490 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2488 def get_processor_type @get_processor_type end |
#get_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_processor_version
2508 2509 2510 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2508 def get_processor_version @get_processor_version end |
#import_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for import_processor_version
2578 2579 2580 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2578 def import_processor_version @import_processor_version end |
#list_evaluations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_evaluations
2573 2574 2575 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2573 def list_evaluations @list_evaluations end |
#list_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processor_types
2483 2484 2485 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2483 def list_processor_types @list_processor_types end |
#list_processor_versions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processor_versions
2513 2514 2515 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2513 def list_processor_versions @list_processor_versions end |
#list_processors ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processors
2493 2494 2495 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2493 def list_processors @list_processors end |
#process_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for process_document
2468 2469 2470 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2468 def process_document @process_document end |
#review_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for review_document
2558 2559 2560 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2558 def review_document @review_document end |
#set_default_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_default_processor_version
2553 2554 2555 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2553 def set_default_processor_version @set_default_processor_version end |
#train_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for train_processor_version
2503 2504 2505 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2503 def train_processor_version @train_processor_version end |
#undeploy_processor_version ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undeploy_processor_version
2528 2529 2530 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2528 def undeploy_processor_version @undeploy_processor_version end |