Interface AdvisoryNotificationsServiceGrpc.AsyncService (0.32.0)

public static interface AdvisoryNotificationsServiceGrpc.AsyncService

Service to manage Security and Privacy Notifications.

Methods

getNotification(GetNotificationRequest request, StreamObserver<Notification> responseObserver)

public default void getNotification(GetNotificationRequest request, StreamObserver<Notification> responseObserver)

Gets a notification.

Parameters
Name Description
request GetNotificationRequest
responseObserver io.grpc.stub.StreamObserver<Notification>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

public default void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

Get notification settings.

Parameters
Name Description
request GetSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

listNotifications(ListNotificationsRequest request, StreamObserver<ListNotificationsResponse> responseObserver)

public default void listNotifications(ListNotificationsRequest request, StreamObserver<ListNotificationsResponse> responseObserver)

Lists notifications under a given parent.

Parameters
Name Description
request ListNotificationsRequest
responseObserver io.grpc.stub.StreamObserver<ListNotificationsResponse>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

public default void updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

Update notification settings.

Parameters
Name Description
request UpdateSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>