Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::CompanionAgents::Paths (v1.18.0)

Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::CompanionAgents::Paths.

Path helper methods for the CompanionAgents API.

Methods

#companion_agent_path

def companion_agent_path(project:, location:, companion_agent:) -> ::String

Create a fully-qualified CompanionAgent resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/companionAgents/{companion_agent}

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

#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)