Class RegionNotificationEndpointsConnection (2.18.0)

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 DeleteNotificationEndpoint(google::cloud::cpp::compute::region_notification_endpoints::v1::DeleteNotificationEndpointRequest const &)

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

virtual GetNotificationEndpoint(google::cloud::cpp::compute::region_notification_endpoints::v1::GetNotificationEndpointRequest const &)

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

virtual InsertNotificationEndpoint(google::cloud::cpp::compute::region_notification_endpoints::v1::InsertNotificationEndpointRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::region_notification_endpoints::v1::InsertNotificationEndpointRequest 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 >