Skip to main content

delivery_data

Creates, updates, deletes, gets or lists a delivery_data resource.

Overview

Namedelivery_data
TypeResource
Idfirebase.fcmdata.delivery_data

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
analyticsLabelstringThe analytics label associated with the messages sent. All messages sent without an analytics label will be grouped together in a single entry.
appIdstringThe app ID to which the messages were sent.
dataobjectThe data for the specified appId, date, and analyticsLabel. (id: GoogleFirebaseFcmDataV1beta1Data)
dateobjectThe date represented by this entry. (id: GoogleTypeDate)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, androidAppsIdpageToken, pageSizeList aggregate delivery data for the given Android application.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
androidAppsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

List aggregate delivery data for the given Android application.

SELECT
analyticsLabel,
appId,
data,
date
FROM firebase.fcmdata.delivery_data
WHERE projectsId = '{{ projectsId }}' -- required
AND androidAppsId = '{{ androidAppsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';