Class CompanyServiceConnection (2.27.0)

This interface defines virtual methods for each of the user-facing overload sets in CompanyServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CompanyServiceClient.

To create a concrete instance, see MakeCompanyServiceConnection().

For mocking, see talent_v4_mocks::MockCompanyServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateCompany(google::cloud::talent::v4::CreateCompanyRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::CreateCompanyRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::Company >

virtual GetCompany(google::cloud::talent::v4::GetCompanyRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::GetCompanyRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::Company >

virtual UpdateCompany(google::cloud::talent::v4::UpdateCompanyRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::UpdateCompanyRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::Company >

virtual DeleteCompany(google::cloud::talent::v4::DeleteCompanyRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::DeleteCompanyRequest const &
Returns
Type Description
Status

virtual ListCompanies(google::cloud::talent::v4::ListCompaniesRequest)

Parameter
Name Description
request google::cloud::talent::v4::ListCompaniesRequest
Returns
Type Description
StreamRange< google::cloud::talent::v4::Company >