[BindServiceMethod(typeof(AdvisoryNotificationsService), "BindService")]
public abstract class AdvisoryNotificationsService.AdvisoryNotificationsServiceBaseReference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsService.AdvisoryNotificationsServiceBase.
Base class for server-side implementations of AdvisoryNotificationsService
Namespace
Google.Cloud.AdvisoryNotifications.V1Assembly
Google.Cloud.AdvisoryNotifications.V1.dll
Methods
GetNotification(GetNotificationRequest, ServerCallContext)
public virtual Task<Notification> GetNotification(GetNotificationRequest request, ServerCallContext context)Gets a notification.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNotificationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetSettingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListNotificationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateSettingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
The response to send back to the client (wrapped by a task). |