Class MetagameResource.ListCategoriesByPlayerRequest
List play data aggregated per category for the player corresponding to playerId
.
Inheritance
MetagameResource.ListCategoriesByPlayerRequest
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class MetagameResource.ListCategoriesByPlayerRequest : GamesBaseServiceRequest<CategoryListResponse>, IClientServiceRequest<CategoryListResponse>, IClientServiceRequest
Constructors
ListCategoriesByPlayerRequest(IClientService, string, CollectionEnum)
Constructs a new ListCategoriesByPlayer request.
Declaration
public ListCategoriesByPlayerRequest(IClientService service, string playerId, MetagameResource.ListCategoriesByPlayerRequest.CollectionEnum collection)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | playerId | |
MetagameResource.ListCategoriesByPlayerRequest.CollectionEnum | collection |
Properties
Collection
The collection of categories for which data will be returned.
Declaration
[RequestParameter("collection", RequestParameterType.Path)]
public virtual MetagameResource.ListCategoriesByPlayerRequest.CollectionEnum Collection { get; }
Property Value
Type | Description |
---|---|
MetagameResource.ListCategoriesByPlayerRequest.CollectionEnum |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Language
The preferred language to use for strings returned by this method.
Declaration
[RequestParameter("language", RequestParameterType.Query)]
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxResults
The maximum number of category resources to return in the response, used for paging. For any response,
the actual number of category resources returned may be less than the specified maxResults
.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageToken
The token returned by the previous request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
PlayerId
A player ID. A value of me
may be used in place of the authenticated player's ID.
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
InitParameters()
Initializes ListCategoriesByPlayer parameter list.
Declaration
protected override void InitParameters()