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

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

Path helper methods for the AssistantService API.

Methods

#assistant_path

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

Create a fully-qualified Assistant resource string.

The resource will be in the following format:

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

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

#data_store_path

def data_store_path(project:, location:, data_store:) -> ::String
def data_store_path(project:, location:, collection:, data_store:) -> ::String

Create a fully-qualified DataStore resource string.

Overloads
def data_store_path(project:, location:, data_store:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dataStores/{data_store}

Parameters
  • project (String)
  • location (String)
  • data_store (String)
def data_store_path(project:, location:, collection:, data_store:) -> ::String
The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_store (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)

#session_path

def session_path(project:, location:, data_store:, session:) -> ::String
def session_path(project:, location:, collection:, data_store:, session:) -> ::String
def session_path(project:, location:, collection:, engine:, session:) -> ::String
def session_path(project:, location:, collection:, engine:, collaborative_project:, session:) -> ::String

Create a fully-qualified Session resource string.

Overloads
def session_path(project:, location:, data_store:, session:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}

Parameters
  • project (String)
  • location (String)
  • data_store (String)
  • session (String)
def session_path(project:, location:, collection:, data_store:, session:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_store (String)
  • session (String)
def session_path(project:, location:, collection:, engine:, session:) -> ::String
The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • engine (String)
  • session (String)
def session_path(project:, location:, collection:, engine:, collaborative_project:, session:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session}

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

#template_path

def template_path(project:, location:, template:) -> ::String

Create a fully-qualified Template resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/templates/{template}

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