Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Environments::Paths (v0.15.2)

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

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

#environment_path

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

Create a fully-qualified Environment resource string.

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

projects/{project}/agent/environments/{environment}

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

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

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

#fulfillment_path

def fulfillment_path(project:) -> ::String
def fulfillment_path(project:, location:) -> ::String

Create a fully-qualified Fulfillment resource string.

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

projects/{project}/agent/fulfillment

Parameter
  • project (String)
def fulfillment_path(project:, location:) -> ::String
The resource will be in the following format:

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

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)