[BindServiceMethod(typeof(TenantService), "BindService")]
public abstract class TenantService.TenantServiceBaseReference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class TenantService.TenantServiceBase.
Base class for server-side implementations of TenantService
Namespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.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 |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTenant |
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 |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
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 |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTenant |
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 |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListTenantsResponse |
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 |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTenant |
The response to send back to the client (wrapped by a task). |