Class TenantService.TenantServiceBase (1.4.0)

[BindServiceMethod(typeof(TenantService), "BindService")]
public abstract class 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
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
NameDescription
requestDeleteTenantRequest

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Tenant>

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