tencentcloud-sdk-python 3.0.1403__py2.py3-none-any.whl → 3.0.1405__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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1403'
17
+ __version__ = '3.0.1405'
@@ -8773,6 +8773,146 @@ class ProjectListData(AbstractModel):
8773
8773
 
8774
8774
 
8775
8775
 
8776
+ class UserGroupDTO(AbstractModel):
8777
+ """用户组
8778
+
8779
+ """
8780
+
8781
+ def __init__(self):
8782
+ r"""
8783
+ :param _Id: id
8784
+ 注意:此字段可能返回 null,表示取不到有效值。
8785
+ :type Id: int
8786
+ :param _GroupName: 用户组名称
8787
+ 注意:此字段可能返回 null,表示取不到有效值。
8788
+ :type GroupName: str
8789
+ :param _ParentId: 父节点id
8790
+ 注意:此字段可能返回 null,表示取不到有效值。
8791
+ :type ParentId: int
8792
+ :param _IsDefault: 是否为默认
8793
+ 注意:此字段可能返回 null,表示取不到有效值。
8794
+ :type IsDefault: int
8795
+ :param _AdminUserId: 管理员用户id
8796
+ 注意:此字段可能返回 null,表示取不到有效值。
8797
+ :type AdminUserId: str
8798
+ :param _Description: 描述
8799
+ 注意:此字段可能返回 null,表示取不到有效值。
8800
+ :type Description: str
8801
+ :param _Location: 定位
8802
+ 注意:此字段可能返回 null,表示取不到有效值。
8803
+ :type Location: int
8804
+ """
8805
+ self._Id = None
8806
+ self._GroupName = None
8807
+ self._ParentId = None
8808
+ self._IsDefault = None
8809
+ self._AdminUserId = None
8810
+ self._Description = None
8811
+ self._Location = None
8812
+
8813
+ @property
8814
+ def Id(self):
8815
+ """id
8816
+ 注意:此字段可能返回 null,表示取不到有效值。
8817
+ :rtype: int
8818
+ """
8819
+ return self._Id
8820
+
8821
+ @Id.setter
8822
+ def Id(self, Id):
8823
+ self._Id = Id
8824
+
8825
+ @property
8826
+ def GroupName(self):
8827
+ """用户组名称
8828
+ 注意:此字段可能返回 null,表示取不到有效值。
8829
+ :rtype: str
8830
+ """
8831
+ return self._GroupName
8832
+
8833
+ @GroupName.setter
8834
+ def GroupName(self, GroupName):
8835
+ self._GroupName = GroupName
8836
+
8837
+ @property
8838
+ def ParentId(self):
8839
+ """父节点id
8840
+ 注意:此字段可能返回 null,表示取不到有效值。
8841
+ :rtype: int
8842
+ """
8843
+ return self._ParentId
8844
+
8845
+ @ParentId.setter
8846
+ def ParentId(self, ParentId):
8847
+ self._ParentId = ParentId
8848
+
8849
+ @property
8850
+ def IsDefault(self):
8851
+ """是否为默认
8852
+ 注意:此字段可能返回 null,表示取不到有效值。
8853
+ :rtype: int
8854
+ """
8855
+ return self._IsDefault
8856
+
8857
+ @IsDefault.setter
8858
+ def IsDefault(self, IsDefault):
8859
+ self._IsDefault = IsDefault
8860
+
8861
+ @property
8862
+ def AdminUserId(self):
8863
+ """管理员用户id
8864
+ 注意:此字段可能返回 null,表示取不到有效值。
8865
+ :rtype: str
8866
+ """
8867
+ return self._AdminUserId
8868
+
8869
+ @AdminUserId.setter
8870
+ def AdminUserId(self, AdminUserId):
8871
+ self._AdminUserId = AdminUserId
8872
+
8873
+ @property
8874
+ def Description(self):
8875
+ """描述
8876
+ 注意:此字段可能返回 null,表示取不到有效值。
8877
+ :rtype: str
8878
+ """
8879
+ return self._Description
8880
+
8881
+ @Description.setter
8882
+ def Description(self, Description):
8883
+ self._Description = Description
8884
+
8885
+ @property
8886
+ def Location(self):
8887
+ """定位
8888
+ 注意:此字段可能返回 null,表示取不到有效值。
8889
+ :rtype: int
8890
+ """
8891
+ return self._Location
8892
+
8893
+ @Location.setter
8894
+ def Location(self, Location):
8895
+ self._Location = Location
8896
+
8897
+
8898
+ def _deserialize(self, params):
8899
+ self._Id = params.get("Id")
8900
+ self._GroupName = params.get("GroupName")
8901
+ self._ParentId = params.get("ParentId")
8902
+ self._IsDefault = params.get("IsDefault")
8903
+ self._AdminUserId = params.get("AdminUserId")
8904
+ self._Description = params.get("Description")
8905
+ self._Location = params.get("Location")
8906
+ memeber_set = set(params.keys())
8907
+ for name, value in vars(self).items():
8908
+ property_name = name[1:]
8909
+ if property_name in memeber_set:
8910
+ memeber_set.remove(property_name)
8911
+ if len(memeber_set) > 0:
8912
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8913
+
8914
+
8915
+
8776
8916
  class UserIdAndUserName(AbstractModel):
8777
8917
  """用户ID和用户名
8778
8918
 
@@ -9589,6 +9729,9 @@ class UserRoleListDataUserRoleInfo(AbstractModel):
9589
9729
  :param _EmailActivationStatus: 邮箱激活状态
9590
9730
  注意:此字段可能返回 null,表示取不到有效值。
9591
9731
  :type EmailActivationStatus: int
9732
+ :param _UserGroupList: 用户组信息
9733
+ 注意:此字段可能返回 null,表示取不到有效值。
9734
+ :type UserGroupList: list of UserGroupDTO
9592
9735
  """
9593
9736
  self._Id = None
9594
9737
  self._RoleList = None
@@ -9613,6 +9756,7 @@ class UserRoleListDataUserRoleInfo(AbstractModel):
9613
9756
  self._InValidateAppRange = None
9614
9757
  self._AppOpenUserId = None
9615
9758
  self._EmailActivationStatus = None
9759
+ self._UserGroupList = None
9616
9760
 
9617
9761
  @property
9618
9762
  def Id(self):
@@ -9886,6 +10030,18 @@ class UserRoleListDataUserRoleInfo(AbstractModel):
9886
10030
  def EmailActivationStatus(self, EmailActivationStatus):
9887
10031
  self._EmailActivationStatus = EmailActivationStatus
9888
10032
 
10033
+ @property
10034
+ def UserGroupList(self):
10035
+ """用户组信息
10036
+ 注意:此字段可能返回 null,表示取不到有效值。
10037
+ :rtype: list of UserGroupDTO
10038
+ """
10039
+ return self._UserGroupList
10040
+
10041
+ @UserGroupList.setter
10042
+ def UserGroupList(self, UserGroupList):
10043
+ self._UserGroupList = UserGroupList
10044
+
9889
10045
 
9890
10046
  def _deserialize(self, params):
9891
10047
  self._Id = params.get("Id")
@@ -9916,6 +10072,12 @@ class UserRoleListDataUserRoleInfo(AbstractModel):
9916
10072
  self._InValidateAppRange = params.get("InValidateAppRange")
9917
10073
  self._AppOpenUserId = params.get("AppOpenUserId")
9918
10074
  self._EmailActivationStatus = params.get("EmailActivationStatus")
10075
+ if params.get("UserGroupList") is not None:
10076
+ self._UserGroupList = []
10077
+ for item in params.get("UserGroupList"):
10078
+ obj = UserGroupDTO()
10079
+ obj._deserialize(item)
10080
+ self._UserGroupList.append(obj)
9919
10081
  memeber_set = set(params.keys())
9920
10082
  for name, value in vars(self).items():
9921
10083
  property_name = name[1:]
@@ -22022,7 +22022,7 @@ class DescribeTableColumnsRequest(AbstractModel):
22022
22022
  r"""
22023
22023
  :param _InstanceId: 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
22024
22024
  :type InstanceId: str
22025
- :param _Database: 数据库名称,可使用[查询数据库](https://cloud.tencent.com/document/api/253/7167)接口获得。
22025
+ :param _Database: 数据库名称,可使用[查询数据库](https://cloud.tencent.com/document/api/236/17493)接口获得。
22026
22026
  :type Database: str
22027
22027
  :param _Table: 数据库中的表的名称。
22028
22028
  :type Table: str
@@ -22044,7 +22044,7 @@ class DescribeTableColumnsRequest(AbstractModel):
22044
22044
 
22045
22045
  @property
22046
22046
  def Database(self):
22047
- """数据库名称,可使用[查询数据库](https://cloud.tencent.com/document/api/253/7167)接口获得。
22047
+ """数据库名称,可使用[查询数据库](https://cloud.tencent.com/document/api/236/17493)接口获得。
22048
22048
  :rtype: str
22049
22049
  """
22050
22050
  return self._Database
@@ -5800,13 +5800,13 @@ class ModifyFileSystemAutoScaleUpRuleRequest(AbstractModel):
5800
5800
 
5801
5801
  def __init__(self):
5802
5802
  r"""
5803
- :param _FileSystemId: 文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
5803
+ :param _FileSystemId: 文件系统 ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
5804
5804
  :type FileSystemId: str
5805
5805
  :param _ScaleUpThreshold: 扩容阈值,范围[10-90]
5806
5806
  :type ScaleUpThreshold: int
5807
- :param _TargetThreshold: 扩容后目标阈值,范围[10-90],该值要小于ScaleUpThreshold
5807
+ :param _TargetThreshold: 扩容后目标阈值,范围[1-90],该值要小于 ScaleUpThreshold
5808
5808
  :type TargetThreshold: int
5809
- :param _Status: 规则状态0:关闭,1 开启;不传保留原状态
5809
+ :param _Status: 规则状态 0:关闭,1:开启;不传保留原状态
5810
5810
  :type Status: int
5811
5811
  """
5812
5812
  self._FileSystemId = None
@@ -5816,7 +5816,7 @@ class ModifyFileSystemAutoScaleUpRuleRequest(AbstractModel):
5816
5816
 
5817
5817
  @property
5818
5818
  def FileSystemId(self):
5819
- """文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
5819
+ """文件系统 ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
5820
5820
  :rtype: str
5821
5821
  """
5822
5822
  return self._FileSystemId
@@ -5838,7 +5838,7 @@ class ModifyFileSystemAutoScaleUpRuleRequest(AbstractModel):
5838
5838
 
5839
5839
  @property
5840
5840
  def TargetThreshold(self):
5841
- """扩容后目标阈值,范围[10-90],该值要小于ScaleUpThreshold
5841
+ """扩容后目标阈值,范围[1-90],该值要小于 ScaleUpThreshold
5842
5842
  :rtype: int
5843
5843
  """
5844
5844
  return self._TargetThreshold
@@ -5849,7 +5849,7 @@ class ModifyFileSystemAutoScaleUpRuleRequest(AbstractModel):
5849
5849
 
5850
5850
  @property
5851
5851
  def Status(self):
5852
- """规则状态0:关闭,1 开启;不传保留原状态
5852
+ """规则状态 0:关闭,1:开启;不传保留原状态
5853
5853
  :rtype: int
5854
5854
  """
5855
5855
  return self._Status
@@ -5881,13 +5881,13 @@ class ModifyFileSystemAutoScaleUpRuleResponse(AbstractModel):
5881
5881
 
5882
5882
  def __init__(self):
5883
5883
  r"""
5884
- :param _FileSystemId: 文件系统id
5884
+ :param _FileSystemId: 文件系统 ID
5885
5885
  :type FileSystemId: str
5886
- :param _Status: 规则状态0:关闭,1 开启
5886
+ :param _Status: 规则状态 0:关闭,1:开启
5887
5887
  :type Status: int
5888
- :param _ScaleUpThreshold: 扩容阈值,范围[10-90]
5888
+ :param _ScaleUpThreshold: 扩容阈值,范围[10-90]
5889
5889
  :type ScaleUpThreshold: int
5890
- :param _TargetThreshold: 扩容后达到阈值,范围[10-90]
5890
+ :param _TargetThreshold: 扩容后达到阈值,范围[1-90]
5891
5891
  :type TargetThreshold: int
5892
5892
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5893
5893
  :type RequestId: str
@@ -5900,7 +5900,7 @@ class ModifyFileSystemAutoScaleUpRuleResponse(AbstractModel):
5900
5900
 
5901
5901
  @property
5902
5902
  def FileSystemId(self):
5903
- """文件系统id
5903
+ """文件系统 ID
5904
5904
  :rtype: str
5905
5905
  """
5906
5906
  return self._FileSystemId
@@ -5911,7 +5911,7 @@ class ModifyFileSystemAutoScaleUpRuleResponse(AbstractModel):
5911
5911
 
5912
5912
  @property
5913
5913
  def Status(self):
5914
- """规则状态0:关闭,1 开启
5914
+ """规则状态 0:关闭,1:开启
5915
5915
  :rtype: int
5916
5916
  """
5917
5917
  return self._Status
@@ -5922,7 +5922,7 @@ class ModifyFileSystemAutoScaleUpRuleResponse(AbstractModel):
5922
5922
 
5923
5923
  @property
5924
5924
  def ScaleUpThreshold(self):
5925
- """扩容阈值,范围[10-90]
5925
+ """扩容阈值,范围[10-90]
5926
5926
  :rtype: int
5927
5927
  """
5928
5928
  return self._ScaleUpThreshold
@@ -5933,7 +5933,7 @@ class ModifyFileSystemAutoScaleUpRuleResponse(AbstractModel):
5933
5933
 
5934
5934
  @property
5935
5935
  def TargetThreshold(self):
5936
- """扩容后达到阈值,范围[10-90]
5936
+ """扩容后达到阈值,范围[1-90]
5937
5937
  :rtype: int
5938
5938
  """
5939
5939
  return self._TargetThreshold
@@ -8107,9 +8107,12 @@ class CreateLogsetRequest(AbstractModel):
8107
8107
  :type LogsetName: str
8108
8108
  :param _Tags: 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对
8109
8109
  :type Tags: list of Tag
8110
+ :param _LogsetId: 日志集ID,格式为:用户自定义部分-用户appid,用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符,尾部需要使用-拼接用户appid
8111
+ :type LogsetId: str
8110
8112
  """
8111
8113
  self._LogsetName = None
8112
8114
  self._Tags = None
8115
+ self._LogsetId = None
8113
8116
 
8114
8117
  @property
8115
8118
  def LogsetName(self):
@@ -8133,6 +8136,17 @@ class CreateLogsetRequest(AbstractModel):
8133
8136
  def Tags(self, Tags):
8134
8137
  self._Tags = Tags
8135
8138
 
8139
+ @property
8140
+ def LogsetId(self):
8141
+ """日志集ID,格式为:用户自定义部分-用户appid,用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符,尾部需要使用-拼接用户appid
8142
+ :rtype: str
8143
+ """
8144
+ return self._LogsetId
8145
+
8146
+ @LogsetId.setter
8147
+ def LogsetId(self, LogsetId):
8148
+ self._LogsetId = LogsetId
8149
+
8136
8150
 
8137
8151
  def _deserialize(self, params):
8138
8152
  self._LogsetName = params.get("LogsetName")
@@ -8142,6 +8156,7 @@ class CreateLogsetRequest(AbstractModel):
8142
8156
  obj = Tag()
8143
8157
  obj._deserialize(item)
8144
8158
  self._Tags.append(obj)
8159
+ self._LogsetId = params.get("LogsetId")
8145
8160
  memeber_set = set(params.keys())
8146
8161
  for name, value in vars(self).items():
8147
8162
  property_name = name[1:]
@@ -29548,7 +29548,7 @@ class SyncProxyOrganizationOperatorsRequest(AbstractModel):
29548
29548
  :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
29549
29549
  :param _OperatorType: 操作类型,对应的操作
29550
29550
  <ul><li> **CREATE** :新增员工</li>
29551
- <li> **UPDATE** :修改员工</li>
29551
+ <li> **UPDATE** :修改员工(仅支持修改未实名员工的信息,如果已经实名并加入企业的员工基础信息修改需要到小程序中进行)</li>
29552
29552
  <li> **RESIGN** :离职员工</li></ul>
29553
29553
  :type OperatorType: str
29554
29554
  :param _ProxyOrganizationOperators: 员工信息列表,最多支持200个
@@ -29583,7 +29583,7 @@ class SyncProxyOrganizationOperatorsRequest(AbstractModel):
29583
29583
  def OperatorType(self):
29584
29584
  """操作类型,对应的操作
29585
29585
  <ul><li> **CREATE** :新增员工</li>
29586
- <li> **UPDATE** :修改员工</li>
29586
+ <li> **UPDATE** :修改员工(仅支持修改未实名员工的信息,如果已经实名并加入企业的员工基础信息修改需要到小程序中进行)</li>
29587
29587
  <li> **RESIGN** :离职员工</li></ul>
29588
29588
  :rtype: str
29589
29589
  """
@@ -256,6 +256,29 @@ class IotexplorerClient(AbstractClient):
256
256
  raise TencentCloudSDKException(type(e).__name__, str(e))
257
257
 
258
258
 
259
+ def CreateAISearchTaskAsync(self, request):
260
+ """创建视频语义异步搜索任务
261
+
262
+ :param request: Request instance for CreateAISearchTaskAsync.
263
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateAISearchTaskAsyncRequest`
264
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateAISearchTaskAsyncResponse`
265
+
266
+ """
267
+ try:
268
+ params = request._serialize()
269
+ headers = request.headers
270
+ body = self.call("CreateAISearchTaskAsync", params, headers=headers)
271
+ response = json.loads(body)
272
+ model = models.CreateAISearchTaskAsyncResponse()
273
+ model._deserialize(response["Response"])
274
+ return model
275
+ except Exception as e:
276
+ if isinstance(e, TencentCloudSDKException):
277
+ raise
278
+ else:
279
+ raise TencentCloudSDKException(type(e).__name__, str(e))
280
+
281
+
259
282
  def CreateBatchProduction(self, request):
260
283
  """用于新建批量生产设备
261
284
 
@@ -969,6 +992,29 @@ class IotexplorerClient(AbstractClient):
969
992
  raise TencentCloudSDKException(type(e).__name__, str(e))
970
993
 
971
994
 
995
+ def DescribeAISearchTaskAsync(self, request):
996
+ """获取视频语义异步搜索任务详情
997
+
998
+ :param request: Request instance for DescribeAISearchTaskAsync.
999
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeAISearchTaskAsyncRequest`
1000
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeAISearchTaskAsyncResponse`
1001
+
1002
+ """
1003
+ try:
1004
+ params = request._serialize()
1005
+ headers = request.headers
1006
+ body = self.call("DescribeAISearchTaskAsync", params, headers=headers)
1007
+ response = json.loads(body)
1008
+ model = models.DescribeAISearchTaskAsyncResponse()
1009
+ model._deserialize(response["Response"])
1010
+ return model
1011
+ except Exception as e:
1012
+ if isinstance(e, TencentCloudSDKException):
1013
+ raise
1014
+ else:
1015
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1016
+
1017
+
972
1018
  def DescribeActivateDevice(self, request):
973
1019
  """获取设备激活详情
974
1020