Dialogflow CX V3 API - Module Google::Cloud::Dialogflow::CX::V3::Environments::Paths (v1.2.0)

Reference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::Environments::Paths.

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)

#service_path

def service_path(project:, location:, namespace:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}

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

#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)