Class SynonymSetServiceConnection (2.14.0)

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

To create a concrete instance, see MakeSynonymSetServiceConnection().

For mocking, see contentwarehouse_v1_mocks::MockSynonymSetServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateSynonymSet(google::cloud::contentwarehouse::v1::CreateSynonymSetRequest const &)

Parameter
Name Description
request google::cloud::contentwarehouse::v1::CreateSynonymSetRequest const &
Returns
Type Description
StatusOr< google::cloud::contentwarehouse::v1::SynonymSet >

virtual GetSynonymSet(google::cloud::contentwarehouse::v1::GetSynonymSetRequest const &)

Parameter
Name Description
request google::cloud::contentwarehouse::v1::GetSynonymSetRequest const &
Returns
Type Description
StatusOr< google::cloud::contentwarehouse::v1::SynonymSet >

virtual UpdateSynonymSet(google::cloud::contentwarehouse::v1::UpdateSynonymSetRequest const &)

Parameter
Name Description
request google::cloud::contentwarehouse::v1::UpdateSynonymSetRequest const &
Returns
Type Description
StatusOr< google::cloud::contentwarehouse::v1::SynonymSet >

virtual DeleteSynonymSet(google::cloud::contentwarehouse::v1::DeleteSynonymSetRequest const &)

Parameter
Name Description
request google::cloud::contentwarehouse::v1::DeleteSynonymSetRequest const &
Returns
Type Description
Status

virtual ListSynonymSets(google::cloud::contentwarehouse::v1::ListSynonymSetsRequest)

Parameter
Name Description
request google::cloud::contentwarehouse::v1::ListSynonymSetsRequest
Returns
Type Description
StreamRange< google::cloud::contentwarehouse::v1::SynonymSet >