Class: Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#batch_process_documents::Gapic::Config::Method (readonly)

RPC-specific configuration for batch_process_documents

Returns:

  • (::Gapic::Config::Method)


2565
2566
2567
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2565

def batch_process_documents
  @batch_process_documents
end

#create_processor::Gapic::Config::Method (readonly)

RPC-specific configuration for create_processor

Returns:

  • (::Gapic::Config::Method)


2625
2626
2627
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2625

def create_processor
  @create_processor
end

#delete_processor::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_processor

Returns:

  • (::Gapic::Config::Method)


2630
2631
2632
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2630

def delete_processor
  @delete_processor
end

#delete_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_processor_version

Returns:

  • (::Gapic::Config::Method)


2610
2611
2612
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2610

def delete_processor_version
  @delete_processor_version
end

#deploy_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for deploy_processor_version

Returns:

  • (::Gapic::Config::Method)


2615
2616
2617
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2615

def deploy_processor_version
  @deploy_processor_version
end

#disable_processor::Gapic::Config::Method (readonly)

RPC-specific configuration for disable_processor

Returns:

  • (::Gapic::Config::Method)


2640
2641
2642
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2640

def disable_processor
  @disable_processor
end

#enable_processor::Gapic::Config::Method (readonly)

RPC-specific configuration for enable_processor

Returns:

  • (::Gapic::Config::Method)


2635
2636
2637
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2635

def enable_processor
  @enable_processor
end

#evaluate_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for evaluate_processor_version

Returns:

  • (::Gapic::Config::Method)


2655
2656
2657
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2655

def evaluate_processor_version
  @evaluate_processor_version
end

#fetch_processor_types::Gapic::Config::Method (readonly)

RPC-specific configuration for fetch_processor_types

Returns:

  • (::Gapic::Config::Method)


2570
2571
2572
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2570

def fetch_processor_types
  @fetch_processor_types
end

#get_evaluation::Gapic::Config::Method (readonly)

RPC-specific configuration for get_evaluation

Returns:

  • (::Gapic::Config::Method)


2660
2661
2662
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2660

def get_evaluation
  @get_evaluation
end

#get_processor::Gapic::Config::Method (readonly)

RPC-specific configuration for get_processor

Returns:

  • (::Gapic::Config::Method)


2590
2591
2592
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2590

def get_processor
  @get_processor
end

#get_processor_type::Gapic::Config::Method (readonly)

RPC-specific configuration for get_processor_type

Returns:

  • (::Gapic::Config::Method)


2580
2581
2582
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2580

def get_processor_type
  @get_processor_type
end

#get_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for get_processor_version

Returns:

  • (::Gapic::Config::Method)


2600
2601
2602
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2600

def get_processor_version
  @get_processor_version
end

#import_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for import_processor_version

Returns:

  • (::Gapic::Config::Method)


2670
2671
2672
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2670

def import_processor_version
  @import_processor_version
end

#list_evaluations::Gapic::Config::Method (readonly)

RPC-specific configuration for list_evaluations

Returns:

  • (::Gapic::Config::Method)


2665
2666
2667
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2665

def list_evaluations
  @list_evaluations
end

#list_processor_types::Gapic::Config::Method (readonly)

RPC-specific configuration for list_processor_types

Returns:

  • (::Gapic::Config::Method)


2575
2576
2577
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2575

def list_processor_types
  @list_processor_types
end

#list_processor_versions::Gapic::Config::Method (readonly)

RPC-specific configuration for list_processor_versions

Returns:

  • (::Gapic::Config::Method)


2605
2606
2607
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2605

def list_processor_versions
  @list_processor_versions
end

#list_processors::Gapic::Config::Method (readonly)

RPC-specific configuration for list_processors

Returns:

  • (::Gapic::Config::Method)


2585
2586
2587
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2585

def list_processors
  @list_processors
end

#process_document::Gapic::Config::Method (readonly)

RPC-specific configuration for process_document

Returns:

  • (::Gapic::Config::Method)


2560
2561
2562
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2560

def process_document
  @process_document
end

#review_document::Gapic::Config::Method (readonly)

RPC-specific configuration for review_document

Returns:

  • (::Gapic::Config::Method)


2650
2651
2652
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2650

def review_document
  @review_document
end

#set_default_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for set_default_processor_version

Returns:

  • (::Gapic::Config::Method)


2645
2646
2647
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2645

def set_default_processor_version
  @set_default_processor_version
end

#train_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for train_processor_version

Returns:

  • (::Gapic::Config::Method)


2595
2596
2597
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2595

def train_processor_version
  @train_processor_version
end

#undeploy_processor_version::Gapic::Config::Method (readonly)

RPC-specific configuration for undeploy_processor_version

Returns:

  • (::Gapic::Config::Method)


2620
2621
2622
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2620

def undeploy_processor_version
  @undeploy_processor_version
end