Google Cloud Talent Solution v4 API - Class TenantService.TenantServiceBase (2.3.0)

[BindServiceMethod(typeof(TenantService), "BindService")]
public abstract class TenantService.TenantServiceBase

Reference documentation and code samples for the Google Cloud Talent Solution v4 API class TenantService.TenantServiceBase.

Base class for server-side implementations of TenantService

Inheritance

object > TenantService.TenantServiceBase

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Methods

CreateTenant(CreateTenantRequest, ServerCallContext)

public virtual Task<Tenant> CreateTenant(CreateTenantRequest request, ServerCallContext context)

Creates a new tenant entity.

Parameters
NameDescription
requestCreateTenantRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteTenantRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetTenantRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListTenantsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateTenantRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTenant

The response to send back to the client (wrapped by a task).