Class CompanyServiceClientImpl (2.0.0-beta07)

public sealed class CompanyServiceClientImpl : CompanyServiceClient

CompanyService client wrapper implementation, for convenient use.

Inheritance

Object > CompanyServiceClient > CompanyServiceClientImpl

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

Google.Cloud.Talent.V4Beta1.dll

Remarks

A service that handles company management, including CRUD and enumeration.

Constructors

CompanyServiceClientImpl(CompanyService.CompanyServiceClient, CompanyServiceSettings)

public CompanyServiceClientImpl(CompanyService.CompanyServiceClient grpcClient, CompanyServiceSettings settings)

Constructs a client wrapper for the CompanyService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientCompanyService.CompanyServiceClient

The underlying gRPC client.

settingsCompanyServiceSettings

The base CompanyServiceSettings used within this client.

Properties

GrpcClient

public override CompanyService.CompanyServiceClient GrpcClient { get; }

The underlying gRPC CompanyService client

Property Value
TypeDescription
CompanyService.CompanyServiceClient
Overrides

Methods

CreateCompany(CreateCompanyRequest, CallSettings)

public override Company CreateCompany(CreateCompanyRequest request, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
requestCreateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

Overrides

CreateCompanyAsync(CreateCompanyRequest, CallSettings)

public override Task<Company> CreateCompanyAsync(CreateCompanyRequest request, CallSettings callSettings = null)

Creates a new company entity.

Parameters
NameDescription
requestCreateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Company>

A Task containing the RPC response.

Overrides

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
NameDescription
requestDeleteCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

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
NameDescription
requestDeleteCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetCompany(GetCompanyRequest, CallSettings)

public override Company GetCompany(GetCompanyRequest request, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
requestGetCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

Overrides

GetCompanyAsync(GetCompanyRequest, CallSettings)

public override Task<Company> GetCompanyAsync(GetCompanyRequest request, CallSettings callSettings = null)

Retrieves specified company.

Parameters
NameDescription
requestGetCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Company>

A Task containing the RPC response.

Overrides

ListCompanies(ListCompaniesRequest, CallSettings)

public override PagedEnumerable<ListCompaniesResponse, Company> ListCompanies(ListCompaniesRequest request, CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
requestListCompaniesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListCompaniesResponse, Company>

A pageable sequence of Company resources.

Overrides

ListCompaniesAsync(ListCompaniesRequest, CallSettings)

public override PagedAsyncEnumerable<ListCompaniesResponse, Company> ListCompaniesAsync(ListCompaniesRequest request, CallSettings callSettings = null)

Lists all companies associated with the project.

Parameters
NameDescription
requestListCompaniesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListCompaniesResponse, Company>

A pageable asynchronous sequence of Company resources.

Overrides

UpdateCompany(UpdateCompanyRequest, CallSettings)

public override Company UpdateCompany(UpdateCompanyRequest request, CallSettings callSettings = null)

Updates specified company.

Parameters
NameDescription
requestUpdateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Company

The RPC response.

Overrides

UpdateCompanyAsync(UpdateCompanyRequest, CallSettings)

public override Task<Company> UpdateCompanyAsync(UpdateCompanyRequest request, CallSettings callSettings = null)

Updates specified company.

Parameters
NameDescription
requestUpdateCompanyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Company>

A Task containing the RPC response.

Overrides