public class GpmClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
GpmClient(Credential credential,
String region) |
GpmClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
CancelMatchingResponse |
CancelMatching(CancelMatchingRequest req)
This API is used to cancel matching.
|
CreateMatchResponse |
CreateMatch(CreateMatchRequest req)
This API is used to create a match.
|
CreateRuleResponse |
CreateRule(CreateRuleRequest req)
This API is used to create a rule.
|
DeleteMatchResponse |
DeleteMatch(DeleteMatchRequest req)
This API is used to delete a match.
|
DeleteRuleResponse |
DeleteRule(DeleteRuleRequest req)
This API is used to delete a rule.
|
DescribeDataResponse |
DescribeData(DescribeDataRequest req)
This API is used to view statistics.
|
DescribeMatchResponse |
DescribeMatch(DescribeMatchRequest req)
This API is used to query the matchmaking details.
|
DescribeMatchCodesResponse |
DescribeMatchCodes(DescribeMatchCodesRequest req)
This API is used to query the created MatchCodes and paginate the query result.
|
DescribeMatchesResponse |
DescribeMatches(DescribeMatchesRequest req)
This API is used to query the matchmaking list and paginate the query result.
|
DescribeMatchingProgressResponse |
DescribeMatchingProgress(DescribeMatchingProgressRequest req)
This API is used to query the matching progress.
|
DescribeRuleResponse |
DescribeRule(DescribeRuleRequest req)
This API is used to query the rule details.
|
DescribeRulesResponse |
DescribeRules(DescribeRulesRequest req)
This API is used to query the rule set list and paginate the query result.
|
DescribeTokenResponse |
DescribeToken(DescribeTokenRequest req)
This API is used to query the token of a Matchcode, which is used for verified the pushed message.
|
ModifyMatchResponse |
ModifyMatch(ModifyMatchRequest req)
This API is used to modify a match.
|
ModifyRuleResponse |
ModifyRule(ModifyRuleRequest req)
This API is used to modify a rule (including description and tag).
|
ModifyTokenResponse |
ModifyToken(ModifyTokenRequest req)
This API is used to modify the token of a Matchcode.
|
StartMatchingResponse |
StartMatching(StartMatchingRequest req)
This API is used to pass in one player or multiple players to initiate match.
|
StartMatchingBackfillResponse |
StartMatchingBackfill(StartMatchingBackfillRequest req)
This API is used to send a match backfill request, for which a MatchTicket will be searched to start a new match.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public GpmClient(Credential credential, String region)
public GpmClient(Credential credential, String region, ClientProfile profile)
public CancelMatchingResponse CancelMatching(CancelMatchingRequest req) throws TencentCloudSDKException
req
- CancelMatchingRequestTencentCloudSDKException
public CreateMatchResponse CreateMatch(CreateMatchRequest req) throws TencentCloudSDKException
req
- CreateMatchRequestTencentCloudSDKException
public CreateRuleResponse CreateRule(CreateRuleRequest req) throws TencentCloudSDKException
req
- CreateRuleRequestTencentCloudSDKException
public DeleteMatchResponse DeleteMatch(DeleteMatchRequest req) throws TencentCloudSDKException
req
- DeleteMatchRequestTencentCloudSDKException
public DeleteRuleResponse DeleteRule(DeleteRuleRequest req) throws TencentCloudSDKException
req
- DeleteRuleRequestTencentCloudSDKException
public DescribeDataResponse DescribeData(DescribeDataRequest req) throws TencentCloudSDKException
req
- DescribeDataRequestTencentCloudSDKException
public DescribeMatchResponse DescribeMatch(DescribeMatchRequest req) throws TencentCloudSDKException
req
- DescribeMatchRequestTencentCloudSDKException
public DescribeMatchCodesResponse DescribeMatchCodes(DescribeMatchCodesRequest req) throws TencentCloudSDKException
req
- DescribeMatchCodesRequestTencentCloudSDKException
public DescribeMatchesResponse DescribeMatches(DescribeMatchesRequest req) throws TencentCloudSDKException
req
- DescribeMatchesRequestTencentCloudSDKException
public DescribeMatchingProgressResponse DescribeMatchingProgress(DescribeMatchingProgressRequest req) throws TencentCloudSDKException
req
- DescribeMatchingProgressRequestTencentCloudSDKException
public DescribeRuleResponse DescribeRule(DescribeRuleRequest req) throws TencentCloudSDKException
req
- DescribeRuleRequestTencentCloudSDKException
public DescribeRulesResponse DescribeRules(DescribeRulesRequest req) throws TencentCloudSDKException
req
- DescribeRulesRequestTencentCloudSDKException
public DescribeTokenResponse DescribeToken(DescribeTokenRequest req) throws TencentCloudSDKException
req
- DescribeTokenRequestTencentCloudSDKException
public ModifyMatchResponse ModifyMatch(ModifyMatchRequest req) throws TencentCloudSDKException
req
- ModifyMatchRequestTencentCloudSDKException
public ModifyRuleResponse ModifyRule(ModifyRuleRequest req) throws TencentCloudSDKException
req
- ModifyRuleRequestTencentCloudSDKException
public ModifyTokenResponse ModifyToken(ModifyTokenRequest req) throws TencentCloudSDKException
req
- ModifyTokenRequestTencentCloudSDKException
public StartMatchingResponse StartMatching(StartMatchingRequest req) throws TencentCloudSDKException
req
- StartMatchingRequestTencentCloudSDKException
public StartMatchingBackfillResponse StartMatchingBackfill(StartMatchingBackfillRequest req) throws TencentCloudSDKException
req
- StartMatchingBackfillRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.