[BindServiceMethod(typeof(TenantService), "BindService")]
public abstract class TenantService.TenantServiceBase
Reference 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 |
CreateTenantRequest The request received from the client. |
context |
ServerCallContext The 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 |
DeleteTenantRequest The request received from the client. |
context |
ServerCallContext The 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 |
GetTenantRequest The request received from the client. |
context |
ServerCallContext The 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 |
ListTenantsRequest The request received from the client. |
context |
ServerCallContext The 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 |
UpdateTenantRequest The request received from the client. |
context |
ServerCallContext The 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). |