Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::EngineService::Paths (v0.14.1)

Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::EngineService::Paths.

Path helper methods for the EngineService API.

Methods

#collection_path

def collection_path(project:, location:, collection:) -> ::String

Create a fully-qualified Collection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}

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

#engine_path

def engine_path(project:, location:, collection:, engine:) -> ::String

Create a fully-qualified Engine resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

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