Path helper methods for the Deployments API.
Methods
#deployment_path
def deployment_path(project:, location:, agent:, environment:, deployment:) -> ::String
Create a fully-qualified Deployment resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/deployments/{deployment}
Parameters
- project (String)
- location (String)
- agent (String)
- environment (String)
- deployment (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)