Service Directory V1 API - Module Google::Cloud::ServiceDirectory::V1::RegistrationService (v1.0.0)

Reference documentation and code samples for the Service Directory V1 API module Google::Cloud::ServiceDirectory::V1::RegistrationService.

Service Directory API for registering services. It defines the following resource model:

  • The API has a collection of Namespace resources, named projects//locations//namespaces/.

  • Each Namespace has a collection of Service resources, named projects//locations//namespaces//services/.

  • Each Service has a collection of Endpoint resources, named projects//locations//namespaces//services//endpoints/.

To load this service and instantiate a REST client:

require "google/cloud/service_directory/v1/registration_service/rest"
client = ::Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new