Google Cloud Talent Solution v4beta1 API - Class CompanyService.CompanyServiceBase (3.0.0-beta04)

[BindServiceMethod(typeof(CompanyService), "BindService")]
public abstract class CompanyService.CompanyServiceBase

Reference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class CompanyService.CompanyServiceBase.

Base class for server-side implementations of CompanyService

Inheritance

object > CompanyService.CompanyServiceBase

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

Google.Cloud.Talent.V4Beta1.dll

Methods

CreateCompany(CreateCompanyRequest, ServerCallContext)

public virtual Task<Company> CreateCompany(CreateCompanyRequest request, ServerCallContext context)

Creates a new company entity.

Parameters
NameDescription
requestCreateCompanyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskCompany

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

DeleteCompany(DeleteCompanyRequest, ServerCallContext)

public virtual Task<Empty> DeleteCompany(DeleteCompanyRequest request, ServerCallContext context)

Deletes specified company. Prerequisite: The company has no jobs associated with it.

Parameters
NameDescription
requestDeleteCompanyRequest

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).

GetCompany(GetCompanyRequest, ServerCallContext)

public virtual Task<Company> GetCompany(GetCompanyRequest request, ServerCallContext context)

Retrieves specified company.

Parameters
NameDescription
requestGetCompanyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskCompany

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

ListCompanies(ListCompaniesRequest, ServerCallContext)

public virtual Task<ListCompaniesResponse> ListCompanies(ListCompaniesRequest request, ServerCallContext context)

Lists all companies associated with the project.

Parameters
NameDescription
requestListCompaniesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListCompaniesResponse

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

UpdateCompany(UpdateCompanyRequest, ServerCallContext)

public virtual Task<Company> UpdateCompany(UpdateCompanyRequest request, ServerCallContext context)

Updates specified company.

Parameters
NameDescription
requestUpdateCompanyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskCompany

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