Reference documentation and code samples for the Network Connectivity V1 API module Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Paths.
Path helper methods for the PolicyBasedRoutingService API.
Methods
#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)
#network_path
def network_path(project:, resource_id:) -> ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/global/networks/{resource_id}
- project (String)
- resource_id (String)
- (::String)
- (::ArgumentError)
#policy_based_route_path
def policy_based_route_path(project:, policy_based_route:) -> ::String
Create a fully-qualified PolicyBasedRoute resource string.
The resource will be in the following format:
projects/{project}/locations/global/PolicyBasedRoutes/{policy_based_route}
- project (String)
- policy_based_route (String)
- (::String)
- (::ArgumentError)