Path helper methods for the IDS API.
Extended By
Methods
#endpoint_path
def
endpoint_path
(
project
:,
location
:,
endpoint
:)
-
>
::
String
Create a fully-qualified Endpoint resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/endpoints/{endpoint}
Parameters
- project(String)
- location(String)
- endpoint(String)
Returns
- (::String)
Raises
- (::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}
Parameters
- project(String)
- location(String)
Returns
- (::String)
Raises
- (::ArgumentError)