public sealed class CompanyServiceClientImpl : CompanyServiceClientReference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class CompanyServiceClientImpl.
CompanyService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Remarks
A service that handles company management, including CRUD and enumeration.
Constructors
CompanyServiceClientImpl(CompanyServiceClient, CompanyServiceSettings, ILogger)
public CompanyServiceClientImpl(CompanyService.CompanyServiceClient grpcClient, CompanyServiceSettings settings, ILogger logger)Constructs a client wrapper for the CompanyService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
CompanyServiceCompanyServiceClientThe underlying gRPC client. |
settings |
CompanyServiceSettingsThe base CompanyServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override CompanyService.CompanyServiceClient GrpcClient { get; }The underlying gRPC CompanyService client
| Property Value | |
|---|---|
| Type | Description |
CompanyServiceCompanyServiceClient |
|
Methods
CreateCompany(CreateCompanyRequest, CallSettings)
public override Company CreateCompany(CreateCompanyRequest request, CallSettings callSettings = null)Creates a new company entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Company |
The RPC response. |
CreateCompanyAsync(CreateCompanyRequest, CallSettings)
public override Task<Company> CreateCompanyAsync(CreateCompanyRequest request, CallSettings callSettings = null)Creates a new company entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompany |
A Task containing the RPC response. |
DeleteCompany(DeleteCompanyRequest, CallSettings)
public override void DeleteCompany(DeleteCompanyRequest request, CallSettings callSettings = null)Deletes specified company. Prerequisite: The company has no jobs associated with it.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteCompanyAsync(DeleteCompanyRequest, CallSettings)
public override Task DeleteCompanyAsync(DeleteCompanyRequest request, CallSettings callSettings = null)Deletes specified company. Prerequisite: The company has no jobs associated with it.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetCompany(GetCompanyRequest, CallSettings)
public override Company GetCompany(GetCompanyRequest request, CallSettings callSettings = null)Retrieves specified company.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Company |
The RPC response. |
GetCompanyAsync(GetCompanyRequest, CallSettings)
public override Task<Company> GetCompanyAsync(GetCompanyRequest request, CallSettings callSettings = null)Retrieves specified company.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompany |
A Task containing the RPC response. |
ListCompanies(ListCompaniesRequest, CallSettings)
public override PagedEnumerable<ListCompaniesResponse, Company> ListCompanies(ListCompaniesRequest request, CallSettings callSettings = null)Lists all companies associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCompaniesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompaniesResponseCompany |
A pageable sequence of Company resources. |
ListCompaniesAsync(ListCompaniesRequest, CallSettings)
public override PagedAsyncEnumerable<ListCompaniesResponse, Company> ListCompaniesAsync(ListCompaniesRequest request, CallSettings callSettings = null)Lists all companies associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCompaniesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompaniesResponseCompany |
A pageable asynchronous sequence of Company resources. |
UpdateCompany(UpdateCompanyRequest, CallSettings)
public override Company UpdateCompany(UpdateCompanyRequest request, CallSettings callSettings = null)Updates specified company.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Company |
The RPC response. |
UpdateCompanyAsync(UpdateCompanyRequest, CallSettings)
public override Task<Company> UpdateCompanyAsync(UpdateCompanyRequest request, CallSettings callSettings = null)Updates specified company.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCompanyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompany |
A Task containing the RPC response. |