Documentation ¶
Index ¶
- Constants
- type AttributeMap
- type CancelMatchingRequest
- type CancelMatchingRequestParams
- type CancelMatchingResponse
- type CancelMatchingResponseParams
- type Client
- func (c *Client) CancelMatching(request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)
- func (c *Client) CancelMatchingWithContext(ctx context.Context, request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)
- func (c *Client) CreateMatch(request *CreateMatchRequest) (response *CreateMatchResponse, err error)
- func (c *Client) CreateMatchWithContext(ctx context.Context, request *CreateMatchRequest) (response *CreateMatchResponse, err error)
- func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) DeleteMatch(request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)
- func (c *Client) DeleteMatchWithContext(ctx context.Context, request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)
- func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
- func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
- func (c *Client) DescribeData(request *DescribeDataRequest) (response *DescribeDataResponse, err error)
- func (c *Client) DescribeDataWithContext(ctx context.Context, request *DescribeDataRequest) (response *DescribeDataResponse, err error)
- func (c *Client) DescribeMatch(request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)
- func (c *Client) DescribeMatchCodes(request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)
- func (c *Client) DescribeMatchCodesWithContext(ctx context.Context, request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)
- func (c *Client) DescribeMatchWithContext(ctx context.Context, request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)
- func (c *Client) DescribeMatches(request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)
- func (c *Client) DescribeMatchesWithContext(ctx context.Context, request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)
- func (c *Client) DescribeMatchingProgress(request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)
- func (c *Client) DescribeMatchingProgressWithContext(ctx context.Context, request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)
- func (c *Client) DescribeRule(request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)
- func (c *Client) DescribeRuleWithContext(ctx context.Context, request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)
- func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeToken(request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
- func (c *Client) DescribeTokenWithContext(ctx context.Context, request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
- func (c *Client) ModifyMatch(request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)
- func (c *Client) ModifyMatchWithContext(ctx context.Context, request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)
- func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifyToken(request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)
- func (c *Client) ModifyTokenWithContext(ctx context.Context, request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)
- func (c *Client) StartMatching(request *StartMatchingRequest) (response *StartMatchingResponse, err error)
- func (c *Client) StartMatchingBackfill(request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)
- func (c *Client) StartMatchingBackfillWithContext(ctx context.Context, request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)
- func (c *Client) StartMatchingWithContext(ctx context.Context, request *StartMatchingRequest) (response *StartMatchingResponse, err error)
- type CreateMatchRequest
- type CreateMatchRequestParams
- type CreateMatchResponse
- type CreateMatchResponseParams
- type CreateRuleRequest
- type CreateRuleRequestParams
- type CreateRuleResponse
- type CreateRuleResponseParams
- type DeleteMatchRequest
- type DeleteMatchRequestParams
- type DeleteMatchResponse
- type DeleteMatchResponseParams
- type DeleteRuleRequest
- type DeleteRuleRequestParams
- type DeleteRuleResponse
- type DeleteRuleResponseParams
- type DescribeDataRequest
- type DescribeDataRequestParams
- type DescribeDataResponse
- type DescribeDataResponseParams
- type DescribeMatchCodesRequest
- type DescribeMatchCodesRequestParams
- type DescribeMatchCodesResponse
- type DescribeMatchCodesResponseParams
- type DescribeMatchRequest
- type DescribeMatchRequestParams
- type DescribeMatchResponse
- type DescribeMatchResponseParams
- type DescribeMatchesRequest
- type DescribeMatchesRequestParams
- type DescribeMatchesResponse
- type DescribeMatchesResponseParams
- type DescribeMatchingProgressRequest
- type DescribeMatchingProgressRequestParams
- type DescribeMatchingProgressResponse
- type DescribeMatchingProgressResponseParams
- type DescribeRuleRequest
- type DescribeRuleRequestParams
- type DescribeRuleResponse
- type DescribeRuleResponseParams
- type DescribeRulesRequest
- type DescribeRulesRequestParams
- type DescribeRulesResponse
- type DescribeRulesResponseParams
- type DescribeTokenRequest
- type DescribeTokenRequestParams
- type DescribeTokenResponse
- type DescribeTokenResponseParams
- type MTicket
- type MatchAttribute
- type MatchCodeAttr
- type MatchInfo
- type MatchTicket
- type ModifyMatchRequest
- type ModifyMatchRequestParams
- type ModifyMatchResponse
- type ModifyMatchResponseParams
- type ModifyRuleRequest
- type ModifyRuleRequestParams
- type ModifyRuleResponse
- type ModifyRuleResponseParams
- type ModifyTokenRequest
- type ModifyTokenRequestParams
- type ModifyTokenResponse
- type ModifyTokenResponseParams
- type Player
- type RegionLatency
- type ReportOverviewData
- type ReportTrendData
- type RuleBriefInfo
- type RuleInfo
- type StartMatchingBackfillRequest
- type StartMatchingBackfillRequestParams
- type StartMatchingBackfillResponse
- type StartMatchingBackfillResponseParams
- type StartMatchingRequest
- type StartMatchingRequestParams
- type StartMatchingResponse
- type StartMatchingResponseParams
- type StringKV
- type Tag
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 匹配日志开通失败,请在线咨询。 FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation" // 频率限制。玩家重复请求匹配的间隔不小于100ms。 FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited" // 创建的匹配数超过限制。 FAILEDOPERATION_LIMITMATCHCOUNT = "FailedOperation.LimitMatchCount" // 创建的规则数超过限制。 FAILEDOPERATION_LIMITRULECOUNT = "FailedOperation.LimitRuleCount" // 系统错误。若无法解决,请在线咨询。 FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" // 标签操作失败。 FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" // 内部错误。 INTERNALERROR = "InternalError" // 接口不存在。 INVALIDACTION = "InvalidAction" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // GameServerSession正在匹配中,无法再发起匹配。 INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = "InvalidParameterValue.GameServerSessionRepeated" // 规则脚本有误。 INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" // 匹配 Code 不存在。 INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" // 字段值长度超过限制。 INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit" // 字段中包含非法的字符。 INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters" // 匹配不存在。 INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" // Players 长度超过限制。 INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit" // 重复的玩家Id。 INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated" // 当前状态不能取消。 INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = "InvalidParameterValue.MatchStatusNotPermitCancel" // 匹配 TicketId 不存在。 INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" // 匹配 TicketId 重复。 INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated" // 匹配票据列表长度超过限制。 INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = "InvalidParameterValue.MatchTicketLimit" // 规则存在关联的匹配。 INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = "InvalidParameterValue.RuleMatchExistent" // 规则名称已存在。 INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = "InvalidParameterValue.RuleNameDuplicated" // 规则不存在。 INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" // 没有该标签权限。 INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" // Token CompatibleSpan 取值超出限制。 INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = "InvalidParameterValue.TokenCompatibleSpanInvalid" // Token长度超出限制。 INVALIDPARAMETERVALUE_TOKENLIMIT = "InvalidParameterValue.TokenLimit" // 取值超出范围。 INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // Token更新的频率超出限制。 LIMITEXCEEDED_TOKENUPDATEEXCEED = "LimitExceeded.TokenUpdateExceed" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 接口版本不存在。 NOSUCHVERSION = "NoSuchVersion" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 请求的次数超过了频率限制。 REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // CLS日志服务未开通。 RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = "ResourceUnavailable.CLSServiceNotActivated" // 资源售罄。 RESOURCESSOLDOUT = "ResourcesSoldOut" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 需要授权GPM角色权限。 UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" // 需要授权接口权限。 UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" // 当前账号未完成实名认证,使用服务前请先进行实名认证。 UNAUTHORIZEDOPERATION_USERUNAUTH = "UnauthorizedOperation.UserUnAuth" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 接口不支持所传地域。 UNSUPPORTEDREGION = "UnsupportedRegion" )
const APIVersion = "2020-08-20"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeMap ¶
type CancelMatchingRequest ¶
type CancelMatchingRequest struct { *tchttp.BaseRequest // 匹配 Code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 要取消的匹配匹配票据 ID MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` }
func NewCancelMatchingRequest ¶
func NewCancelMatchingRequest() (request *CancelMatchingRequest)
func (*CancelMatchingRequest) FromJsonString ¶
func (r *CancelMatchingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelMatchingRequest) ToJsonString ¶
func (r *CancelMatchingRequest) ToJsonString() string
type CancelMatchingRequestParams ¶ added in v1.0.426
type CancelMatchingRequestParams struct { // 匹配 Code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 要取消的匹配匹配票据 ID MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` }
Predefined struct for user
type CancelMatchingResponse ¶
type CancelMatchingResponse struct { *tchttp.BaseResponse Response *CancelMatchingResponseParams `json:"Response"` }
func NewCancelMatchingResponse ¶
func NewCancelMatchingResponse() (response *CancelMatchingResponse)
func (*CancelMatchingResponse) FromJsonString ¶
func (r *CancelMatchingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelMatchingResponse) ToJsonString ¶
func (r *CancelMatchingResponse) ToJsonString() string
type CancelMatchingResponseParams ¶ added in v1.0.426
type CancelMatchingResponseParams struct { // 错误码 ErrCode *uint64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CancelMatching ¶
func (c *Client) CancelMatching(request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)
CancelMatching 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
取消匹配。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = "InvalidParameterValue.MatchStatusNotPermitCancel" INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) CancelMatchingWithContext ¶ added in v1.0.324
func (c *Client) CancelMatchingWithContext(ctx context.Context, request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)
CancelMatching 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
取消匹配。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = "InvalidParameterValue.MatchStatusNotPermitCancel" INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) CreateMatch ¶
func (c *Client) CreateMatch(request *CreateMatchRequest) (response *CreateMatchResponse, err error)
CreateMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
创建匹配
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LIMITMATCHCOUNT = "FailedOperation.LimitMatchCount" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNAUTHORIZEDOPERATION_USERUNAUTH = "UnauthorizedOperation.UserUnAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) CreateMatchWithContext ¶ added in v1.0.324
func (c *Client) CreateMatchWithContext(ctx context.Context, request *CreateMatchRequest) (response *CreateMatchResponse, err error)
CreateMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
创建匹配
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LIMITMATCHCOUNT = "FailedOperation.LimitMatchCount" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNAUTHORIZEDOPERATION_USERUNAUTH = "UnauthorizedOperation.UserUnAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
创建规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LIMITRULECOUNT = "FailedOperation.LimitRuleCount" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = "InvalidParameterValue.RuleNameDuplicated" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) CreateRuleWithContext ¶ added in v1.0.324
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
创建规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LIMITRULECOUNT = "FailedOperation.LimitRuleCount" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = "InvalidParameterValue.RuleNameDuplicated" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DeleteMatch ¶
func (c *Client) DeleteMatch(request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)
DeleteMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
删除匹配
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DeleteMatchWithContext ¶ added in v1.0.324
func (c *Client) DeleteMatchWithContext(ctx context.Context, request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)
DeleteMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
删除匹配
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DeleteRule ¶
func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
DeleteRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
删除规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = "InvalidParameterValue.RuleMatchExistent" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DeleteRuleWithContext ¶ added in v1.0.324
func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
DeleteRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
删除规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = "InvalidParameterValue.RuleMatchExistent" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeData ¶
func (c *Client) DescribeData(request *DescribeDataRequest) (response *DescribeDataResponse, err error)
DescribeData 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
统计数据
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeDataWithContext ¶ added in v1.0.324
func (c *Client) DescribeDataWithContext(ctx context.Context, request *DescribeDataRequest) (response *DescribeDataResponse, err error)
DescribeData 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
统计数据
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatch ¶
func (c *Client) DescribeMatch(request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)
DescribeMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询匹配详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatchCodes ¶
func (c *Client) DescribeMatchCodes(request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)
DescribeMatchCodes 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
分页查询匹配Code
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatchCodesWithContext ¶ added in v1.0.324
func (c *Client) DescribeMatchCodesWithContext(ctx context.Context, request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)
DescribeMatchCodes 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
分页查询匹配Code
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatchWithContext ¶ added in v1.0.324
func (c *Client) DescribeMatchWithContext(ctx context.Context, request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)
DescribeMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询匹配详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatches ¶
func (c *Client) DescribeMatches(request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)
DescribeMatches 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
分页查询匹配列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = "ResourceUnavailable.CLSServiceNotActivated" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatchesWithContext ¶ added in v1.0.324
func (c *Client) DescribeMatchesWithContext(ctx context.Context, request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)
DescribeMatches 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
分页查询匹配列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = "ResourceUnavailable.CLSServiceNotActivated" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeMatchingProgress ¶
func (c *Client) DescribeMatchingProgress(request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)
DescribeMatchingProgress 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询匹配进度。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = "InvalidParameterValue.MatchTicketLimit" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeMatchingProgressWithContext ¶ added in v1.0.324
func (c *Client) DescribeMatchingProgressWithContext(ctx context.Context, request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)
DescribeMatchingProgress 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询匹配进度。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = "InvalidParameterValue.MatchTicketLimit" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeRule ¶
func (c *Client) DescribeRule(request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)
DescribeRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询规则详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeRuleWithContext ¶ added in v1.0.324
func (c *Client) DescribeRuleWithContext(ctx context.Context, request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)
DescribeRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询规则详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeRules ¶
func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
分页查询规则集列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
分页查询规则集列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) DescribeToken ¶
func (c *Client) DescribeToken(request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
DescribeToken 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询匹配Token,Token用于push消息验证。
可能返回的错误码:
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
func (*Client) DescribeTokenWithContext ¶ added in v1.0.324
func (c *Client) DescribeTokenWithContext(ctx context.Context, request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
DescribeToken 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
查询匹配Token,Token用于push消息验证。
可能返回的错误码:
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
func (*Client) ModifyMatch ¶
func (c *Client) ModifyMatch(request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)
ModifyMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
修改匹配
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) ModifyMatchWithContext ¶ added in v1.0.324
func (c *Client) ModifyMatchWithContext(ctx context.Context, request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)
ModifyMatch 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
修改匹配
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) ModifyRule ¶
func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
修改规则(描述、标签)
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) ModifyRuleWithContext ¶ added in v1.0.324
func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
修改规则(描述、标签)
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) ModifyToken ¶
func (c *Client) ModifyToken(request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)
ModifyToken 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
修改匹配Token。
可能返回的错误码:
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = "InvalidParameterValue.TokenCompatibleSpanInvalid" INVALIDPARAMETERVALUE_TOKENLIMIT = "InvalidParameterValue.TokenLimit" LIMITEXCEEDED_TOKENUPDATEEXCEED = "LimitExceeded.TokenUpdateExceed"
func (*Client) ModifyTokenWithContext ¶ added in v1.0.324
func (c *Client) ModifyTokenWithContext(ctx context.Context, request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)
ModifyToken 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
修改匹配Token。
可能返回的错误码:
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = "InvalidParameterValue.TokenCompatibleSpanInvalid" INVALIDPARAMETERVALUE_TOKENLIMIT = "InvalidParameterValue.TokenLimit" LIMITEXCEEDED_TOKENUPDATEEXCEED = "LimitExceeded.TokenUpdateExceed"
func (*Client) StartMatching ¶
func (c *Client) StartMatching(request *StartMatchingRequest) (response *StartMatchingResponse, err error)
StartMatching 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
支持传入一个玩家或多个玩家发起匹配,在同一个请求内的玩家将被分到同一个对局。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit" INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters" INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit" INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated" INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) StartMatchingBackfill ¶
func (c *Client) StartMatchingBackfill(request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)
StartMatchingBackfill 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
通过调用StartMatchingBackfill,用户可以传入一个回填的匹配请求,GPM为回填请求搜索符合条件的ticket并形成一个新的match。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = "InvalidParameterValue.GameServerSessionRepeated" INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit" INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters" INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit" INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated" INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) StartMatchingBackfillWithContext ¶ added in v1.0.324
func (c *Client) StartMatchingBackfillWithContext(ctx context.Context, request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)
StartMatchingBackfill 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
通过调用StartMatchingBackfill,用户可以传入一个回填的匹配请求,GPM为回填请求搜索符合条件的ticket并形成一个新的match。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = "InvalidParameterValue.GameServerSessionRepeated" INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit" INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters" INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit" INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated" INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound" INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
func (*Client) StartMatchingWithContext ¶ added in v1.0.324
func (c *Client) StartMatchingWithContext(ctx context.Context, request *StartMatchingRequest) (response *StartMatchingResponse, err error)
StartMatching 此接口无法使用,游戏玩家匹配GPM已于6.1正式下架,感谢您的支持
支持传入一个玩家或多个玩家发起匹配,在同一个请求内的玩家将被分到同一个对局。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited" FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable" INTERNALERROR = "InternalError" INVALIDACTION = "InvalidAction" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript" INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound" INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit" INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters" INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit" INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated" INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated" INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" NOSUCHVERSION = "NoSuchVersion" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDREGION = "UnsupportedRegion"
type CreateMatchRequest ¶
type CreateMatchRequest struct { *tchttp.BaseRequest // 匹配名称,[a-zA-Z0-9-\.]* 长度128 MatchName *string `json:"MatchName,omitnil,omitempty" name:"MatchName"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 超时时间,1-600秒 Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 是否为匹配结果请求服务器资源,0表示否,1表示请求GSE资源 ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"` // 匹配描述,最长1024 MatchDesc *string `json:"MatchDesc,omitnil,omitempty" name:"MatchDesc"` // 只支持https 和 http 协议 NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // 游戏服务器队列地域 ServerRegion *string `json:"ServerRegion,omitnil,omitempty" name:"ServerRegion"` // 游戏服务器队列 ServerQueue *string `json:"ServerQueue,omitnil,omitempty" name:"ServerQueue"` // 自定义推送数据 CustomPushData *string `json:"CustomPushData,omitnil,omitempty" name:"CustomPushData"` // 游戏服务器会话数据 ServerSessionData *string `json:"ServerSessionData,omitnil,omitempty" name:"ServerSessionData"` // 游戏属性,key-value结构的数组 GameProperties []*StringKV `json:"GameProperties,omitnil,omitempty" name:"GameProperties"` // 日志开关,0表示关,1表示开 LogSwitch *int64 `json:"LogSwitch,omitnil,omitempty" name:"LogSwitch"` // 标签,key-value结构的数组 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateMatchRequest ¶
func NewCreateMatchRequest() (request *CreateMatchRequest)
func (*CreateMatchRequest) FromJsonString ¶
func (r *CreateMatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMatchRequest) ToJsonString ¶
func (r *CreateMatchRequest) ToJsonString() string
type CreateMatchRequestParams ¶ added in v1.0.426
type CreateMatchRequestParams struct { // 匹配名称,[a-zA-Z0-9-\.]* 长度128 MatchName *string `json:"MatchName,omitnil,omitempty" name:"MatchName"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 超时时间,1-600秒 Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 是否为匹配结果请求服务器资源,0表示否,1表示请求GSE资源 ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"` // 匹配描述,最长1024 MatchDesc *string `json:"MatchDesc,omitnil,omitempty" name:"MatchDesc"` // 只支持https 和 http 协议 NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // 游戏服务器队列地域 ServerRegion *string `json:"ServerRegion,omitnil,omitempty" name:"ServerRegion"` // 游戏服务器队列 ServerQueue *string `json:"ServerQueue,omitnil,omitempty" name:"ServerQueue"` // 自定义推送数据 CustomPushData *string `json:"CustomPushData,omitnil,omitempty" name:"CustomPushData"` // 游戏服务器会话数据 ServerSessionData *string `json:"ServerSessionData,omitnil,omitempty" name:"ServerSessionData"` // 游戏属性,key-value结构的数组 GameProperties []*StringKV `json:"GameProperties,omitnil,omitempty" name:"GameProperties"` // 日志开关,0表示关,1表示开 LogSwitch *int64 `json:"LogSwitch,omitnil,omitempty" name:"LogSwitch"` // 标签,key-value结构的数组 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateMatchResponse ¶
type CreateMatchResponse struct { *tchttp.BaseResponse Response *CreateMatchResponseParams `json:"Response"` }
func NewCreateMatchResponse ¶
func NewCreateMatchResponse() (response *CreateMatchResponse)
func (*CreateMatchResponse) FromJsonString ¶
func (r *CreateMatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMatchResponse) ToJsonString ¶
func (r *CreateMatchResponse) ToJsonString() string
type CreateMatchResponseParams ¶ added in v1.0.426
type CreateMatchResponseParams struct { // 匹配信息 MatchInfo *MatchInfo `json:"MatchInfo,omitnil,omitempty" name:"MatchInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRuleRequest ¶
type CreateRuleRequest struct { *tchttp.BaseRequest // 规则名称,[a-zA-Z0-9-\.]* 长度128 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则脚本,长度65535 RuleScript *string `json:"RuleScript,omitnil,omitempty" name:"RuleScript"` // 规则描述,最长1024 RuleDesc *string `json:"RuleDesc,omitnil,omitempty" name:"RuleDesc"` // 标签,key-value结构的数组,最多关联50组标签 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateRuleRequest ¶
func NewCreateRuleRequest() (request *CreateRuleRequest)
func (*CreateRuleRequest) FromJsonString ¶
func (r *CreateRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRuleRequest) ToJsonString ¶
func (r *CreateRuleRequest) ToJsonString() string
type CreateRuleRequestParams ¶ added in v1.0.426
type CreateRuleRequestParams struct { // 规则名称,[a-zA-Z0-9-\.]* 长度128 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则脚本,长度65535 RuleScript *string `json:"RuleScript,omitnil,omitempty" name:"RuleScript"` // 规则描述,最长1024 RuleDesc *string `json:"RuleDesc,omitnil,omitempty" name:"RuleDesc"` // 标签,key-value结构的数组,最多关联50组标签 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateRuleResponse ¶
type CreateRuleResponse struct { *tchttp.BaseResponse Response *CreateRuleResponseParams `json:"Response"` }
func NewCreateRuleResponse ¶
func NewCreateRuleResponse() (response *CreateRuleResponse)
func (*CreateRuleResponse) FromJsonString ¶
func (r *CreateRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRuleResponse) ToJsonString ¶
func (r *CreateRuleResponse) ToJsonString() string
type CreateRuleResponseParams ¶ added in v1.0.426
type CreateRuleResponseParams struct { // 规则信息 RuleInfo *RuleInfo `json:"RuleInfo,omitnil,omitempty" name:"RuleInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMatchRequest ¶
type DeleteMatchRequest struct { *tchttp.BaseRequest // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
func NewDeleteMatchRequest ¶
func NewDeleteMatchRequest() (request *DeleteMatchRequest)
func (*DeleteMatchRequest) FromJsonString ¶
func (r *DeleteMatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMatchRequest) ToJsonString ¶
func (r *DeleteMatchRequest) ToJsonString() string
type DeleteMatchRequestParams ¶ added in v1.0.426
type DeleteMatchRequestParams struct { // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
Predefined struct for user
type DeleteMatchResponse ¶
type DeleteMatchResponse struct { *tchttp.BaseResponse Response *DeleteMatchResponseParams `json:"Response"` }
func NewDeleteMatchResponse ¶
func NewDeleteMatchResponse() (response *DeleteMatchResponse)
func (*DeleteMatchResponse) FromJsonString ¶
func (r *DeleteMatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMatchResponse) ToJsonString ¶
func (r *DeleteMatchResponse) ToJsonString() string
type DeleteMatchResponseParams ¶ added in v1.0.426
type DeleteMatchResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRuleRequest ¶
type DeleteRuleRequest struct { *tchttp.BaseRequest // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` }
func NewDeleteRuleRequest ¶
func NewDeleteRuleRequest() (request *DeleteRuleRequest)
func (*DeleteRuleRequest) FromJsonString ¶
func (r *DeleteRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRuleRequest) ToJsonString ¶
func (r *DeleteRuleRequest) ToJsonString() string
type DeleteRuleRequestParams ¶ added in v1.0.426
type DeleteRuleRequestParams struct { // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` }
Predefined struct for user
type DeleteRuleResponse ¶
type DeleteRuleResponse struct { *tchttp.BaseResponse Response *DeleteRuleResponseParams `json:"Response"` }
func NewDeleteRuleResponse ¶
func NewDeleteRuleResponse() (response *DeleteRuleResponse)
func (*DeleteRuleResponse) FromJsonString ¶
func (r *DeleteRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRuleResponse) ToJsonString ¶
func (r *DeleteRuleResponse) ToJsonString() string
type DeleteRuleResponseParams ¶ added in v1.0.426
type DeleteRuleResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDataRequest ¶
type DescribeDataRequest struct { *tchttp.BaseRequest // 起始时间,单位:秒 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 截止时间,单位:秒 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟 TimeType *int64 `json:"TimeType,omitnil,omitempty" name:"TimeType"` // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
func NewDescribeDataRequest ¶
func NewDescribeDataRequest() (request *DescribeDataRequest)
func (*DescribeDataRequest) FromJsonString ¶
func (r *DescribeDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDataRequest) ToJsonString ¶
func (r *DescribeDataRequest) ToJsonString() string
type DescribeDataRequestParams ¶ added in v1.0.426
type DescribeDataRequestParams struct { // 起始时间,单位:秒 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 截止时间,单位:秒 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟 TimeType *int64 `json:"TimeType,omitnil,omitempty" name:"TimeType"` // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
Predefined struct for user
type DescribeDataResponse ¶
type DescribeDataResponse struct { *tchttp.BaseResponse Response *DescribeDataResponseParams `json:"Response"` }
func NewDescribeDataResponse ¶
func NewDescribeDataResponse() (response *DescribeDataResponse)
func (*DescribeDataResponse) FromJsonString ¶
func (r *DescribeDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDataResponse) ToJsonString ¶
func (r *DescribeDataResponse) ToJsonString() string
type DescribeDataResponseParams ¶ added in v1.0.426
type DescribeDataResponseParams struct { // 匹配概况 // 注意:此字段可能返回 null,表示取不到有效值。 OverviewData *ReportOverviewData `json:"OverviewData,omitnil,omitempty" name:"OverviewData"` // 匹配请求次数趋势数据 // 注意:此字段可能返回 null,表示取不到有效值。 TrendData *ReportTrendData `json:"TrendData,omitnil,omitempty" name:"TrendData"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMatchCodesRequest ¶
type DescribeMatchCodesRequest struct { *tchttp.BaseRequest // 偏移量,页码 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 每页数量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 搜索的字符串 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
func NewDescribeMatchCodesRequest ¶
func NewDescribeMatchCodesRequest() (request *DescribeMatchCodesRequest)
func (*DescribeMatchCodesRequest) FromJsonString ¶
func (r *DescribeMatchCodesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchCodesRequest) ToJsonString ¶
func (r *DescribeMatchCodesRequest) ToJsonString() string
type DescribeMatchCodesRequestParams ¶ added in v1.0.426
type DescribeMatchCodesRequestParams struct { // 偏移量,页码 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 每页数量 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 搜索的字符串 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
Predefined struct for user
type DescribeMatchCodesResponse ¶
type DescribeMatchCodesResponse struct { *tchttp.BaseResponse Response *DescribeMatchCodesResponseParams `json:"Response"` }
func NewDescribeMatchCodesResponse ¶
func NewDescribeMatchCodesResponse() (response *DescribeMatchCodesResponse)
func (*DescribeMatchCodesResponse) FromJsonString ¶
func (r *DescribeMatchCodesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchCodesResponse) ToJsonString ¶
func (r *DescribeMatchCodesResponse) ToJsonString() string
type DescribeMatchCodesResponseParams ¶ added in v1.0.426
type DescribeMatchCodesResponseParams struct { // 匹配Code // 注意:此字段可能返回 null,表示取不到有效值。 MatchCodes []*MatchCodeAttr `json:"MatchCodes,omitnil,omitempty" name:"MatchCodes"` // 总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMatchRequest ¶
type DescribeMatchRequest struct { *tchttp.BaseRequest // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
func NewDescribeMatchRequest ¶
func NewDescribeMatchRequest() (request *DescribeMatchRequest)
func (*DescribeMatchRequest) FromJsonString ¶
func (r *DescribeMatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchRequest) ToJsonString ¶
func (r *DescribeMatchRequest) ToJsonString() string
type DescribeMatchRequestParams ¶ added in v1.0.426
type DescribeMatchRequestParams struct { // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
Predefined struct for user
type DescribeMatchResponse ¶
type DescribeMatchResponse struct { *tchttp.BaseResponse Response *DescribeMatchResponseParams `json:"Response"` }
func NewDescribeMatchResponse ¶
func NewDescribeMatchResponse() (response *DescribeMatchResponse)
func (*DescribeMatchResponse) FromJsonString ¶
func (r *DescribeMatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchResponse) ToJsonString ¶
func (r *DescribeMatchResponse) ToJsonString() string
type DescribeMatchResponseParams ¶ added in v1.0.426
type DescribeMatchResponseParams struct { // 匹配信息 // 注意:此字段可能返回 null,表示取不到有效值。 MatchInfo *MatchInfo `json:"MatchInfo,omitnil,omitempty" name:"MatchInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMatchesRequest ¶
type DescribeMatchesRequest struct { *tchttp.BaseRequest // 当前页号,不传则获取所有有权限的资源。 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 单页大小,不传则获取所有有权限的资源。 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询类型(可选):match表示通过matchCode或者matchName来搜索,rule表示通过ruleCode或者ruleName来搜索,其余类型不做过滤处理。 SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"` // 查询关键词,针对SearchType进行具体过滤的内容。 Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // 标签列表,用于过滤。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeMatchesRequest ¶
func NewDescribeMatchesRequest() (request *DescribeMatchesRequest)
func (*DescribeMatchesRequest) FromJsonString ¶
func (r *DescribeMatchesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchesRequest) ToJsonString ¶
func (r *DescribeMatchesRequest) ToJsonString() string
type DescribeMatchesRequestParams ¶ added in v1.0.426
type DescribeMatchesRequestParams struct { // 当前页号,不传则获取所有有权限的资源。 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 单页大小,不传则获取所有有权限的资源。 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询类型(可选):match表示通过matchCode或者matchName来搜索,rule表示通过ruleCode或者ruleName来搜索,其余类型不做过滤处理。 SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"` // 查询关键词,针对SearchType进行具体过滤的内容。 Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // 标签列表,用于过滤。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeMatchesResponse ¶
type DescribeMatchesResponse struct { *tchttp.BaseResponse Response *DescribeMatchesResponseParams `json:"Response"` }
func NewDescribeMatchesResponse ¶
func NewDescribeMatchesResponse() (response *DescribeMatchesResponse)
func (*DescribeMatchesResponse) FromJsonString ¶
func (r *DescribeMatchesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchesResponse) ToJsonString ¶
func (r *DescribeMatchesResponse) ToJsonString() string
type DescribeMatchesResponseParams ¶ added in v1.0.426
type DescribeMatchesResponseParams struct { // 匹配信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 MatchInfoList []*MatchInfo `json:"MatchInfoList,omitnil,omitempty" name:"MatchInfoList"` // 总记录数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 当前页号,不填默认返回第一页 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 单页大小,不填默认取 30,最大值不能超过 30 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询类型(可选):matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"` // 查询关键词(可选) Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMatchingProgressRequest ¶
type DescribeMatchingProgressRequest struct { *tchttp.BaseRequest // 匹配票据 ID列表, 列表长度 12。 MatchTicketIds []*MTicket `json:"MatchTicketIds,omitnil,omitempty" name:"MatchTicketIds"` }
func NewDescribeMatchingProgressRequest ¶
func NewDescribeMatchingProgressRequest() (request *DescribeMatchingProgressRequest)
func (*DescribeMatchingProgressRequest) FromJsonString ¶
func (r *DescribeMatchingProgressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchingProgressRequest) ToJsonString ¶
func (r *DescribeMatchingProgressRequest) ToJsonString() string
type DescribeMatchingProgressRequestParams ¶ added in v1.0.426
type DescribeMatchingProgressRequestParams struct { // 匹配票据 ID列表, 列表长度 12。 MatchTicketIds []*MTicket `json:"MatchTicketIds,omitnil,omitempty" name:"MatchTicketIds"` }
Predefined struct for user
type DescribeMatchingProgressResponse ¶
type DescribeMatchingProgressResponse struct { *tchttp.BaseResponse Response *DescribeMatchingProgressResponseParams `json:"Response"` }
func NewDescribeMatchingProgressResponse ¶
func NewDescribeMatchingProgressResponse() (response *DescribeMatchingProgressResponse)
func (*DescribeMatchingProgressResponse) FromJsonString ¶
func (r *DescribeMatchingProgressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMatchingProgressResponse) ToJsonString ¶
func (r *DescribeMatchingProgressResponse) ToJsonString() string
type DescribeMatchingProgressResponseParams ¶ added in v1.0.426
type DescribeMatchingProgressResponseParams struct { // 匹配票据列表 // 注意:此字段可能返回 null,表示取不到有效值。 MatchTickets []*MatchTicket `json:"MatchTickets,omitnil,omitempty" name:"MatchTickets"` // 错误码 // 注意:此字段可能返回 null,表示取不到有效值。 ErrCode *uint64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRuleRequest ¶
type DescribeRuleRequest struct { *tchttp.BaseRequest // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` }
func NewDescribeRuleRequest ¶
func NewDescribeRuleRequest() (request *DescribeRuleRequest)
func (*DescribeRuleRequest) FromJsonString ¶
func (r *DescribeRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleRequest) ToJsonString ¶
func (r *DescribeRuleRequest) ToJsonString() string
type DescribeRuleRequestParams ¶ added in v1.0.426
type DescribeRuleRequestParams struct { // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` }
Predefined struct for user
type DescribeRuleResponse ¶
type DescribeRuleResponse struct { *tchttp.BaseResponse Response *DescribeRuleResponseParams `json:"Response"` }
func NewDescribeRuleResponse ¶
func NewDescribeRuleResponse() (response *DescribeRuleResponse)
func (*DescribeRuleResponse) FromJsonString ¶
func (r *DescribeRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleResponse) ToJsonString ¶
func (r *DescribeRuleResponse) ToJsonString() string
type DescribeRuleResponseParams ¶ added in v1.0.426
type DescribeRuleResponseParams struct { // 规则信息 // 注意:此字段可能返回 null,表示取不到有效值。 RuleInfo *RuleInfo `json:"RuleInfo,omitnil,omitempty" name:"RuleInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRulesRequest ¶
type DescribeRulesRequest struct { *tchttp.BaseRequest // 当前页号,不传则返回第一页 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 单页大小,最大 30,不填默认30 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询类型(可选):match表示通过matchCode或者matchName来搜索,rule表示通过ruleCode或者ruleName来搜索,其余类型不做过滤处理。 SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"` // 查询关键词,针对SearchType进行具体过滤的内容。 Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // 标签列表,用于过滤。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRulesRequest ¶
func NewDescribeRulesRequest() (request *DescribeRulesRequest)
func (*DescribeRulesRequest) FromJsonString ¶
func (r *DescribeRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesRequest) ToJsonString ¶
func (r *DescribeRulesRequest) ToJsonString() string
type DescribeRulesRequestParams ¶ added in v1.0.426
type DescribeRulesRequestParams struct { // 当前页号,不传则返回第一页 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 单页大小,最大 30,不填默认30 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询类型(可选):match表示通过matchCode或者matchName来搜索,rule表示通过ruleCode或者ruleName来搜索,其余类型不做过滤处理。 SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"` // 查询关键词,针对SearchType进行具体过滤的内容。 Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // 标签列表,用于过滤。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRulesResponse ¶
type DescribeRulesResponse struct { *tchttp.BaseResponse Response *DescribeRulesResponseParams `json:"Response"` }
func NewDescribeRulesResponse ¶
func NewDescribeRulesResponse() (response *DescribeRulesResponse)
func (*DescribeRulesResponse) FromJsonString ¶
func (r *DescribeRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesResponse) ToJsonString ¶
func (r *DescribeRulesResponse) ToJsonString() string
type DescribeRulesResponseParams ¶ added in v1.0.426
type DescribeRulesResponseParams struct { // 规则信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 RuleInfoList []*RuleBriefInfo `json:"RuleInfoList,omitnil,omitempty" name:"RuleInfoList"` // 总记录数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 当前页号 PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` // 单页大小 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // 查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"` // 查询关键词(可选) Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTokenRequest ¶
type DescribeTokenRequest struct { *tchttp.BaseRequest // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
func NewDescribeTokenRequest ¶
func NewDescribeTokenRequest() (request *DescribeTokenRequest)
func (*DescribeTokenRequest) FromJsonString ¶
func (r *DescribeTokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTokenRequest) ToJsonString ¶
func (r *DescribeTokenRequest) ToJsonString() string
type DescribeTokenRequestParams ¶ added in v1.0.426
type DescribeTokenRequestParams struct { // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
Predefined struct for user
type DescribeTokenResponse ¶
type DescribeTokenResponse struct { *tchttp.BaseResponse Response *DescribeTokenResponseParams `json:"Response"` }
func NewDescribeTokenResponse ¶
func NewDescribeTokenResponse() (response *DescribeTokenResponse)
func (*DescribeTokenResponse) FromJsonString ¶
func (r *DescribeTokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTokenResponse) ToJsonString ¶
func (r *DescribeTokenResponse) ToJsonString() string
type DescribeTokenResponseParams ¶ added in v1.0.426
type DescribeTokenResponseParams struct { // 当前的MatchCode对应的Token。如果当前MatchCode没有Token,该参数可能取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 MatchToken *string `json:"MatchToken,omitnil,omitempty" name:"MatchToken"` // 当Token被替换后,GPM将兼容推送原始Token的时间(秒)。 // 注意:此字段可能返回 null,表示取不到有效值。 CompatibleSpan *uint64 `json:"CompatibleSpan,omitnil,omitempty" name:"CompatibleSpan"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MatchAttribute ¶
type MatchAttribute struct { // 属性名 长度 128 [a-zA-Z0-9-\.]* Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 属性类型: 0 数值; 1 string; 默认 0 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 数字属性值 默认 0.0 NumberValue *float64 `json:"NumberValue,omitnil,omitempty" name:"NumberValue"` // 字符串属性值 长度 128 默认 "" StringValue *string `json:"StringValue,omitnil,omitempty" name:"StringValue"` // list 属性值 ListValue []*string `json:"ListValue,omitnil,omitempty" name:"ListValue"` // 字典属性值 MapValue []*AttributeMap `json:"MapValue,omitnil,omitempty" name:"MapValue"` }
type MatchCodeAttr ¶
type MatchCodeAttr struct { // 匹配code // 注意:此字段可能返回 null,表示取不到有效值。 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` }
type MatchInfo ¶
type MatchInfo struct { // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 匹配名称 MatchName *string `json:"MatchName,omitnil,omitempty" name:"MatchName"` // 匹配描述 // 注意:此字段可能返回 null,表示取不到有效值。 MatchDesc *string `json:"MatchDesc,omitnil,omitempty" name:"MatchDesc"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 超时时间 Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 接收通知地址 NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // 是否为匹配结果请求服务器资源,0否,1请求GSE资源 ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"` // 服务器队列所在地域 // 注意:此字段可能返回 null,表示取不到有效值。 ServerRegion *string `json:"ServerRegion,omitnil,omitempty" name:"ServerRegion"` // 服务器队列 // 注意:此字段可能返回 null,表示取不到有效值。 ServerQueue *string `json:"ServerQueue,omitnil,omitempty" name:"ServerQueue"` // 自定义推送数据 // 注意:此字段可能返回 null,表示取不到有效值。 CustomPushData *string `json:"CustomPushData,omitnil,omitempty" name:"CustomPushData"` // 游戏服务器会话数据 // 注意:此字段可能返回 null,表示取不到有效值。 ServerSessionData *string `json:"ServerSessionData,omitnil,omitempty" name:"ServerSessionData"` // 游戏属性 // 注意:此字段可能返回 null,表示取不到有效值。 GameProperties []*StringKV `json:"GameProperties,omitnil,omitempty" name:"GameProperties"` // 日志开关,0表示关,1表示开 LogSwitch *int64 `json:"LogSwitch,omitnil,omitempty" name:"LogSwitch"` // 日志集id // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集名称 // 注意:此字段可能返回 null,表示取不到有效值。 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题id // 注意:此字段可能返回 null,表示取不到有效值。 LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"` // 日志主题名称 // 注意:此字段可能返回 null,表示取不到有效值。 LogTopicName *string `json:"LogTopicName,omitnil,omitempty" name:"LogTopicName"` // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` // 地区 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 用户AppId // 注意:此字段可能返回 null,表示取不到有效值。 AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // 用户主账号Uin // 注意:此字段可能返回 null,表示取不到有效值。 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 用户创建账号Uin // 注意:此字段可能返回 null,表示取不到有效值。 CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"` // 规则名称 // 注意:此字段可能返回 null,表示取不到有效值。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 日志状态,0表示正常,1表示日志集不存在,2表示日志主题不存在,3表示日志集和日志主题都不存在。 // 注意:此字段可能返回 null,表示取不到有效值。 LogStatus *int64 `json:"LogStatus,omitnil,omitempty" name:"LogStatus"` }
type MatchTicket ¶
type MatchTicket struct { // 匹配票据 ID长度 128 [a-zA-Z0-9-\.]* Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 匹配 Code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 根据 MatchType 取不同的结构序列化结果 // 注意:此字段可能返回 null,表示取不到有效值。 MatchResult *string `json:"MatchResult,omitnil,omitempty" name:"MatchResult"` // 表示不同的匹配类型,NORMAL | GSE // 注意:此字段可能返回 null,表示取不到有效值。 MatchType *string `json:"MatchType,omitnil,omitempty" name:"MatchType"` // 玩家信息列表 Players []*Player `json:"Players,omitnil,omitempty" name:"Players"` // 匹配状态: SEARCHING 匹配中; PLACING 匹配放置中; COMPLETED 匹配完成; CANCELLED 匹配取消; TIMEDOUT 匹配超时; FAILED 匹配失败 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 匹配状态信息 // 注意:此字段可能返回 null,表示取不到有效值。 StatusMessage *string `json:"StatusMessage,omitnil,omitempty" name:"StatusMessage"` // 匹配状态原因 // 注意:此字段可能返回 null,表示取不到有效值。 StatusReason *string `json:"StatusReason,omitnil,omitempty" name:"StatusReason"` // 收到发起匹配请求的时间 eg: "2020-08-17T08:14:38.077Z" StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 匹配请求因完成、失败、超时、被取消而停止执行的时间 eg: "2020-08-17T08:14:38.077Z" // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type ModifyMatchRequest ¶
type ModifyMatchRequest struct { *tchttp.BaseRequest // 匹配名称,[a-zA-Z0-9-\.]* 长度128 MatchName *string `json:"MatchName,omitnil,omitempty" name:"MatchName"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 超时时间,1-600秒 Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 是否为匹配结果请求服务器资源,0表示否,1表示请求GSE资源 ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"` // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 匹配描述,最长1024 MatchDesc *string `json:"MatchDesc,omitnil,omitempty" name:"MatchDesc"` // 只支持 http 和 https 协议 NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // 游戏服务器队列地域 ServerRegion *string `json:"ServerRegion,omitnil,omitempty" name:"ServerRegion"` // 游戏服务器队列 ServerQueue *string `json:"ServerQueue,omitnil,omitempty" name:"ServerQueue"` // 自定义推送数据 CustomPushData *string `json:"CustomPushData,omitnil,omitempty" name:"CustomPushData"` // 游戏服务器会话数据 ServerSessionData *string `json:"ServerSessionData,omitnil,omitempty" name:"ServerSessionData"` // 游戏属性,key-value结构的数组 GameProperties []*StringKV `json:"GameProperties,omitnil,omitempty" name:"GameProperties"` // 日志开关,0表示关,1表示开 LogSwitch *int64 `json:"LogSwitch,omitnil,omitempty" name:"LogSwitch"` // 标签,key-value结构的数组 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewModifyMatchRequest ¶
func NewModifyMatchRequest() (request *ModifyMatchRequest)
func (*ModifyMatchRequest) FromJsonString ¶
func (r *ModifyMatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMatchRequest) ToJsonString ¶
func (r *ModifyMatchRequest) ToJsonString() string
type ModifyMatchRequestParams ¶ added in v1.0.426
type ModifyMatchRequestParams struct { // 匹配名称,[a-zA-Z0-9-\.]* 长度128 MatchName *string `json:"MatchName,omitnil,omitempty" name:"MatchName"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 超时时间,1-600秒 Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 是否为匹配结果请求服务器资源,0表示否,1表示请求GSE资源 ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"` // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 匹配描述,最长1024 MatchDesc *string `json:"MatchDesc,omitnil,omitempty" name:"MatchDesc"` // 只支持 http 和 https 协议 NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // 游戏服务器队列地域 ServerRegion *string `json:"ServerRegion,omitnil,omitempty" name:"ServerRegion"` // 游戏服务器队列 ServerQueue *string `json:"ServerQueue,omitnil,omitempty" name:"ServerQueue"` // 自定义推送数据 CustomPushData *string `json:"CustomPushData,omitnil,omitempty" name:"CustomPushData"` // 游戏服务器会话数据 ServerSessionData *string `json:"ServerSessionData,omitnil,omitempty" name:"ServerSessionData"` // 游戏属性,key-value结构的数组 GameProperties []*StringKV `json:"GameProperties,omitnil,omitempty" name:"GameProperties"` // 日志开关,0表示关,1表示开 LogSwitch *int64 `json:"LogSwitch,omitnil,omitempty" name:"LogSwitch"` // 标签,key-value结构的数组 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type ModifyMatchResponse ¶
type ModifyMatchResponse struct { *tchttp.BaseResponse Response *ModifyMatchResponseParams `json:"Response"` }
func NewModifyMatchResponse ¶
func NewModifyMatchResponse() (response *ModifyMatchResponse)
func (*ModifyMatchResponse) FromJsonString ¶
func (r *ModifyMatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMatchResponse) ToJsonString ¶
func (r *ModifyMatchResponse) ToJsonString() string
type ModifyMatchResponseParams ¶ added in v1.0.426
type ModifyMatchResponseParams struct { // 匹配信息 MatchInfo *MatchInfo `json:"MatchInfo,omitnil,omitempty" name:"MatchInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRuleRequest ¶
type ModifyRuleRequest struct { *tchttp.BaseRequest // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 规则名称,只能包含数字、字母、. 和 - RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则描述,最长1024 RuleDesc *string `json:"RuleDesc,omitnil,omitempty" name:"RuleDesc"` // 标签,key-value结构的数组,最多关联50组标签 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewModifyRuleRequest ¶
func NewModifyRuleRequest() (request *ModifyRuleRequest)
func (*ModifyRuleRequest) FromJsonString ¶
func (r *ModifyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleRequest) ToJsonString ¶
func (r *ModifyRuleRequest) ToJsonString() string
type ModifyRuleRequestParams ¶ added in v1.0.426
type ModifyRuleRequestParams struct { // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 规则名称,只能包含数字、字母、. 和 - RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则描述,最长1024 RuleDesc *string `json:"RuleDesc,omitnil,omitempty" name:"RuleDesc"` // 标签,key-value结构的数组,最多关联50组标签 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type ModifyRuleResponse ¶
type ModifyRuleResponse struct { *tchttp.BaseResponse Response *ModifyRuleResponseParams `json:"Response"` }
func NewModifyRuleResponse ¶
func NewModifyRuleResponse() (response *ModifyRuleResponse)
func (*ModifyRuleResponse) FromJsonString ¶
func (r *ModifyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleResponse) ToJsonString ¶
func (r *ModifyRuleResponse) ToJsonString() string
type ModifyRuleResponseParams ¶ added in v1.0.426
type ModifyRuleResponseParams struct { // 规则信息 RuleInfo *RuleInfo `json:"RuleInfo,omitnil,omitempty" name:"RuleInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTokenRequest ¶
type ModifyTokenRequest struct { *tchttp.BaseRequest // 匹配Code。 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 单位秒,取值0-1800。此参数表示当前Token被替换后,GPM将持续推送原Token的时间。在CompatibleSpan时间范围内,用户将在事件消息中收到当前和原始Token。 CompatibleSpan *uint64 `json:"CompatibleSpan,omitnil,omitempty" name:"CompatibleSpan"` // Token,[a-zA-Z0-9-_.], 长度0-64。如果为空,将由GPM随机生成。 MatchToken *string `json:"MatchToken,omitnil,omitempty" name:"MatchToken"` }
func NewModifyTokenRequest ¶
func NewModifyTokenRequest() (request *ModifyTokenRequest)
func (*ModifyTokenRequest) FromJsonString ¶
func (r *ModifyTokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTokenRequest) ToJsonString ¶
func (r *ModifyTokenRequest) ToJsonString() string
type ModifyTokenRequestParams ¶ added in v1.0.426
type ModifyTokenRequestParams struct { // 匹配Code。 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 单位秒,取值0-1800。此参数表示当前Token被替换后,GPM将持续推送原Token的时间。在CompatibleSpan时间范围内,用户将在事件消息中收到当前和原始Token。 CompatibleSpan *uint64 `json:"CompatibleSpan,omitnil,omitempty" name:"CompatibleSpan"` // Token,[a-zA-Z0-9-_.], 长度0-64。如果为空,将由GPM随机生成。 MatchToken *string `json:"MatchToken,omitnil,omitempty" name:"MatchToken"` }
Predefined struct for user
type ModifyTokenResponse ¶
type ModifyTokenResponse struct { *tchttp.BaseResponse Response *ModifyTokenResponseParams `json:"Response"` }
func NewModifyTokenResponse ¶
func NewModifyTokenResponse() (response *ModifyTokenResponse)
func (*ModifyTokenResponse) FromJsonString ¶
func (r *ModifyTokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTokenResponse) ToJsonString ¶
func (r *ModifyTokenResponse) ToJsonString() string
type ModifyTokenResponseParams ¶ added in v1.0.426
type ModifyTokenResponseParams struct { // 成功设置的Token。 MatchToken *string `json:"MatchToken,omitnil,omitempty" name:"MatchToken"` // 当前Token被替换后,GPM将持续推送原Token的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CompatibleSpan *uint64 `json:"CompatibleSpan,omitnil,omitempty" name:"CompatibleSpan"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Player ¶
type Player struct { // 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]* Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 玩家昵称,长度 128 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 玩家匹配属性,最多 10 条 MatchAttributes []*MatchAttribute `json:"MatchAttributes,omitnil,omitempty" name:"MatchAttributes"` // 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]* Team *string `json:"Team,omitnil,omitempty" name:"Team"` // 自定义玩家状态 透传参数 [0, 99999] CustomPlayerStatus *uint64 `json:"CustomPlayerStatus,omitnil,omitempty" name:"CustomPlayerStatus"` // 自定义玩家信息 透传参数 长度 1024 CustomProfile *string `json:"CustomProfile,omitnil,omitempty" name:"CustomProfile"` // 各区域延迟,最多 20 条 RegionLatencies []*RegionLatency `json:"RegionLatencies,omitnil,omitempty" name:"RegionLatencies"` }
type RegionLatency ¶
type RegionLatency struct { // 地域 // ap-beijing 华北地区(北京) // ap-chengdu 西南地区(成都) // ap-guangzhou 华南地区(广州) // ap-hongkong 港澳台地区(中国香港) // ap-seoul 亚太地区(首尔) // ap-shanghai 华东地区(上海) // ap-singapore 东南亚地区(新加坡) // eu-frankfurt 欧洲地区(法兰克福) // na-siliconvalley 美国西部(硅谷) // na-toronto 北美地区(多伦多) // ap-mumbai 亚太地区(孟买) // na-ashburn 美国东部(弗吉尼亚) // ap-bangkok 亚太地区(曼谷) // eu-moscow 欧洲地区(莫斯科) // ap-tokyo 亚太地区(东京) Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 毫秒延迟 0~999999 Latency *uint64 `json:"Latency,omitnil,omitempty" name:"Latency"` }
type ReportOverviewData ¶
type ReportOverviewData struct { // 总次数 TotalTimes *string `json:"TotalTimes,omitnil,omitempty" name:"TotalTimes"` // 成功率 SuccessPercent *float64 `json:"SuccessPercent,omitnil,omitempty" name:"SuccessPercent"` // 超时率 TimeoutPercent *float64 `json:"TimeoutPercent,omitnil,omitempty" name:"TimeoutPercent"` // 失败率 FailPercent *float64 `json:"FailPercent,omitnil,omitempty" name:"FailPercent"` // 平均匹配时间 AverageSec *float64 `json:"AverageSec,omitnil,omitempty" name:"AverageSec"` }
type ReportTrendData ¶
type ReportTrendData struct { // 总次数 TotalList []*string `json:"TotalList,omitnil,omitempty" name:"TotalList"` // 被取消次数 CancelList []*string `json:"CancelList,omitnil,omitempty" name:"CancelList"` // 成功次数 SuccessList []*string `json:"SuccessList,omitnil,omitempty" name:"SuccessList"` // 失败次数 FailList []*string `json:"FailList,omitnil,omitempty" name:"FailList"` // 超时次数 TimeoutList []*string `json:"TimeoutList,omitnil,omitempty" name:"TimeoutList"` // 时间数组,单位:秒 TimeList []*string `json:"TimeList,omitnil,omitempty" name:"TimeList"` }
type RuleBriefInfo ¶
type RuleBriefInfo struct { // 规则名称 [a-zA-Z\d-\.]* RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 关联匹配 MatchCodeList []*StringKV `json:"MatchCodeList,omitnil,omitempty" name:"MatchCodeList"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` }
type RuleInfo ¶
type RuleInfo struct { // 规则名称 [a-zA-Z0-9-\.]* RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 规则描述 // 注意:此字段可能返回 null,表示取不到有效值。 RuleDesc *string `json:"RuleDesc,omitnil,omitempty" name:"RuleDesc"` // 规则脚本 RuleScript *string `json:"RuleScript,omitnil,omitempty" name:"RuleScript"` // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*StringKV `json:"Tags,omitnil,omitempty" name:"Tags"` // 关联匹配 // 注意:此字段可能返回 null,表示取不到有效值。 MatchCodeList []*StringKV `json:"MatchCodeList,omitnil,omitempty" name:"MatchCodeList"` // 规则code RuleCode *string `json:"RuleCode,omitnil,omitempty" name:"RuleCode"` // 地区 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 用户AppId // 注意:此字段可能返回 null,表示取不到有效值。 AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // 用户Uin // 注意:此字段可能返回 null,表示取不到有效值。 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 用户OwnerUin // 注意:此字段可能返回 null,表示取不到有效值。 CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"` }
type StartMatchingBackfillRequest ¶
type StartMatchingBackfillRequest struct { *tchttp.BaseRequest // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 玩家信息 Players []*Player `json:"Players,omitnil,omitempty" name:"Players"` // 游戏服务器回话 ID [1-256] 个ASCII 字符 GameServerSessionId *string `json:"GameServerSessionId,omitnil,omitempty" name:"GameServerSessionId"` // 匹配票据 Id 默认 "" 为空则由 GPM 自动生成 长度 [1, 128] MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` }
func NewStartMatchingBackfillRequest ¶
func NewStartMatchingBackfillRequest() (request *StartMatchingBackfillRequest)
func (*StartMatchingBackfillRequest) FromJsonString ¶
func (r *StartMatchingBackfillRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartMatchingBackfillRequest) ToJsonString ¶
func (r *StartMatchingBackfillRequest) ToJsonString() string
type StartMatchingBackfillRequestParams ¶ added in v1.0.426
type StartMatchingBackfillRequestParams struct { // 匹配code MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 玩家信息 Players []*Player `json:"Players,omitnil,omitempty" name:"Players"` // 游戏服务器回话 ID [1-256] 个ASCII 字符 GameServerSessionId *string `json:"GameServerSessionId,omitnil,omitempty" name:"GameServerSessionId"` // 匹配票据 Id 默认 "" 为空则由 GPM 自动生成 长度 [1, 128] MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` }
Predefined struct for user
type StartMatchingBackfillResponse ¶
type StartMatchingBackfillResponse struct { *tchttp.BaseResponse Response *StartMatchingBackfillResponseParams `json:"Response"` }
func NewStartMatchingBackfillResponse ¶
func NewStartMatchingBackfillResponse() (response *StartMatchingBackfillResponse)
func (*StartMatchingBackfillResponse) FromJsonString ¶
func (r *StartMatchingBackfillResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartMatchingBackfillResponse) ToJsonString ¶
func (r *StartMatchingBackfillResponse) ToJsonString() string
type StartMatchingBackfillResponseParams ¶ added in v1.0.426
type StartMatchingBackfillResponseParams struct { // 匹配票据 // 注意:此字段可能返回 null,表示取不到有效值。 MatchTicket *MatchTicket `json:"MatchTicket,omitnil,omitempty" name:"MatchTicket"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartMatchingRequest ¶
type StartMatchingRequest struct { *tchttp.BaseRequest // 匹配 Code。 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 玩家信息 最多 200 条。 Players []*Player `json:"Players,omitnil,omitempty" name:"Players"` // 匹配票据 ID 默认空字符串,为空则由 GPM 自动生成 长度 128,只能包含数字、字母、. 和 - MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` }
func NewStartMatchingRequest ¶
func NewStartMatchingRequest() (request *StartMatchingRequest)
func (*StartMatchingRequest) FromJsonString ¶
func (r *StartMatchingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartMatchingRequest) ToJsonString ¶
func (r *StartMatchingRequest) ToJsonString() string
type StartMatchingRequestParams ¶ added in v1.0.426
type StartMatchingRequestParams struct { // 匹配 Code。 MatchCode *string `json:"MatchCode,omitnil,omitempty" name:"MatchCode"` // 玩家信息 最多 200 条。 Players []*Player `json:"Players,omitnil,omitempty" name:"Players"` // 匹配票据 ID 默认空字符串,为空则由 GPM 自动生成 长度 128,只能包含数字、字母、. 和 - MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` }
Predefined struct for user
type StartMatchingResponse ¶
type StartMatchingResponse struct { *tchttp.BaseResponse Response *StartMatchingResponseParams `json:"Response"` }
func NewStartMatchingResponse ¶
func NewStartMatchingResponse() (response *StartMatchingResponse)
func (*StartMatchingResponse) FromJsonString ¶
func (r *StartMatchingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartMatchingResponse) ToJsonString ¶
func (r *StartMatchingResponse) ToJsonString() string
type StartMatchingResponseParams ¶ added in v1.0.426
type StartMatchingResponseParams struct { // 错误码。 ErrCode *uint64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 匹配票据 ID长度 128。 MatchTicketId *string `json:"MatchTicketId,omitnil,omitempty" name:"MatchTicketId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user