Dialogflow CX V3 API - Module Google::Cloud::Dialogflow::CX::V3::Agents::Paths (v0.15.0)

Reference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::Agents::Paths.

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

#agent_validation_result_path

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

Create a fully-qualified AgentValidationResult resource string.

The resource will be in the following format:

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

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

#environment_path

def environment_path(project:, location:, agent:, environment:) -> ::String

Create a fully-qualified Environment resource string.

The resource will be in the following format:

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

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

#flow_path

def flow_path(project:, location:, agent:, flow:) -> ::String

Create a fully-qualified Flow resource string.

The resource will be in the following format:

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

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

#security_settings_path

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

Create a fully-qualified SecuritySettings 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)