google_api_fcm v0.2.0 GoogleApi.FCM.V1.Model.WebpushConfig View Source
Webpush protocol options.
Attributes
data(type:map(), default:nil) - Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.fcmOptions(type:GoogleApi.FCM.V1.Model.WebpushFcmOptions.t, default:nil) - Options for features provided by the FCM SDK for Web.headers(type:map(), default:nil) - HTTP headers defined in webpush protocol. Refer to Webpush protocol for supported headers, e.g. "TTL": "15".notification(type:map(), default:nil) - 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].
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.FCM.V1.Model.WebpushConfig{
data: map(),
fcmOptions: GoogleApi.FCM.V1.Model.WebpushFcmOptions.t(),
headers: map(),
notification: map()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.