tencentcloud-sdk-python-gs 3.0.1464__tar.gz → 3.1.1__tar.gz

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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_gs-3.1.1/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/setup.py +2 -1
  3. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud/gs/v20191118/gs_client.py +46 -0
  5. tencentcloud_sdk_python_gs-3.1.1/tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
  6. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud/gs/v20191118/models.py +227 -0
  7. tencentcloud_sdk_python_gs-3.1.1/tencentcloud_sdk_python_gs.egg-info/PKG-INFO +46 -0
  8. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud_sdk_python_gs.egg-info/SOURCES.txt +1 -0
  9. tencentcloud_sdk_python_gs-3.1.1/tencentcloud_sdk_python_gs.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-gs-3.0.1464/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-gs-3.0.1464/tencentcloud_sdk_python_gs.egg-info/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-gs-3.0.1464/tencentcloud_sdk_python_gs.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/README.rst +0 -0
  14. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud/gs/__init__.py +0 -0
  16. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud/gs/v20191118/__init__.py +0 -0
  17. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud/gs/v20191118/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud_sdk_python_gs.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-gs-3.0.1464 → tencentcloud_sdk_python_gs-3.1.1}/tencentcloud_sdk_python_gs.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-gs
3
+ Version: 3.1.1
4
+ Summary: Tencent Cloud Gs SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.1
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Gs SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-gs
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common gs
46
+
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-gs',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1464,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Gs SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1464'
17
+ __version__ = '3.1.1'
@@ -214,6 +214,29 @@ class GsClient(AbstractClient):
214
214
  raise TencentCloudSDKException(type(e).__name__, str(e))
215
215
 
216
216
 
217
+ def CreateAndroidInstanceAcceleratorToken(self, request):
218
+ r"""创建安卓实例加速Token
219
+
220
+ :param request: Request instance for CreateAndroidInstanceAcceleratorToken.
221
+ :type request: :class:`tencentcloud.gs.v20191118.models.CreateAndroidInstanceAcceleratorTokenRequest`
222
+ :rtype: :class:`tencentcloud.gs.v20191118.models.CreateAndroidInstanceAcceleratorTokenResponse`
223
+
224
+ """
225
+ try:
226
+ params = request._serialize()
227
+ headers = request.headers
228
+ body = self.call("CreateAndroidInstanceAcceleratorToken", params, headers=headers)
229
+ response = json.loads(body)
230
+ model = models.CreateAndroidInstanceAcceleratorTokenResponse()
231
+ model._deserialize(response["Response"])
232
+ return model
233
+ except Exception as e:
234
+ if isinstance(e, TencentCloudSDKException):
235
+ raise
236
+ else:
237
+ raise TencentCloudSDKException(type(e).__name__, str(e))
238
+
239
+
217
240
  def CreateAndroidInstanceImage(self, request):
218
241
  r"""使用指定的安卓实例创建镜像,创建镜像时指定的实例会关机,镜像创建完成后实例会自动开机。当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像创建完成处于可用状态。
219
242
 
@@ -858,6 +881,29 @@ class GsClient(AbstractClient):
858
881
  raise TencentCloudSDKException(type(e).__name__, str(e))
859
882
 
860
883
 
884
+ def DisconnectAndroidInstanceAccelerator(self, request):
885
+ r"""断开安卓实例加速节点
886
+
887
+ :param request: Request instance for DisconnectAndroidInstanceAccelerator.
888
+ :type request: :class:`tencentcloud.gs.v20191118.models.DisconnectAndroidInstanceAcceleratorRequest`
889
+ :rtype: :class:`tencentcloud.gs.v20191118.models.DisconnectAndroidInstanceAcceleratorResponse`
890
+
891
+ """
892
+ try:
893
+ params = request._serialize()
894
+ headers = request.headers
895
+ body = self.call("DisconnectAndroidInstanceAccelerator", params, headers=headers)
896
+ response = json.loads(body)
897
+ model = models.DisconnectAndroidInstanceAcceleratorResponse()
898
+ model._deserialize(response["Response"])
899
+ return model
900
+ except Exception as e:
901
+ if isinstance(e, TencentCloudSDKException):
902
+ raise
903
+ else:
904
+ raise TencentCloudSDKException(type(e).__name__, str(e))
905
+
906
+
861
907
  def DistributeAndroidInstanceImageToHosts(self, request):
862
908
  r"""分发安卓实例镜像至宿主机
863
909