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

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

Path helper methods for the Conversations API.

Methods

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

#conversation_profile_path

def conversation_profile_path(project:, conversation_profile:) -> ::String
def conversation_profile_path(project:, location:, conversation_profile:) -> ::String

Create a fully-qualified ConversationProfile resource string.

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

projects/{project}/conversationProfiles/{conversation_profile}

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

projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}

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

#location_path

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

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)