public class AdvisoryNotificationsService.AdvisoryNotificationsServiceClient : ClientBase<AdvisoryNotificationsService.AdvisoryNotificationsServiceClient>Reference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsService.AdvisoryNotificationsServiceClient.
Client for AdvisoryNotificationsService
Inheritance
object > ClientBase > ClientBaseAdvisoryNotificationsServiceAdvisoryNotificationsServiceClient > AdvisoryNotificationsService.AdvisoryNotificationsServiceClientNamespace
Google.Cloud.AdvisoryNotifications.V1Assembly
Google.Cloud.AdvisoryNotifications.V1.dll
Constructors
AdvisoryNotificationsServiceClient()
protected AdvisoryNotificationsServiceClient()Protected parameterless constructor to allow creation of test doubles.
AdvisoryNotificationsServiceClient(CallInvoker)
public AdvisoryNotificationsServiceClient(CallInvoker callInvoker)Creates a new client for AdvisoryNotificationsService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description | 
callInvoker | 
        CallInvokerThe callInvoker to use to make remote calls.  | 
      
AdvisoryNotificationsServiceClient(ChannelBase)
public AdvisoryNotificationsServiceClient(ChannelBase channel)Creates a new client for AdvisoryNotificationsService
| Parameter | |
|---|---|
| Name | Description | 
channel | 
        ChannelBaseThe channel to use to make remote calls.  | 
      
AdvisoryNotificationsServiceClient(ClientBaseConfiguration)
protected AdvisoryNotificationsServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfigurationThe client configuration.  | 
      
Methods
GetNotification(GetNotificationRequest, CallOptions)
public virtual Notification GetNotification(GetNotificationRequest request, CallOptions options)Gets a notification.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetNotificationRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Notification | 
        The response received from the server.  | 
      
GetNotification(GetNotificationRequest, Metadata, DateTime?, CancellationToken)
public virtual Notification GetNotification(GetNotificationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets a notification.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetNotificationRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Notification | 
        The response received from the server.  | 
      
GetNotificationAsync(GetNotificationRequest, CallOptions)
public virtual AsyncUnaryCall<Notification> GetNotificationAsync(GetNotificationRequest request, CallOptions options)Gets a notification.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetNotificationRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallNotification | 
        The call object.  | 
      
GetNotificationAsync(GetNotificationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Notification> GetNotificationAsync(GetNotificationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets a notification.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetNotificationRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallNotification | 
        The call object.  | 
      
GetSettings(GetSettingsRequest, CallOptions)
public virtual Settings GetSettings(GetSettingsRequest request, CallOptions options)Get notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetSettingsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Settings | 
        The response received from the server.  | 
      
GetSettings(GetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Settings GetSettings(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetSettingsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Settings | 
        The response received from the server.  | 
      
GetSettingsAsync(GetSettingsRequest, CallOptions)
public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, CallOptions options)Get notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetSettingsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallSettings | 
        The call object.  | 
      
GetSettingsAsync(GetSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Settings> GetSettingsAsync(GetSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Get notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetSettingsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallSettings | 
        The call object.  | 
      
ListNotifications(ListNotificationsRequest, CallOptions)
public virtual ListNotificationsResponse ListNotifications(ListNotificationsRequest request, CallOptions options)Lists notifications under a given parent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListNotificationsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListNotificationsResponse | 
        The response received from the server.  | 
      
ListNotifications(ListNotificationsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListNotificationsResponse ListNotifications(ListNotificationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists notifications under a given parent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListNotificationsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListNotificationsResponse | 
        The response received from the server.  | 
      
ListNotificationsAsync(ListNotificationsRequest, CallOptions)
public virtual AsyncUnaryCall<ListNotificationsResponse> ListNotificationsAsync(ListNotificationsRequest request, CallOptions options)Lists notifications under a given parent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListNotificationsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallListNotificationsResponse | 
        The call object.  | 
      
ListNotificationsAsync(ListNotificationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListNotificationsResponse> ListNotificationsAsync(ListNotificationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists notifications under a given parent.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListNotificationsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallListNotificationsResponse | 
        The call object.  | 
      
NewInstance(ClientBaseConfiguration)
protected override AdvisoryNotificationsService.AdvisoryNotificationsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfiguration | 
      
| Returns | |
|---|---|
| Type | Description | 
AdvisoryNotificationsServiceAdvisoryNotificationsServiceClient | 
        |
UpdateSettings(UpdateSettingsRequest, CallOptions)
public virtual Settings UpdateSettings(UpdateSettingsRequest request, CallOptions options)Update notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateSettingsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Settings | 
        The response received from the server.  | 
      
UpdateSettings(UpdateSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual Settings UpdateSettings(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Update notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateSettingsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Settings | 
        The response received from the server.  | 
      
UpdateSettingsAsync(UpdateSettingsRequest, CallOptions)
public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallOptions options)Update notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateSettingsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallSettings | 
        The call object.  | 
      
UpdateSettingsAsync(UpdateSettingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Update notification settings.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateSettingsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallSettings | 
        The call object.  |