Show / Hide Table of Contents

Class PlayersResource

The "players" collection of methods.

Inheritance
System.Object
PlayersResource
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayersResource : object

Constructors

PlayersResource(IClientService)

Constructs a new resource.

Declaration
public PlayersResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(String)

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

Declaration
public virtual PlayersResource.GetRequest Get(string playerId)
Parameters
Type Name Description
System.String playerId

A player ID. A value of me may be used in place of the authenticated player's ID.

Returns
Type Description
PlayersResource.GetRequest

List(PlayersResource.ListRequest.CollectionEnum)

Get the collection of players for the currently authenticated user.

Declaration
public virtual PlayersResource.ListRequest List(PlayersResource.ListRequest.CollectionEnum collection)
Parameters
Type Name Description
PlayersResource.ListRequest.CollectionEnum collection

Collection of players being retrieved

Returns
Type Description
PlayersResource.ListRequest
Back to top