tencentcloud-sdk-python-gs 3.0.1372__py2.py3-none-any.whl → 3.0.1374__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-gs might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/gs/v20191118/gs_client.py +26 -0
- tencentcloud/gs/v20191118/models.py +84 -0
- {tencentcloud_sdk_python_gs-3.0.1372.dist-info → tencentcloud_sdk_python_gs-3.0.1374.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_gs-3.0.1374.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_gs-3.0.1372.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_gs-3.0.1372.dist-info → tencentcloud_sdk_python_gs-3.0.1374.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_gs-3.0.1372.dist-info → tencentcloud_sdk_python_gs-3.0.1374.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -858,6 +858,32 @@ class GsClient(AbstractClient):
|
|
|
858
858
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
859
859
|
|
|
860
860
|
|
|
861
|
+
def RebootAndroidInstanceHosts(self, request):
|
|
862
|
+
"""重启安卓实例宿主机。请注意:
|
|
863
|
+
|
|
864
|
+
- 当前每 15 分钟只能重启一次
|
|
865
|
+
- 一个宿主机可能有多个云手机实例,重启宿主机会影响运行在上面的所有实例,请确保该宿主机上的所有云手机实例未投入业务使用
|
|
866
|
+
|
|
867
|
+
:param request: Request instance for RebootAndroidInstanceHosts.
|
|
868
|
+
:type request: :class:`tencentcloud.gs.v20191118.models.RebootAndroidInstanceHostsRequest`
|
|
869
|
+
:rtype: :class:`tencentcloud.gs.v20191118.models.RebootAndroidInstanceHostsResponse`
|
|
870
|
+
|
|
871
|
+
"""
|
|
872
|
+
try:
|
|
873
|
+
params = request._serialize()
|
|
874
|
+
headers = request.headers
|
|
875
|
+
body = self.call("RebootAndroidInstanceHosts", params, headers=headers)
|
|
876
|
+
response = json.loads(body)
|
|
877
|
+
model = models.RebootAndroidInstanceHostsResponse()
|
|
878
|
+
model._deserialize(response["Response"])
|
|
879
|
+
return model
|
|
880
|
+
except Exception as e:
|
|
881
|
+
if isinstance(e, TencentCloudSDKException):
|
|
882
|
+
raise
|
|
883
|
+
else:
|
|
884
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
885
|
+
|
|
886
|
+
|
|
861
887
|
def RebootAndroidInstances(self, request):
|
|
862
888
|
"""重启安卓实例
|
|
863
889
|
|
|
@@ -5633,6 +5633,90 @@ class ModifyAndroidInstancesUserIdResponse(AbstractModel):
|
|
|
5633
5633
|
self._RequestId = params.get("RequestId")
|
|
5634
5634
|
|
|
5635
5635
|
|
|
5636
|
+
class RebootAndroidInstanceHostsRequest(AbstractModel):
|
|
5637
|
+
"""RebootAndroidInstanceHosts请求参数结构体
|
|
5638
|
+
|
|
5639
|
+
"""
|
|
5640
|
+
|
|
5641
|
+
def __init__(self):
|
|
5642
|
+
r"""
|
|
5643
|
+
:param _HostSerialNumbers: 宿主机序列号集合
|
|
5644
|
+
:type HostSerialNumbers: list of str
|
|
5645
|
+
"""
|
|
5646
|
+
self._HostSerialNumbers = None
|
|
5647
|
+
|
|
5648
|
+
@property
|
|
5649
|
+
def HostSerialNumbers(self):
|
|
5650
|
+
"""宿主机序列号集合
|
|
5651
|
+
:rtype: list of str
|
|
5652
|
+
"""
|
|
5653
|
+
return self._HostSerialNumbers
|
|
5654
|
+
|
|
5655
|
+
@HostSerialNumbers.setter
|
|
5656
|
+
def HostSerialNumbers(self, HostSerialNumbers):
|
|
5657
|
+
self._HostSerialNumbers = HostSerialNumbers
|
|
5658
|
+
|
|
5659
|
+
|
|
5660
|
+
def _deserialize(self, params):
|
|
5661
|
+
self._HostSerialNumbers = params.get("HostSerialNumbers")
|
|
5662
|
+
memeber_set = set(params.keys())
|
|
5663
|
+
for name, value in vars(self).items():
|
|
5664
|
+
property_name = name[1:]
|
|
5665
|
+
if property_name in memeber_set:
|
|
5666
|
+
memeber_set.remove(property_name)
|
|
5667
|
+
if len(memeber_set) > 0:
|
|
5668
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5669
|
+
|
|
5670
|
+
|
|
5671
|
+
|
|
5672
|
+
class RebootAndroidInstanceHostsResponse(AbstractModel):
|
|
5673
|
+
"""RebootAndroidInstanceHosts返回参数结构体
|
|
5674
|
+
|
|
5675
|
+
"""
|
|
5676
|
+
|
|
5677
|
+
def __init__(self):
|
|
5678
|
+
r"""
|
|
5679
|
+
:param _TaskSet: 任务 ID 集合,以供任务状态查询,其中 InstanceId 为宿主机序列号
|
|
5680
|
+
:type TaskSet: list of AndroidInstanceTask
|
|
5681
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5682
|
+
:type RequestId: str
|
|
5683
|
+
"""
|
|
5684
|
+
self._TaskSet = None
|
|
5685
|
+
self._RequestId = None
|
|
5686
|
+
|
|
5687
|
+
@property
|
|
5688
|
+
def TaskSet(self):
|
|
5689
|
+
"""任务 ID 集合,以供任务状态查询,其中 InstanceId 为宿主机序列号
|
|
5690
|
+
:rtype: list of AndroidInstanceTask
|
|
5691
|
+
"""
|
|
5692
|
+
return self._TaskSet
|
|
5693
|
+
|
|
5694
|
+
@TaskSet.setter
|
|
5695
|
+
def TaskSet(self, TaskSet):
|
|
5696
|
+
self._TaskSet = TaskSet
|
|
5697
|
+
|
|
5698
|
+
@property
|
|
5699
|
+
def RequestId(self):
|
|
5700
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5701
|
+
:rtype: str
|
|
5702
|
+
"""
|
|
5703
|
+
return self._RequestId
|
|
5704
|
+
|
|
5705
|
+
@RequestId.setter
|
|
5706
|
+
def RequestId(self, RequestId):
|
|
5707
|
+
self._RequestId = RequestId
|
|
5708
|
+
|
|
5709
|
+
|
|
5710
|
+
def _deserialize(self, params):
|
|
5711
|
+
if params.get("TaskSet") is not None:
|
|
5712
|
+
self._TaskSet = []
|
|
5713
|
+
for item in params.get("TaskSet"):
|
|
5714
|
+
obj = AndroidInstanceTask()
|
|
5715
|
+
obj._deserialize(item)
|
|
5716
|
+
self._TaskSet.append(obj)
|
|
5717
|
+
self._RequestId = params.get("RequestId")
|
|
5718
|
+
|
|
5719
|
+
|
|
5636
5720
|
class RebootAndroidInstancesRequest(AbstractModel):
|
|
5637
5721
|
"""RebootAndroidInstances请求参数结构体
|
|
5638
5722
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-gs
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1374
|
|
4
4
|
Summary: Tencent Cloud Gs SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1374)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=CvoCNO4FZjddn7Ydjpg3-LGcZZSfmlKWu7fctstoSqU,631
|
|
2
|
+
tencentcloud/gs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/gs/v20191118/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/gs/v20191118/errorcodes.py,sha256=oIAmPdpRJO6FvvrKyCQBHDlMEJl-9DgtfUrhgQVtXIs,3103
|
|
5
|
+
tencentcloud/gs/v20191118/gs_client.py,sha256=uvqrDRPHk2guxzTyBqi_UNp-ZBf5c6mC4tLEDBWX-sk,53411
|
|
6
|
+
tencentcloud/gs/v20191118/models.py,sha256=XfVoP00EWXcv5Q30hcxmORjdV25AzAurG_g5JbL_m8E,235544
|
|
7
|
+
tencentcloud_sdk_python_gs-3.0.1374.dist-info/METADATA,sha256=_U8zFtBJjRIvS9jue4fRRAFgYiVSH-ajPj7op3mEsdk,1491
|
|
8
|
+
tencentcloud_sdk_python_gs-3.0.1374.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_gs-3.0.1374.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_gs-3.0.1374.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=hFV6pIva-F4GreH-VdHKwuO4vcd-60vThtFOdTnNv2E,631
|
|
2
|
-
tencentcloud/gs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/gs/v20191118/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/gs/v20191118/errorcodes.py,sha256=oIAmPdpRJO6FvvrKyCQBHDlMEJl-9DgtfUrhgQVtXIs,3103
|
|
5
|
-
tencentcloud/gs/v20191118/gs_client.py,sha256=UxPAeLm-g336YxdqDVr5fbY1rhUYrv47J1grvj2OG4o,52232
|
|
6
|
-
tencentcloud/gs/v20191118/models.py,sha256=m7G5A10y6y32fAUPuz9n1vrc6hKQ6xkpffkyBFzZBtk,232760
|
|
7
|
-
tencentcloud_sdk_python_gs-3.0.1372.dist-info/METADATA,sha256=FxE3x6RRLsrt4_d22X6p3HhMni9oDvS9N81hY6vTw7g,1491
|
|
8
|
-
tencentcloud_sdk_python_gs-3.0.1372.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_gs-3.0.1372.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_gs-3.0.1372.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|