tencentcloud-sdk-python-rce 3.0.1266__tar.gz → 3.0.1285__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 (16) hide show
  1. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/PKG-INFO +3 -3
  2. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/setup.cfg +0 -1
  3. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/setup.py +1 -1
  4. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud/__init__.py +1 -1
  5. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud/rce/v20201103/models.py +263 -2
  6. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud/rce/v20201103/rce_client.py +23 -0
  7. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud_sdk_python_rce.egg-info/PKG-INFO +3 -3
  8. tencentcloud-sdk-python-rce-3.0.1285/tencentcloud_sdk_python_rce.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-rce-3.0.1266/tencentcloud_sdk_python_rce.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/README.rst +0 -0
  11. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud/rce/__init__.py +0 -0
  12. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud/rce/v20201103/__init__.py +0 -0
  13. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud/rce/v20201103/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud_sdk_python_rce.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud_sdk_python_rce.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-rce-3.0.1266 → tencentcloud-sdk-python-rce-3.0.1285}/tencentcloud_sdk_python_rce.egg-info/top_level.txt +0 -0
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-rce
3
- Version: 3.0.1266
3
+ Version: 3.0.1285
4
4
  Summary: Tencent Cloud Rce SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -4,5 +4,4 @@ universal = 1
4
4
  [egg_info]
5
5
  tag_build =
6
6
  tag_date = 0
7
- tag_svn_revision = 0
8
7
 
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-rce',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1266"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1285"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Rce 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.1266'
17
+ __version__ = '3.0.1285'
@@ -246,7 +246,7 @@ class DataAuthorizationInfo(AbstractModel):
246
246
 
247
247
  示例值:https://www.*****.com/*
248
248
  :type PrivacyPolicyLink: str
249
- :param _IsPersonalData: 是否是用户个人敏感数据。
249
+ :param _IsPersonalData: 是否是用户个人敏感数据(不推荐使用)。
250
250
 
251
251
  固定填:1。
252
252
 
@@ -370,7 +370,7 @@ class DataAuthorizationInfo(AbstractModel):
370
370
 
371
371
  @property
372
372
  def IsPersonalData(self):
373
- """是否是用户个人敏感数据。
373
+ """是否是用户个人敏感数据(不推荐使用)。
374
374
 
375
375
  固定填:1。
376
376
 
@@ -899,6 +899,57 @@ class DescribeNameListResponse(AbstractModel):
899
899
  self._RequestId = params.get("RequestId")
900
900
 
901
901
 
902
+ class DescribeUserUsageCntRequest(AbstractModel):
903
+ """DescribeUserUsageCnt请求参数结构体
904
+
905
+ """
906
+
907
+
908
+ class DescribeUserUsageCntResponse(AbstractModel):
909
+ """DescribeUserUsageCnt返回参数结构体
910
+
911
+ """
912
+
913
+ def __init__(self):
914
+ r"""
915
+ :param _Data: 业务出参
916
+ :type Data: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCntData`
917
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
918
+ :type RequestId: str
919
+ """
920
+ self._Data = None
921
+ self._RequestId = None
922
+
923
+ @property
924
+ def Data(self):
925
+ """业务出参
926
+ :rtype: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCntData`
927
+ """
928
+ return self._Data
929
+
930
+ @Data.setter
931
+ def Data(self, Data):
932
+ self._Data = Data
933
+
934
+ @property
935
+ def RequestId(self):
936
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
937
+ :rtype: str
938
+ """
939
+ return self._RequestId
940
+
941
+ @RequestId.setter
942
+ def RequestId(self, RequestId):
943
+ self._RequestId = RequestId
944
+
945
+
946
+ def _deserialize(self, params):
947
+ if params.get("Data") is not None:
948
+ self._Data = OutputDescribeUserUsageCntData()
949
+ self._Data._deserialize(params.get("Data"))
950
+ self._RequestId = params.get("RequestId")
951
+
952
+
902
953
  class ImportNameListDataRequest(AbstractModel):
903
954
  """ImportNameListData请求参数结构体
904
955
 
@@ -3827,6 +3878,216 @@ class OutputDescribeNameListInfo(AbstractModel):
3827
3878
 
3828
3879
 
3829
3880
 
3881
+ class OutputDescribeUserUsageCnt(AbstractModel):
3882
+ """预付费 后付费 总数显示接口出参
3883
+
3884
+ """
3885
+
3886
+ def __init__(self):
3887
+ r"""
3888
+ :param _PayMode: 当前付费模式,0 后付费 1 预付费
3889
+ 注意:此字段可能返回 null,表示取不到有效值。
3890
+ :type PayMode: int
3891
+ :param _AfterPayModeThisMonthUsedCnt: 后付费本月使用量
3892
+ 注意:此字段可能返回 null,表示取不到有效值。
3893
+ :type AfterPayModeThisMonthUsedCnt: int
3894
+ :param _CreateTime: 创建时间
3895
+ 注意:此字段可能返回 null,表示取不到有效值。
3896
+ :type CreateTime: str
3897
+ :param _ExpireTime: 超出时间
3898
+ 注意:此字段可能返回 null,表示取不到有效值。
3899
+ :type ExpireTime: str
3900
+ :param _AfterPayModeLastMonthUsedCnt: 后付费上月使用量
3901
+ 注意:此字段可能返回 null,表示取不到有效值。
3902
+ :type AfterPayModeLastMonthUsedCnt: int
3903
+ :param _BeforePayModeTotalUsedCnt: 预付费总量
3904
+ 注意:此字段可能返回 null,表示取不到有效值。
3905
+ :type BeforePayModeTotalUsedCnt: int
3906
+ :param _BeforePayModeRemainUsedCnt: 预付费剩余用量
3907
+ 注意:此字段可能返回 null,表示取不到有效值。
3908
+ :type BeforePayModeRemainUsedCnt: int
3909
+ """
3910
+ self._PayMode = None
3911
+ self._AfterPayModeThisMonthUsedCnt = None
3912
+ self._CreateTime = None
3913
+ self._ExpireTime = None
3914
+ self._AfterPayModeLastMonthUsedCnt = None
3915
+ self._BeforePayModeTotalUsedCnt = None
3916
+ self._BeforePayModeRemainUsedCnt = None
3917
+
3918
+ @property
3919
+ def PayMode(self):
3920
+ """当前付费模式,0 后付费 1 预付费
3921
+ 注意:此字段可能返回 null,表示取不到有效值。
3922
+ :rtype: int
3923
+ """
3924
+ return self._PayMode
3925
+
3926
+ @PayMode.setter
3927
+ def PayMode(self, PayMode):
3928
+ self._PayMode = PayMode
3929
+
3930
+ @property
3931
+ def AfterPayModeThisMonthUsedCnt(self):
3932
+ """后付费本月使用量
3933
+ 注意:此字段可能返回 null,表示取不到有效值。
3934
+ :rtype: int
3935
+ """
3936
+ return self._AfterPayModeThisMonthUsedCnt
3937
+
3938
+ @AfterPayModeThisMonthUsedCnt.setter
3939
+ def AfterPayModeThisMonthUsedCnt(self, AfterPayModeThisMonthUsedCnt):
3940
+ self._AfterPayModeThisMonthUsedCnt = AfterPayModeThisMonthUsedCnt
3941
+
3942
+ @property
3943
+ def CreateTime(self):
3944
+ """创建时间
3945
+ 注意:此字段可能返回 null,表示取不到有效值。
3946
+ :rtype: str
3947
+ """
3948
+ return self._CreateTime
3949
+
3950
+ @CreateTime.setter
3951
+ def CreateTime(self, CreateTime):
3952
+ self._CreateTime = CreateTime
3953
+
3954
+ @property
3955
+ def ExpireTime(self):
3956
+ """超出时间
3957
+ 注意:此字段可能返回 null,表示取不到有效值。
3958
+ :rtype: str
3959
+ """
3960
+ return self._ExpireTime
3961
+
3962
+ @ExpireTime.setter
3963
+ def ExpireTime(self, ExpireTime):
3964
+ self._ExpireTime = ExpireTime
3965
+
3966
+ @property
3967
+ def AfterPayModeLastMonthUsedCnt(self):
3968
+ """后付费上月使用量
3969
+ 注意:此字段可能返回 null,表示取不到有效值。
3970
+ :rtype: int
3971
+ """
3972
+ return self._AfterPayModeLastMonthUsedCnt
3973
+
3974
+ @AfterPayModeLastMonthUsedCnt.setter
3975
+ def AfterPayModeLastMonthUsedCnt(self, AfterPayModeLastMonthUsedCnt):
3976
+ self._AfterPayModeLastMonthUsedCnt = AfterPayModeLastMonthUsedCnt
3977
+
3978
+ @property
3979
+ def BeforePayModeTotalUsedCnt(self):
3980
+ """预付费总量
3981
+ 注意:此字段可能返回 null,表示取不到有效值。
3982
+ :rtype: int
3983
+ """
3984
+ return self._BeforePayModeTotalUsedCnt
3985
+
3986
+ @BeforePayModeTotalUsedCnt.setter
3987
+ def BeforePayModeTotalUsedCnt(self, BeforePayModeTotalUsedCnt):
3988
+ self._BeforePayModeTotalUsedCnt = BeforePayModeTotalUsedCnt
3989
+
3990
+ @property
3991
+ def BeforePayModeRemainUsedCnt(self):
3992
+ """预付费剩余用量
3993
+ 注意:此字段可能返回 null,表示取不到有效值。
3994
+ :rtype: int
3995
+ """
3996
+ return self._BeforePayModeRemainUsedCnt
3997
+
3998
+ @BeforePayModeRemainUsedCnt.setter
3999
+ def BeforePayModeRemainUsedCnt(self, BeforePayModeRemainUsedCnt):
4000
+ self._BeforePayModeRemainUsedCnt = BeforePayModeRemainUsedCnt
4001
+
4002
+
4003
+ def _deserialize(self, params):
4004
+ self._PayMode = params.get("PayMode")
4005
+ self._AfterPayModeThisMonthUsedCnt = params.get("AfterPayModeThisMonthUsedCnt")
4006
+ self._CreateTime = params.get("CreateTime")
4007
+ self._ExpireTime = params.get("ExpireTime")
4008
+ self._AfterPayModeLastMonthUsedCnt = params.get("AfterPayModeLastMonthUsedCnt")
4009
+ self._BeforePayModeTotalUsedCnt = params.get("BeforePayModeTotalUsedCnt")
4010
+ self._BeforePayModeRemainUsedCnt = params.get("BeforePayModeRemainUsedCnt")
4011
+ memeber_set = set(params.keys())
4012
+ for name, value in vars(self).items():
4013
+ property_name = name[1:]
4014
+ if property_name in memeber_set:
4015
+ memeber_set.remove(property_name)
4016
+ if len(memeber_set) > 0:
4017
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4018
+
4019
+
4020
+
4021
+ class OutputDescribeUserUsageCntData(AbstractModel):
4022
+ """RCE控制台预付费和后付费次数展示出参数据
4023
+
4024
+ """
4025
+
4026
+ def __init__(self):
4027
+ r"""
4028
+ :param _Code: 错误码,0 表示成功,非0表示失败错误码。 0:成功 4300:未开通服务
4029
+ :type Code: int
4030
+ :param _Message: 错误信息
4031
+ :type Message: str
4032
+ :param _Value: 业务详情
4033
+ 注意:此字段可能返回 null,表示取不到有效值。
4034
+ :type Value: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCnt`
4035
+ """
4036
+ self._Code = None
4037
+ self._Message = None
4038
+ self._Value = None
4039
+
4040
+ @property
4041
+ def Code(self):
4042
+ """错误码,0 表示成功,非0表示失败错误码。 0:成功 4300:未开通服务
4043
+ :rtype: int
4044
+ """
4045
+ return self._Code
4046
+
4047
+ @Code.setter
4048
+ def Code(self, Code):
4049
+ self._Code = Code
4050
+
4051
+ @property
4052
+ def Message(self):
4053
+ """错误信息
4054
+ :rtype: str
4055
+ """
4056
+ return self._Message
4057
+
4058
+ @Message.setter
4059
+ def Message(self, Message):
4060
+ self._Message = Message
4061
+
4062
+ @property
4063
+ def Value(self):
4064
+ """业务详情
4065
+ 注意:此字段可能返回 null,表示取不到有效值。
4066
+ :rtype: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCnt`
4067
+ """
4068
+ return self._Value
4069
+
4070
+ @Value.setter
4071
+ def Value(self, Value):
4072
+ self._Value = Value
4073
+
4074
+
4075
+ def _deserialize(self, params):
4076
+ self._Code = params.get("Code")
4077
+ self._Message = params.get("Message")
4078
+ if params.get("Value") is not None:
4079
+ self._Value = OutputDescribeUserUsageCnt()
4080
+ self._Value._deserialize(params.get("Value"))
4081
+ memeber_set = set(params.keys())
4082
+ for name, value in vars(self).items():
4083
+ property_name = name[1:]
4084
+ if property_name in memeber_set:
4085
+ memeber_set.remove(property_name)
4086
+ if len(memeber_set) > 0:
4087
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4088
+
4089
+
4090
+
3830
4091
  class OutputImportNameListDataFront(AbstractModel):
3831
4092
  """添加黑白名单数据出参
3832
4093
 
@@ -164,6 +164,29 @@ class RceClient(AbstractClient):
164
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
165
165
 
166
166
 
167
+ def DescribeUserUsageCnt(self, request):
168
+ """RCE控制台预付费和后付费次数展示
169
+
170
+ :param request: Request instance for DescribeUserUsageCnt.
171
+ :type request: :class:`tencentcloud.rce.v20201103.models.DescribeUserUsageCntRequest`
172
+ :rtype: :class:`tencentcloud.rce.v20201103.models.DescribeUserUsageCntResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("DescribeUserUsageCnt", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.DescribeUserUsageCntResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
167
190
  def ImportNameListData(self, request):
168
191
  """新增黑白名单数据,所有黑白名单数据总量上限为10000
169
192
 
@@ -1,10 +1,10 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-rce
3
- Version: 3.0.1266
3
+ Version: 3.0.1285
4
4
  Summary: Tencent Cloud Rce SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Description: ============================
10
10
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1285
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1266