Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Versions::Paths (v1.3.0)

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

Path helper methods for the Versions 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)

#version_path

def version_path(project:, version:) -> ::String
def version_path(project:, location:, version:) -> ::String

Create a fully-qualified Version resource string.

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

projects/{project}/agent/versions/{version}

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

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

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