Path helper methods for the Versions API.
Methods
#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)
#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}
Parameters
- project (String)
- location (String)
- agent (String)
- flow (String)
- version (String)
Returns
- (::String)
Raises
- (::ArgumentError)