Capacity Planner V1BETA API - Module Google::Cloud::CapacityPlanner::V1beta::CapacityPlanningService::Paths (v0.2.0)

Reference documentation and code samples for the Capacity Planner V1BETA API module Google::Cloud::CapacityPlanner::V1beta::CapacityPlanningService::Paths.

Path helper methods for the CapacityPlanningService API.

Methods

#capacity_plan_path

def capacity_plan_path(project:, capacity_plan:) -> ::String

Create a fully-qualified CapacityPlan resource string.

The resource will be in the following format:

projects/{project}/capacityPlans/{capacity_plan}

Parameters
  • project (String)
  • capacity_plan (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)