Module: Google::Cloud::ServiceDirectory::V1::RegistrationService

Defined in:
lib/google/cloud/service_directory/v1/registration_service.rb,
lib/google/cloud/service_directory/v1/registration_service/rest.rb,
lib/google/cloud/service_directory/v1/registration_service/paths.rb,
lib/google/cloud/service_directory/v1/registration_service/client.rb,
lib/google/cloud/service_directory/v1/registration_service/credentials.rb,
lib/google/cloud/service_directory/v1/registration_service/rest/client.rb,
lib/google/cloud/service_directory/v1/registration_service/rest/service_stub.rb

Overview

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

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials