Module: Google::Cloud::Dialogflow::V2::Environments::Paths

Extended by:
Paths
Included in:
Client, Paths
Defined in:
lib/google/cloud/dialogflow/v2/environments/paths.rb

Overview

Path helper methods for the Environments API.

Instance Method Summary collapse

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/environments/paths.rb', line 37

def agent_path project:
  "projects/#{project}/agent"
end