Google Cloud Talent Solution v4 API - Class CompanyService.CompanyServiceBase (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(CompanyService), "BindService")]
public abstract class CompanyServiceBase

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

Base class for server-side implementations of CompanyService

Inheritance

Object > CompanyService.CompanyServiceBase

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.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
Task<Company>

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
Task<Empty>

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
Task<Company>

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
Task<ListCompaniesResponse>

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
Task<Company>

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