Class ProjectsResource.MessagesResource
The "messages" collection of methods.
Inheritance
System.Object
ProjectsResource.MessagesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.FirebaseCloudMessaging.v1
Assembly: Google.Apis.FirebaseCloudMessaging.v1.dll
Syntax
public class MessagesResource
Constructors
MessagesResource(IClientService)
Constructs a new resource.
Declaration
public MessagesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Send(SendMessageRequest, String)
Send a message to specified target (a registration token, topic or condition).
Declaration
public virtual ProjectsResource.MessagesResource.SendRequest Send(SendMessageRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SendMessageRequest | body | The body of the request. |
System.String | parent | Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase project), in
the format of |
Returns
Type | Description |
---|---|
ProjectsResource.MessagesResource.SendRequest |