Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::ConversationModels::Paths (v0.33.0)

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

Path helper methods for the ConversationModels API.

Methods

#conversation_dataset_path

def conversation_dataset_path(project:, location:, conversation_dataset:) -> ::String

Create a fully-qualified ConversationDataset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/conversationDatasets/{conversation_dataset}

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

#conversation_model_evaluation_path

def conversation_model_evaluation_path(project:, conversation_model:, evaluation:) -> ::String
def conversation_model_evaluation_path(project:, location:, conversation_model:, evaluation:) -> ::String

Create a fully-qualified ConversationModelEvaluation resource string.

Overloads
def conversation_model_evaluation_path(project:, conversation_model:, evaluation:) -> ::String
The resource will be in the following format:

projects/{project}/conversationModels/{conversation_model}/evaluations/{evaluation}

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

projects/{project}/locations/{location}/conversationModels/{conversation_model}/evaluations/{evaluation}

Parameters
  • project (String)
  • location (String)
  • conversation_model (String)
  • evaluation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#conversation_model_path

def conversation_model_path(project:, location:, conversation_model:) -> ::String
def conversation_model_path(project:, conversation_model:) -> ::String

Create a fully-qualified ConversationModel resource string.

Overloads
def conversation_model_path(project:, location:, conversation_model:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/conversationModels/{conversation_model}

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

projects/{project}/conversationModels/{conversation_model}

Parameters
  • project (String)
  • conversation_model (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#document_path

def document_path(project:, knowledge_base:, document:) -> ::String
def document_path(project:, location:, knowledge_base:, document:) -> ::String

Create a fully-qualified Document resource string.

Overloads
def document_path(project:, knowledge_base:, document:) -> ::String
The resource will be in the following format:

projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}

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

projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}

Parameters
  • project (String)
  • location (String)
  • knowledge_base (String)
  • document (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)