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

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

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