[BindServiceMethod(typeof(CompanyService), "BindService")]
public abstract class CompanyServiceBase
Base class for server-side implementations of CompanyService
Namespace
Google.Cloud.Talent.V4Beta1Assembly
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
Task<Company> | The response to send back to the client (wrapped by a task). |