Service Directory V1beta1 API - Module Google::Cloud::ServiceDirectory::V1beta1::RegistrationService (v0.15.1)

Reference documentation and code samples for the Service Directory V1beta1 API module Google::Cloud::ServiceDirectory::V1beta1::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/v1beta1/registration_service/rest"
client = ::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Rest::Client.new