Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::AnswerRecords::Paths (v0.25.0)

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