Gemini Enterprise for Customer Experience V1 API - Module Google::Cloud::Ces::V1::SessionService::Paths (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API module Google::Cloud::Ces::V1::SessionService::Paths.

Path helper methods for the SessionService API.

Methods

#agent_path

def agent_path(project:, location:, app:, agent:) -> ::String

Create a fully-qualified Agent resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/agents/{agent}

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

#session_path

def session_path(project:, location:, app:, session:) -> ::String

Create a fully-qualified Session resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/sessions/{session}

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

#tool_path

def tool_path(project:, location:, app:, tool:) -> ::String

Create a fully-qualified Tool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/tools/{tool}

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

#toolset_path

def toolset_path(project:, location:, app:, toolset:) -> ::String

Create a fully-qualified Toolset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}

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