tencentcloud-sdk-python-gs 3.0.1431__py2.py3-none-any.whl → 3.0.1458__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 +23 -0
- tencentcloud/gs/v20191118/models.py +109 -0
- {tencentcloud_sdk_python_gs-3.0.1431.dist-info → tencentcloud_sdk_python_gs-3.0.1458.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_gs-3.0.1458.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_gs-3.0.1431.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_gs-3.0.1431.dist-info → tencentcloud_sdk_python_gs-3.0.1458.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_gs-3.0.1431.dist-info → tencentcloud_sdk_python_gs-3.0.1458.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -766,6 +766,29 @@ class GsClient(AbstractClient):
|
|
|
766
766
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
767
767
|
|
|
768
768
|
|
|
769
|
+
def DisconnectAndroidInstance(self, request):
|
|
770
|
+
"""断开安卓实例
|
|
771
|
+
|
|
772
|
+
:param request: Request instance for DisconnectAndroidInstance.
|
|
773
|
+
:type request: :class:`tencentcloud.gs.v20191118.models.DisconnectAndroidInstanceRequest`
|
|
774
|
+
:rtype: :class:`tencentcloud.gs.v20191118.models.DisconnectAndroidInstanceResponse`
|
|
775
|
+
|
|
776
|
+
"""
|
|
777
|
+
try:
|
|
778
|
+
params = request._serialize()
|
|
779
|
+
headers = request.headers
|
|
780
|
+
body = self.call("DisconnectAndroidInstance", params, headers=headers)
|
|
781
|
+
response = json.loads(body)
|
|
782
|
+
model = models.DisconnectAndroidInstanceResponse()
|
|
783
|
+
model._deserialize(response["Response"])
|
|
784
|
+
return model
|
|
785
|
+
except Exception as e:
|
|
786
|
+
if isinstance(e, TencentCloudSDKException):
|
|
787
|
+
raise
|
|
788
|
+
else:
|
|
789
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
790
|
+
|
|
791
|
+
|
|
769
792
|
def DistributeFileToAndroidInstances(self, request):
|
|
770
793
|
"""将一个文件批量分发到多个实例,一次接口调用触发一次文件分发,一次文件分发只会从公网下载一次,然后文件会走内网分发到实例列表中的实例。
|
|
771
794
|
|
|
@@ -1521,10 +1521,13 @@ class AndroidInstanceUploadFile(AbstractModel):
|
|
|
1521
1521
|
:type FileURL: str
|
|
1522
1522
|
:param _DestinationDirectory: 上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
|
|
1523
1523
|
:type DestinationDirectory: str
|
|
1524
|
+
:param _DestinationFileName: 目标文件名
|
|
1525
|
+
:type DestinationFileName: str
|
|
1524
1526
|
"""
|
|
1525
1527
|
self._AndroidInstanceId = None
|
|
1526
1528
|
self._FileURL = None
|
|
1527
1529
|
self._DestinationDirectory = None
|
|
1530
|
+
self._DestinationFileName = None
|
|
1528
1531
|
|
|
1529
1532
|
@property
|
|
1530
1533
|
def AndroidInstanceId(self):
|
|
@@ -1559,11 +1562,23 @@ class AndroidInstanceUploadFile(AbstractModel):
|
|
|
1559
1562
|
def DestinationDirectory(self, DestinationDirectory):
|
|
1560
1563
|
self._DestinationDirectory = DestinationDirectory
|
|
1561
1564
|
|
|
1565
|
+
@property
|
|
1566
|
+
def DestinationFileName(self):
|
|
1567
|
+
"""目标文件名
|
|
1568
|
+
:rtype: str
|
|
1569
|
+
"""
|
|
1570
|
+
return self._DestinationFileName
|
|
1571
|
+
|
|
1572
|
+
@DestinationFileName.setter
|
|
1573
|
+
def DestinationFileName(self, DestinationFileName):
|
|
1574
|
+
self._DestinationFileName = DestinationFileName
|
|
1575
|
+
|
|
1562
1576
|
|
|
1563
1577
|
def _deserialize(self, params):
|
|
1564
1578
|
self._AndroidInstanceId = params.get("AndroidInstanceId")
|
|
1565
1579
|
self._FileURL = params.get("FileURL")
|
|
1566
1580
|
self._DestinationDirectory = params.get("DestinationDirectory")
|
|
1581
|
+
self._DestinationFileName = params.get("DestinationFileName")
|
|
1567
1582
|
memeber_set = set(params.keys())
|
|
1568
1583
|
for name, value in vars(self).items():
|
|
1569
1584
|
property_name = name[1:]
|
|
@@ -5890,6 +5905,70 @@ class DisableAndroidInstancesAppResponse(AbstractModel):
|
|
|
5890
5905
|
self._RequestId = params.get("RequestId")
|
|
5891
5906
|
|
|
5892
5907
|
|
|
5908
|
+
class DisconnectAndroidInstanceRequest(AbstractModel):
|
|
5909
|
+
"""DisconnectAndroidInstance请求参数结构体
|
|
5910
|
+
|
|
5911
|
+
"""
|
|
5912
|
+
|
|
5913
|
+
def __init__(self):
|
|
5914
|
+
r"""
|
|
5915
|
+
:param _AndroidInstanceId: 实例ID
|
|
5916
|
+
:type AndroidInstanceId: str
|
|
5917
|
+
"""
|
|
5918
|
+
self._AndroidInstanceId = None
|
|
5919
|
+
|
|
5920
|
+
@property
|
|
5921
|
+
def AndroidInstanceId(self):
|
|
5922
|
+
"""实例ID
|
|
5923
|
+
:rtype: str
|
|
5924
|
+
"""
|
|
5925
|
+
return self._AndroidInstanceId
|
|
5926
|
+
|
|
5927
|
+
@AndroidInstanceId.setter
|
|
5928
|
+
def AndroidInstanceId(self, AndroidInstanceId):
|
|
5929
|
+
self._AndroidInstanceId = AndroidInstanceId
|
|
5930
|
+
|
|
5931
|
+
|
|
5932
|
+
def _deserialize(self, params):
|
|
5933
|
+
self._AndroidInstanceId = params.get("AndroidInstanceId")
|
|
5934
|
+
memeber_set = set(params.keys())
|
|
5935
|
+
for name, value in vars(self).items():
|
|
5936
|
+
property_name = name[1:]
|
|
5937
|
+
if property_name in memeber_set:
|
|
5938
|
+
memeber_set.remove(property_name)
|
|
5939
|
+
if len(memeber_set) > 0:
|
|
5940
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5941
|
+
|
|
5942
|
+
|
|
5943
|
+
|
|
5944
|
+
class DisconnectAndroidInstanceResponse(AbstractModel):
|
|
5945
|
+
"""DisconnectAndroidInstance返回参数结构体
|
|
5946
|
+
|
|
5947
|
+
"""
|
|
5948
|
+
|
|
5949
|
+
def __init__(self):
|
|
5950
|
+
r"""
|
|
5951
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5952
|
+
:type RequestId: str
|
|
5953
|
+
"""
|
|
5954
|
+
self._RequestId = None
|
|
5955
|
+
|
|
5956
|
+
@property
|
|
5957
|
+
def RequestId(self):
|
|
5958
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5959
|
+
:rtype: str
|
|
5960
|
+
"""
|
|
5961
|
+
return self._RequestId
|
|
5962
|
+
|
|
5963
|
+
@RequestId.setter
|
|
5964
|
+
def RequestId(self, RequestId):
|
|
5965
|
+
self._RequestId = RequestId
|
|
5966
|
+
|
|
5967
|
+
|
|
5968
|
+
def _deserialize(self, params):
|
|
5969
|
+
self._RequestId = params.get("RequestId")
|
|
5970
|
+
|
|
5971
|
+
|
|
5893
5972
|
class DistributeFileToAndroidInstancesRequest(AbstractModel):
|
|
5894
5973
|
"""DistributeFileToAndroidInstances请求参数结构体
|
|
5895
5974
|
|
|
@@ -5903,10 +5982,13 @@ class DistributeFileToAndroidInstancesRequest(AbstractModel):
|
|
|
5903
5982
|
:type FileURL: str
|
|
5904
5983
|
:param _DestinationDirectory: 上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
|
|
5905
5984
|
:type DestinationDirectory: str
|
|
5985
|
+
:param _DestinationFileName: 目标文件名
|
|
5986
|
+
:type DestinationFileName: str
|
|
5906
5987
|
"""
|
|
5907
5988
|
self._AndroidInstanceIds = None
|
|
5908
5989
|
self._FileURL = None
|
|
5909
5990
|
self._DestinationDirectory = None
|
|
5991
|
+
self._DestinationFileName = None
|
|
5910
5992
|
|
|
5911
5993
|
@property
|
|
5912
5994
|
def AndroidInstanceIds(self):
|
|
@@ -5941,11 +6023,23 @@ class DistributeFileToAndroidInstancesRequest(AbstractModel):
|
|
|
5941
6023
|
def DestinationDirectory(self, DestinationDirectory):
|
|
5942
6024
|
self._DestinationDirectory = DestinationDirectory
|
|
5943
6025
|
|
|
6026
|
+
@property
|
|
6027
|
+
def DestinationFileName(self):
|
|
6028
|
+
"""目标文件名
|
|
6029
|
+
:rtype: str
|
|
6030
|
+
"""
|
|
6031
|
+
return self._DestinationFileName
|
|
6032
|
+
|
|
6033
|
+
@DestinationFileName.setter
|
|
6034
|
+
def DestinationFileName(self, DestinationFileName):
|
|
6035
|
+
self._DestinationFileName = DestinationFileName
|
|
6036
|
+
|
|
5944
6037
|
|
|
5945
6038
|
def _deserialize(self, params):
|
|
5946
6039
|
self._AndroidInstanceIds = params.get("AndroidInstanceIds")
|
|
5947
6040
|
self._FileURL = params.get("FileURL")
|
|
5948
6041
|
self._DestinationDirectory = params.get("DestinationDirectory")
|
|
6042
|
+
self._DestinationFileName = params.get("DestinationFileName")
|
|
5949
6043
|
memeber_set = set(params.keys())
|
|
5950
6044
|
for name, value in vars(self).items():
|
|
5951
6045
|
property_name = name[1:]
|
|
@@ -10537,10 +10631,13 @@ class UploadFileToAndroidInstancesRequest(AbstractModel):
|
|
|
10537
10631
|
:type FileURL: str
|
|
10538
10632
|
:param _DestinationDirectory: 上传目标目录,只能上传到 /sdcard/ 目录或其子目录下
|
|
10539
10633
|
:type DestinationDirectory: str
|
|
10634
|
+
:param _DestinationFileName: 目标文件名
|
|
10635
|
+
:type DestinationFileName: str
|
|
10540
10636
|
"""
|
|
10541
10637
|
self._AndroidInstanceIds = None
|
|
10542
10638
|
self._FileURL = None
|
|
10543
10639
|
self._DestinationDirectory = None
|
|
10640
|
+
self._DestinationFileName = None
|
|
10544
10641
|
|
|
10545
10642
|
@property
|
|
10546
10643
|
def AndroidInstanceIds(self):
|
|
@@ -10575,11 +10672,23 @@ class UploadFileToAndroidInstancesRequest(AbstractModel):
|
|
|
10575
10672
|
def DestinationDirectory(self, DestinationDirectory):
|
|
10576
10673
|
self._DestinationDirectory = DestinationDirectory
|
|
10577
10674
|
|
|
10675
|
+
@property
|
|
10676
|
+
def DestinationFileName(self):
|
|
10677
|
+
"""目标文件名
|
|
10678
|
+
:rtype: str
|
|
10679
|
+
"""
|
|
10680
|
+
return self._DestinationFileName
|
|
10681
|
+
|
|
10682
|
+
@DestinationFileName.setter
|
|
10683
|
+
def DestinationFileName(self, DestinationFileName):
|
|
10684
|
+
self._DestinationFileName = DestinationFileName
|
|
10685
|
+
|
|
10578
10686
|
|
|
10579
10687
|
def _deserialize(self, params):
|
|
10580
10688
|
self._AndroidInstanceIds = params.get("AndroidInstanceIds")
|
|
10581
10689
|
self._FileURL = params.get("FileURL")
|
|
10582
10690
|
self._DestinationDirectory = params.get("DestinationDirectory")
|
|
10691
|
+
self._DestinationFileName = params.get("DestinationFileName")
|
|
10583
10692
|
memeber_set = set(params.keys())
|
|
10584
10693
|
for name, value in vars(self).items():
|
|
10585
10694
|
property_name = name[1:]
|
|
@@ -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.1458
|
|
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 (<4.0.0,>=3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1458)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=h5Hby4bvALXKG32YKjikPeeRTwOm9JylcBCO9rFsXkg,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=-dnux9oX7ak2LRpORaevmrDFu5bQFaJA7zDxln-wLgY,3076
|
|
5
|
+
tencentcloud/gs/v20191118/gs_client.py,sha256=iR74NJA8DVJhnoi9Ev0DwnfV51hgTZw4eTkVd3FLumI,75283
|
|
6
|
+
tencentcloud/gs/v20191118/models.py,sha256=yuaTAFaFKbn4_ubrVlrz2bfFU-1Zrbs8lSpYkyQOUWI,338776
|
|
7
|
+
tencentcloud_sdk_python_gs-3.0.1458.dist-info/METADATA,sha256=pt3UucNmNoEXmvLWnv7VaKYYikLxInrHCQ1NPRZkNZ0,1498
|
|
8
|
+
tencentcloud_sdk_python_gs-3.0.1458.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_gs-3.0.1458.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_gs-3.0.1458.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=LskJbBMnh-hPdStEtUMXPBe51iiG3r6WqACy5lMkn6c,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=-dnux9oX7ak2LRpORaevmrDFu5bQFaJA7zDxln-wLgY,3076
|
|
5
|
-
tencentcloud/gs/v20191118/gs_client.py,sha256=C7Fg2Htz2IA6eIwo2-8PzJhWyn-aPl6LQ1D1ZbhqMas,74368
|
|
6
|
-
tencentcloud/gs/v20191118/models.py,sha256=f6mbAFw7MHVa3oKglfKDLvjP5VPeYV1zW0a5cHaJ_9A,335295
|
|
7
|
-
tencentcloud_sdk_python_gs-3.0.1431.dist-info/METADATA,sha256=6a6iiz1m1kWyhx8Tr6hDTEOuRc83p2pyEiYsLulmNgs,1498
|
|
8
|
-
tencentcloud_sdk_python_gs-3.0.1431.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_gs-3.0.1431.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_gs-3.0.1431.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|