Advisory Notifications v1 API - Class AdvisoryNotificationsServiceClientImpl (1.0.0)

public sealed class AdvisoryNotificationsServiceClientImpl : AdvisoryNotificationsServiceClient

Reference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsServiceClientImpl.

AdvisoryNotificationsService client wrapper implementation, for convenient use.

Inheritance

object > AdvisoryNotificationsServiceClient > AdvisoryNotificationsServiceClientImpl

Namespace

Google.Cloud.AdvisoryNotifications.V1

Assembly

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
NameDescription
grpcClientAdvisoryNotificationsServiceAdvisoryNotificationsServiceClient

The underlying gRPC client.

settingsAdvisoryNotificationsServiceSettings

The base AdvisoryNotificationsServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override AdvisoryNotificationsService.AdvisoryNotificationsServiceClient GrpcClient { get; }

The underlying gRPC AdvisoryNotificationsService client

Property Value
TypeDescription
AdvisoryNotificationsServiceAdvisoryNotificationsServiceClient
Overrides

Methods

GetNotification(GetNotificationRequest, CallSettings)

public override Notification GetNotification(GetNotificationRequest request, CallSettings callSettings = null)

Gets a notification.

Parameters
NameDescription
requestGetNotificationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Notification

The RPC response.

Overrides

GetNotificationAsync(GetNotificationRequest, CallSettings)

public override Task<Notification> GetNotificationAsync(GetNotificationRequest request, CallSettings callSettings = null)

Gets a notification.

Parameters
NameDescription
requestGetNotificationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskNotification

A Task containing the RPC response.

Overrides

ListNotifications(ListNotificationsRequest, CallSettings)

public override PagedEnumerable<ListNotificationsResponse, Notification> ListNotifications(ListNotificationsRequest request, CallSettings callSettings = null)

Lists notifications under a given parent.

Parameters
NameDescription
requestListNotificationsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListNotificationsResponseNotification

A pageable sequence of Notification resources.

Overrides

ListNotificationsAsync(ListNotificationsRequest, CallSettings)

public override PagedAsyncEnumerable<ListNotificationsResponse, Notification> ListNotificationsAsync(ListNotificationsRequest request, CallSettings callSettings = null)

Lists notifications under a given parent.

Parameters
NameDescription
requestListNotificationsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListNotificationsResponseNotification

A pageable asynchronous sequence of Notification resources.

Overrides