tencentcloud-sdk-python-gs 3.1.6__tar.gz → 3.1.16__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 (17) hide show
  1. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/setup.py +1 -1
  3. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/gs/v20191118/models.py +176 -15
  5. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud_sdk_python_gs.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_gs-3.1.16/tencentcloud_sdk_python_gs.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_gs-3.1.6/tencentcloud_sdk_python_gs.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/README.rst +0 -0
  9. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/gs/__init__.py +0 -0
  11. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/gs/v20191118/__init__.py +0 -0
  12. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/gs/v20191118/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/gs/v20191118/gs_client.py +0 -0
  14. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud/gs/v20191118/gs_client_async.py +0 -0
  15. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud_sdk_python_gs.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud_sdk_python_gs.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_gs-3.1.6 → tencentcloud_sdk_python_gs-3.1.16}/tencentcloud_sdk_python_gs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-gs
3
- Version: 3.1.6
3
+ Version: 3.1.16
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.1.6
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.16
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.6,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.16,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Gs SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.6'
17
+ __version__ = '3.1.16'
@@ -880,6 +880,117 @@ class AndroidInstanceAppInfo(AbstractModel):
880
880
 
881
881
 
882
882
 
883
+ class AndroidInstanceBackup(AbstractModel):
884
+ r"""安卓实例备份
885
+
886
+ """
887
+
888
+ def __init__(self):
889
+ r"""
890
+ :param _BackupId: 备份ID
891
+ :type BackupId: str
892
+ :param _State: 备份状态
893
+ :type State: str
894
+ :param _Zone: 可用区
895
+ :type Zone: str
896
+ :param _Size: 大小,单位 Byte
897
+ :type Size: int
898
+ :param _AndroidInstanceId: 备份的安卓实例 ID
899
+ :type AndroidInstanceId: str
900
+ :param _CreateTime: 创建时间
901
+ :type CreateTime: str
902
+ """
903
+ self._BackupId = None
904
+ self._State = None
905
+ self._Zone = None
906
+ self._Size = None
907
+ self._AndroidInstanceId = None
908
+ self._CreateTime = None
909
+
910
+ @property
911
+ def BackupId(self):
912
+ r"""备份ID
913
+ :rtype: str
914
+ """
915
+ return self._BackupId
916
+
917
+ @BackupId.setter
918
+ def BackupId(self, BackupId):
919
+ self._BackupId = BackupId
920
+
921
+ @property
922
+ def State(self):
923
+ r"""备份状态
924
+ :rtype: str
925
+ """
926
+ return self._State
927
+
928
+ @State.setter
929
+ def State(self, State):
930
+ self._State = State
931
+
932
+ @property
933
+ def Zone(self):
934
+ r"""可用区
935
+ :rtype: str
936
+ """
937
+ return self._Zone
938
+
939
+ @Zone.setter
940
+ def Zone(self, Zone):
941
+ self._Zone = Zone
942
+
943
+ @property
944
+ def Size(self):
945
+ r"""大小,单位 Byte
946
+ :rtype: int
947
+ """
948
+ return self._Size
949
+
950
+ @Size.setter
951
+ def Size(self, Size):
952
+ self._Size = Size
953
+
954
+ @property
955
+ def AndroidInstanceId(self):
956
+ r"""备份的安卓实例 ID
957
+ :rtype: str
958
+ """
959
+ return self._AndroidInstanceId
960
+
961
+ @AndroidInstanceId.setter
962
+ def AndroidInstanceId(self, AndroidInstanceId):
963
+ self._AndroidInstanceId = AndroidInstanceId
964
+
965
+ @property
966
+ def CreateTime(self):
967
+ r"""创建时间
968
+ :rtype: str
969
+ """
970
+ return self._CreateTime
971
+
972
+ @CreateTime.setter
973
+ def CreateTime(self, CreateTime):
974
+ self._CreateTime = CreateTime
975
+
976
+
977
+ def _deserialize(self, params):
978
+ self._BackupId = params.get("BackupId")
979
+ self._State = params.get("State")
980
+ self._Zone = params.get("Zone")
981
+ self._Size = params.get("Size")
982
+ self._AndroidInstanceId = params.get("AndroidInstanceId")
983
+ self._CreateTime = params.get("CreateTime")
984
+ memeber_set = set(params.keys())
985
+ for name, value in vars(self).items():
986
+ property_name = name[1:]
987
+ if property_name in memeber_set:
988
+ memeber_set.remove(property_name)
989
+ if len(memeber_set) > 0:
990
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
991
+
992
+
993
+
883
994
  class AndroidInstanceDevice(AbstractModel):
884
995
  r"""安卓实例设备信息
885
996
 
@@ -2699,24 +2810,13 @@ class CreateAndroidInstanceAcceleratorTokenRequest(AbstractModel):
2699
2810
 
2700
2811
  def __init__(self):
2701
2812
  r"""
2702
- :param _UserIP: 用户IP,用户客户端的公网IP,用于就近选择起始加速节点
2703
- :type UserIP: str
2704
2813
  :param _AndroidInstanceIds: 实例 ID 列表。每次请求的实例的上限为 500。
2705
2814
  :type AndroidInstanceIds: list of str
2815
+ :param _UserIP: 用户IP,可以根据该 IP 选择就近加速点。如果不填,将自动选择就近加速点。
2816
+ :type UserIP: str
2706
2817
  """
2707
- self._UserIP = None
2708
2818
  self._AndroidInstanceIds = None
2709
-
2710
- @property
2711
- def UserIP(self):
2712
- r"""用户IP,用户客户端的公网IP,用于就近选择起始加速节点
2713
- :rtype: str
2714
- """
2715
- return self._UserIP
2716
-
2717
- @UserIP.setter
2718
- def UserIP(self, UserIP):
2719
- self._UserIP = UserIP
2819
+ self._UserIP = None
2720
2820
 
2721
2821
  @property
2722
2822
  def AndroidInstanceIds(self):
@@ -2729,10 +2829,21 @@ class CreateAndroidInstanceAcceleratorTokenRequest(AbstractModel):
2729
2829
  def AndroidInstanceIds(self, AndroidInstanceIds):
2730
2830
  self._AndroidInstanceIds = AndroidInstanceIds
2731
2831
 
2832
+ @property
2833
+ def UserIP(self):
2834
+ r"""用户IP,可以根据该 IP 选择就近加速点。如果不填,将自动选择就近加速点。
2835
+ :rtype: str
2836
+ """
2837
+ return self._UserIP
2838
+
2839
+ @UserIP.setter
2840
+ def UserIP(self, UserIP):
2841
+ self._UserIP = UserIP
2842
+
2732
2843
 
2733
2844
  def _deserialize(self, params):
2734
- self._UserIP = params.get("UserIP")
2735
2845
  self._AndroidInstanceIds = params.get("AndroidInstanceIds")
2846
+ self._UserIP = params.get("UserIP")
2736
2847
  memeber_set = set(params.keys())
2737
2848
  for name, value in vars(self).items():
2738
2849
  property_name = name[1:]
@@ -2750,6 +2861,8 @@ class CreateAndroidInstanceAcceleratorTokenResponse(AbstractModel):
2750
2861
 
2751
2862
  def __init__(self):
2752
2863
  r"""
2864
+ :param _Token: token
2865
+ :type Token: str
2753
2866
  :param _AcceleratorInfo: 加速信息
2754
2867
  :type AcceleratorInfo: str
2755
2868
  :param _AndroidInstanceErrors: 安卓实例错误列表。列表包含有问题的安卓实例 ID 以及发生的错误信息。
@@ -2757,10 +2870,22 @@ class CreateAndroidInstanceAcceleratorTokenResponse(AbstractModel):
2757
2870
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2758
2871
  :type RequestId: str
2759
2872
  """
2873
+ self._Token = None
2760
2874
  self._AcceleratorInfo = None
2761
2875
  self._AndroidInstanceErrors = None
2762
2876
  self._RequestId = None
2763
2877
 
2878
+ @property
2879
+ def Token(self):
2880
+ r"""token
2881
+ :rtype: str
2882
+ """
2883
+ return self._Token
2884
+
2885
+ @Token.setter
2886
+ def Token(self, Token):
2887
+ self._Token = Token
2888
+
2764
2889
  @property
2765
2890
  def AcceleratorInfo(self):
2766
2891
  r"""加速信息
@@ -2796,6 +2921,7 @@ class CreateAndroidInstanceAcceleratorTokenResponse(AbstractModel):
2796
2921
 
2797
2922
 
2798
2923
  def _deserialize(self, params):
2924
+ self._Token = params.get("Token")
2799
2925
  self._AcceleratorInfo = params.get("AcceleratorInfo")
2800
2926
  if params.get("AndroidInstanceErrors") is not None:
2801
2927
  self._AndroidInstanceErrors = []
@@ -5085,11 +5211,39 @@ class DescribeAndroidInstanceBackupsResponse(AbstractModel):
5085
5211
 
5086
5212
  def __init__(self):
5087
5213
  r"""
5214
+ :param _Backups: 备份列表
5215
+ :type Backups: list of AndroidInstanceBackup
5216
+ :param _TotalCount: 备份总数
5217
+ :type TotalCount: int
5088
5218
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5089
5219
  :type RequestId: str
5090
5220
  """
5221
+ self._Backups = None
5222
+ self._TotalCount = None
5091
5223
  self._RequestId = None
5092
5224
 
5225
+ @property
5226
+ def Backups(self):
5227
+ r"""备份列表
5228
+ :rtype: list of AndroidInstanceBackup
5229
+ """
5230
+ return self._Backups
5231
+
5232
+ @Backups.setter
5233
+ def Backups(self, Backups):
5234
+ self._Backups = Backups
5235
+
5236
+ @property
5237
+ def TotalCount(self):
5238
+ r"""备份总数
5239
+ :rtype: int
5240
+ """
5241
+ return self._TotalCount
5242
+
5243
+ @TotalCount.setter
5244
+ def TotalCount(self, TotalCount):
5245
+ self._TotalCount = TotalCount
5246
+
5093
5247
  @property
5094
5248
  def RequestId(self):
5095
5249
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5103,6 +5257,13 @@ class DescribeAndroidInstanceBackupsResponse(AbstractModel):
5103
5257
 
5104
5258
 
5105
5259
  def _deserialize(self, params):
5260
+ if params.get("Backups") is not None:
5261
+ self._Backups = []
5262
+ for item in params.get("Backups"):
5263
+ obj = AndroidInstanceBackup()
5264
+ obj._deserialize(item)
5265
+ self._Backups.append(obj)
5266
+ self._TotalCount = params.get("TotalCount")
5106
5267
  self._RequestId = params.get("RequestId")
5107
5268
 
5108
5269
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-gs
3
- Version: 3.1.6
3
+ Version: 3.1.16
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.1.6
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.16
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.16
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.6