Class AccesstokensResource.GenerateRecallPlayGroupingApiTokenRequest
Generates a Play Grouping API token for the PGS user identified by the Recall session ID provided in the request.
Inheritance
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AccesstokensResource.GenerateRecallPlayGroupingApiTokenRequest : GamesBaseServiceRequest<GenerateRecallPlayGroupingApiTokenResponse>, IClientServiceRequest<GenerateRecallPlayGroupingApiTokenResponse>, IClientServiceRequest
Constructors
GenerateRecallPlayGroupingApiTokenRequest(IClientService)
Constructs a new GenerateRecallPlayGroupingApiToken request.
Declaration
public GenerateRecallPlayGroupingApiTokenRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
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
PackageName
Required. App package name to generate the token for (e.g. com.example.mygame).
Declaration
[RequestParameter("packageName", RequestParameterType.Query)]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |
Persona
Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.
Declaration
[RequestParameter("persona", RequestParameterType.Query)]
public virtual string Persona { get; set; }
Property Value
Type | Description |
---|---|
string |
RecallSessionId
Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. See https://developer.android.com/games/pgs/recall/recall-setup on how to integrate with Recall and get session ID.
Declaration
[RequestParameter("recallSessionId", RequestParameterType.Query)]
public virtual string RecallSessionId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GenerateRecallPlayGroupingApiToken parameter list.
Declaration
protected override void InitParameters()