Advisory Notifications v1 API - Class AdvisoryNotificationsService.AdvisoryNotificationsServiceBase (1.5.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).

GetSettings(GetSettingsRequest, ServerCallContext)

public virtual Task<Settings> GetSettings(GetSettingsRequest request, ServerCallContext context)

Get notification settings.

Parameters
NameDescription
requestGetSettingsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskSettings

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).

UpdateSettings(UpdateSettingsRequest, ServerCallContext)

public virtual Task<Settings> UpdateSettings(UpdateSettingsRequest request, ServerCallContext context)

Update notification settings.

Parameters
NameDescription
requestUpdateSettingsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskSettings

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