public sealed class AdvisoryNotificationsServiceClientImpl : AdvisoryNotificationsServiceClientReference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsServiceClientImpl.
AdvisoryNotificationsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AdvisoryNotifications.V1Assembly
Google.Cloud.AdvisoryNotifications.V1.dll
Remarks
Service to manage Security and Privacy Notifications.
Constructors
AdvisoryNotificationsServiceClientImpl(AdvisoryNotificationsServiceClient, AdvisoryNotificationsServiceSettings, ILogger)
public AdvisoryNotificationsServiceClientImpl(AdvisoryNotificationsService.AdvisoryNotificationsServiceClient grpcClient, AdvisoryNotificationsServiceSettings settings, ILogger logger)Constructs a client wrapper for the AdvisoryNotificationsService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
AdvisoryNotificationsServiceAdvisoryNotificationsServiceClientThe underlying gRPC client. |
settings |
AdvisoryNotificationsServiceSettingsThe base AdvisoryNotificationsServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override AdvisoryNotificationsService.AdvisoryNotificationsServiceClient GrpcClient { get; }The underlying gRPC AdvisoryNotificationsService client
| Property Value | |
|---|---|
| Type | Description |
AdvisoryNotificationsServiceAdvisoryNotificationsServiceClient |
|
Methods
GetNotification(GetNotificationRequest, CallSettings)
public override Notification GetNotification(GetNotificationRequest request, CallSettings callSettings = null)Gets a notification.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNotificationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Notification |
The RPC response. |
GetNotificationAsync(GetNotificationRequest, CallSettings)
public override Task<Notification> GetNotificationAsync(GetNotificationRequest request, CallSettings callSettings = null)Gets a notification.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNotificationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNotification |
A Task containing the RPC response. |
GetSettings(GetSettingsRequest, CallSettings)
public override Settings GetSettings(GetSettingsRequest request, CallSettings callSettings = null)Get notification settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
GetSettingsAsync(GetSettingsRequest, CallSettings)
public override Task<Settings> GetSettingsAsync(GetSettingsRequest request, CallSettings callSettings = null)Get notification settings.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |
ListNotifications(ListNotificationsRequest, CallSettings)
public override PagedEnumerable<ListNotificationsResponse, Notification> ListNotifications(ListNotificationsRequest request, CallSettings callSettings = null)Lists notifications under a given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNotificationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListNotificationsResponseNotification |
A pageable sequence of Notification resources. |
ListNotificationsAsync(ListNotificationsRequest, CallSettings)
public override PagedAsyncEnumerable<ListNotificationsResponse, Notification> ListNotificationsAsync(ListNotificationsRequest request, CallSettings callSettings = null)Lists notifications under a given parent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNotificationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListNotificationsResponseNotification |
A pageable asynchronous sequence of Notification resources. |
UpdateSettings(UpdateSettingsRequest, CallSettings)
public override Settings UpdateSettings(UpdateSettingsRequest request, CallSettings callSettings = null)Update notification settings.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Settings |
The RPC response. |
UpdateSettingsAsync(UpdateSettingsRequest, CallSettings)
public override Task<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallSettings callSettings = null)Update notification settings.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSettings |
A Task containing the RPC response. |