Class: Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/document_ai/v1beta3/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
. -
#disable_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
disable_processor
. -
#enable_processor ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
enable_processor
. -
#fetch_processor_types ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
fetch_processor_types
. -
#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
.
Instance Attribute Details
#batch_process_documents ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_process_documents
1180 1181 1182 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1180 def batch_process_documents @batch_process_documents end |
#create_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_processor
1195 1196 1197 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1195 def create_processor @create_processor end |
#delete_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_processor
1200 1201 1202 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1200 def delete_processor @delete_processor end |
#disable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_processor
1210 1211 1212 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1210 def disable_processor @disable_processor end |
#enable_processor ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_processor
1205 1206 1207 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1205 def enable_processor @enable_processor end |
#fetch_processor_types ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for fetch_processor_types
1185 1186 1187 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1185 def fetch_processor_types @fetch_processor_types end |
#list_processors ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_processors
1190 1191 1192 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1190 def list_processors @list_processors end |
#process_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for process_document
1175 1176 1177 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1175 def process_document @process_document end |
#review_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for review_document
1215 1216 1217 |
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 1215 def review_document @review_document end |