Class WebpushConfig
Webpush protocol options.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseCloudMessaging.v1.Data
Assembly: Google.Apis.FirebaseCloudMessaging.v1.dll
Syntax
public class WebpushConfig : IDirectResponseSchema
Properties
Data
Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.
Declaration
[JsonProperty("data")]
public virtual IDictionary<string, string> Data { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FcmOptions
Options for features provided by the FCM SDK for Web.
Declaration
[JsonProperty("fcmOptions")]
public virtual WebpushFcmOptions FcmOptions { get; set; }
Property Value
Type | Description |
---|---|
WebpushFcmOptions |
Headers
HTTP headers defined in webpush protocol. Refer to Webpush protocol for supported headers, e.g. "TTL": "15".
Declaration
[JsonProperty("headers")]
public virtual IDictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Notification
Web Notification options as a JSON object. Supports Notification instance properties as defined in Web Notification API. If present, "title" and "body" fields override [google.firebase.fcm.v1.Notification.title] and [google.firebase.fcm.v1.Notification.body].
Declaration
[JsonProperty("notification")]
public virtual IDictionary<string, object> Notification { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |