Path helper methods for the Environments 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}
- project (String)
- location (String)
- agent (String)
- (::String)
- (::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}
- project (String)
- location (String)
- agent (String)
- environment (String)
- (::String)
- (::ArgumentError)
#test_case_path
def test_case_path(project:, location:, agent:, test_case:) -> ::String
Create a fully-qualified TestCase resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}
- project (String)
- location (String)
- agent (String)
- test_case (String)
- (::String)
- (::ArgumentError)
#version_path
def version_path(project:, location:, agent:, flow:, version:) -> ::String
Create a fully-qualified Version resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}
- project (String)
- location (String)
- agent (String)
- flow (String)
- version (String)
- (::String)
- (::ArgumentError)