Module Google::Cloud::Dialogflow::V2::EntityTypes::Paths (v0.12.0)

Path helper methods for the EntityTypes 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)

#entity_type_path

def entity_type_path(project:, entity_type:) -> ::String
def entity_type_path(project:, location:, entity_type:) -> ::String

Create a fully-qualified EntityType resource string.

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

projects/{project}/agent/entityTypes/{entity_type}

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

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

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