games  v1
Public Member Functions | List of all members
google_games_api::GamesService::RoomsResource Class Reference

#include <games_service.h>

Public Member Functions

 RoomsResource (GamesService *service)
 
 ~RoomsResource ()
 
RoomsResource_CreateMethodNewCreateMethod (client::AuthorizationCredential *_credential_, const RoomCreateRequest &_content_) const
 
RoomsResource_DeclineMethodNewDeclineMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id) const
 
RoomsResource_DismissMethodNewDismissMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id) const
 
RoomsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id) const
 
RoomsResource_JoinMethodNewJoinMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id, const RoomJoinRequest &_content_) const
 
RoomsResource_LeaveMethodNewLeaveMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id, const RoomLeaveRequest &_content_) const
 
RoomsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 
RoomsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_) const
 
RoomsResource_ReportStatusMethodNewReportStatusMethod (client::AuthorizationCredential *_credential_, const absl::string_view &room_id, const RoomP2PStatuses &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ RoomsResource()

google_games_api::GamesService::RoomsResource::RoomsResource ( GamesService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~RoomsResource()

google_games_api::GamesService::RoomsResource::~RoomsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewCreateMethod()

RoomsResource_CreateMethod * google_games_api::GamesService::RoomsResource::NewCreateMethod ( client::AuthorizationCredential *  _credential_,
const RoomCreateRequest _content_ 
) const

Creates a new RoomsResource_CreateMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]<em>content</em>The data object to create.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeclineMethod()

RoomsResource_DeclineMethod * google_games_api::GamesService::RoomsResource::NewDeclineMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  room_id 
) const

Creates a new RoomsResource_DeclineMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]room_idThe ID of the room.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDismissMethod()

RoomsResource_DismissMethod * google_games_api::GamesService::RoomsResource::NewDismissMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  room_id 
) const

Creates a new RoomsResource_DismissMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]room_idThe ID of the room.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

RoomsResource_GetMethod * google_games_api::GamesService::RoomsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  room_id 
) const

Creates a new RoomsResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]room_idThe ID of the room.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewJoinMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]room_idThe ID of the room.
[in]<em>content</em>The data object to join.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewLeaveMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]room_idThe ID of the room.
[in]<em>content</em>The data object to leave.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

RoomsResource_ListMethod * google_games_api::GamesService::RoomsResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new RoomsResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

RoomsResource_ListMethodPager * google_games_api::GamesService::RoomsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewReportStatusMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]room_idThe ID of the room.
[in]<em>content</em>The data object to reportStatus.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: