Class SynonymSetServiceConnection (2.20.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::CreateSynonymSetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::contentwarehouse::v1::SynonymSet >

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

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::GetSynonymSetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::contentwarehouse::v1::SynonymSet >

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

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::UpdateSynonymSetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::contentwarehouse::v1::SynonymSet >

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

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::DeleteSynonymSetRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::ListSynonymSetsRequest
Returns
TypeDescription
StreamRange< google::cloud::contentwarehouse::v1::SynonymSet >