Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Contexts::Paths (v0.27.0)

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

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