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)


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

def batch_process_documents
  @batch_process_documents
end

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

RPC-specific configuration for create_processor

Returns:

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


2713
2714
2715
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2713

def create_processor
  @create_processor
end

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

RPC-specific configuration for delete_processor

Returns:

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


2718
2719
2720
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2718

def delete_processor
  @delete_processor
end

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

RPC-specific configuration for delete_processor_version

Returns:

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


2698
2699
2700
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2698

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)


2703
2704
2705
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2703

def deploy_processor_version
  @deploy_processor_version
end

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

RPC-specific configuration for disable_processor

Returns:

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


2728
2729
2730
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2728

def disable_processor
  @disable_processor
end

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

RPC-specific configuration for enable_processor

Returns:

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


2723
2724
2725
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2723

def enable_processor
  @enable_processor
end

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

RPC-specific configuration for evaluate_processor_version

Returns:

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


2743
2744
2745
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2743

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)


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

def fetch_processor_types
  @fetch_processor_types
end

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

RPC-specific configuration for get_evaluation

Returns:

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


2748
2749
2750
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2748

def get_evaluation
  @get_evaluation
end

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

RPC-specific configuration for get_processor

Returns:

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


2678
2679
2680
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2678

def get_processor
  @get_processor
end

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

RPC-specific configuration for get_processor_type

Returns:

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


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

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)


2688
2689
2690
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2688

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)


2758
2759
2760
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2758

def import_processor_version
  @import_processor_version
end

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

RPC-specific configuration for list_evaluations

Returns:

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


2753
2754
2755
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2753

def list_evaluations
  @list_evaluations
end

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

RPC-specific configuration for list_processor_types

Returns:

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


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

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)


2693
2694
2695
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2693

def list_processor_versions
  @list_processor_versions
end

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

RPC-specific configuration for list_processors

Returns:

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


2673
2674
2675
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2673

def list_processors
  @list_processors
end

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

RPC-specific configuration for process_document

Returns:

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


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

def process_document
  @process_document
end

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

RPC-specific configuration for review_document

Returns:

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


2738
2739
2740
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2738

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)


2733
2734
2735
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2733

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)


2683
2684
2685
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2683

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)


2708
2709
2710
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb', line 2708

def undeploy_processor_version
  @undeploy_processor_version
end