Class NotificationChannelServiceConnection (2.23.0-rc)

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

To create a concrete instance, see MakeNotificationChannelServiceConnection().

For mocking, see monitoring_v3_mocks::MockNotificationChannelServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListNotificationChannelDescriptors(google::monitoring::v3::ListNotificationChannelDescriptorsRequest)

Parameter
NameDescription
request google::monitoring::v3::ListNotificationChannelDescriptorsRequest
Returns
TypeDescription
StreamRange< google::monitoring::v3::NotificationChannelDescriptor >

virtual GetNotificationChannelDescriptor(google::monitoring::v3::GetNotificationChannelDescriptorRequest const &)

Parameter
NameDescription
request google::monitoring::v3::GetNotificationChannelDescriptorRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::NotificationChannelDescriptor >

virtual ListNotificationChannels(google::monitoring::v3::ListNotificationChannelsRequest)

Parameter
NameDescription
request google::monitoring::v3::ListNotificationChannelsRequest
Returns
TypeDescription
StreamRange< google::monitoring::v3::NotificationChannel >

virtual GetNotificationChannel(google::monitoring::v3::GetNotificationChannelRequest const &)

Parameter
NameDescription
request google::monitoring::v3::GetNotificationChannelRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::NotificationChannel >

virtual CreateNotificationChannel(google::monitoring::v3::CreateNotificationChannelRequest const &)

Parameter
NameDescription
request google::monitoring::v3::CreateNotificationChannelRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::NotificationChannel >

virtual UpdateNotificationChannel(google::monitoring::v3::UpdateNotificationChannelRequest const &)

Parameter
NameDescription
request google::monitoring::v3::UpdateNotificationChannelRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::NotificationChannel >

virtual DeleteNotificationChannel(google::monitoring::v3::DeleteNotificationChannelRequest const &)

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

virtual SendNotificationChannelVerificationCode(google::monitoring::v3::SendNotificationChannelVerificationCodeRequest const &)

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

virtual GetNotificationChannelVerificationCode(google::monitoring::v3::GetNotificationChannelVerificationCodeRequest const &)

Parameter
NameDescription
request google::monitoring::v3::GetNotificationChannelVerificationCodeRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::GetNotificationChannelVerificationCodeResponse >

virtual VerifyNotificationChannel(google::monitoring::v3::VerifyNotificationChannelRequest const &)

Parameter
NameDescription
request google::monitoring::v3::VerifyNotificationChannelRequest const &
Returns
TypeDescription
StatusOr< google::monitoring::v3::NotificationChannel >