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

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

Instance Attribute Details

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

RPC-specific configuration for batch_process_documents

Returns:

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


1923
1924
1925
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1923

def batch_process_documents
  @batch_process_documents
end

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

RPC-specific configuration for create_processor

Returns:

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


1983
1984
1985
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1983

def create_processor
  @create_processor
end

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

RPC-specific configuration for delete_processor

Returns:

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


1988
1989
1990
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1988

def delete_processor
  @delete_processor
end

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

RPC-specific configuration for delete_processor_version

Returns:

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


1968
1969
1970
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1968

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)


1973
1974
1975
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1973

def deploy_processor_version
  @deploy_processor_version
end

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

RPC-specific configuration for disable_processor

Returns:

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


1998
1999
2000
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1998

def disable_processor
  @disable_processor
end

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

RPC-specific configuration for enable_processor

Returns:

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


1993
1994
1995
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1993

def enable_processor
  @enable_processor
end

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

RPC-specific configuration for evaluate_processor_version

Returns:

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


2013
2014
2015
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2013

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)


1928
1929
1930
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1928

def fetch_processor_types
  @fetch_processor_types
end

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

RPC-specific configuration for get_evaluation

Returns:

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


2018
2019
2020
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2018

def get_evaluation
  @get_evaluation
end

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

RPC-specific configuration for get_processor

Returns:

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


1948
1949
1950
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1948

def get_processor
  @get_processor
end

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

RPC-specific configuration for get_processor_type

Returns:

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


1938
1939
1940
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1938

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)


1958
1959
1960
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1958

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)


2028
2029
2030
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2028

def import_processor_version
  @import_processor_version
end

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

RPC-specific configuration for list_evaluations

Returns:

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


2023
2024
2025
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2023

def list_evaluations
  @list_evaluations
end

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

RPC-specific configuration for list_processor_types

Returns:

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


1933
1934
1935
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1933

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)


1963
1964
1965
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1963

def list_processor_versions
  @list_processor_versions
end

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

RPC-specific configuration for list_processors

Returns:

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


1943
1944
1945
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1943

def list_processors
  @list_processors
end

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

RPC-specific configuration for process_document

Returns:

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


1918
1919
1920
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1918

def process_document
  @process_document
end

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

RPC-specific configuration for review_document

Returns:

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


2008
2009
2010
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2008

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)


2003
2004
2005
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 2003

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)


1953
1954
1955
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1953

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)


1978
1979
1980
# File 'lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb', line 1978

def undeploy_processor_version
  @undeploy_processor_version
end