Module Google::Cloud::Dialogflow::V2::ConversationProfiles::Paths (v0.13.0)

Path helper methods for the ConversationProfiles API.

Methods

#agent_path

def agent_path(project:) -> ::String
def agent_path(project:, location:) -> ::String

Create a fully-qualified Agent resource string.

Overloads
def agent_path(project:) -> ::String
The resource will be in the following format:

projects/{project}/agent

Parameter
  • project (String)
def agent_path(project:, location:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/agent

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

#conversation_model_path

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

Create a fully-qualified ConversationModel resource string.

The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • conversation_model (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)

#cx_security_settings_path

def cx_security_settings_path(project:, location:, security_settings:) -> ::String

Create a fully-qualified CXSecuritySettings resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/securitySettings/{security_settings}

Parameters
  • project (String)
  • location (String)
  • security_settings (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)

#knowledge_base_path

def knowledge_base_path(project:, knowledge_base:) -> ::String
def knowledge_base_path(project:, location:, knowledge_base:) -> ::String

Create a fully-qualified KnowledgeBase resource string.

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

projects/{project}/knowledgeBases/{knowledge_base}

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

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

Parameters
  • project (String)
  • location (String)
  • knowledge_base (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)