Close httplib2 connections.
generatePlayGroupingApiToken(packageName=None, persona=None, x__xgafv=None)
Generates a Play Grouping API token for the PGS user identified by the attached credential.
Generates a Play Grouping API token for the PGS user identified by the Recall session ID provided in the request.
close()
Close httplib2 connections.
generatePlayGroupingApiToken(packageName=None, persona=None, x__xgafv=None)
Generates a Play Grouping API token for the PGS user identified by the attached credential.
Args:
packageName: string, Required. App package name to generate the token for (e.g. com.example.mygame).
persona: string, 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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for the GeneratePlayGroupingApiToken RPC.
"token": { # Token data returned from GeneratePlayGroupingApiToken RPC. # Token for accessing the Play Grouping API.
"tokenValue": "A String", # Value of the token.
},
}
generateRecallPlayGroupingApiToken(packageName=None, persona=None, recallSessionId=None, x__xgafv=None)
Generates a Play Grouping API token for the PGS user identified by the Recall session ID provided in the request.
Args:
packageName: string, Required. App package name to generate the token for (e.g. com.example.mygame).
persona: string, 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.
recallSessionId: string, 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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for the GenerateRecallPlayGroupingApiToken RPC.
"token": { # Token data returned from GeneratePlayGroupingApiToken RPC. # Token for accessing the Play Grouping API.
"tokenValue": "A String", # Value of the token.
},
}