tencentcloud-sdk-python-gs 3.0.1461__tar.gz → 3.0.1487__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 (18) hide show
  1. tencentcloud_sdk_python_gs-3.0.1487/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/setup.py +1 -1
  3. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud/gs/v20191118/gs_client.py +92 -0
  5. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud/gs/v20191118/models.py +395 -0
  6. tencentcloud_sdk_python_gs-3.0.1487/tencentcloud_sdk_python_gs.egg-info/PKG-INFO +46 -0
  7. tencentcloud_sdk_python_gs-3.0.1487/tencentcloud_sdk_python_gs.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-gs-3.0.1461/PKG-INFO +0 -45
  9. tencentcloud-sdk-python-gs-3.0.1461/tencentcloud_sdk_python_gs.egg-info/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-gs-3.0.1461/tencentcloud_sdk_python_gs.egg-info/requires.txt +0 -1
  11. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/README.rst +0 -0
  12. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/setup.cfg +0 -0
  13. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud/gs/__init__.py +0 -0
  14. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud/gs/v20191118/__init__.py +0 -0
  15. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud/gs/v20191118/errorcodes.py +0 -0
  16. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud_sdk_python_gs.egg-info/SOURCES.txt +0 -0
  17. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/tencentcloud_sdk_python_gs.egg-info/dependency_links.txt +0 -0
  18. {tencentcloud-sdk-python-gs-3.0.1461 → tencentcloud_sdk_python_gs-3.0.1487}/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.0.1487
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.0.1487
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,7 @@ 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.1461,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1487,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Gs SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1461'
17
+ __version__ = '3.0.1487'
@@ -26,6 +26,29 @@ class GsClient(AbstractClient):
26
26
  _service = 'gs'
27
27
 
28
28
 
29
+ def BackUpAndroidInstance(self, request):
30
+ r"""备份安卓实例。该接口需要联系我们开通内网存储才能使用。
31
+
32
+ :param request: Request instance for BackUpAndroidInstance.
33
+ :type request: :class:`tencentcloud.gs.v20191118.models.BackUpAndroidInstanceRequest`
34
+ :rtype: :class:`tencentcloud.gs.v20191118.models.BackUpAndroidInstanceResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("BackUpAndroidInstance", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.BackUpAndroidInstanceResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def BackUpAndroidInstanceToStorage(self, request):
30
53
  r"""备份云手机数据到指定存储,支持 COS 和兼容 AWS S3 协议的对象存储服务。如果是备份到 COS 时,会使用公网流量,授权 COS bucket 请在控制台中操作。
31
54
 
@@ -467,6 +490,29 @@ class GsClient(AbstractClient):
467
490
  raise TencentCloudSDKException(type(e).__name__, str(e))
468
491
 
469
492
 
493
+ def DeleteAndroidInstanceBackups(self, request):
494
+ r"""批量删除安卓实例备份
495
+
496
+ :param request: Request instance for DeleteAndroidInstanceBackups.
497
+ :type request: :class:`tencentcloud.gs.v20191118.models.DeleteAndroidInstanceBackupsRequest`
498
+ :rtype: :class:`tencentcloud.gs.v20191118.models.DeleteAndroidInstanceBackupsResponse`
499
+
500
+ """
501
+ try:
502
+ params = request._serialize()
503
+ headers = request.headers
504
+ body = self.call("DeleteAndroidInstanceBackups", params, headers=headers)
505
+ response = json.loads(body)
506
+ model = models.DeleteAndroidInstanceBackupsResponse()
507
+ model._deserialize(response["Response"])
508
+ return model
509
+ except Exception as e:
510
+ if isinstance(e, TencentCloudSDKException):
511
+ raise
512
+ else:
513
+ raise TencentCloudSDKException(type(e).__name__, str(e))
514
+
515
+
470
516
  def DeleteAndroidInstanceImages(self, request):
471
517
  r"""删除安卓实例镜像
472
518
 
@@ -559,6 +605,29 @@ class GsClient(AbstractClient):
559
605
  raise TencentCloudSDKException(type(e).__name__, str(e))
560
606
 
561
607
 
608
+ def DescribeAndroidInstanceBackups(self, request):
609
+ r"""查询安卓实例备份列表
610
+
611
+ :param request: Request instance for DescribeAndroidInstanceBackups.
612
+ :type request: :class:`tencentcloud.gs.v20191118.models.DescribeAndroidInstanceBackupsRequest`
613
+ :rtype: :class:`tencentcloud.gs.v20191118.models.DescribeAndroidInstanceBackupsResponse`
614
+
615
+ """
616
+ try:
617
+ params = request._serialize()
618
+ headers = request.headers
619
+ body = self.call("DescribeAndroidInstanceBackups", params, headers=headers)
620
+ response = json.loads(body)
621
+ model = models.DescribeAndroidInstanceBackupsResponse()
622
+ model._deserialize(response["Response"])
623
+ return model
624
+ except Exception as e:
625
+ if isinstance(e, TencentCloudSDKException):
626
+ raise
627
+ else:
628
+ raise TencentCloudSDKException(type(e).__name__, str(e))
629
+
630
+
562
631
  def DescribeAndroidInstanceImages(self, request):
563
632
  r"""查询安卓实例镜像信息,当镜像的 AndroidInstanceImageState 为 NORMAL 时,镜像处于可用状态。
564
633
 
@@ -1367,6 +1436,29 @@ class GsClient(AbstractClient):
1367
1436
  raise TencentCloudSDKException(type(e).__name__, str(e))
1368
1437
 
1369
1438
 
1439
+ def RestoreAndroidInstance(self, request):
1440
+ r"""还原安卓实例。该接口需要联系我们开通内网存储才能使用。
1441
+
1442
+ :param request: Request instance for RestoreAndroidInstance.
1443
+ :type request: :class:`tencentcloud.gs.v20191118.models.RestoreAndroidInstanceRequest`
1444
+ :rtype: :class:`tencentcloud.gs.v20191118.models.RestoreAndroidInstanceResponse`
1445
+
1446
+ """
1447
+ try:
1448
+ params = request._serialize()
1449
+ headers = request.headers
1450
+ body = self.call("RestoreAndroidInstance", params, headers=headers)
1451
+ response = json.loads(body)
1452
+ model = models.RestoreAndroidInstanceResponse()
1453
+ model._deserialize(response["Response"])
1454
+ return model
1455
+ except Exception as e:
1456
+ if isinstance(e, TencentCloudSDKException):
1457
+ raise
1458
+ else:
1459
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1460
+
1461
+
1370
1462
  def RestoreAndroidInstanceFromStorage(self, request):
1371
1463
  r"""使用指定存储数据还原云手机,支持 COS 和兼容 AWS S3 协议的对象存储服务。如果还原数据来自 COS 时,会使用公网流量,授权 COS bucket 请在控制台中操作。
1372
1464
 
@@ -1640,6 +1640,115 @@ class AndroidInstanceUploadFile(AbstractModel):
1640
1640
 
1641
1641
 
1642
1642
 
1643
+ class BackUpAndroidInstanceRequest(AbstractModel):
1644
+ r"""BackUpAndroidInstance请求参数结构体
1645
+
1646
+ """
1647
+
1648
+ def __init__(self):
1649
+ r"""
1650
+ :param _AndroidInstanceId: 安卓实例ID
1651
+ :type AndroidInstanceId: str
1652
+ :param _Includes: 包含的路径,支持仅含一个通配符*,通配符不能出现在路径开始
1653
+ :type Includes: list of str
1654
+ :param _Excludes: 需要排除路径,支持仅含一个通配符*,通配符不能出现在路径开始
1655
+ :type Excludes: list of str
1656
+ """
1657
+ self._AndroidInstanceId = None
1658
+ self._Includes = None
1659
+ self._Excludes = None
1660
+
1661
+ @property
1662
+ def AndroidInstanceId(self):
1663
+ r"""安卓实例ID
1664
+ :rtype: str
1665
+ """
1666
+ return self._AndroidInstanceId
1667
+
1668
+ @AndroidInstanceId.setter
1669
+ def AndroidInstanceId(self, AndroidInstanceId):
1670
+ self._AndroidInstanceId = AndroidInstanceId
1671
+
1672
+ @property
1673
+ def Includes(self):
1674
+ r"""包含的路径,支持仅含一个通配符*,通配符不能出现在路径开始
1675
+ :rtype: list of str
1676
+ """
1677
+ return self._Includes
1678
+
1679
+ @Includes.setter
1680
+ def Includes(self, Includes):
1681
+ self._Includes = Includes
1682
+
1683
+ @property
1684
+ def Excludes(self):
1685
+ r"""需要排除路径,支持仅含一个通配符*,通配符不能出现在路径开始
1686
+ :rtype: list of str
1687
+ """
1688
+ return self._Excludes
1689
+
1690
+ @Excludes.setter
1691
+ def Excludes(self, Excludes):
1692
+ self._Excludes = Excludes
1693
+
1694
+
1695
+ def _deserialize(self, params):
1696
+ self._AndroidInstanceId = params.get("AndroidInstanceId")
1697
+ self._Includes = params.get("Includes")
1698
+ self._Excludes = params.get("Excludes")
1699
+ memeber_set = set(params.keys())
1700
+ for name, value in vars(self).items():
1701
+ property_name = name[1:]
1702
+ if property_name in memeber_set:
1703
+ memeber_set.remove(property_name)
1704
+ if len(memeber_set) > 0:
1705
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1706
+
1707
+
1708
+
1709
+ class BackUpAndroidInstanceResponse(AbstractModel):
1710
+ r"""BackUpAndroidInstance返回参数结构体
1711
+
1712
+ """
1713
+
1714
+ def __init__(self):
1715
+ r"""
1716
+ :param _BackupId: 备份 ID
1717
+ :type BackupId: str
1718
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1719
+ :type RequestId: str
1720
+ """
1721
+ self._BackupId = None
1722
+ self._RequestId = None
1723
+
1724
+ @property
1725
+ def BackupId(self):
1726
+ r"""备份 ID
1727
+ :rtype: str
1728
+ """
1729
+ return self._BackupId
1730
+
1731
+ @BackupId.setter
1732
+ def BackupId(self, BackupId):
1733
+ self._BackupId = BackupId
1734
+
1735
+ @property
1736
+ def RequestId(self):
1737
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1738
+ :rtype: str
1739
+ """
1740
+ return self._RequestId
1741
+
1742
+ @RequestId.setter
1743
+ def RequestId(self, RequestId):
1744
+ self._RequestId = RequestId
1745
+
1746
+
1747
+ def _deserialize(self, params):
1748
+ self._BackupId = params.get("BackupId")
1749
+ self._RequestId = params.get("RequestId")
1750
+
1751
+
1643
1752
  class BackUpAndroidInstanceToStorageRequest(AbstractModel):
1644
1753
  r"""BackUpAndroidInstanceToStorage请求参数结构体
1645
1754
 
@@ -3075,9 +3184,17 @@ class CreateAndroidInstancesAccessTokenRequest(AbstractModel):
3075
3184
  :type AndroidInstanceIds: list of str
3076
3185
  :param _ExpirationDuration: 有效期,默认为 12 小时,最大为 24 小时。支持 s(秒)、m(分)、h(小时)等单位,比如 12h 表示 12 小时,1h2m3s 表示一小时两分三秒
3077
3186
  :type ExpirationDuration: str
3187
+ :param _Mode: 模式。
3188
+ STANDARD:默认值,标准模式
3189
+ ACCELERATED:加速模式,该模式需要开通加速服务才能生效
3190
+ :type Mode: str
3191
+ :param _UserIP: 用户 IP。在加速模式下,该字段必填。
3192
+ :type UserIP: str
3078
3193
  """
3079
3194
  self._AndroidInstanceIds = None
3080
3195
  self._ExpirationDuration = None
3196
+ self._Mode = None
3197
+ self._UserIP = None
3081
3198
 
3082
3199
  @property
3083
3200
  def AndroidInstanceIds(self):
@@ -3101,10 +3218,36 @@ class CreateAndroidInstancesAccessTokenRequest(AbstractModel):
3101
3218
  def ExpirationDuration(self, ExpirationDuration):
3102
3219
  self._ExpirationDuration = ExpirationDuration
3103
3220
 
3221
+ @property
3222
+ def Mode(self):
3223
+ r"""模式。
3224
+ STANDARD:默认值,标准模式
3225
+ ACCELERATED:加速模式,该模式需要开通加速服务才能生效
3226
+ :rtype: str
3227
+ """
3228
+ return self._Mode
3229
+
3230
+ @Mode.setter
3231
+ def Mode(self, Mode):
3232
+ self._Mode = Mode
3233
+
3234
+ @property
3235
+ def UserIP(self):
3236
+ r"""用户 IP。在加速模式下,该字段必填。
3237
+ :rtype: str
3238
+ """
3239
+ return self._UserIP
3240
+
3241
+ @UserIP.setter
3242
+ def UserIP(self, UserIP):
3243
+ self._UserIP = UserIP
3244
+
3104
3245
 
3105
3246
  def _deserialize(self, params):
3106
3247
  self._AndroidInstanceIds = params.get("AndroidInstanceIds")
3107
3248
  self._ExpirationDuration = params.get("ExpirationDuration")
3249
+ self._Mode = params.get("Mode")
3250
+ self._UserIP = params.get("UserIP")
3108
3251
  memeber_set = set(params.keys())
3109
3252
  for name, value in vars(self).items():
3110
3253
  property_name = name[1:]
@@ -4315,6 +4458,70 @@ class DeleteAndroidInstanceBackupFilesResponse(AbstractModel):
4315
4458
  self._RequestId = params.get("RequestId")
4316
4459
 
4317
4460
 
4461
+ class DeleteAndroidInstanceBackupsRequest(AbstractModel):
4462
+ r"""DeleteAndroidInstanceBackups请求参数结构体
4463
+
4464
+ """
4465
+
4466
+ def __init__(self):
4467
+ r"""
4468
+ :param _BackupIds: 备份ID列表
4469
+ :type BackupIds: list of str
4470
+ """
4471
+ self._BackupIds = None
4472
+
4473
+ @property
4474
+ def BackupIds(self):
4475
+ r"""备份ID列表
4476
+ :rtype: list of str
4477
+ """
4478
+ return self._BackupIds
4479
+
4480
+ @BackupIds.setter
4481
+ def BackupIds(self, BackupIds):
4482
+ self._BackupIds = BackupIds
4483
+
4484
+
4485
+ def _deserialize(self, params):
4486
+ self._BackupIds = params.get("BackupIds")
4487
+ memeber_set = set(params.keys())
4488
+ for name, value in vars(self).items():
4489
+ property_name = name[1:]
4490
+ if property_name in memeber_set:
4491
+ memeber_set.remove(property_name)
4492
+ if len(memeber_set) > 0:
4493
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4494
+
4495
+
4496
+
4497
+ class DeleteAndroidInstanceBackupsResponse(AbstractModel):
4498
+ r"""DeleteAndroidInstanceBackups返回参数结构体
4499
+
4500
+ """
4501
+
4502
+ def __init__(self):
4503
+ r"""
4504
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4505
+ :type RequestId: str
4506
+ """
4507
+ self._RequestId = None
4508
+
4509
+ @property
4510
+ def RequestId(self):
4511
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4512
+ :rtype: str
4513
+ """
4514
+ return self._RequestId
4515
+
4516
+ @RequestId.setter
4517
+ def RequestId(self, RequestId):
4518
+ self._RequestId = RequestId
4519
+
4520
+
4521
+ def _deserialize(self, params):
4522
+ self._RequestId = params.get("RequestId")
4523
+
4524
+
4318
4525
  class DeleteAndroidInstanceImagesRequest(AbstractModel):
4319
4526
  r"""DeleteAndroidInstanceImages请求参数结构体
4320
4527
 
@@ -4691,6 +4898,100 @@ class DescribeAndroidInstanceAppsResponse(AbstractModel):
4691
4898
  self._RequestId = params.get("RequestId")
4692
4899
 
4693
4900
 
4901
+ class DescribeAndroidInstanceBackupsRequest(AbstractModel):
4902
+ r"""DescribeAndroidInstanceBackups请求参数结构体
4903
+
4904
+ """
4905
+
4906
+ def __init__(self):
4907
+ r"""
4908
+ :param _BackupIds: 备份ID列表
4909
+ :type BackupIds: list of str
4910
+ :param _Offset: 分页偏移
4911
+ :type Offset: int
4912
+ :param _Limit: 每页数量
4913
+ :type Limit: int
4914
+ """
4915
+ self._BackupIds = None
4916
+ self._Offset = None
4917
+ self._Limit = None
4918
+
4919
+ @property
4920
+ def BackupIds(self):
4921
+ r"""备份ID列表
4922
+ :rtype: list of str
4923
+ """
4924
+ return self._BackupIds
4925
+
4926
+ @BackupIds.setter
4927
+ def BackupIds(self, BackupIds):
4928
+ self._BackupIds = BackupIds
4929
+
4930
+ @property
4931
+ def Offset(self):
4932
+ r"""分页偏移
4933
+ :rtype: int
4934
+ """
4935
+ return self._Offset
4936
+
4937
+ @Offset.setter
4938
+ def Offset(self, Offset):
4939
+ self._Offset = Offset
4940
+
4941
+ @property
4942
+ def Limit(self):
4943
+ r"""每页数量
4944
+ :rtype: int
4945
+ """
4946
+ return self._Limit
4947
+
4948
+ @Limit.setter
4949
+ def Limit(self, Limit):
4950
+ self._Limit = Limit
4951
+
4952
+
4953
+ def _deserialize(self, params):
4954
+ self._BackupIds = params.get("BackupIds")
4955
+ self._Offset = params.get("Offset")
4956
+ self._Limit = params.get("Limit")
4957
+ memeber_set = set(params.keys())
4958
+ for name, value in vars(self).items():
4959
+ property_name = name[1:]
4960
+ if property_name in memeber_set:
4961
+ memeber_set.remove(property_name)
4962
+ if len(memeber_set) > 0:
4963
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4964
+
4965
+
4966
+
4967
+ class DescribeAndroidInstanceBackupsResponse(AbstractModel):
4968
+ r"""DescribeAndroidInstanceBackups返回参数结构体
4969
+
4970
+ """
4971
+
4972
+ def __init__(self):
4973
+ r"""
4974
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4975
+ :type RequestId: str
4976
+ """
4977
+ self._RequestId = None
4978
+
4979
+ @property
4980
+ def RequestId(self):
4981
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4982
+ :rtype: str
4983
+ """
4984
+ return self._RequestId
4985
+
4986
+ @RequestId.setter
4987
+ def RequestId(self, RequestId):
4988
+ self._RequestId = RequestId
4989
+
4990
+
4991
+ def _deserialize(self, params):
4992
+ self._RequestId = params.get("RequestId")
4993
+
4994
+
4694
4995
  class DescribeAndroidInstanceImagesRequest(AbstractModel):
4695
4996
  r"""DescribeAndroidInstanceImages请求参数结构体
4696
4997
 
@@ -9061,6 +9362,100 @@ class RestoreAndroidInstanceFromStorageResponse(AbstractModel):
9061
9362
  self._RequestId = params.get("RequestId")
9062
9363
 
9063
9364
 
9365
+ class RestoreAndroidInstanceRequest(AbstractModel):
9366
+ r"""RestoreAndroidInstance请求参数结构体
9367
+
9368
+ """
9369
+
9370
+ def __init__(self):
9371
+ r"""
9372
+ :param _AndroidInstanceId: 安卓实例 ID
9373
+ :type AndroidInstanceId: str
9374
+ :param _BackupId: 备份 ID
9375
+ :type BackupId: str
9376
+ """
9377
+ self._AndroidInstanceId = None
9378
+ self._BackupId = None
9379
+
9380
+ @property
9381
+ def AndroidInstanceId(self):
9382
+ r"""安卓实例 ID
9383
+ :rtype: str
9384
+ """
9385
+ return self._AndroidInstanceId
9386
+
9387
+ @AndroidInstanceId.setter
9388
+ def AndroidInstanceId(self, AndroidInstanceId):
9389
+ self._AndroidInstanceId = AndroidInstanceId
9390
+
9391
+ @property
9392
+ def BackupId(self):
9393
+ r"""备份 ID
9394
+ :rtype: str
9395
+ """
9396
+ return self._BackupId
9397
+
9398
+ @BackupId.setter
9399
+ def BackupId(self, BackupId):
9400
+ self._BackupId = BackupId
9401
+
9402
+
9403
+ def _deserialize(self, params):
9404
+ self._AndroidInstanceId = params.get("AndroidInstanceId")
9405
+ self._BackupId = params.get("BackupId")
9406
+ memeber_set = set(params.keys())
9407
+ for name, value in vars(self).items():
9408
+ property_name = name[1:]
9409
+ if property_name in memeber_set:
9410
+ memeber_set.remove(property_name)
9411
+ if len(memeber_set) > 0:
9412
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9413
+
9414
+
9415
+
9416
+ class RestoreAndroidInstanceResponse(AbstractModel):
9417
+ r"""RestoreAndroidInstance返回参数结构体
9418
+
9419
+ """
9420
+
9421
+ def __init__(self):
9422
+ r"""
9423
+ :param _TaskId: 实例任务 ID
9424
+ :type TaskId: str
9425
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9426
+ :type RequestId: str
9427
+ """
9428
+ self._TaskId = None
9429
+ self._RequestId = None
9430
+
9431
+ @property
9432
+ def TaskId(self):
9433
+ r"""实例任务 ID
9434
+ :rtype: str
9435
+ """
9436
+ return self._TaskId
9437
+
9438
+ @TaskId.setter
9439
+ def TaskId(self, TaskId):
9440
+ self._TaskId = TaskId
9441
+
9442
+ @property
9443
+ def RequestId(self):
9444
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9445
+ :rtype: str
9446
+ """
9447
+ return self._RequestId
9448
+
9449
+ @RequestId.setter
9450
+ def RequestId(self, RequestId):
9451
+ self._RequestId = RequestId
9452
+
9453
+
9454
+ def _deserialize(self, params):
9455
+ self._TaskId = params.get("TaskId")
9456
+ self._RequestId = params.get("RequestId")
9457
+
9458
+
9064
9459
  class S3Options(AbstractModel):
9065
9460
  r"""S3协议参数
9066
9461
 
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-gs
3
+ Version: 3.0.1487
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.0.1487
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
+
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1487
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-gs
3
- Version: 3.0.1461
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
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- 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.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-gs
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common gs
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-gs
3
- Version: 3.0.1461
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
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- 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.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-gs
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common gs
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1461