Skip to main content

messages

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

Overview

Namemessages
TypeResource
Idfirebase.fcm.messages

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
sendexecprojectsIdSend a message to specified target (a registration token, topic or condition).

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
projectsIdstring

Lifecycle Methods

Send a message to specified target (a registration token, topic or condition).

EXEC firebase.fcm.messages.send 
@projectsId='{{ projectsId }}' --required
@@json=
'{
"validateOnly": {{ validateOnly }},
"message": "{{ message }}"
}';