Advisory Notifications v1 API - Class GetNotificationRequest (1.7.0)

public sealed class GetNotificationRequest : IMessage<GetNotificationRequest>, IEquatable<GetNotificationRequest>, IDeepCloneable<GetNotificationRequest>, IBufferMessage, IMessage

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

Request for fetching a notification.

Inheritance

object > GetNotificationRequest

Namespace

Google.Cloud.AdvisoryNotifications.V1

Assembly

Google.Cloud.AdvisoryNotifications.V1.dll

Constructors

GetNotificationRequest()

public GetNotificationRequest()

GetNotificationRequest(GetNotificationRequest)

public GetNotificationRequest(GetNotificationRequest other)
Parameter
Name Description
other GetNotificationRequest

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

Name

public string Name { get; set; }

Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.

Property Value
Type Description
string

NotificationName

public NotificationName NotificationName { get; set; }

NotificationName-typed view over the Name resource name property.

Property Value
Type Description
NotificationName