Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Intents::Paths (v0.29.0)

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

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

#context_path

def context_path(project:, session:, context:) -> ::String
def context_path(project:, environment:, user:, session:, context:) -> ::String
def context_path(project:, location:, session:, context:) -> ::String
def context_path(project:, location:, environment:, user:, session:, context:) -> ::String

Create a fully-qualified Context resource string.

Overloads
def context_path(project:, session:, context:) -> ::String
The resource will be in the following format:

projects/{project}/agent/sessions/{session}/contexts/{context}

Parameters
  • project (String)
  • session (String)
  • context (String)
def context_path(project:, environment:, user:, session:, context:) -> ::String
The resource will be in the following format:

projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}

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

projects/{project}/locations/{location}/agent/sessions/{session}/contexts/{context}

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

projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}

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

#intent_path

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

Create a fully-qualified Intent resource string.

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

projects/{project}/agent/intents/{intent}

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

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

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