public sealed class ListNotificationsRequest : IPageRequest, IMessage<ListNotificationsRequest>, IEquatable<ListNotificationsRequest>, IDeepCloneable<ListNotificationsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Advisory Notifications v1 API class ListNotificationsRequest.
Request for fetching all notifications for a given parent.
Implements
IPageRequest, IMessageListNotificationsRequest, IEquatableListNotificationsRequest, IDeepCloneableListNotificationsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AdvisoryNotifications.V1Assembly
Google.Cloud.AdvisoryNotifications.V1.dll
Constructors
ListNotificationsRequest()
public ListNotificationsRequest()
ListNotificationsRequest(ListNotificationsRequest)
public ListNotificationsRequest(ListNotificationsRequest other)
Parameter | |
---|---|
Name | Description |
other | ListNotificationsRequest |
Properties
LanguageCode
public string LanguageCode { get; set; }
ISO code for requested localization language. If unset, will be interpereted as "en". If the requested language is valid, but not supported for this notification, English will be returned with an "Not applicable" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.
Property Value | |
---|---|
Type | Description |
string |
PageSize
public int PageSize { get; set; }
The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}".
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
View
public NotificationView View { get; set; }
Specifies which parts of the notification resource should be returned in the response.
Property Value | |
---|---|
Type | Description |
NotificationView |