[BindServiceMethod(typeof(CompanyService), "BindService")]
public abstract class CompanyService.CompanyServiceBaseReference documentation and code samples for the Google Cloud Talent Solution v4 API class CompanyService.CompanyServiceBase.
Base class for server-side implementations of CompanyService
Namespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Methods
CreateCompany(CreateCompanyRequest, ServerCallContext)
public virtual Task<Company> CreateCompany(CreateCompanyRequest request, ServerCallContext context)Creates a new company entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompanyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteCompanyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetCompanyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListCompaniesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateCompanyRequestThe request received from the client. |
context |
ServerCallContextThe 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). |