Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Participants::Paths (v0.19.0)

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

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

#conversation_path

def conversation_path(project:, conversation:) -> ::String
def conversation_path(project:, location:, conversation:) -> ::String

Create a fully-qualified Conversation resource string.

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

projects/{project}/conversations/{conversation}

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

projects/{project}/locations/{location}/conversations/{conversation}

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

#message_path

def message_path(project:, conversation:, message:) -> ::String
def message_path(project:, location:, conversation:, message:) -> ::String

Create a fully-qualified Message resource string.

Overloads
def message_path(project:, conversation:, message:) -> ::String
The resource will be in the following format:

projects/{project}/conversations/{conversation}/messages/{message}

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

projects/{project}/locations/{location}/conversations/{conversation}/messages/{message}

Parameters
  • project (String)
  • location (String)
  • conversation (String)
  • message (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#participant_path

def participant_path(project:, conversation:, participant:) -> ::String
def participant_path(project:, location:, conversation:, participant:) -> ::String

Create a fully-qualified Participant resource string.

Overloads
def participant_path(project:, conversation:, participant:) -> ::String
The resource will be in the following format:

projects/{project}/conversations/{conversation}/participants/{participant}

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

projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

Parameters
  • project (String)
  • location (String)
  • conversation (String)
  • participant (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)