public static class RegistrationService
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/*
.
Inheritance
System.Object > RegistrationServiceNamespace
Google.Cloud.ServiceDirectory.V1Assembly
Google.Cloud.ServiceDirectory.V1.dll
Methods
BindService(RegistrationService.RegistrationServiceBase)
public static ServerServiceDefinition BindService(RegistrationService.RegistrationServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | RegistrationService.RegistrationServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
Grpc.Core.ServerServiceDefinition |
BindService(ServiceBinderBase, RegistrationService.RegistrationServiceBase)
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 |
serviceImpl | RegistrationService.RegistrationServiceBase An object implementing the server-side handling logic. |