Module Google::Cloud::Dialogflow::CX::V3::Environments::Paths (v0.4.0)

Path helper methods for the Environments API.

Methods

#agent_path

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

Create a fully-qualified Agent resource string.

The resource will be in the following format:

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

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

#environment_path

def environment_path(project:, location:, agent:, environment:) -> ::String

Create a fully-qualified Environment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}/environments/{environment}

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

#test_case_path

def test_case_path(project:, location:, agent:, test_case:) -> ::String

Create a fully-qualified TestCase resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}

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

#version_path

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

Create a fully-qualified Version resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}

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