Class AccesstokensResource.GeneratePlayGroupingApiTokenRequest
Generates a Play Grouping API token for the PGS user identified by the attached credential.
Inheritance
AccesstokensResource.GeneratePlayGroupingApiTokenRequest
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AccesstokensResource.GeneratePlayGroupingApiTokenRequest : GamesBaseServiceRequest<GeneratePlayGroupingApiTokenResponse>, IClientServiceRequest<GeneratePlayGroupingApiTokenResponse>, IClientServiceRequest
Constructors
GeneratePlayGroupingApiTokenRequest(IClientService)
Constructs a new GeneratePlayGroupingApiToken request.
Declaration
public GeneratePlayGroupingApiTokenRequest(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 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GeneratePlayGroupingApiToken parameter list.
Declaration
protected override void InitParameters()