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

[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
Name Description
request CreateCompanyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteCompanyRequest

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

GetCompany(GetCompanyRequest, ServerCallContext)

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

Retrieves specified company.

Parameters
Name Description
request GetCompanyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListCompaniesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateCompanyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskCompany

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