Module: Google::Cloud::Dialogflow::V2::Agents::Paths
- Extended by:
- Paths
- Defined in:
- lib/google/cloud/dialogflow/v2/agents/paths.rb
Overview
Path helper methods for the Agents API.
Instance Method Summary collapse
-
#agent_path(project:) ⇒ String
Create a fully-qualified Agent resource string.
-
#project_path(project:) ⇒ String
Create a fully-qualified Project resource string.
Instance Method Details
#agent_path(project:) ⇒ String
Create a fully-qualified Agent resource string.
The resource will be in the following format:
projects/{project}/agent
37 38 39 |
# File 'lib/google/cloud/dialogflow/v2/agents/paths.rb', line 37 def agent_path project: "projects/#{project}/agent" end |
#project_path(project:) ⇒ String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
51 52 53 |
# File 'lib/google/cloud/dialogflow/v2/agents/paths.rb', line 51 def project_path project: "projects/#{project}" end |