Interface AdvisoryNotificationsServiceGrpc.AsyncService (0.26.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
NameDescription
requestGetNotificationRequest
responseObserverio.grpc.stub.StreamObserver<Notification>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

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

Get notification settings.

Parameters
NameDescription
requestGetSettingsRequest
responseObserverio.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
NameDescription
requestListNotificationsRequest
responseObserverio.grpc.stub.StreamObserver<ListNotificationsResponse>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

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

Update notification settings.

Parameters
NameDescription
requestUpdateSettingsRequest
responseObserverio.grpc.stub.StreamObserver<Settings>