tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -49,6 +49,29 @@ class BiClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def ClearEmbedToken(self, request):
|
|
53
|
+
"""强鉴权token 清理,只有企业管理员才能调用该接口
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for ClearEmbedToken.
|
|
56
|
+
:type request: :class:`tencentcloud.bi.v20220105.models.ClearEmbedTokenRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.bi.v20220105.models.ClearEmbedTokenResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("ClearEmbedToken", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.ClearEmbedTokenResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def CreateDatasource(self, request):
|
|
53
76
|
"""创建数据源
|
|
54
77
|
|
|
@@ -481,6 +481,185 @@ class BaseStateAction(AbstractModel):
|
|
|
481
481
|
|
|
482
482
|
|
|
483
483
|
|
|
484
|
+
class ClearEmbedTokenRequest(AbstractModel):
|
|
485
|
+
"""ClearEmbedToken请求参数结构体
|
|
486
|
+
|
|
487
|
+
"""
|
|
488
|
+
|
|
489
|
+
def __init__(self):
|
|
490
|
+
r"""
|
|
491
|
+
:param _ProjectId: 项目id
|
|
492
|
+
:type ProjectId: str
|
|
493
|
+
:param _UserCorpId: 主账号id
|
|
494
|
+
:type UserCorpId: str
|
|
495
|
+
:param _Scope: panel , page
|
|
496
|
+
:type Scope: str
|
|
497
|
+
:param _PageId: page id
|
|
498
|
+
:type PageId: str
|
|
499
|
+
"""
|
|
500
|
+
self._ProjectId = None
|
|
501
|
+
self._UserCorpId = None
|
|
502
|
+
self._Scope = None
|
|
503
|
+
self._PageId = None
|
|
504
|
+
|
|
505
|
+
@property
|
|
506
|
+
def ProjectId(self):
|
|
507
|
+
"""项目id
|
|
508
|
+
:rtype: str
|
|
509
|
+
"""
|
|
510
|
+
return self._ProjectId
|
|
511
|
+
|
|
512
|
+
@ProjectId.setter
|
|
513
|
+
def ProjectId(self, ProjectId):
|
|
514
|
+
self._ProjectId = ProjectId
|
|
515
|
+
|
|
516
|
+
@property
|
|
517
|
+
def UserCorpId(self):
|
|
518
|
+
"""主账号id
|
|
519
|
+
:rtype: str
|
|
520
|
+
"""
|
|
521
|
+
return self._UserCorpId
|
|
522
|
+
|
|
523
|
+
@UserCorpId.setter
|
|
524
|
+
def UserCorpId(self, UserCorpId):
|
|
525
|
+
self._UserCorpId = UserCorpId
|
|
526
|
+
|
|
527
|
+
@property
|
|
528
|
+
def Scope(self):
|
|
529
|
+
"""panel , page
|
|
530
|
+
:rtype: str
|
|
531
|
+
"""
|
|
532
|
+
return self._Scope
|
|
533
|
+
|
|
534
|
+
@Scope.setter
|
|
535
|
+
def Scope(self, Scope):
|
|
536
|
+
self._Scope = Scope
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
def PageId(self):
|
|
540
|
+
"""page id
|
|
541
|
+
:rtype: str
|
|
542
|
+
"""
|
|
543
|
+
return self._PageId
|
|
544
|
+
|
|
545
|
+
@PageId.setter
|
|
546
|
+
def PageId(self, PageId):
|
|
547
|
+
self._PageId = PageId
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
def _deserialize(self, params):
|
|
551
|
+
self._ProjectId = params.get("ProjectId")
|
|
552
|
+
self._UserCorpId = params.get("UserCorpId")
|
|
553
|
+
self._Scope = params.get("Scope")
|
|
554
|
+
self._PageId = params.get("PageId")
|
|
555
|
+
memeber_set = set(params.keys())
|
|
556
|
+
for name, value in vars(self).items():
|
|
557
|
+
property_name = name[1:]
|
|
558
|
+
if property_name in memeber_set:
|
|
559
|
+
memeber_set.remove(property_name)
|
|
560
|
+
if len(memeber_set) > 0:
|
|
561
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class ClearEmbedTokenResponse(AbstractModel):
|
|
566
|
+
"""ClearEmbedToken返回参数结构体
|
|
567
|
+
|
|
568
|
+
"""
|
|
569
|
+
|
|
570
|
+
def __init__(self):
|
|
571
|
+
r"""
|
|
572
|
+
:param _ErrorInfo: 自定义错误信息对象
|
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
574
|
+
:type ErrorInfo: :class:`tencentcloud.bi.v20220105.models.ErrorInfo`
|
|
575
|
+
:param _Extra: 额外消息
|
|
576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
577
|
+
:type Extra: str
|
|
578
|
+
:param _Msg: 提示消息
|
|
579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
580
|
+
:type Msg: str
|
|
581
|
+
:param _Data: 结果
|
|
582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
583
|
+
:type Data: bool
|
|
584
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
585
|
+
:type RequestId: str
|
|
586
|
+
"""
|
|
587
|
+
self._ErrorInfo = None
|
|
588
|
+
self._Extra = None
|
|
589
|
+
self._Msg = None
|
|
590
|
+
self._Data = None
|
|
591
|
+
self._RequestId = None
|
|
592
|
+
|
|
593
|
+
@property
|
|
594
|
+
def ErrorInfo(self):
|
|
595
|
+
"""自定义错误信息对象
|
|
596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
597
|
+
:rtype: :class:`tencentcloud.bi.v20220105.models.ErrorInfo`
|
|
598
|
+
"""
|
|
599
|
+
return self._ErrorInfo
|
|
600
|
+
|
|
601
|
+
@ErrorInfo.setter
|
|
602
|
+
def ErrorInfo(self, ErrorInfo):
|
|
603
|
+
self._ErrorInfo = ErrorInfo
|
|
604
|
+
|
|
605
|
+
@property
|
|
606
|
+
def Extra(self):
|
|
607
|
+
"""额外消息
|
|
608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
609
|
+
:rtype: str
|
|
610
|
+
"""
|
|
611
|
+
return self._Extra
|
|
612
|
+
|
|
613
|
+
@Extra.setter
|
|
614
|
+
def Extra(self, Extra):
|
|
615
|
+
self._Extra = Extra
|
|
616
|
+
|
|
617
|
+
@property
|
|
618
|
+
def Msg(self):
|
|
619
|
+
"""提示消息
|
|
620
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
621
|
+
:rtype: str
|
|
622
|
+
"""
|
|
623
|
+
return self._Msg
|
|
624
|
+
|
|
625
|
+
@Msg.setter
|
|
626
|
+
def Msg(self, Msg):
|
|
627
|
+
self._Msg = Msg
|
|
628
|
+
|
|
629
|
+
@property
|
|
630
|
+
def Data(self):
|
|
631
|
+
"""结果
|
|
632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
633
|
+
:rtype: bool
|
|
634
|
+
"""
|
|
635
|
+
return self._Data
|
|
636
|
+
|
|
637
|
+
@Data.setter
|
|
638
|
+
def Data(self, Data):
|
|
639
|
+
self._Data = Data
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
def RequestId(self):
|
|
643
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
644
|
+
:rtype: str
|
|
645
|
+
"""
|
|
646
|
+
return self._RequestId
|
|
647
|
+
|
|
648
|
+
@RequestId.setter
|
|
649
|
+
def RequestId(self, RequestId):
|
|
650
|
+
self._RequestId = RequestId
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
def _deserialize(self, params):
|
|
654
|
+
if params.get("ErrorInfo") is not None:
|
|
655
|
+
self._ErrorInfo = ErrorInfo()
|
|
656
|
+
self._ErrorInfo._deserialize(params.get("ErrorInfo"))
|
|
657
|
+
self._Extra = params.get("Extra")
|
|
658
|
+
self._Msg = params.get("Msg")
|
|
659
|
+
self._Data = params.get("Data")
|
|
660
|
+
self._RequestId = params.get("RequestId")
|
|
661
|
+
|
|
662
|
+
|
|
484
663
|
class CorpUserListData(AbstractModel):
|
|
485
664
|
"""企业用户列表
|
|
486
665
|
|
|
@@ -6520,14 +6520,17 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
|
6520
6520
|
r"""
|
|
6521
6521
|
:param _DiskSize: 云硬盘扩容后的大小,单位为GiB,不得小于当前云硬盘大小。云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。
|
|
6522
6522
|
:type DiskSize: int
|
|
6523
|
-
:param _DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)
|
|
6523
|
+
:param _DiskId: 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskIds互斥。
|
|
6524
6524
|
:type DiskId: str
|
|
6525
6525
|
:param _ProjectId: 云硬盘所属项目ID。该参数可以通过调用[DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。 如传入则仅用于鉴权。
|
|
6526
6526
|
:type ProjectId: int
|
|
6527
|
+
:param _DiskIds: 云硬盘ID列表, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskId互斥。
|
|
6528
|
+
:type DiskIds: list of str
|
|
6527
6529
|
"""
|
|
6528
6530
|
self._DiskSize = None
|
|
6529
6531
|
self._DiskId = None
|
|
6530
6532
|
self._ProjectId = None
|
|
6533
|
+
self._DiskIds = None
|
|
6531
6534
|
|
|
6532
6535
|
@property
|
|
6533
6536
|
def DiskSize(self):
|
|
@@ -6542,7 +6545,7 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
|
6542
6545
|
|
|
6543
6546
|
@property
|
|
6544
6547
|
def DiskId(self):
|
|
6545
|
-
"""云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)
|
|
6548
|
+
"""云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskIds互斥。
|
|
6546
6549
|
:rtype: str
|
|
6547
6550
|
"""
|
|
6548
6551
|
return self._DiskId
|
|
@@ -6562,11 +6565,23 @@ class InquiryPriceResizeDiskRequest(AbstractModel):
|
|
|
6562
6565
|
def ProjectId(self, ProjectId):
|
|
6563
6566
|
self._ProjectId = ProjectId
|
|
6564
6567
|
|
|
6568
|
+
@property
|
|
6569
|
+
def DiskIds(self):
|
|
6570
|
+
"""云硬盘ID列表, 通过[DescribeDisks](/document/product/362/16315)接口查询。与参数DiskId互斥。
|
|
6571
|
+
:rtype: list of str
|
|
6572
|
+
"""
|
|
6573
|
+
return self._DiskIds
|
|
6574
|
+
|
|
6575
|
+
@DiskIds.setter
|
|
6576
|
+
def DiskIds(self, DiskIds):
|
|
6577
|
+
self._DiskIds = DiskIds
|
|
6578
|
+
|
|
6565
6579
|
|
|
6566
6580
|
def _deserialize(self, params):
|
|
6567
6581
|
self._DiskSize = params.get("DiskSize")
|
|
6568
6582
|
self._DiskId = params.get("DiskId")
|
|
6569
6583
|
self._ProjectId = params.get("ProjectId")
|
|
6584
|
+
self._DiskIds = params.get("DiskIds")
|
|
6570
6585
|
memeber_set = set(params.keys())
|
|
6571
6586
|
for name, value in vars(self).items():
|
|
6572
6587
|
property_name = name[1:]
|
|
@@ -3218,6 +3218,11 @@ HoaiMy
|
|
|
3218
3218
|
:type VadLevel: int
|
|
3219
3219
|
:param _ToneWord: 衔接语
|
|
3220
3220
|
:type ToneWord: :class:`tencentcloud.ccc.v20200210.models.ToneWordInfo`
|
|
3221
|
+
:param _EnableComplianceAudio: 合规提示音,
|
|
3222
|
+
该参数传true(默认)表示通话开始播放摩斯码,提示对话内容为 AI 生成。
|
|
3223
|
+
该参数传false表示关闭合规提示音。该参数传false则代表您知晓并同意以下协议:
|
|
3224
|
+
我方充分知悉和理解,根据[《网络安全法》](https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm)[《互联网信息服务深度合成管理规定》](https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm)[《生成式人工智能服务管理暂行办法》](https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm)[《人工智能生成合成内容标识办法》](https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm)的法律法规的规定,对人工智能生成合成内容应当添加显式标识和隐式标识。我方基于业务需求,请腾讯云对生成合成内容不添加显式标识,我方承诺合法合规使用生成合成内容,避免造成混淆、误认;如果使用生成合成内容对公众提供服务的,或通过网络传播的,我方将自觉主动添加符合法律规定和国家标准要求的显式标识,承担人工智能生成合成内容标识的法律义务。我方未能恰当、合理地履行人工智能内容标识义务造成不良后果的,或遭受主管部门责罚的,相关责任由我方完全承担。
|
|
3225
|
+
:type EnableComplianceAudio: bool
|
|
3221
3226
|
"""
|
|
3222
3227
|
self._SdkAppId = None
|
|
3223
3228
|
self._Callee = None
|
|
@@ -3251,6 +3256,7 @@ HoaiMy
|
|
|
3251
3256
|
self._TopP = None
|
|
3252
3257
|
self._VadLevel = None
|
|
3253
3258
|
self._ToneWord = None
|
|
3259
|
+
self._EnableComplianceAudio = None
|
|
3254
3260
|
|
|
3255
3261
|
@property
|
|
3256
3262
|
def SdkAppId(self):
|
|
@@ -3779,6 +3785,20 @@ HoaiMy
|
|
|
3779
3785
|
def ToneWord(self, ToneWord):
|
|
3780
3786
|
self._ToneWord = ToneWord
|
|
3781
3787
|
|
|
3788
|
+
@property
|
|
3789
|
+
def EnableComplianceAudio(self):
|
|
3790
|
+
"""合规提示音,
|
|
3791
|
+
该参数传true(默认)表示通话开始播放摩斯码,提示对话内容为 AI 生成。
|
|
3792
|
+
该参数传false表示关闭合规提示音。该参数传false则代表您知晓并同意以下协议:
|
|
3793
|
+
我方充分知悉和理解,根据[《网络安全法》](https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm)[《互联网信息服务深度合成管理规定》](https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm)[《生成式人工智能服务管理暂行办法》](https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm)[《人工智能生成合成内容标识办法》](https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm)的法律法规的规定,对人工智能生成合成内容应当添加显式标识和隐式标识。我方基于业务需求,请腾讯云对生成合成内容不添加显式标识,我方承诺合法合规使用生成合成内容,避免造成混淆、误认;如果使用生成合成内容对公众提供服务的,或通过网络传播的,我方将自觉主动添加符合法律规定和国家标准要求的显式标识,承担人工智能生成合成内容标识的法律义务。我方未能恰当、合理地履行人工智能内容标识义务造成不良后果的,或遭受主管部门责罚的,相关责任由我方完全承担。
|
|
3794
|
+
:rtype: bool
|
|
3795
|
+
"""
|
|
3796
|
+
return self._EnableComplianceAudio
|
|
3797
|
+
|
|
3798
|
+
@EnableComplianceAudio.setter
|
|
3799
|
+
def EnableComplianceAudio(self, EnableComplianceAudio):
|
|
3800
|
+
self._EnableComplianceAudio = EnableComplianceAudio
|
|
3801
|
+
|
|
3782
3802
|
|
|
3783
3803
|
def _deserialize(self, params):
|
|
3784
3804
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -3835,6 +3855,7 @@ HoaiMy
|
|
|
3835
3855
|
if params.get("ToneWord") is not None:
|
|
3836
3856
|
self._ToneWord = ToneWordInfo()
|
|
3837
3857
|
self._ToneWord._deserialize(params.get("ToneWord"))
|
|
3858
|
+
self._EnableComplianceAudio = params.get("EnableComplianceAudio")
|
|
3838
3859
|
memeber_set = set(params.keys())
|
|
3839
3860
|
for name, value in vars(self).items():
|
|
3840
3861
|
property_name = name[1:]
|
|
@@ -3859,7 +3859,7 @@ class CdbClient(AbstractClient):
|
|
|
3859
3859
|
|
|
3860
3860
|
|
|
3861
3861
|
def StopRollback(self, request):
|
|
3862
|
-
"""
|
|
3862
|
+
"""本接口(StopRollback)用于撤销实例正在进行的回档任务,该接口返回一个异步任务 ID。撤销结果可以通过 [DescribeAsyncRequestInfo](https://cloud.tencent.com/document/api/236/20410) 查询任务的执行情况。
|
|
3863
3863
|
|
|
3864
3864
|
:param request: Request instance for StopRollback.
|
|
3865
3865
|
:type request: :class:`tencentcloud.cdb.v20170320.models.StopRollbackRequest`
|
|
@@ -20575,12 +20575,15 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20575
20575
|
:type CustomConf: :class:`tencentcloud.cdb.v20170320.models.CustomConfig`
|
|
20576
20576
|
:param _WeightRule: 权重限制
|
|
20577
20577
|
:type WeightRule: :class:`tencentcloud.cdb.v20170320.models.Rule`
|
|
20578
|
+
:param _CustomConfInfo: 代理配置
|
|
20579
|
+
:type CustomConfInfo: list of CustomConfig
|
|
20578
20580
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20579
20581
|
:type RequestId: str
|
|
20580
20582
|
"""
|
|
20581
20583
|
self._Count = None
|
|
20582
20584
|
self._CustomConf = None
|
|
20583
20585
|
self._WeightRule = None
|
|
20586
|
+
self._CustomConfInfo = None
|
|
20584
20587
|
self._RequestId = None
|
|
20585
20588
|
|
|
20586
20589
|
@property
|
|
@@ -20596,6 +20599,8 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20596
20599
|
|
|
20597
20600
|
@property
|
|
20598
20601
|
def CustomConf(self):
|
|
20602
|
+
warnings.warn("parameter `CustomConf` is deprecated", DeprecationWarning)
|
|
20603
|
+
|
|
20599
20604
|
"""代理配置
|
|
20600
20605
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.CustomConfig`
|
|
20601
20606
|
"""
|
|
@@ -20603,6 +20608,8 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20603
20608
|
|
|
20604
20609
|
@CustomConf.setter
|
|
20605
20610
|
def CustomConf(self, CustomConf):
|
|
20611
|
+
warnings.warn("parameter `CustomConf` is deprecated", DeprecationWarning)
|
|
20612
|
+
|
|
20606
20613
|
self._CustomConf = CustomConf
|
|
20607
20614
|
|
|
20608
20615
|
@property
|
|
@@ -20616,6 +20623,17 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20616
20623
|
def WeightRule(self, WeightRule):
|
|
20617
20624
|
self._WeightRule = WeightRule
|
|
20618
20625
|
|
|
20626
|
+
@property
|
|
20627
|
+
def CustomConfInfo(self):
|
|
20628
|
+
"""代理配置
|
|
20629
|
+
:rtype: list of CustomConfig
|
|
20630
|
+
"""
|
|
20631
|
+
return self._CustomConfInfo
|
|
20632
|
+
|
|
20633
|
+
@CustomConfInfo.setter
|
|
20634
|
+
def CustomConfInfo(self, CustomConfInfo):
|
|
20635
|
+
self._CustomConfInfo = CustomConfInfo
|
|
20636
|
+
|
|
20619
20637
|
@property
|
|
20620
20638
|
def RequestId(self):
|
|
20621
20639
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20636,6 +20654,12 @@ class DescribeProxyCustomConfResponse(AbstractModel):
|
|
|
20636
20654
|
if params.get("WeightRule") is not None:
|
|
20637
20655
|
self._WeightRule = Rule()
|
|
20638
20656
|
self._WeightRule._deserialize(params.get("WeightRule"))
|
|
20657
|
+
if params.get("CustomConfInfo") is not None:
|
|
20658
|
+
self._CustomConfInfo = []
|
|
20659
|
+
for item in params.get("CustomConfInfo"):
|
|
20660
|
+
obj = CustomConfig()
|
|
20661
|
+
obj._deserialize(item)
|
|
20662
|
+
self._CustomConfInfo.append(obj)
|
|
20639
20663
|
self._RequestId = params.get("RequestId")
|
|
20640
20664
|
|
|
20641
20665
|
|
|
@@ -25809,7 +25833,7 @@ class InstanceRollbackRangeTime(AbstractModel):
|
|
|
25809
25833
|
|
|
25810
25834
|
def __init__(self):
|
|
25811
25835
|
r"""
|
|
25812
|
-
:param _Code:
|
|
25836
|
+
:param _Code: 查询数据库错误码。0 - 正常,1600001 - 内部错误,1600003 - 入参异常,1600009 - 实例不存在,1624001 - DB 访问异常。
|
|
25813
25837
|
:type Code: int
|
|
25814
25838
|
:param _Message: 查询数据库错误信息
|
|
25815
25839
|
:type Message: str
|
|
@@ -25825,7 +25849,7 @@ class InstanceRollbackRangeTime(AbstractModel):
|
|
|
25825
25849
|
|
|
25826
25850
|
@property
|
|
25827
25851
|
def Code(self):
|
|
25828
|
-
"""
|
|
25852
|
+
"""查询数据库错误码。0 - 正常,1600001 - 内部错误,1600003 - 入参异常,1600009 - 实例不存在,1624001 - DB 访问异常。
|
|
25829
25853
|
:rtype: int
|
|
25830
25854
|
"""
|
|
25831
25855
|
return self._Code
|
|
@@ -37082,14 +37106,14 @@ class StopRollbackRequest(AbstractModel):
|
|
|
37082
37106
|
|
|
37083
37107
|
def __init__(self):
|
|
37084
37108
|
r"""
|
|
37085
|
-
:param _InstanceId: 撤销回档任务对应的实例
|
|
37109
|
+
:param _InstanceId: 撤销回档任务对应的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) 接口获取。
|
|
37086
37110
|
:type InstanceId: str
|
|
37087
37111
|
"""
|
|
37088
37112
|
self._InstanceId = None
|
|
37089
37113
|
|
|
37090
37114
|
@property
|
|
37091
37115
|
def InstanceId(self):
|
|
37092
|
-
"""撤销回档任务对应的实例
|
|
37116
|
+
"""撤销回档任务对应的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) 接口获取。
|
|
37093
37117
|
:rtype: str
|
|
37094
37118
|
"""
|
|
37095
37119
|
return self._InstanceId
|
|
@@ -37118,7 +37142,7 @@ class StopRollbackResponse(AbstractModel):
|
|
|
37118
37142
|
|
|
37119
37143
|
def __init__(self):
|
|
37120
37144
|
r"""
|
|
37121
|
-
:param _AsyncRequestId: 执行请求的异步任务ID
|
|
37145
|
+
:param _AsyncRequestId: 执行请求的异步任务 ID。
|
|
37122
37146
|
:type AsyncRequestId: str
|
|
37123
37147
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37124
37148
|
:type RequestId: str
|
|
@@ -37128,7 +37152,7 @@ class StopRollbackResponse(AbstractModel):
|
|
|
37128
37152
|
|
|
37129
37153
|
@property
|
|
37130
37154
|
def AsyncRequestId(self):
|
|
37131
|
-
"""执行请求的异步任务ID
|
|
37155
|
+
"""执行请求的异步任务 ID。
|
|
37132
37156
|
:rtype: str
|
|
37133
37157
|
"""
|
|
37134
37158
|
return self._AsyncRequestId
|
|
@@ -277,6 +277,8 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
277
277
|
:type ErrorReason: str
|
|
278
278
|
:param _SnapshotRemainPolicy: 快照保留策略
|
|
279
279
|
:type SnapshotRemainPolicy: :class:`tencentcloud.cdwdoris.v20211228.models.SnapshotRemainPolicy`
|
|
280
|
+
:param _IsolationCount: 隔离次数
|
|
281
|
+
:type IsolationCount: int
|
|
280
282
|
"""
|
|
281
283
|
self._JobId = None
|
|
282
284
|
self._Snapshot = None
|
|
@@ -293,6 +295,7 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
293
295
|
self._IsUserDefineBucket = None
|
|
294
296
|
self._ErrorReason = None
|
|
295
297
|
self._SnapshotRemainPolicy = None
|
|
298
|
+
self._IsolationCount = None
|
|
296
299
|
|
|
297
300
|
@property
|
|
298
301
|
def JobId(self):
|
|
@@ -459,6 +462,17 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
459
462
|
def SnapshotRemainPolicy(self, SnapshotRemainPolicy):
|
|
460
463
|
self._SnapshotRemainPolicy = SnapshotRemainPolicy
|
|
461
464
|
|
|
465
|
+
@property
|
|
466
|
+
def IsolationCount(self):
|
|
467
|
+
"""隔离次数
|
|
468
|
+
:rtype: int
|
|
469
|
+
"""
|
|
470
|
+
return self._IsolationCount
|
|
471
|
+
|
|
472
|
+
@IsolationCount.setter
|
|
473
|
+
def IsolationCount(self, IsolationCount):
|
|
474
|
+
self._IsolationCount = IsolationCount
|
|
475
|
+
|
|
462
476
|
|
|
463
477
|
def _deserialize(self, params):
|
|
464
478
|
self._JobId = params.get("JobId")
|
|
@@ -482,6 +496,7 @@ class BackUpJobDisplay(AbstractModel):
|
|
|
482
496
|
if params.get("SnapshotRemainPolicy") is not None:
|
|
483
497
|
self._SnapshotRemainPolicy = SnapshotRemainPolicy()
|
|
484
498
|
self._SnapshotRemainPolicy._deserialize(params.get("SnapshotRemainPolicy"))
|
|
499
|
+
self._IsolationCount = params.get("IsolationCount")
|
|
485
500
|
memeber_set = set(params.keys())
|
|
486
501
|
for name, value in vars(self).items():
|
|
487
502
|
property_name = name[1:]
|
|
@@ -3400,10 +3415,13 @@ class DeleteBackUpDataRequest(AbstractModel):
|
|
|
3400
3415
|
:type BackUpJobId: int
|
|
3401
3416
|
:param _IsDeleteAll: 是否删除所有实例
|
|
3402
3417
|
:type IsDeleteAll: bool
|
|
3418
|
+
:param _IsRecover: true代表恢复删除隔离中的job 默认false就是删除
|
|
3419
|
+
:type IsRecover: bool
|
|
3403
3420
|
"""
|
|
3404
3421
|
self._InstanceId = None
|
|
3405
3422
|
self._BackUpJobId = None
|
|
3406
3423
|
self._IsDeleteAll = None
|
|
3424
|
+
self._IsRecover = None
|
|
3407
3425
|
|
|
3408
3426
|
@property
|
|
3409
3427
|
def InstanceId(self):
|
|
@@ -3438,11 +3456,23 @@ class DeleteBackUpDataRequest(AbstractModel):
|
|
|
3438
3456
|
def IsDeleteAll(self, IsDeleteAll):
|
|
3439
3457
|
self._IsDeleteAll = IsDeleteAll
|
|
3440
3458
|
|
|
3459
|
+
@property
|
|
3460
|
+
def IsRecover(self):
|
|
3461
|
+
"""true代表恢复删除隔离中的job 默认false就是删除
|
|
3462
|
+
:rtype: bool
|
|
3463
|
+
"""
|
|
3464
|
+
return self._IsRecover
|
|
3465
|
+
|
|
3466
|
+
@IsRecover.setter
|
|
3467
|
+
def IsRecover(self, IsRecover):
|
|
3468
|
+
self._IsRecover = IsRecover
|
|
3469
|
+
|
|
3441
3470
|
|
|
3442
3471
|
def _deserialize(self, params):
|
|
3443
3472
|
self._InstanceId = params.get("InstanceId")
|
|
3444
3473
|
self._BackUpJobId = params.get("BackUpJobId")
|
|
3445
3474
|
self._IsDeleteAll = params.get("IsDeleteAll")
|
|
3475
|
+
self._IsRecover = params.get("IsRecover")
|
|
3446
3476
|
memeber_set = set(params.keys())
|
|
3447
3477
|
for name, value in vars(self).items():
|
|
3448
3478
|
property_name = name[1:]
|
|
@@ -3460,11 +3490,25 @@ class DeleteBackUpDataResponse(AbstractModel):
|
|
|
3460
3490
|
|
|
3461
3491
|
def __init__(self):
|
|
3462
3492
|
r"""
|
|
3493
|
+
:param _ErrorMsg: 错误信息
|
|
3494
|
+
:type ErrorMsg: str
|
|
3463
3495
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3464
3496
|
:type RequestId: str
|
|
3465
3497
|
"""
|
|
3498
|
+
self._ErrorMsg = None
|
|
3466
3499
|
self._RequestId = None
|
|
3467
3500
|
|
|
3501
|
+
@property
|
|
3502
|
+
def ErrorMsg(self):
|
|
3503
|
+
"""错误信息
|
|
3504
|
+
:rtype: str
|
|
3505
|
+
"""
|
|
3506
|
+
return self._ErrorMsg
|
|
3507
|
+
|
|
3508
|
+
@ErrorMsg.setter
|
|
3509
|
+
def ErrorMsg(self, ErrorMsg):
|
|
3510
|
+
self._ErrorMsg = ErrorMsg
|
|
3511
|
+
|
|
3468
3512
|
@property
|
|
3469
3513
|
def RequestId(self):
|
|
3470
3514
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3478,6 +3522,7 @@ class DeleteBackUpDataResponse(AbstractModel):
|
|
|
3478
3522
|
|
|
3479
3523
|
|
|
3480
3524
|
def _deserialize(self, params):
|
|
3525
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
|
3481
3526
|
self._RequestId = params.get("RequestId")
|
|
3482
3527
|
|
|
3483
3528
|
|
|
@@ -6235,17 +6235,22 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
6235
6235
|
r"""
|
|
6236
6236
|
:param _FileSystemId: 文件系统Id
|
|
6237
6237
|
:type FileSystemId: str
|
|
6238
|
-
:param _OpetationType: create
|
|
6238
|
+
:param _OpetationType: create:创建目录,等同于mkdir。
|
|
6239
|
+
check:确认目录是否存在,等同于stat。
|
|
6240
|
+
move:对文件/目录进行重命名,等同于mv。
|
|
6239
6241
|
:type OpetationType: str
|
|
6240
6242
|
:param _DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
|
6241
6243
|
:type DirectoryPath: str
|
|
6242
6244
|
:param _Mode: 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
|
|
6243
6245
|
:type Mode: str
|
|
6246
|
+
:param _DestPath: mv操作的目标目录名称;如果是turbo文件系统必须以/cfs/开头
|
|
6247
|
+
:type DestPath: str
|
|
6244
6248
|
"""
|
|
6245
6249
|
self._FileSystemId = None
|
|
6246
6250
|
self._OpetationType = None
|
|
6247
6251
|
self._DirectoryPath = None
|
|
6248
6252
|
self._Mode = None
|
|
6253
|
+
self._DestPath = None
|
|
6249
6254
|
|
|
6250
6255
|
@property
|
|
6251
6256
|
def FileSystemId(self):
|
|
@@ -6260,7 +6265,9 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
6260
6265
|
|
|
6261
6266
|
@property
|
|
6262
6267
|
def OpetationType(self):
|
|
6263
|
-
"""create
|
|
6268
|
+
"""create:创建目录,等同于mkdir。
|
|
6269
|
+
check:确认目录是否存在,等同于stat。
|
|
6270
|
+
move:对文件/目录进行重命名,等同于mv。
|
|
6264
6271
|
:rtype: str
|
|
6265
6272
|
"""
|
|
6266
6273
|
return self._OpetationType
|
|
@@ -6291,12 +6298,24 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
6291
6298
|
def Mode(self, Mode):
|
|
6292
6299
|
self._Mode = Mode
|
|
6293
6300
|
|
|
6301
|
+
@property
|
|
6302
|
+
def DestPath(self):
|
|
6303
|
+
"""mv操作的目标目录名称;如果是turbo文件系统必须以/cfs/开头
|
|
6304
|
+
:rtype: str
|
|
6305
|
+
"""
|
|
6306
|
+
return self._DestPath
|
|
6307
|
+
|
|
6308
|
+
@DestPath.setter
|
|
6309
|
+
def DestPath(self, DestPath):
|
|
6310
|
+
self._DestPath = DestPath
|
|
6311
|
+
|
|
6294
6312
|
|
|
6295
6313
|
def _deserialize(self, params):
|
|
6296
6314
|
self._FileSystemId = params.get("FileSystemId")
|
|
6297
6315
|
self._OpetationType = params.get("OpetationType")
|
|
6298
6316
|
self._DirectoryPath = params.get("DirectoryPath")
|
|
6299
6317
|
self._Mode = params.get("Mode")
|
|
6318
|
+
self._DestPath = params.get("DestPath")
|
|
6300
6319
|
memeber_set = set(params.keys())
|
|
6301
6320
|
for name, value in vars(self).items():
|
|
6302
6321
|
property_name = name[1:]
|