Class GroupServiceConnection (2.15.1)

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

To create a concrete instance, see MakeGroupServiceConnection().

For mocking, see monitoring_v3_mocks::MockGroupServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListGroups(google::monitoring::v3::ListGroupsRequest)

Parameter
NameDescription
request google::monitoring::v3::ListGroupsRequest
Returns
TypeDescription
StreamRange< google::monitoring::v3::Group >

virtual GetGroup(google::monitoring::v3::GetGroupRequest const &)

Parameter
NameDescription
request google::monitoring::v3::GetGroupRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::Group >

virtual CreateGroup(google::monitoring::v3::CreateGroupRequest const &)

Parameter
NameDescription
request google::monitoring::v3::CreateGroupRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::Group >

virtual UpdateGroup(google::monitoring::v3::UpdateGroupRequest const &)

Parameter
NameDescription
request google::monitoring::v3::UpdateGroupRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::Group >

virtual DeleteGroup(google::monitoring::v3::DeleteGroupRequest const &)

Parameter
NameDescription
request google::monitoring::v3::DeleteGroupRequest const &
Returns
TypeDescription
Status

virtual ListGroupMembers(google::monitoring::v3::ListGroupMembersRequest)

Parameter
NameDescription
request google::monitoring::v3::ListGroupMembersRequest
Returns
TypeDescription
StreamRange< google::api::MonitoredResource >