Reference documentation and code samples for the Service Directory v1beta1 API class RegistrationService.
Service Directory API for registering services. It defines the following
resource model:
The API has a collection of
[Namespace][google.cloud.servicedirectory.v1beta1.Namespace]
resources, named projects/*/locations/*/namespaces/*.
Each Namespace has a collection of
[Service][google.cloud.servicedirectory.v1beta1.Service] resources, named
projects/*/locations/*/namespaces/*/services/*.
Each Service has a collection of
[Endpoint][google.cloud.servicedirectory.v1beta1.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.
[[["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\u003eThe \u003ccode\u003eRegistrationService\u003c/code\u003e class within the Service Directory v1beta1 API facilitates service registration and management using a hierarchical structure of Namespaces, Services, and Endpoints.\u003c/p\u003e\n"],["\u003cp\u003eThis API defines a resource model with Namespaces, Services, and Endpoints, organized under the pattern \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\u003eBindService\u003c/code\u003e method allows developers to create a service definition for server registration or register service methods with a \u003ccode\u003eServiceBinderBase\u003c/code\u003e, useful for customizing service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.0.0-beta06 is the latest available version in this API class, followed by 2.0.0-beta05, and 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRegistrationService\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class, giving it inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]