[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
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 | GetNotificationRequest The request received from the client. |
context | ServerCallContext The 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 | GetSettingsRequest The request received from the client. |
context | ServerCallContext The 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 | ListNotificationsRequest The request received from the client. |
context | ServerCallContext The 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 | UpdateSettingsRequest The request received from the client. |
context | ServerCallContext The 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). |