Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::AnswerRecords::Paths (v1.10.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::AnswerRecords::Paths.
Path helper methods for the AnswerRecords API.
Methods
#answer_record_path
def answer_record_path(project:, answer_record:) -> ::String
def answer_record_path(project:, location:, answer_record:) -> ::String
Create a fully-qualified AnswerRecord resource string.
Overloads
def answer_record_path(project:, answer_record:) -> ::String
The resource will be in the following format:
projects/{project}/answerRecords/{answer_record}
Parameters
-
project (String)
-
answer_record (String)
def answer_record_path(project:, location:, answer_record:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
Parameters
-
project (String)
-
location (String)
-
answer_record (String)
#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)
#intent_path
def intent_path(project:, intent:) -> ::String
def intent_path(project:, location:, intent:) -> ::String
Create a fully-qualified Intent resource string.
Overloads
def intent_path(project:, intent:) -> ::String
The resource will be in the following format:
projects/{project}/agent/intents/{intent}
Parameters
-
project (String)
-
intent (String)
def intent_path(project:, location:, intent:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/agent/intents/{intent}
Parameters
-
project (String)
-
location (String)
-
intent (String)
#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)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::AnswerRecords::Paths (v1.10.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.1 (latest)](/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.10.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.10.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.9.1](/ruby/docs/reference/google-cloud-dialogflow-v2/1.9.1/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.8.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.8.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.7.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.7.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.6.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.6.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.5.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.5.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.4.1](/ruby/docs/reference/google-cloud-dialogflow-v2/1.4.1/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.3.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.2.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.1.1](/ruby/docs/reference/google-cloud-dialogflow-v2/1.1.1/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [1.0.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.0.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.34.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.34.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.33.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.33.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.32.2](/ruby/docs/reference/google-cloud-dialogflow-v2/0.32.2/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.31.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.31.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.30.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.30.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.29.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.29.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.28.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.28.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.27.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.27.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.26.2](/ruby/docs/reference/google-cloud-dialogflow-v2/0.26.2/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.25.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.25.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.24.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.24.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.23.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.23.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.22.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.22.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.21.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.21.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.20.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.20.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.19.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.19.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.18.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.18.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.17.1](/ruby/docs/reference/google-cloud-dialogflow-v2/0.17.1/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.16.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.16.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.15.2](/ruby/docs/reference/google-cloud-dialogflow-v2/0.15.2/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.14.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.14.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.13.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.13.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n- [0.12.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.12.0/Google-Cloud-Dialogflow-V2-AnswerRecords-Paths) \nReference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::AnswerRecords::Paths.\n\nPath helper methods for the AnswerRecords API. \n\nExtended By\n-----------\n\n- [Google::Cloud::Dialogflow::V2::AnswerRecords::Paths](./Google-Cloud-Dialogflow-V2-AnswerRecords-Paths)\n\nMethods\n-------\n\n### #answer_record_path\n\n def answer_record_path(project:, answer_record:) -\u003e ::String\n def answer_record_path(project:, location:, answer_record:) -\u003e ::String\n\nCreate a fully-qualified AnswerRecord resource string. \n**Overloads** \n\n def answer_record_path(project:, answer_record:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/answerRecords/{answer_record}` \n**Parameters**\n\n- **project** (String)\n- **answer_record** (String) \n\n def answer_record_path(project:, location:, answer_record:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/answerRecords/{answer_record}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **answer_record** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #context_path\n\n def context_path(project:, session:, context:) -\u003e ::String\n def context_path(project:, environment:, user:, session:, context:) -\u003e ::String\n def context_path(project:, location:, session:, context:) -\u003e ::String\n def context_path(project:, location:, environment:, user:, session:, context:) -\u003e ::String\n\nCreate a fully-qualified Context resource string. \n**Overloads** \n\n def context_path(project:, session:, context:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/agent/sessions/{session}/contexts/{context}` \n**Parameters**\n\n- **project** (String)\n- **session** (String)\n- **context** (String) \n\n def context_path(project:, environment:, user:, session:, context:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}` \n**Parameters**\n\n- **project** (String)\n- **environment** (String)\n- **user** (String)\n- **session** (String)\n- **context** (String) \n\n def context_path(project:, location:, session:, context:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/agent/sessions/{session}/contexts/{context}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **session** (String)\n- **context** (String) \n\n def context_path(project:, location:, environment:, user:, session:, context:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **environment** (String)\n- **user** (String)\n- **session** (String)\n- **context** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #intent_path\n\n def intent_path(project:, intent:) -\u003e ::String\n def intent_path(project:, location:, intent:) -\u003e ::String\n\nCreate a fully-qualified Intent resource string. \n**Overloads** \n\n def intent_path(project:, intent:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/agent/intents/{intent}` \n**Parameters**\n\n- **project** (String)\n- **intent** (String) \n\n def intent_path(project:, location:, intent:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/agent/intents/{intent}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **intent** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #project_path\n\n def project_path(project:) -\u003e ::String\n\nCreate a fully-qualified Project resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}` \n**Parameter**\n\n- **project** (String) \n**Returns**\n\n- (::String)"]]