Service Directory V1beta1 API - Module Google::Cloud::ServiceDirectory::V1beta1::LookupService::Paths (v0.12.1)

Reference documentation and code samples for the Service Directory V1beta1 API module Google::Cloud::ServiceDirectory::V1beta1::LookupService::Paths.

Path helper methods for the LookupService API.

Methods

#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}

Parameters
  • project (String)
  • location (String)
  • namespace (String)
  • service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)