Service Directory API for registering services. It defines the following
resource model:
The API has a collection of
[Namespace][google.cloud.servicedirectory.v1.Namespace]
resources, named projects/*/locations/*/namespaces/*.
Each Namespace has a collection of
[Service][google.cloud.servicedirectory.v1.Service] resources, named
projects/*/locations/*/namespaces/*/services/*.
Each Service has a collection of
[Endpoint][google.cloud.servicedirectory.v1.Endpoint]
resources, named
projects/*/locations/*/namespaces/*/services/*/endpoints/*.
public static void BindService(ServiceBinderBase serviceBinder, RegistrationService.RegistrationServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters
Name
Description
serviceBinder
Grpc.Core.ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eRegistrationService\u003c/code\u003e API within Google Cloud's Service Directory, designed for registering services.\u003c/p\u003e\n"],["\u003cp\u003eThe API structures resources hierarchically: Namespaces, Services, and Endpoints, accessible via \u003ccode\u003eprojects/*/locations/*/namespaces/*\u003c/code\u003e, \u003ccode\u003eprojects/*/locations/*/namespaces/*/services/*\u003c/code\u003e, and \u003ccode\u003eprojects/*/locations/*/namespaces/*/services/*/endpoints/*\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRegistrationService\u003c/code\u003e class includes methods like \u003ccode\u003eBindService\u003c/code\u003e that enable creating service definitions and registering service methods with a binder.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1\u003c/code\u003e namespace contains the class along with the full list of available versions, the latest being 2.6.0, and going back as early as 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]