Class TransitionRouteGroupsConnection (2.22.0)

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

To create a concrete instance, see MakeTransitionRouteGroupsConnection().

For mocking, see dialogflow_cx_mocks::MockTransitionRouteGroupsConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListTransitionRouteGroups(google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest
Returns
TypeDescription
StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >

virtual GetTransitionRouteGroup(google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >

virtual CreateTransitionRouteGroup(google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >

virtual UpdateTransitionRouteGroup(google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup >

virtual DeleteTransitionRouteGroup(google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &)

Parameter
NameDescription
request google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &
Returns
TypeDescription
Status