|
games
v1
|
#include <games_service.h>
Public Member Functions | |
| SnapshotsResource (GamesService *service) | |
| ~SnapshotsResource () | |
| SnapshotsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &snapshot_id) const |
| SnapshotsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &player_id) const |
| SnapshotsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &player_id) 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.
| SnapshotsResource_GetMethod * google_games_api::GamesService::SnapshotsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | snapshot_id | ||
| ) | const |
Creates a new SnapshotsResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | snapshot_id | The ID of the snapshot. |
Execute the method instance, then destroy it when they are finished. | SnapshotsResource_ListMethod * google_games_api::GamesService::SnapshotsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | player_id | ||
| ) | const |
Creates a new SnapshotsResource_ListMethod 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. | SnapshotsResource_ListMethodPager * google_games_api::GamesService::SnapshotsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | player_id | ||
| ) | const |
Creates a pager for iterating over incremental result pages.
| [in] | <em>credential</em> | 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. |