==================================================== GS2-Realtime ==================================================== **Create Client** .. code-block:: lua realtime_client = client('realtime') .. contents:: 目次 :local: :depth: 2 Method ==================================================== ---------------------------------------------------- create_gathering ---------------------------------------------------- .. code-block:: lua response = realtime_client:create_gathering(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングを作成します Request ---------------------------------------------------- .. include:: control/CreateGatheringRequest.rst Response ---------------------------------------------------- .. include:: control/CreateGatheringResult.rst ---------------------------------------------------- create_gathering_pool ---------------------------------------------------- .. code-block:: lua response = realtime_client:create_gathering_pool(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングプールを新規作成します Request ---------------------------------------------------- .. include:: control/CreateGatheringPoolRequest.rst Response ---------------------------------------------------- .. include:: control/CreateGatheringPoolResult.rst ---------------------------------------------------- delete_gathering ---------------------------------------------------- .. code-block:: lua response = realtime_client:delete_gathering(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングを削除します Request ---------------------------------------------------- .. include:: control/DeleteGatheringRequest.rst Response ---------------------------------------------------- None ---------------------------------------------------- delete_gathering_pool ---------------------------------------------------- .. code-block:: lua response = realtime_client:delete_gathering_pool(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングプールを削除します Request ---------------------------------------------------- .. include:: control/DeleteGatheringPoolRequest.rst Response ---------------------------------------------------- None ---------------------------------------------------- describe_gathering ---------------------------------------------------- .. code-block:: lua response = realtime_client:describe_gathering(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングの一覧を取得します Request ---------------------------------------------------- .. include:: control/DescribeGatheringRequest.rst Response ---------------------------------------------------- .. include:: control/DescribeGatheringResult.rst ---------------------------------------------------- describe_gathering_pool ---------------------------------------------------- .. code-block:: lua response = realtime_client:describe_gathering_pool(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングプールの一覧を取得します Request ---------------------------------------------------- .. include:: control/DescribeGatheringPoolRequest.rst Response ---------------------------------------------------- .. include:: control/DescribeGatheringPoolResult.rst ---------------------------------------------------- get_gathering ---------------------------------------------------- .. code-block:: lua response = realtime_client:get_gathering(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングを取得します Request ---------------------------------------------------- .. include:: control/GetGatheringRequest.rst Response ---------------------------------------------------- .. include:: control/GetGatheringResult.rst ---------------------------------------------------- get_gathering_pool ---------------------------------------------------- .. code-block:: lua response = realtime_client:get_gathering_pool(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングプールを取得します Request ---------------------------------------------------- .. include:: control/GetGatheringPoolRequest.rst Response ---------------------------------------------------- .. include:: control/GetGatheringPoolResult.rst ---------------------------------------------------- update_gathering_pool ---------------------------------------------------- .. code-block:: lua response = realtime_client:update_gathering_pool(request) if response.isError then -- エラー処理 -- print(response.statusCode) print(response.errorMessage) else -- 正常処理 -- print(response.result) end ギャザリングプールを更新します Request ---------------------------------------------------- .. include:: control/UpdateGatheringPoolRequest.rst Response ---------------------------------------------------- .. include:: control/UpdateGatheringPoolResult.rst Model ==================================================== ---------------------------------------------------- GatheringPool ---------------------------------------------------- .. include:: model/GatheringPool.rst ---------------------------------------------------- Gathering ---------------------------------------------------- .. include:: model/Gathering.rst