tencentcloud-sdk-python 3.0.1212__py2.py3-none-any.whl → 3.0.1214__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 +1 -1
- tencentcloud/asr/v20190614/asr_client.py +7 -1
- tencentcloud/asr/v20190614/models.py +2 -0
- tencentcloud/ccc/v20200210/models.py +12 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +23 -0
- tencentcloud/cdwdoris/v20211228/models.py +132 -0
- tencentcloud/cfg/v20210820/models.py +13 -0
- tencentcloud/cls/v20201016/models.py +244 -6
- tencentcloud/cwp/v20180228/models.py +38 -0
- tencentcloud/dbbrain/v20210527/models.py +210 -0
- tencentcloud/ess/v20201111/models.py +12 -0
- tencentcloud/facefusion/v20181201/models.py +9 -3
- tencentcloud/facefusion/v20220927/models.py +19 -7
- tencentcloud/faceid/v20180301/models.py +26 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/models.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +13 -5
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +28 -0
- tencentcloud/lke/v20231130/models.py +20 -0
- tencentcloud/mps/v20190612/models.py +64 -5
- tencentcloud/ms/v20180408/ms_client.py +23 -69
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/ocr/v20181119/models.py +267 -1
- tencentcloud/ocr/v20181119/ocr_client.py +46 -0
- tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +185 -1
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
- tencentcloud/tdmq/v20200217/models.py +25 -0
- tencentcloud/tiia/v20190529/models.py +0 -469
- tencentcloud/tiia/v20190529/tiia_client.py +0 -29
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/vod/v20180717/errorcodes.py +12 -0
- tencentcloud/vod/v20180717/models.py +81 -7
- tencentcloud/vpc/v20170312/models.py +104 -0
- {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1212.dist-info → tencentcloud_sdk_python-3.0.1214.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -447,7 +447,13 @@ class AsrClient(AbstractClient):
|
|
447
447
|
|
448
448
|
|
449
449
|
def SentenceRecognition(self, request):
|
450
|
-
"""本接口用于对60
|
450
|
+
"""本接口用于对60秒之内的短音频文件进行识别。
|
451
|
+
• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
|
452
|
+
• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
|
453
|
+
• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
|
454
|
+
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
455
|
+
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
456
|
+
• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
451
457
|
|
452
458
|
:param request: Request instance for SentenceRecognition.
|
453
459
|
:type request: :class:`tencentcloud.asr.v20190614.models.SentenceRecognitionRequest`
|
@@ -2464,6 +2464,8 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
2464
2464
|
:param _SubServiceType: 子服务类型。2: 一句话识别。
|
2465
2465
|
:type SubServiceType: int
|
2466
2466
|
:param _Url: 语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
|
2467
|
+
|
2468
|
+
注意:推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
|
2467
2469
|
:type Url: str
|
2468
2470
|
:param _UsrAudioKey: 废弃参数,填写任意字符串即可。
|
2469
2471
|
:type UsrAudioKey: str
|
@@ -8003,6 +8003,8 @@ class ModifyStaffRequest(AbstractModel):
|
|
8003
8003
|
:type Phone: str
|
8004
8004
|
:param _Nick: 座席昵称
|
8005
8005
|
:type Nick: str
|
8006
|
+
:param _StaffNo: 座席工号
|
8007
|
+
:type StaffNo: str
|
8006
8008
|
:param _SkillGroupIds: 绑定技能组ID列表
|
8007
8009
|
:type SkillGroupIds: list of int
|
8008
8010
|
:param _UseMobileCallOut: 是否开启手机外呼开关
|
@@ -8015,6 +8017,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
8015
8017
|
self._Name = None
|
8016
8018
|
self._Phone = None
|
8017
8019
|
self._Nick = None
|
8020
|
+
self._StaffNo = None
|
8018
8021
|
self._SkillGroupIds = None
|
8019
8022
|
self._UseMobileCallOut = None
|
8020
8023
|
self._UseMobileAccept = None
|
@@ -8059,6 +8062,14 @@ class ModifyStaffRequest(AbstractModel):
|
|
8059
8062
|
def Nick(self, Nick):
|
8060
8063
|
self._Nick = Nick
|
8061
8064
|
|
8065
|
+
@property
|
8066
|
+
def StaffNo(self):
|
8067
|
+
return self._StaffNo
|
8068
|
+
|
8069
|
+
@StaffNo.setter
|
8070
|
+
def StaffNo(self, StaffNo):
|
8071
|
+
self._StaffNo = StaffNo
|
8072
|
+
|
8062
8073
|
@property
|
8063
8074
|
def SkillGroupIds(self):
|
8064
8075
|
return self._SkillGroupIds
|
@@ -8090,6 +8101,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
8090
8101
|
self._Name = params.get("Name")
|
8091
8102
|
self._Phone = params.get("Phone")
|
8092
8103
|
self._Nick = params.get("Nick")
|
8104
|
+
self._StaffNo = params.get("StaffNo")
|
8093
8105
|
self._SkillGroupIds = params.get("SkillGroupIds")
|
8094
8106
|
self._UseMobileCallOut = params.get("UseMobileCallOut")
|
8095
8107
|
self._UseMobileAccept = params.get("UseMobileAccept")
|
@@ -900,6 +900,29 @@ class CdwdorisClient(AbstractClient):
|
|
900
900
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
901
901
|
|
902
902
|
|
903
|
+
def DescribeTableList(self, request):
|
904
|
+
"""获取指定数据源和库下的表列表
|
905
|
+
|
906
|
+
:param request: Request instance for DescribeTableList.
|
907
|
+
:type request: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeTableListRequest`
|
908
|
+
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeTableListResponse`
|
909
|
+
|
910
|
+
"""
|
911
|
+
try:
|
912
|
+
params = request._serialize()
|
913
|
+
headers = request.headers
|
914
|
+
body = self.call("DescribeTableList", params, headers=headers)
|
915
|
+
response = json.loads(body)
|
916
|
+
model = models.DescribeTableListResponse()
|
917
|
+
model._deserialize(response["Response"])
|
918
|
+
return model
|
919
|
+
except Exception as e:
|
920
|
+
if isinstance(e, TencentCloudSDKException):
|
921
|
+
raise
|
922
|
+
else:
|
923
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
924
|
+
|
925
|
+
|
903
926
|
def DescribeUserBindWorkloadGroup(self, request):
|
904
927
|
"""获取当前集群各用户绑定的资源信息
|
905
928
|
|
@@ -6546,6 +6546,138 @@ class DescribeSqlApisResponse(AbstractModel):
|
|
6546
6546
|
self._RequestId = params.get("RequestId")
|
6547
6547
|
|
6548
6548
|
|
6549
|
+
class DescribeTableListRequest(AbstractModel):
|
6550
|
+
"""DescribeTableList请求参数结构体
|
6551
|
+
|
6552
|
+
"""
|
6553
|
+
|
6554
|
+
def __init__(self):
|
6555
|
+
r"""
|
6556
|
+
:param _InstanceId: 资源ID,建表所用的TCHouse-D资源ID。
|
6557
|
+
:type InstanceId: str
|
6558
|
+
:param _DbName: 需要获取表列表的库
|
6559
|
+
:type DbName: str
|
6560
|
+
:param _UserName: 使用该用户进行操作,该用户需要有对应的权限。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写
|
6561
|
+
:type UserName: str
|
6562
|
+
:param _PassWord: 用户对应的密码。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写
|
6563
|
+
:type PassWord: str
|
6564
|
+
:param _CatalogName: 查询库所在的数据源,不填则默认为内部数据源(internal)。
|
6565
|
+
:type CatalogName: str
|
6566
|
+
"""
|
6567
|
+
self._InstanceId = None
|
6568
|
+
self._DbName = None
|
6569
|
+
self._UserName = None
|
6570
|
+
self._PassWord = None
|
6571
|
+
self._CatalogName = None
|
6572
|
+
|
6573
|
+
@property
|
6574
|
+
def InstanceId(self):
|
6575
|
+
return self._InstanceId
|
6576
|
+
|
6577
|
+
@InstanceId.setter
|
6578
|
+
def InstanceId(self, InstanceId):
|
6579
|
+
self._InstanceId = InstanceId
|
6580
|
+
|
6581
|
+
@property
|
6582
|
+
def DbName(self):
|
6583
|
+
return self._DbName
|
6584
|
+
|
6585
|
+
@DbName.setter
|
6586
|
+
def DbName(self, DbName):
|
6587
|
+
self._DbName = DbName
|
6588
|
+
|
6589
|
+
@property
|
6590
|
+
def UserName(self):
|
6591
|
+
return self._UserName
|
6592
|
+
|
6593
|
+
@UserName.setter
|
6594
|
+
def UserName(self, UserName):
|
6595
|
+
self._UserName = UserName
|
6596
|
+
|
6597
|
+
@property
|
6598
|
+
def PassWord(self):
|
6599
|
+
return self._PassWord
|
6600
|
+
|
6601
|
+
@PassWord.setter
|
6602
|
+
def PassWord(self, PassWord):
|
6603
|
+
self._PassWord = PassWord
|
6604
|
+
|
6605
|
+
@property
|
6606
|
+
def CatalogName(self):
|
6607
|
+
return self._CatalogName
|
6608
|
+
|
6609
|
+
@CatalogName.setter
|
6610
|
+
def CatalogName(self, CatalogName):
|
6611
|
+
self._CatalogName = CatalogName
|
6612
|
+
|
6613
|
+
|
6614
|
+
def _deserialize(self, params):
|
6615
|
+
self._InstanceId = params.get("InstanceId")
|
6616
|
+
self._DbName = params.get("DbName")
|
6617
|
+
self._UserName = params.get("UserName")
|
6618
|
+
self._PassWord = params.get("PassWord")
|
6619
|
+
self._CatalogName = params.get("CatalogName")
|
6620
|
+
memeber_set = set(params.keys())
|
6621
|
+
for name, value in vars(self).items():
|
6622
|
+
property_name = name[1:]
|
6623
|
+
if property_name in memeber_set:
|
6624
|
+
memeber_set.remove(property_name)
|
6625
|
+
if len(memeber_set) > 0:
|
6626
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6627
|
+
|
6628
|
+
|
6629
|
+
|
6630
|
+
class DescribeTableListResponse(AbstractModel):
|
6631
|
+
"""DescribeTableList返回参数结构体
|
6632
|
+
|
6633
|
+
"""
|
6634
|
+
|
6635
|
+
def __init__(self):
|
6636
|
+
r"""
|
6637
|
+
:param _TableNames: 表名列表
|
6638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6639
|
+
:type TableNames: list of str
|
6640
|
+
:param _Message: 错误信息
|
6641
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6642
|
+
:type Message: str
|
6643
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6644
|
+
:type RequestId: str
|
6645
|
+
"""
|
6646
|
+
self._TableNames = None
|
6647
|
+
self._Message = None
|
6648
|
+
self._RequestId = None
|
6649
|
+
|
6650
|
+
@property
|
6651
|
+
def TableNames(self):
|
6652
|
+
return self._TableNames
|
6653
|
+
|
6654
|
+
@TableNames.setter
|
6655
|
+
def TableNames(self, TableNames):
|
6656
|
+
self._TableNames = TableNames
|
6657
|
+
|
6658
|
+
@property
|
6659
|
+
def Message(self):
|
6660
|
+
return self._Message
|
6661
|
+
|
6662
|
+
@Message.setter
|
6663
|
+
def Message(self, Message):
|
6664
|
+
self._Message = Message
|
6665
|
+
|
6666
|
+
@property
|
6667
|
+
def RequestId(self):
|
6668
|
+
return self._RequestId
|
6669
|
+
|
6670
|
+
@RequestId.setter
|
6671
|
+
def RequestId(self, RequestId):
|
6672
|
+
self._RequestId = RequestId
|
6673
|
+
|
6674
|
+
|
6675
|
+
def _deserialize(self, params):
|
6676
|
+
self._TableNames = params.get("TableNames")
|
6677
|
+
self._Message = params.get("Message")
|
6678
|
+
self._RequestId = params.get("RequestId")
|
6679
|
+
|
6680
|
+
|
6549
6681
|
class DescribeUserBindWorkloadGroupRequest(AbstractModel):
|
6550
6682
|
"""DescribeUserBindWorkloadGroup请求参数结构体
|
6551
6683
|
|
@@ -5128,6 +5128,9 @@ class TemplateGroupAction(AbstractModel):
|
|
5128
5128
|
:param _ActionType: 动作类型:平台和自定义
|
5129
5129
|
注意:此字段可能返回 null,表示取不到有效值。
|
5130
5130
|
:type ActionType: str
|
5131
|
+
:param _ActionRisk: 动作风险等级,1:低风险 2:中风险 3:高风险
|
5132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5133
|
+
:type ActionRisk: str
|
5131
5134
|
"""
|
5132
5135
|
self._TemplateGroupActionId = None
|
5133
5136
|
self._ActionId = None
|
@@ -5143,6 +5146,7 @@ class TemplateGroupAction(AbstractModel):
|
|
5143
5146
|
self._ActionApiType = None
|
5144
5147
|
self._ActionAttribute = None
|
5145
5148
|
self._ActionType = None
|
5149
|
+
self._ActionRisk = None
|
5146
5150
|
|
5147
5151
|
@property
|
5148
5152
|
def TemplateGroupActionId(self):
|
@@ -5256,6 +5260,14 @@ class TemplateGroupAction(AbstractModel):
|
|
5256
5260
|
def ActionType(self, ActionType):
|
5257
5261
|
self._ActionType = ActionType
|
5258
5262
|
|
5263
|
+
@property
|
5264
|
+
def ActionRisk(self):
|
5265
|
+
return self._ActionRisk
|
5266
|
+
|
5267
|
+
@ActionRisk.setter
|
5268
|
+
def ActionRisk(self, ActionRisk):
|
5269
|
+
self._ActionRisk = ActionRisk
|
5270
|
+
|
5259
5271
|
|
5260
5272
|
def _deserialize(self, params):
|
5261
5273
|
self._TemplateGroupActionId = params.get("TemplateGroupActionId")
|
@@ -5272,6 +5284,7 @@ class TemplateGroupAction(AbstractModel):
|
|
5272
5284
|
self._ActionApiType = params.get("ActionApiType")
|
5273
5285
|
self._ActionAttribute = params.get("ActionAttribute")
|
5274
5286
|
self._ActionType = params.get("ActionType")
|
5287
|
+
self._ActionRisk = params.get("ActionRisk")
|
5275
5288
|
memeber_set = set(params.keys())
|
5276
5289
|
for name, value in vars(self).items():
|
5277
5290
|
property_name = name[1:]
|
@@ -2756,20 +2756,23 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2756
2756
|
:param _VerifyCode: 验证码
|
2757
2757
|
注意:此字段可能返回 null,表示取不到有效值。
|
2758
2758
|
:type VerifyCode: str
|
2759
|
-
:param _StartTime:
|
2759
|
+
:param _StartTime: 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
|
2760
2760
|
:type StartTime: str
|
2761
|
-
:param _EndTime:
|
2761
|
+
:param _EndTime: 默认查询范围的结束时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式。注意,结束时间点要大于开始时间点
|
2762
2762
|
:type EndTime: str
|
2763
|
-
:param _NowTime:
|
2763
|
+
:param _NowTime: 仅当StartTime/EndTime为相对时间时使用,基于NowTime计算绝对时间,默认为创建时间
|
2764
2764
|
注意:此字段可能返回 null,表示取不到有效值。
|
2765
2765
|
:type NowTime: int
|
2766
|
-
:param _Params:
|
2766
|
+
:param _Params: 默认的检索分析语句,仅当Type为2时使用
|
2767
2767
|
注意:此字段可能返回 null,表示取不到有效值。
|
2768
2768
|
:type Params: list of ConsoleSharingParam
|
2769
|
-
:param _IsLockTimeRange:
|
2769
|
+
:param _IsLockTimeRange: 是否允许访问者自行修改检索分析时间范围。默认不锁定(false)
|
2770
2770
|
:type IsLockTimeRange: bool
|
2771
|
-
:param _IsLockQuery:
|
2771
|
+
:param _IsLockQuery: 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态。默认不锁定(false)
|
2772
2772
|
:type IsLockQuery: bool
|
2773
|
+
:param _IsSupportLogExport: 检索页分享是否允许访问者下载日志,默认不允许(false)
|
2774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2775
|
+
:type IsSupportLogExport: bool
|
2773
2776
|
"""
|
2774
2777
|
self._Name = None
|
2775
2778
|
self._Type = None
|
@@ -2783,6 +2786,7 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2783
2786
|
self._Params = None
|
2784
2787
|
self._IsLockTimeRange = None
|
2785
2788
|
self._IsLockQuery = None
|
2789
|
+
self._IsSupportLogExport = None
|
2786
2790
|
|
2787
2791
|
@property
|
2788
2792
|
def Name(self):
|
@@ -2880,6 +2884,14 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2880
2884
|
def IsLockQuery(self, IsLockQuery):
|
2881
2885
|
self._IsLockQuery = IsLockQuery
|
2882
2886
|
|
2887
|
+
@property
|
2888
|
+
def IsSupportLogExport(self):
|
2889
|
+
return self._IsSupportLogExport
|
2890
|
+
|
2891
|
+
@IsSupportLogExport.setter
|
2892
|
+
def IsSupportLogExport(self, IsSupportLogExport):
|
2893
|
+
self._IsSupportLogExport = IsSupportLogExport
|
2894
|
+
|
2883
2895
|
|
2884
2896
|
def _deserialize(self, params):
|
2885
2897
|
self._Name = params.get("Name")
|
@@ -2899,6 +2911,7 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2899
2911
|
self._Params.append(obj)
|
2900
2912
|
self._IsLockTimeRange = params.get("IsLockTimeRange")
|
2901
2913
|
self._IsLockQuery = params.get("IsLockQuery")
|
2914
|
+
self._IsSupportLogExport = params.get("IsSupportLogExport")
|
2902
2915
|
memeber_set = set(params.keys())
|
2903
2916
|
for name, value in vars(self).items():
|
2904
2917
|
property_name = name[1:]
|
@@ -5252,6 +5265,71 @@ class CreateDashboardSubscribeRequest(AbstractModel):
|
|
5252
5265
|
|
5253
5266
|
"""
|
5254
5267
|
|
5268
|
+
def __init__(self):
|
5269
|
+
r"""
|
5270
|
+
:param _Name: 仪表盘订阅名称。
|
5271
|
+
:type Name: str
|
5272
|
+
:param _DashboardId: 仪表盘id。
|
5273
|
+
:type DashboardId: str
|
5274
|
+
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。<br><li/>{秒数} 取值范围: 0 ~ 59 <br><li/>{分钟} 取值范围: 0 ~ 59 <br><li/>{小时} 取值范围: 0 ~ 23 <br><li/>{日期} 取值范围: 1 ~ 31 AND (dayOfMonth最后一天: L) <br><li/>{月份} 取值范围: 1 ~ 12 <br><li/>{星期} 取值范围: 0 ~ 6 【0:星期日, 6星期六】
|
5275
|
+
:type Cron: str
|
5276
|
+
:param _SubscribeData: 仪表盘订阅数据。
|
5277
|
+
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
5278
|
+
"""
|
5279
|
+
self._Name = None
|
5280
|
+
self._DashboardId = None
|
5281
|
+
self._Cron = None
|
5282
|
+
self._SubscribeData = None
|
5283
|
+
|
5284
|
+
@property
|
5285
|
+
def Name(self):
|
5286
|
+
return self._Name
|
5287
|
+
|
5288
|
+
@Name.setter
|
5289
|
+
def Name(self, Name):
|
5290
|
+
self._Name = Name
|
5291
|
+
|
5292
|
+
@property
|
5293
|
+
def DashboardId(self):
|
5294
|
+
return self._DashboardId
|
5295
|
+
|
5296
|
+
@DashboardId.setter
|
5297
|
+
def DashboardId(self, DashboardId):
|
5298
|
+
self._DashboardId = DashboardId
|
5299
|
+
|
5300
|
+
@property
|
5301
|
+
def Cron(self):
|
5302
|
+
return self._Cron
|
5303
|
+
|
5304
|
+
@Cron.setter
|
5305
|
+
def Cron(self, Cron):
|
5306
|
+
self._Cron = Cron
|
5307
|
+
|
5308
|
+
@property
|
5309
|
+
def SubscribeData(self):
|
5310
|
+
return self._SubscribeData
|
5311
|
+
|
5312
|
+
@SubscribeData.setter
|
5313
|
+
def SubscribeData(self, SubscribeData):
|
5314
|
+
self._SubscribeData = SubscribeData
|
5315
|
+
|
5316
|
+
|
5317
|
+
def _deserialize(self, params):
|
5318
|
+
self._Name = params.get("Name")
|
5319
|
+
self._DashboardId = params.get("DashboardId")
|
5320
|
+
self._Cron = params.get("Cron")
|
5321
|
+
if params.get("SubscribeData") is not None:
|
5322
|
+
self._SubscribeData = DashboardSubscribeData()
|
5323
|
+
self._SubscribeData._deserialize(params.get("SubscribeData"))
|
5324
|
+
memeber_set = set(params.keys())
|
5325
|
+
for name, value in vars(self).items():
|
5326
|
+
property_name = name[1:]
|
5327
|
+
if property_name in memeber_set:
|
5328
|
+
memeber_set.remove(property_name)
|
5329
|
+
if len(memeber_set) > 0:
|
5330
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5331
|
+
|
5332
|
+
|
5255
5333
|
|
5256
5334
|
class CreateDashboardSubscribeResponse(AbstractModel):
|
5257
5335
|
"""CreateDashboardSubscribe返回参数结构体
|
@@ -8275,6 +8353,33 @@ class DeleteDashboardSubscribeRequest(AbstractModel):
|
|
8275
8353
|
|
8276
8354
|
"""
|
8277
8355
|
|
8356
|
+
def __init__(self):
|
8357
|
+
r"""
|
8358
|
+
:param _Id: 仪表盘订阅记录id。
|
8359
|
+
:type Id: int
|
8360
|
+
"""
|
8361
|
+
self._Id = None
|
8362
|
+
|
8363
|
+
@property
|
8364
|
+
def Id(self):
|
8365
|
+
return self._Id
|
8366
|
+
|
8367
|
+
@Id.setter
|
8368
|
+
def Id(self, Id):
|
8369
|
+
self._Id = Id
|
8370
|
+
|
8371
|
+
|
8372
|
+
def _deserialize(self, params):
|
8373
|
+
self._Id = params.get("Id")
|
8374
|
+
memeber_set = set(params.keys())
|
8375
|
+
for name, value in vars(self).items():
|
8376
|
+
property_name = name[1:]
|
8377
|
+
if property_name in memeber_set:
|
8378
|
+
memeber_set.remove(property_name)
|
8379
|
+
if len(memeber_set) > 0:
|
8380
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8381
|
+
|
8382
|
+
|
8278
8383
|
|
8279
8384
|
class DeleteDashboardSubscribeResponse(AbstractModel):
|
8280
8385
|
"""DeleteDashboardSubscribe返回参数结构体
|
@@ -10086,6 +10191,62 @@ class DescribeDashboardSubscribesRequest(AbstractModel):
|
|
10086
10191
|
|
10087
10192
|
"""
|
10088
10193
|
|
10194
|
+
def __init__(self):
|
10195
|
+
r"""
|
10196
|
+
:param _Filters: <br><li/> dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否<br><br><li/> 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
10197
|
+
:type Filters: list of Filter
|
10198
|
+
:param _Offset: 分页的偏移量,默认值为0。
|
10199
|
+
:type Offset: int
|
10200
|
+
:param _Limit: 分页单页限制数目,默认值为20,最大值100。
|
10201
|
+
:type Limit: int
|
10202
|
+
"""
|
10203
|
+
self._Filters = None
|
10204
|
+
self._Offset = None
|
10205
|
+
self._Limit = None
|
10206
|
+
|
10207
|
+
@property
|
10208
|
+
def Filters(self):
|
10209
|
+
return self._Filters
|
10210
|
+
|
10211
|
+
@Filters.setter
|
10212
|
+
def Filters(self, Filters):
|
10213
|
+
self._Filters = Filters
|
10214
|
+
|
10215
|
+
@property
|
10216
|
+
def Offset(self):
|
10217
|
+
return self._Offset
|
10218
|
+
|
10219
|
+
@Offset.setter
|
10220
|
+
def Offset(self, Offset):
|
10221
|
+
self._Offset = Offset
|
10222
|
+
|
10223
|
+
@property
|
10224
|
+
def Limit(self):
|
10225
|
+
return self._Limit
|
10226
|
+
|
10227
|
+
@Limit.setter
|
10228
|
+
def Limit(self, Limit):
|
10229
|
+
self._Limit = Limit
|
10230
|
+
|
10231
|
+
|
10232
|
+
def _deserialize(self, params):
|
10233
|
+
if params.get("Filters") is not None:
|
10234
|
+
self._Filters = []
|
10235
|
+
for item in params.get("Filters"):
|
10236
|
+
obj = Filter()
|
10237
|
+
obj._deserialize(item)
|
10238
|
+
self._Filters.append(obj)
|
10239
|
+
self._Offset = params.get("Offset")
|
10240
|
+
self._Limit = params.get("Limit")
|
10241
|
+
memeber_set = set(params.keys())
|
10242
|
+
for name, value in vars(self).items():
|
10243
|
+
property_name = name[1:]
|
10244
|
+
if property_name in memeber_set:
|
10245
|
+
memeber_set.remove(property_name)
|
10246
|
+
if len(memeber_set) > 0:
|
10247
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10248
|
+
|
10249
|
+
|
10089
10250
|
|
10090
10251
|
class DescribeDashboardSubscribesResponse(AbstractModel):
|
10091
10252
|
"""DescribeDashboardSubscribes返回参数结构体
|
@@ -17021,6 +17182,83 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
17021
17182
|
|
17022
17183
|
"""
|
17023
17184
|
|
17185
|
+
def __init__(self):
|
17186
|
+
r"""
|
17187
|
+
:param _Id: 仪表盘订阅id。
|
17188
|
+
:type Id: int
|
17189
|
+
:param _DashboardId: 仪表盘id。
|
17190
|
+
:type DashboardId: str
|
17191
|
+
:param _Name: 仪表盘订阅名称。
|
17192
|
+
:type Name: str
|
17193
|
+
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。
|
17194
|
+
:type Cron: str
|
17195
|
+
:param _SubscribeData: 仪表盘订阅数据。
|
17196
|
+
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
17197
|
+
"""
|
17198
|
+
self._Id = None
|
17199
|
+
self._DashboardId = None
|
17200
|
+
self._Name = None
|
17201
|
+
self._Cron = None
|
17202
|
+
self._SubscribeData = None
|
17203
|
+
|
17204
|
+
@property
|
17205
|
+
def Id(self):
|
17206
|
+
return self._Id
|
17207
|
+
|
17208
|
+
@Id.setter
|
17209
|
+
def Id(self, Id):
|
17210
|
+
self._Id = Id
|
17211
|
+
|
17212
|
+
@property
|
17213
|
+
def DashboardId(self):
|
17214
|
+
return self._DashboardId
|
17215
|
+
|
17216
|
+
@DashboardId.setter
|
17217
|
+
def DashboardId(self, DashboardId):
|
17218
|
+
self._DashboardId = DashboardId
|
17219
|
+
|
17220
|
+
@property
|
17221
|
+
def Name(self):
|
17222
|
+
return self._Name
|
17223
|
+
|
17224
|
+
@Name.setter
|
17225
|
+
def Name(self, Name):
|
17226
|
+
self._Name = Name
|
17227
|
+
|
17228
|
+
@property
|
17229
|
+
def Cron(self):
|
17230
|
+
return self._Cron
|
17231
|
+
|
17232
|
+
@Cron.setter
|
17233
|
+
def Cron(self, Cron):
|
17234
|
+
self._Cron = Cron
|
17235
|
+
|
17236
|
+
@property
|
17237
|
+
def SubscribeData(self):
|
17238
|
+
return self._SubscribeData
|
17239
|
+
|
17240
|
+
@SubscribeData.setter
|
17241
|
+
def SubscribeData(self, SubscribeData):
|
17242
|
+
self._SubscribeData = SubscribeData
|
17243
|
+
|
17244
|
+
|
17245
|
+
def _deserialize(self, params):
|
17246
|
+
self._Id = params.get("Id")
|
17247
|
+
self._DashboardId = params.get("DashboardId")
|
17248
|
+
self._Name = params.get("Name")
|
17249
|
+
self._Cron = params.get("Cron")
|
17250
|
+
if params.get("SubscribeData") is not None:
|
17251
|
+
self._SubscribeData = DashboardSubscribeData()
|
17252
|
+
self._SubscribeData._deserialize(params.get("SubscribeData"))
|
17253
|
+
memeber_set = set(params.keys())
|
17254
|
+
for name, value in vars(self).items():
|
17255
|
+
property_name = name[1:]
|
17256
|
+
if property_name in memeber_set:
|
17257
|
+
memeber_set.remove(property_name)
|
17258
|
+
if len(memeber_set) > 0:
|
17259
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17260
|
+
|
17261
|
+
|
17024
17262
|
|
17025
17263
|
class ModifyDashboardSubscribeResponse(AbstractModel):
|
17026
17264
|
"""ModifyDashboardSubscribe返回参数结构体
|