Class ProjectsResource.MessagesResource.SendRequest
Send a message to specified target (a registration token, topic or condition).
Inheritance
ProjectsResource.MessagesResource.SendRequest
Inherited Members
Namespace: Google.Apis.FirebaseCloudMessaging.v1
Assembly: Google.Apis.FirebaseCloudMessaging.v1.dll
Syntax
public class ProjectsResource.MessagesResource.SendRequest : FirebaseCloudMessagingBaseServiceRequest<Message>, IClientServiceRequest<Message>, IClientServiceRequest
Constructors
SendRequest(IClientService, SendMessageRequest, string)
Constructs a new Send request.
Declaration
public SendRequest(IClientService service, SendMessageRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SendMessageRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Send parameter list.
Declaration
protected override void InitParameters()