Document AI V1beta3 API - Module Google::Cloud::DocumentAI::V1beta3::DocumentService::Paths (v0.33.0)

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

Path helper methods for the DocumentService API.

Methods

#dataset_path

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

Create a fully-qualified Dataset resource string.

The resource will be in the following format:

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

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

#dataset_schema_path

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

Create a fully-qualified DatasetSchema resource string.

The resource will be in the following format:

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

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

#schema_path

def schema_path(project:, location:, schema:) -> ::String

Create a fully-qualified Schema resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/schemas/{schema}

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