Document AI V1beta3 API - Module Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Paths (v0.20.0)

Reference documentation and code samples for the Document AI V1beta3 API module Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Paths.

Path helper methods for the DocumentProcessorService API.

Methods

#evaluation_path

def evaluation_path(project:, location:, processor:, processor_version:, evaluation:) -> ::String

Create a fully-qualified Evaluation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}

Parameters
  • project (String)
  • location (String)
  • processor (String)
  • processor_version (String)
  • evaluation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#human_review_config_path

def human_review_config_path(project:, location:, processor:) -> ::String

Create a fully-qualified HumanReviewConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/processors/{processor}/humanReviewConfig

Parameters
  • project (String)
  • location (String)
  • processor (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#processor_path

def processor_path(project:, location:, processor:) -> ::String

Create a fully-qualified Processor resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/processors/{processor}

Parameters
  • project (String)
  • location (String)
  • processor (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#processor_type_path

def processor_type_path(project:, location:, processor_type:) -> ::String

Create a fully-qualified ProcessorType resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/processorTypes/{processor_type}

Parameters
  • project (String)
  • location (String)
  • processor_type (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#processor_version_path

def processor_version_path(project:, location:, processor:, processor_version:) -> ::String

Create a fully-qualified ProcessorVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}

Parameters
  • project (String)
  • location (String)
  • processor (String)
  • processor_version (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)