Path helper methods for the Versions API.
Extended By
Methods
#agent_path
def agent_path(project:) -> ::String
def agent_path(project:, location:) -> ::String
Create a fully-qualified Agent resource string.
Overloads
def agent_path(project:) -> ::String
The resource will be in the following format:
projects/{project}/agent
Parameter
- project (String)
def agent_path(project:, location:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/agent
Parameters
- project (String)
- location (String)
Returns
- (::String)
Raises
- (::ArgumentError)
#version_path
def version_path(project:, version:) -> ::String
def version_path(project:, location:, version:) -> ::String
Create a fully-qualified Version resource string.
Overloads
def version_path(project:, version:) -> ::String
The resource will be in the following format:
projects/{project}/agent/versions/{version}
Parameters
- project (String)
- version (String)
def version_path(project:, location:, version:) -> ::String
The resource will be in the following format:
projects/{project}/locations/{location}/agent/versions/{version}
Parameters
- project (String)
- location (String)
- version (String)
Returns
- (::String)
Raises
- (::ArgumentError)