Advisory Notifications v1 API - Class AdvisoryNotificationsService.AdvisoryNotificationsServiceBase (1.0.0)

[BindServiceMethod(typeof(AdvisoryNotificationsService), "BindService")]
public abstract class AdvisoryNotificationsService.AdvisoryNotificationsServiceBase

Reference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsService.AdvisoryNotificationsServiceBase.

Base class for server-side implementations of AdvisoryNotificationsService

Inheritance

object > AdvisoryNotificationsService.AdvisoryNotificationsServiceBase

Namespace

Google.Cloud.AdvisoryNotifications.V1

Assembly

Google.Cloud.AdvisoryNotifications.V1.dll

Methods

GetNotification(GetNotificationRequest, ServerCallContext)

public virtual Task<Notification> GetNotification(GetNotificationRequest request, ServerCallContext context)

Gets a notification.

Parameters
NameDescription
requestGetNotificationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskNotification

The response to send back to the client (wrapped by a task).

ListNotifications(ListNotificationsRequest, ServerCallContext)

public virtual Task<ListNotificationsResponse> ListNotifications(ListNotificationsRequest request, ServerCallContext context)

Lists notifications under a given parent.

Parameters
NameDescription
requestListNotificationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListNotificationsResponse

The response to send back to the client (wrapped by a task).