Service Directory V1 API - Module Google::Cloud::ServiceDirectory::V1::RegistrationService (v0.4.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 client:

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