Class PlayerGameEventsResource.BatchRecordEventsRequest
Records a batch of player game events for a specific player. This method allows sending multiple events in a single request.
Inheritance
PlayerGameEventsResource.BatchRecordEventsRequest
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerGameEventsResource.BatchRecordEventsRequest : GamesBaseServiceRequest<BatchRecordEventsResponse>, IClientServiceRequest<BatchRecordEventsResponse>, IClientServiceRequest
Constructors
BatchRecordEventsRequest(IClientService, BatchRecordEventsRequest, string)
Constructs a new BatchRecordEvents request.
Declaration
public BatchRecordEventsRequest(IClientService service, BatchRecordEventsRequest body, string playerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchRecordEventsRequest | body | |
| string | playerId |
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
PlayerId
Required. The player ID of the player that performed the events.
Declaration
[RequestParameter("playerId", RequestParameterType.Path)]
public virtual string PlayerId { 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 BatchRecordEvents parameter list.
Declaration
protected override void InitParameters()