|
games
v1
|
#include <games_service.h>
Public Member Functions | |
| PlayersResource (GamesService *service) | |
| ~PlayersResource () | |
| PlayersResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &player_id) const |
| PlayersResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &collection) const |
| PlayersResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &collection) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
| PlayersResource_GetMethod * google_games_api::GamesService::PlayersResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | player_id | ||
| ) | const |
Creates a new PlayersResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | player_id | A player ID. A value of me may be used in place of the authenticated player's ID. |
Execute the method instance, then destroy it when they are finished. | PlayersResource_ListMethod * google_games_api::GamesService::PlayersResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | collection | ||
| ) | const |
Creates a new PlayersResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | collection | Collection of players being retrieved. |
Execute the method instance, then destroy it when they are finished. | PlayersResource_ListMethodPager * google_games_api::GamesService::PlayersResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | collection | ||
| ) | const |
Creates a pager for iterating over incremental result pages.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| [in] | collection | Collection of players being retrieved. |