ProjectsRegistrationsResource class

Constructors

ProjectsRegistrationsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(GoogleFirebaseFcmRegistrationV1Registration request, String parent, {String? $fields}) Future<GoogleFirebaseFcmRegistrationV1Registration>
Examples: curl -X POST -H "Content-Type: application/json" -H "X-Goog-Api-Key: AIzaSyAMumboJumbojFTVX2lTBQ” -H "X-Goog-Firebase-Installations-Auth: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJjZEV6WVFhaWZoOXR5dVF5ZktvR3M4IiwicHJvamVjdE51bWJlciI6MzUwMDY3NzEyNjMsImV4cCI6MTU2NjMyMzg5NCwiYXBwSWQiOiIxOjM1MDA2NzcxMjYzOmFuZHJvaWQ6Mjc4NTNlNTJkMzMxZTQyMiJ9.ABdN8xAwRQIgSNvJtB--vTNoxDIZiryYi1z05mCfqCj7nbJlsirJ5UYCIQC7BoXW9xvYEi9qASd1nWU0Crs1u3SRhq0BmJLgm9msIA" -d "{ 'javascript': { 'endpoint': 'https://fcm.googleapis.com/fcm/send/eTgyI1vNRYs:APA91bG4g3QzXI8opChSFfwz3vS6GQN8WfcOA-SEL6bFDje79UEu2wft3EHgoefwPayQ_nWWXfKbRT5eya1jjLzWugOvWUeSlPUwcT6-A1XOlOqRxVaAqtFaZM5gte7Ay-fT8sAoiEuE', 'p256dh': 'BDV5QV8YK9QH7WdfjVdo0l-njtu5nySdMPbFgIY1xdgu5Ks3ZbxkJqdXzaZxKhgOgcspCYjgcTrhhkmOSrN8bho', 'auth': '4sOuBLO7qbdDguQu0DnWaQ', 'application_pub_key': 'BE1y40dQNCrNODvWszwjdYeJEbYZmcHYcKuMgqDBWKlMi06Tm9m1Dxmo5mmJC7j3wVWw76ekeZ999cyz5TwdzBw'}}" https://fcmregistrations.googleapis.com/v1/projects/android-gcm-test-519bd/registrations
delete(String name, {String? $fields}) Future<GoogleProtobufEmpty>
Deletes the FCM registration and the token stops working immediately.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(GoogleFirebaseFcmRegistrationV1Registration request, String name, {String? updateMask, String? $fields}) Future<GoogleFirebaseFcmRegistrationV1Registration>
Updates an existing FCM Registration.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited