Module Google::Cloud::Dialogflow::CX::V3::TestCases::Paths (v0.5.0)

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

#entity_type_path

def entity_type_path(project:, location:, agent:, entity_type:) -> ::String

Create a fully-qualified EntityType resource string.

The resource will be in the following format:

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

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

#flow_path

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

Create a fully-qualified Flow resource string.

The resource will be in the following format:

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

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

#intent_path

def intent_path(project:, location:, agent:, intent:) -> ::String

Create a fully-qualified Intent resource string.

The resource will be in the following format:

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

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

#page_path

def page_path(project:, location:, agent:, flow:, page:) -> ::String

Create a fully-qualified Page resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/pages/{page}

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

#test_case_result_path

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

Create a fully-qualified TestCaseResult resource string.

The resource will be in the following format:

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

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

#transition_route_group_path

def transition_route_group_path(project:, location:, agent:, flow:, transition_route_group:) -> ::String

Create a fully-qualified TransitionRouteGroup resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}

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

#webhook_path

def webhook_path(project:, location:, agent:, webhook:) -> ::String

Create a fully-qualified Webhook resource string.

The resource will be in the following format:

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

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