Advisory Notifications v1 API - Class ListNotificationsRequest (1.4.0)

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.

Inheritance

object > ListNotificationsRequest

Namespace

Google.Cloud.AdvisoryNotifications.V1

Assembly

Google.Cloud.AdvisoryNotifications.V1.dll

Constructors

ListNotificationsRequest()

public ListNotificationsRequest()

ListNotificationsRequest(ListNotificationsRequest)

public ListNotificationsRequest(ListNotificationsRequest other)
Parameter
NameDescription
otherListNotificationsRequest

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
TypeDescription
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
TypeDescription
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
TypeDescription
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}" or "projects/{project}/locations/{location}"

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

View

public NotificationView View { get; set; }

Specifies which parts of the notification resource should be returned in the response.

Property Value
TypeDescription
NotificationView