Class RegionNotificationEndpointsConnection (2.15.1)

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

To create a concrete instance, see MakeRegionNotificationEndpointsConnection().

For mocking, see compute_region_notification_endpoints_v1_mocks::MockRegionNotificationEndpointsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual DeleteRegionNotificationEndpoints(google::cloud::cpp::compute::region_notification_endpoints::v1::DeleteRegionNotificationEndpointsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::region_notification_endpoints::v1::DeleteRegionNotificationEndpointsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual GetRegionNotificationEndpoints(google::cloud::cpp::compute::region_notification_endpoints::v1::GetRegionNotificationEndpointsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::region_notification_endpoints::v1::GetRegionNotificationEndpointsRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::NotificationEndpoint >

virtual InsertRegionNotificationEndpoints(google::cloud::cpp::compute::region_notification_endpoints::v1::InsertRegionNotificationEndpointsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::region_notification_endpoints::v1::InsertRegionNotificationEndpointsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual ListRegionNotificationEndpoints(google::cloud::cpp::compute::region_notification_endpoints::v1::ListRegionNotificationEndpointsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::region_notification_endpoints::v1::ListRegionNotificationEndpointsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::NotificationEndpoint >