Reference documentation and code samples for the Service Directory V1beta1 API module Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Paths.
Path helper methods for the RegistrationService API.
Methods
#endpoint_path
def endpoint_path(project:, location:, namespace:, service:, endpoint:) -> ::String
Create a fully-qualified Endpoint resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}
- project (String)
- location (String)
- namespace (String)
- service (String)
- endpoint (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)
#namespace_path
def namespace_path(project:, location:, namespace:) -> ::String
Create a fully-qualified Namespace resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/namespaces/{namespace}
- project (String)
- location (String)
- namespace (String)
- (::String)
- (::ArgumentError)
#network_path
def network_path(project:, network:) -> ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/locations/global/networks/{network}
- project (String)
- network (String)
- (::String)
- (::ArgumentError)
#service_path
def service_path(project:, location:, namespace:, service:) -> ::String
Create a fully-qualified Service resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}
- project (String)
- location (String)
- namespace (String)
- service (String)
- (::String)
- (::ArgumentError)