Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::GeneratorEvaluations::Paths (v1.15.0)

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

Path helper methods for the GeneratorEvaluations API.

Methods

#app_path

def app_path(project:, location:, app:) -> ::String

Create a fully-qualified App resource string.

The resource will be in the following format:

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

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

#generator_evaluation_path

def generator_evaluation_path(project:, location:, generator:, evaluation:) -> ::String

Create a fully-qualified GeneratorEvaluation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/generators/{generator}/evaluations/{evaluation}

Parameters
  • project (String)
  • location (String)
  • generator (String)
  • evaluation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#generator_path

def generator_path(project:, location:, generator:) -> ::String

Create a fully-qualified Generator resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/generators/{generator}

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

#tool_path

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

Create a fully-qualified Tool resource string.

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

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

Parameters
  • project (String)
  • location (String)
  • tool (String)
def tool_path(project:, location:, app:, tool:) -> ::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)