Path helper methods for the AutoscalingPolicyService API.
Methods
#autoscaling_policy_path
def autoscaling_policy_path(project:, location:, autoscaling_policy:) -> ::String
def autoscaling_policy_path(project:, region:, autoscaling_policy:) -> ::String
Create a fully-qualified AutoscalingPolicy resource string.
def autoscaling_policy_path(project:, location:, autoscaling_policy:) -> ::String
projects/{project}/locations/{location}/autoscalingPolicies/{autoscaling_policy}
- project (String)
- location (String)
- autoscaling_policy (String)
def autoscaling_policy_path(project:, region:, autoscaling_policy:) -> ::String
projects/{project}/regions/{region}/autoscalingPolicies/{autoscaling_policy}
- project (String)
- region (String)
- autoscaling_policy (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#region_path
def region_path(project:, region:) -> ::String
Create a fully-qualified Region resource string.
The resource will be in the following format:
projects/{project}/regions/{region}
- project (String)
- region (String)
- (::String)
- (::ArgumentError)