Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Agents::Paths (v0.26.2)

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

Path helper methods for the Agents API.

Methods

#agent_path

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

Create a fully-qualified Agent resource string.

Overloads
def agent_path(project:) -> ::String
The resource will be in the following format:

projects/{project}/agent

Parameter
  • project (String)
def agent_path(project:, location:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/agent

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)