Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Sessions::Paths (v0.22.0)

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

Path helper methods for the Sessions API.

Methods

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

#session_entity_type_path

def session_entity_type_path(project:, session:, entity_type:) -> ::String
def session_entity_type_path(project:, environment:, user:, session:, entity_type:) -> ::String
def session_entity_type_path(project:, location:, session:, entity_type:) -> ::String
def session_entity_type_path(project:, location:, environment:, user:, session:, entity_type:) -> ::String

Create a fully-qualified SessionEntityType resource string.

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

projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}

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

projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}

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

projects/{project}/locations/{location}/agent/sessions/{session}/entityTypes/{entity_type}

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

projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}

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

#session_path

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

Create a fully-qualified Session resource string.

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

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

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

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

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

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

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

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

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