
target.apidocs.com.google.api.services.fcm.v1.FirebaseCloudMessaging.Projects.Messages.html Maven / Gradle / Ivy
FirebaseCloudMessaging.Projects.Messages (Firebase Cloud Messaging API v1-rev20241112-2.0.0)
com.google.api.services.fcm.v1
Class FirebaseCloudMessaging.Projects.Messages
- java.lang.Object
-
- com.google.api.services.fcm.v1.FirebaseCloudMessaging.Projects.Messages
-
- Enclosing class:
- FirebaseCloudMessaging.Projects
public class FirebaseCloudMessaging.Projects.Messages
extends Object
The "messages" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
FirebaseCloudMessaging.Projects.Messages.Send
-
Constructor Summary
Constructors
Constructor and Description
Messages()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FirebaseCloudMessaging.Projects.Messages.Send
send(String parent,
SendMessageRequest content)
Send a message to specified target (a registration token, topic or condition).
-
-
Method Detail
-
send
public FirebaseCloudMessaging.Projects.Messages.Send send(String parent,
SendMessageRequest content)
throws IOException
Send a message to specified target (a registration token, topic or condition).
Create a request for the method "messages.send".
This request holds the parameters needed by the fcm server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase
project), in the format of `projects/{project_id}`. For legacy support, the numeric
project number with no padding is also supported in the format of
`projects/{project_number}`.
content
- the SendMessageRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy