[BindServiceMethod(typeof(TenantService), "BindService")]
public abstract class TenantServiceBaseBase class for server-side implementations of TenantService
Inheritance
System.Object > TenantService.TenantServiceBaseNamespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Methods
CreateTenant(CreateTenantRequest, ServerCallContext)
public virtual Task<Tenant> CreateTenant(CreateTenantRequest request, ServerCallContext context)Creates a new tenant entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTenantRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Tenant> |
The response to send back to the client (wrapped by a task). |
DeleteTenant(DeleteTenantRequest, ServerCallContext)
public virtual Task<Empty> DeleteTenant(DeleteTenantRequest request, ServerCallContext context)Deletes specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTenantRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> |
The response to send back to the client (wrapped by a task). |
GetTenant(GetTenantRequest, ServerCallContext)
public virtual Task<Tenant> GetTenant(GetTenantRequest request, ServerCallContext context)Retrieves specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTenantRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Tenant> |
The response to send back to the client (wrapped by a task). |
ListTenants(ListTenantsRequest, ServerCallContext)
public virtual Task<ListTenantsResponse> ListTenants(ListTenantsRequest request, ServerCallContext context)Lists all tenants associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTenantsRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<ListTenantsResponse> |
The response to send back to the client (wrapped by a task). |
UpdateTenant(UpdateTenantRequest, ServerCallContext)
public virtual Task<Tenant> UpdateTenant(UpdateTenantRequest request, ServerCallContext context)Updates specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTenantRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Tenant> |
The response to send back to the client (wrapped by a task). |