module Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Paths
Path helper methods for the Environments
API.
Public Instance Methods
environment_path(project:, location:, environment: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/")
click to toggle source
Create a fully-qualified Environment
resource string.
The resource will be in the following format:
‘projects/{project}/locations/{location}/environments/{environment}`
@param project [String] @param location [String] @param environment [String]
@return [::String]
# File lib/google/cloud/orchestration/airflow/service/v1/environments/paths.rb, line 41 def environment_path project:, location:, environment: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/environments/#{environment}" end