Module Google::Cloud::Dialogflow::CX::V3::Intents::Paths (v0.4.0)

Path helper methods for the Intents API.

Methods

#agent_path

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

Create a fully-qualified Agent resource string.

The resource will be in the following format:

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

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

#entity_type_path

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

Create a fully-qualified EntityType resource string.

The resource will be in the following format:

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

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

#intent_path

def intent_path(project:, location:, agent:, intent:) -> ::String

Create a fully-qualified Intent resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}/intents/{intent}

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