|
games
v1
|
#include <games_service.h>
Public Member Functions | |
| RoomsResource (GamesService *service) | |
| ~RoomsResource () | |
| RoomsResource_CreateMethod * | NewCreateMethod (client::AuthorizationCredential *_credential_, const RoomCreateRequest &_content_) const |
| RoomsResource_DeclineMethod * | NewDeclineMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id) const |
| RoomsResource_DismissMethod * | NewDismissMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id) const |
| RoomsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id) const |
| RoomsResource_JoinMethod * | NewJoinMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id, const RoomJoinRequest &_content_) const |
| RoomsResource_LeaveMethod * | NewLeaveMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id, const RoomLeaveRequest &_content_) const |
| RoomsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
| RoomsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
| RoomsResource_ReportStatusMethod * | NewReportStatusMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id, const RoomP2PStatuses &_content_) 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.
| RoomsResource_CreateMethod * google_games_api::GamesService::RoomsResource::NewCreateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const RoomCreateRequest & | _content_ | ||
| ) | const |
Creates a new RoomsResource_CreateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | <em>content</em> | The data object to create. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_DeclineMethod * google_games_api::GamesService::RoomsResource::NewDeclineMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | room_id | ||
| ) | const |
Creates a new RoomsResource_DeclineMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | room_id | The ID of the room. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_DismissMethod * google_games_api::GamesService::RoomsResource::NewDismissMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | room_id | ||
| ) | const |
Creates a new RoomsResource_DismissMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | room_id | The ID of the room. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_GetMethod * google_games_api::GamesService::RoomsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | room_id | ||
| ) | const |
Creates a new RoomsResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | room_id | The ID of the room. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_JoinMethod * google_games_api::GamesService::RoomsResource::NewJoinMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | room_id, | ||
| const RoomJoinRequest & | _content_ | ||
| ) | const |
Creates a new RoomsResource_JoinMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | room_id | The ID of the room. |
| [in] | <em>content</em> | The data object to join. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_LeaveMethod * google_games_api::GamesService::RoomsResource::NewLeaveMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | room_id, | ||
| const RoomLeaveRequest & | _content_ | ||
| ) | const |
Creates a new RoomsResource_LeaveMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | room_id | The ID of the room. |
| [in] | <em>content</em> | The data object to leave. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_ListMethod * google_games_api::GamesService::RoomsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new RoomsResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute the method instance, then destroy it when they are finished. | RoomsResource_ListMethodPager * google_games_api::GamesService::RoomsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a pager for iterating over incremental result pages.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| RoomsResource_ReportStatusMethod * google_games_api::GamesService::RoomsResource::NewReportStatusMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | room_id, | ||
| const RoomP2PStatuses & | _content_ | ||
| ) | const |
Creates a new RoomsResource_ReportStatusMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | room_id | The ID of the room. |
| [in] | <em>content</em> | The data object to reportStatus. |
Execute the method instance, then destroy it when they are finished.