Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Conversations::Paths (v0.19.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)

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