tencentcloud-sdk-python 3.0.1420__py2.py3-none-any.whl → 3.0.1421__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +244 -4
- tencentcloud/cfg/v20210820/models.py +40 -0
- tencentcloud/gs/v20191118/models.py +71 -0
- tencentcloud/igtm/v20231024/igtm_client.py +69 -0
- tencentcloud/igtm/v20231024/models.py +1202 -198
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/ocr/v20181119/models.py +4 -18
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/omics/v20221128/models.py +60 -0
- tencentcloud/ses/v20201002/models.py +171 -0
- tencentcloud/tcb/v20180608/models.py +64 -10
- tencentcloud/tdmq/v20200217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +664 -2
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/RECORD +26 -155
- tencentcloud/cis/__init__.py +0 -0
- tencentcloud/cis/v20180408/__init__.py +0 -0
- tencentcloud/cis/v20180408/cis_client.py +0 -187
- tencentcloud/cis/v20180408/errorcodes.py +0 -21
- tencentcloud/cis/v20180408/models.py +0 -1688
- tencentcloud/dataintegration/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
- tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
- tencentcloud/dataintegration/v20220613/models.py +0 -168
- tencentcloud/dtf/__init__.py +0 -0
- tencentcloud/dtf/v20200506/__init__.py +0 -0
- tencentcloud/dtf/v20200506/dtf_client.py +0 -49
- tencentcloud/dtf/v20200506/errorcodes.py +0 -21
- tencentcloud/dtf/v20200506/models.py +0 -538
- tencentcloud/gpm/__init__.py +0 -0
- tencentcloud/gpm/v20200820/__init__.py +0 -0
- tencentcloud/gpm/v20200820/errorcodes.py +0 -168
- tencentcloud/gpm/v20200820/gpm_client.py +0 -476
- tencentcloud/gpm/v20200820/models.py +0 -4255
- tencentcloud/gse/__init__.py +0 -0
- tencentcloud/gse/v20191112/__init__.py +0 -0
- tencentcloud/gse/v20191112/errorcodes.py +0 -90
- tencentcloud/gse/v20191112/gse_client.py +0 -1993
- tencentcloud/gse/v20191112/models.py +0 -15093
- tencentcloud/iecp/__init__.py +0 -0
- tencentcloud/iecp/v20210914/__init__.py +0 -0
- tencentcloud/iecp/v20210914/errorcodes.py +0 -75
- tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
- tencentcloud/iecp/v20210914/models.py +0 -17466
- tencentcloud/iir/__init__.py +0 -0
- tencentcloud/iir/v20200417/__init__.py +0 -0
- tencentcloud/iir/v20200417/errorcodes.py +0 -48
- tencentcloud/iir/v20200417/iir_client.py +0 -53
- tencentcloud/iir/v20200417/models.py +0 -451
- tencentcloud/iottid/__init__.py +0 -0
- tencentcloud/iottid/v20190411/__init__.py +0 -0
- tencentcloud/iottid/v20190411/errorcodes.py +0 -54
- tencentcloud/iottid/v20190411/iottid_client.py +0 -233
- tencentcloud/iottid/v20190411/models.py +0 -1053
- tencentcloud/mgobe/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
- tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
- tencentcloud/mgobe/v20190929/models.py +0 -97
- tencentcloud/mgobe/v20201014/__init__.py +0 -0
- tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
- tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
- tencentcloud/mgobe/v20201014/models.py +0 -1361
- tencentcloud/mvj/__init__.py +0 -0
- tencentcloud/mvj/v20190926/__init__.py +0 -0
- tencentcloud/mvj/v20190926/errorcodes.py +0 -30
- tencentcloud/mvj/v20190926/models.py +0 -263
- tencentcloud/mvj/v20190926/mvj_client.py +0 -51
- tencentcloud/pds/__init__.py +0 -0
- tencentcloud/pds/v20210701/__init__.py +0 -0
- tencentcloud/pds/v20210701/errorcodes.py +0 -48
- tencentcloud/pds/v20210701/models.py +0 -346
- tencentcloud/pds/v20210701/pds_client.py +0 -72
- tencentcloud/smpn/__init__.py +0 -0
- tencentcloud/smpn/v20190822/__init__.py +0 -0
- tencentcloud/smpn/v20190822/errorcodes.py +0 -27
- tencentcloud/smpn/v20190822/models.py +0 -389
- tencentcloud/smpn/v20190822/smpn_client.py +0 -76
- tencentcloud/solar/__init__.py +0 -0
- tencentcloud/solar/v20181011/__init__.py +0 -0
- tencentcloud/solar/v20181011/errorcodes.py +0 -42
- tencentcloud/solar/v20181011/models.py +0 -3848
- tencentcloud/solar/v20181011/solar_client.py +0 -417
- tencentcloud/tan/__init__.py +0 -0
- tencentcloud/tan/v20220420/__init__.py +0 -0
- tencentcloud/tan/v20220420/errorcodes.py +0 -81
- tencentcloud/tan/v20220420/models.py +0 -112
- tencentcloud/tan/v20220420/tan_client.py +0 -51
- tencentcloud/tav/__init__.py +0 -0
- tencentcloud/tav/v20190118/__init__.py +0 -0
- tencentcloud/tav/v20190118/errorcodes.py +0 -15
- tencentcloud/tav/v20190118/models.py +0 -550
- tencentcloud/tav/v20190118/tav_client.py +0 -118
- tencentcloud/tbm/__init__.py +0 -0
- tencentcloud/tbm/v20180129/__init__.py +0 -0
- tencentcloud/tbm/v20180129/errorcodes.py +0 -39
- tencentcloud/tbm/v20180129/models.py +0 -2354
- tencentcloud/tbm/v20180129/tbm_client.py +0 -233
- tencentcloud/tcex/__init__.py +0 -0
- tencentcloud/tcex/v20200727/__init__.py +0 -0
- tencentcloud/tcex/v20200727/errorcodes.py +0 -51
- tencentcloud/tcex/v20200727/models.py +0 -374
- tencentcloud/tcex/v20200727/tcex_client.py +0 -76
- tencentcloud/tci/__init__.py +0 -0
- tencentcloud/tci/v20190318/__init__.py +0 -0
- tencentcloud/tci/v20190318/errorcodes.py +0 -237
- tencentcloud/tci/v20190318/models.py +0 -11569
- tencentcloud/tci/v20190318/tci_client.py +0 -1017
- tencentcloud/tic/__init__.py +0 -0
- tencentcloud/tic/v20201117/__init__.py +0 -0
- tencentcloud/tic/v20201117/errorcodes.py +0 -48
- tencentcloud/tic/v20201117/models.py +0 -1952
- tencentcloud/tic/v20201117/tic_client.py +0 -342
- tencentcloud/ticm/__init__.py +0 -0
- tencentcloud/ticm/v20181127/__init__.py +0 -0
- tencentcloud/ticm/v20181127/errorcodes.py +0 -36
- tencentcloud/ticm/v20181127/models.py +0 -3385
- tencentcloud/ticm/v20181127/ticm_client.py +0 -95
- tencentcloud/tics/__init__.py +0 -0
- tencentcloud/tics/v20181115/__init__.py +0 -0
- tencentcloud/tics/v20181115/errorcodes.py +0 -30
- tencentcloud/tics/v20181115/models.py +0 -1324
- tencentcloud/tics/v20181115/tics_client.py +0 -118
- tencentcloud/tiems/__init__.py +0 -0
- tencentcloud/tiems/v20190416/__init__.py +0 -0
- tencentcloud/tiems/v20190416/errorcodes.py +0 -36
- tencentcloud/tiems/v20190416/models.py +0 -6644
- tencentcloud/tiems/v20190416/tiems_client.py +0 -651
- tencentcloud/trdp/__init__.py +0 -0
- tencentcloud/trdp/v20220726/__init__.py +0 -0
- tencentcloud/trdp/v20220726/errorcodes.py +0 -30
- tencentcloud/trdp/v20220726/models.py +0 -1609
- tencentcloud/trdp/v20220726/trdp_client.py +0 -49
- tencentcloud/ump/__init__.py +0 -0
- tencentcloud/ump/v20200918/__init__.py +0 -0
- tencentcloud/ump/v20200918/errorcodes.py +0 -57
- tencentcloud/ump/v20200918/models.py +0 -4089
- tencentcloud/ump/v20200918/ump_client.py +0 -454
- tencentcloud/youmall/__init__.py +0 -0
- tencentcloud/youmall/v20180228/__init__.py +0 -0
- tencentcloud/youmall/v20180228/errorcodes.py +0 -93
- tencentcloud/youmall/v20180228/models.py +0 -8181
- tencentcloud/youmall/v20180228/youmall_client.py +0 -740
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/top_level.txt +0 -0
@@ -1,201 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
|
16
|
-
import json
|
17
|
-
|
18
|
-
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
-
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
-
from tencentcloud.mgobe.v20201014 import models
|
21
|
-
|
22
|
-
|
23
|
-
class MgobeClient(AbstractClient):
|
24
|
-
_apiVersion = '2020-10-14'
|
25
|
-
_endpoint = 'mgobe.tencentcloudapi.com'
|
26
|
-
_service = 'mgobe'
|
27
|
-
|
28
|
-
|
29
|
-
def ChangeRoomPlayerProfile(self, request):
|
30
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
31
|
-
|
32
|
-
修改房间玩家自定义属性
|
33
|
-
|
34
|
-
:param request: Request instance for ChangeRoomPlayerProfile.
|
35
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.ChangeRoomPlayerProfileRequest`
|
36
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.ChangeRoomPlayerProfileResponse`
|
37
|
-
|
38
|
-
"""
|
39
|
-
try:
|
40
|
-
params = request._serialize()
|
41
|
-
headers = request.headers
|
42
|
-
body = self.call("ChangeRoomPlayerProfile", params, headers=headers)
|
43
|
-
response = json.loads(body)
|
44
|
-
model = models.ChangeRoomPlayerProfileResponse()
|
45
|
-
model._deserialize(response["Response"])
|
46
|
-
return model
|
47
|
-
except Exception as e:
|
48
|
-
if isinstance(e, TencentCloudSDKException):
|
49
|
-
raise
|
50
|
-
else:
|
51
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
52
|
-
|
53
|
-
|
54
|
-
def ChangeRoomPlayerStatus(self, request):
|
55
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
56
|
-
|
57
|
-
修改玩家自定义状态
|
58
|
-
|
59
|
-
:param request: Request instance for ChangeRoomPlayerStatus.
|
60
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.ChangeRoomPlayerStatusRequest`
|
61
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.ChangeRoomPlayerStatusResponse`
|
62
|
-
|
63
|
-
"""
|
64
|
-
try:
|
65
|
-
params = request._serialize()
|
66
|
-
headers = request.headers
|
67
|
-
body = self.call("ChangeRoomPlayerStatus", params, headers=headers)
|
68
|
-
response = json.loads(body)
|
69
|
-
model = models.ChangeRoomPlayerStatusResponse()
|
70
|
-
model._deserialize(response["Response"])
|
71
|
-
return model
|
72
|
-
except Exception as e:
|
73
|
-
if isinstance(e, TencentCloudSDKException):
|
74
|
-
raise
|
75
|
-
else:
|
76
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
77
|
-
|
78
|
-
|
79
|
-
def DescribePlayer(self, request):
|
80
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
81
|
-
|
82
|
-
该接口用于查询玩家信息。支持两种用法,当OpenId不传的时候,PlayerId必传,传入PlayerId可以查询当前PlayerId的玩家信息,当OpenId传入的时候,PlayerId可不传,按照OpenId查询玩家信息。
|
83
|
-
|
84
|
-
:param request: Request instance for DescribePlayer.
|
85
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.DescribePlayerRequest`
|
86
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.DescribePlayerResponse`
|
87
|
-
|
88
|
-
"""
|
89
|
-
try:
|
90
|
-
params = request._serialize()
|
91
|
-
headers = request.headers
|
92
|
-
body = self.call("DescribePlayer", params, headers=headers)
|
93
|
-
response = json.loads(body)
|
94
|
-
model = models.DescribePlayerResponse()
|
95
|
-
model._deserialize(response["Response"])
|
96
|
-
return model
|
97
|
-
except Exception as e:
|
98
|
-
if isinstance(e, TencentCloudSDKException):
|
99
|
-
raise
|
100
|
-
else:
|
101
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
102
|
-
|
103
|
-
|
104
|
-
def DescribeRoom(self, request):
|
105
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
106
|
-
|
107
|
-
该接口用于查询房间信息。支持两种用法,当房间Id不传的时候,玩家Id必传,传入玩家Id可以查询当前玩家所在的房间信息,当房间Id传入的时候,玩家Id可不传,按照房间Id查询房间信息。
|
108
|
-
|
109
|
-
:param request: Request instance for DescribeRoom.
|
110
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.DescribeRoomRequest`
|
111
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.DescribeRoomResponse`
|
112
|
-
|
113
|
-
"""
|
114
|
-
try:
|
115
|
-
params = request._serialize()
|
116
|
-
headers = request.headers
|
117
|
-
body = self.call("DescribeRoom", params, headers=headers)
|
118
|
-
response = json.loads(body)
|
119
|
-
model = models.DescribeRoomResponse()
|
120
|
-
model._deserialize(response["Response"])
|
121
|
-
return model
|
122
|
-
except Exception as e:
|
123
|
-
if isinstance(e, TencentCloudSDKException):
|
124
|
-
raise
|
125
|
-
else:
|
126
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
127
|
-
|
128
|
-
|
129
|
-
def DismissRoom(self, request):
|
130
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
131
|
-
|
132
|
-
通过game_id、room_id解散房间
|
133
|
-
|
134
|
-
:param request: Request instance for DismissRoom.
|
135
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.DismissRoomRequest`
|
136
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.DismissRoomResponse`
|
137
|
-
|
138
|
-
"""
|
139
|
-
try:
|
140
|
-
params = request._serialize()
|
141
|
-
headers = request.headers
|
142
|
-
body = self.call("DismissRoom", params, headers=headers)
|
143
|
-
response = json.loads(body)
|
144
|
-
model = models.DismissRoomResponse()
|
145
|
-
model._deserialize(response["Response"])
|
146
|
-
return model
|
147
|
-
except Exception as e:
|
148
|
-
if isinstance(e, TencentCloudSDKException):
|
149
|
-
raise
|
150
|
-
else:
|
151
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
152
|
-
|
153
|
-
|
154
|
-
def ModifyRoom(self, request):
|
155
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
156
|
-
|
157
|
-
修改房间
|
158
|
-
|
159
|
-
:param request: Request instance for ModifyRoom.
|
160
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.ModifyRoomRequest`
|
161
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.ModifyRoomResponse`
|
162
|
-
|
163
|
-
"""
|
164
|
-
try:
|
165
|
-
params = request._serialize()
|
166
|
-
headers = request.headers
|
167
|
-
body = self.call("ModifyRoom", params, headers=headers)
|
168
|
-
response = json.loads(body)
|
169
|
-
model = models.ModifyRoomResponse()
|
170
|
-
model._deserialize(response["Response"])
|
171
|
-
return model
|
172
|
-
except Exception as e:
|
173
|
-
if isinstance(e, TencentCloudSDKException):
|
174
|
-
raise
|
175
|
-
else:
|
176
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
177
|
-
|
178
|
-
|
179
|
-
def RemoveRoomPlayer(self, request):
|
180
|
-
"""此接口无法使用,游戏联机对战引擎MGOBE已于6.1正式下架,感谢您的支持
|
181
|
-
|
182
|
-
踢出房间玩家
|
183
|
-
|
184
|
-
:param request: Request instance for RemoveRoomPlayer.
|
185
|
-
:type request: :class:`tencentcloud.mgobe.v20201014.models.RemoveRoomPlayerRequest`
|
186
|
-
:rtype: :class:`tencentcloud.mgobe.v20201014.models.RemoveRoomPlayerResponse`
|
187
|
-
|
188
|
-
"""
|
189
|
-
try:
|
190
|
-
params = request._serialize()
|
191
|
-
headers = request.headers
|
192
|
-
body = self.call("RemoveRoomPlayer", params, headers=headers)
|
193
|
-
response = json.loads(body)
|
194
|
-
model = models.RemoveRoomPlayerResponse()
|
195
|
-
model._deserialize(response["Response"])
|
196
|
-
return model
|
197
|
-
except Exception as e:
|
198
|
-
if isinstance(e, TencentCloudSDKException):
|
199
|
-
raise
|
200
|
-
else:
|
201
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|