tencentcloud-sdk-python 3.0.974__py2.py3-none-any.whl → 3.0.976__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cbs/v20170312/cbs_client.py +2 -2
- tencentcloud/ccc/v20200210/ccc_client.py +1 -1
- tencentcloud/ccc/v20200210/models.py +67 -1
- tencentcloud/cdb/v20170320/errorcodes.py +6 -0
- tencentcloud/cdwch/v20200915/models.py +201 -0
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +52 -0
- tencentcloud/cls/v20201016/models.py +26 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -0
- tencentcloud/cvm/v20170312/models.py +1 -13
- tencentcloud/cynosdb/v20190107/models.py +9 -6
- tencentcloud/dnspod/v20210323/errorcodes.py +7 -7
- tencentcloud/dnspod/v20210323/models.py +1 -1
- tencentcloud/ecm/v20190719/models.py +12 -0
- tencentcloud/eis/v20210601/errorcodes.py +3 -0
- tencentcloud/emr/v20190103/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +46 -24
- tencentcloud/ess/v20201111/models.py +274 -171
- tencentcloud/essbasic/v20210526/essbasic_client.py +7 -0
- tencentcloud/essbasic/v20210526/models.py +22 -15
- tencentcloud/faceid/v20180301/models.py +17 -1
- tencentcloud/iai/v20180301/models.py +3 -7
- tencentcloud/iai/v20200303/models.py +3 -7
- tencentcloud/lcic/v20220817/errorcodes.py +3 -0
- tencentcloud/lcic/v20220817/models.py +74 -0
- tencentcloud/monitor/v20180724/models.py +182 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mrs/v20200910/models.py +68 -0
- tencentcloud/oceanus/v20190422/models.py +15 -1
- tencentcloud/ses/v20201002/models.py +1 -1
- tencentcloud/sqlserver/v20180328/models.py +3 -3
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +0 -1
- tencentcloud/ssl/v20191205/models.py +1836 -50
- tencentcloud/ssl/v20191205/ssl_client.py +69 -0
- tencentcloud/tdmq/v20200217/models.py +587 -1
- tencentcloud/tdmq/v20200217/tdmq_client.py +46 -0
- tencentcloud/tem/v20210701/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/errorcodes.py +21 -0
- tencentcloud/teo/v20220901/models.py +96 -0
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/thpc/v20230321/models.py +33 -0
- tencentcloud/tione/v20211111/models.py +121 -0
- tencentcloud/trtc/v20190722/models.py +5 -2
- tencentcloud/tse/v20201207/models.py +13 -0
- tencentcloud/tsf/v20180326/models.py +4 -3
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +82 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python-3.0.974.dist-info → tencentcloud_sdk_python-3.0.976.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.974.dist-info → tencentcloud_sdk_python-3.0.976.dist-info}/RECORD +54 -54
- {tencentcloud_sdk_python-3.0.974.dist-info → tencentcloud_sdk_python-3.0.976.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.974.dist-info → tencentcloud_sdk_python-3.0.976.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.974.dist-info → tencentcloud_sdk_python-3.0.976.dist-info}/top_level.txt +0 -0
|
@@ -991,6 +991,13 @@ class EssbasicClient(AbstractClient):
|
|
|
991
991
|
其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
|
992
992
|
使用CreateSignUrls,设置EndPoint为APP,得到path。
|
|
993
993
|
|
|
994
|
+
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
995
|
+
|
|
996
|
+
| 小程序 | AppID | 原始ID |
|
|
997
|
+
| ------------ | ------------ | ------------ |
|
|
998
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
999
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
1000
|
+
|
|
994
1001
|
:param request: Request instance for CreateSignUrls.
|
|
995
1002
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.CreateSignUrlsRequest`
|
|
996
1003
|
:rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateSignUrlsResponse`
|
|
@@ -7162,24 +7162,31 @@ class CreateSignUrlsRequest(AbstractModel):
|
|
|
7162
7162
|
r"""
|
|
7163
7163
|
:param _Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
|
7164
7164
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
7165
|
-
:param _FlowIds:
|
|
7165
|
+
:param _FlowIds: 流程(合同)的编号列表,最多支持100个。(备注:该参数和合同组编号必须二选一)
|
|
7166
7166
|
:type FlowIds: list of str
|
|
7167
7167
|
:param _FlowGroupId: 合同组编号(备注:该参数和合同(流程)编号数组必须二选一)
|
|
7168
7168
|
:type FlowGroupId: str
|
|
7169
|
-
:param _Endpoint:
|
|
7169
|
+
:param _Endpoint: 签署链接类型,可以设置的参数如下
|
|
7170
|
+
|
|
7171
|
+
- WEIXINAPP:短链直接跳小程序 (默认类型)
|
|
7172
|
+
- CHANNEL:跳转H5页面
|
|
7173
|
+
- APP:第三方APP或小程序跳转电子签小程序
|
|
7174
|
+
- LONGURL2WEIXINAPP:长链接跳转小程序
|
|
7170
7175
|
:type Endpoint: str
|
|
7171
|
-
:param _GenerateType:
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7176
|
+
:param _GenerateType: 签署链接生成类型,可以选择的类型如下
|
|
7177
|
+
|
|
7178
|
+
- ALL:全部签署方签署链接,此时不会给自动签署的签署方创建签署链接(默认类型)
|
|
7179
|
+
- CHANNEL:第三方平台子客企业企业
|
|
7180
|
+
- NOT_CHANNEL:非第三方平台子客企业企业
|
|
7181
|
+
- PERSON:个人
|
|
7182
|
+
- FOLLOWER:关注方,目前是合同抄送方
|
|
7177
7183
|
:type GenerateType: str
|
|
7178
7184
|
:param _OrganizationName: 非第三方平台子客企业参与方的企业名称,GenerateType为"NOT_CHANNEL"时必填
|
|
7179
7185
|
:type OrganizationName: str
|
|
7180
|
-
:param _Name:
|
|
7186
|
+
:param _Name: 参与人姓名
|
|
7187
|
+
GenerateType为"PERSON"(即个人签署方)时必填
|
|
7181
7188
|
:type Name: str
|
|
7182
|
-
:param _Mobile:
|
|
7189
|
+
:param _Mobile: 参与人手机号
|
|
7183
7190
|
GenerateType为"PERSON"或"FOLLOWER"时必填
|
|
7184
7191
|
:type Mobile: str
|
|
7185
7192
|
:param _OrganizationOpenId: 第三方平台子客企业的企业OpenId,GenerateType为"CHANNEL"时必填
|
|
@@ -7194,10 +7201,10 @@ GenerateType为"PERSON"或"FOLLOWER"时必填
|
|
|
7194
7201
|
:type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
7195
7202
|
:param _Hides: 生成的签署链接在签署过程隐藏的按钮列表, 可以设置隐藏的按钮列表如下
|
|
7196
7203
|
|
|
7197
|
-
0:合同签署页面更多操作按钮
|
|
7198
|
-
1:合同签署页面更多操作的拒绝签署按钮
|
|
7199
|
-
2:合同签署页面更多操作的转他人处理按钮
|
|
7200
|
-
3:签署成功页的查看详情按钮
|
|
7204
|
+
- 0:合同签署页面更多操作按钮
|
|
7205
|
+
- 1:合同签署页面更多操作的拒绝签署按钮
|
|
7206
|
+
- 2:合同签署页面更多操作的转他人处理按钮
|
|
7207
|
+
- 3:签署成功页的查看详情按钮
|
|
7201
7208
|
:type Hides: list of int
|
|
7202
7209
|
"""
|
|
7203
7210
|
self._Agent = None
|
|
@@ -11932,7 +11939,7 @@ class SignUrlInfo(AbstractModel):
|
|
|
11932
11939
|
|
|
11933
11940
|
def __init__(self):
|
|
11934
11941
|
r"""
|
|
11935
|
-
:param _SignUrl: 签署链接,过期时间为
|
|
11942
|
+
:param _SignUrl: 签署链接,过期时间为90天
|
|
11936
11943
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11937
11944
|
:type SignUrl: str
|
|
11938
11945
|
:param _Deadline: 合同过期时间戳,单位秒
|
|
@@ -479,7 +479,9 @@ class ChargeDetail(AbstractModel):
|
|
|
479
479
|
:type ReqTime: str
|
|
480
480
|
:param _Seq: 一比一请求的唯一标记。
|
|
481
481
|
:type Seq: str
|
|
482
|
-
:param
|
|
482
|
+
:param _IdCard: 一比一时使用的、脱敏后的身份证号。
|
|
483
|
+
:type IdCard: str
|
|
484
|
+
:param _Idcard: 已废弃。请使用“IdCard”字段
|
|
483
485
|
:type Idcard: str
|
|
484
486
|
:param _Name: 一比一时使用的、脱敏后的姓名。
|
|
485
487
|
:type Name: str
|
|
@@ -496,6 +498,7 @@ class ChargeDetail(AbstractModel):
|
|
|
496
498
|
"""
|
|
497
499
|
self._ReqTime = None
|
|
498
500
|
self._Seq = None
|
|
501
|
+
self._IdCard = None
|
|
499
502
|
self._Idcard = None
|
|
500
503
|
self._Name = None
|
|
501
504
|
self._Sim = None
|
|
@@ -520,12 +523,24 @@ class ChargeDetail(AbstractModel):
|
|
|
520
523
|
def Seq(self, Seq):
|
|
521
524
|
self._Seq = Seq
|
|
522
525
|
|
|
526
|
+
@property
|
|
527
|
+
def IdCard(self):
|
|
528
|
+
return self._IdCard
|
|
529
|
+
|
|
530
|
+
@IdCard.setter
|
|
531
|
+
def IdCard(self, IdCard):
|
|
532
|
+
self._IdCard = IdCard
|
|
533
|
+
|
|
523
534
|
@property
|
|
524
535
|
def Idcard(self):
|
|
536
|
+
warnings.warn("parameter `Idcard` is deprecated", DeprecationWarning)
|
|
537
|
+
|
|
525
538
|
return self._Idcard
|
|
526
539
|
|
|
527
540
|
@Idcard.setter
|
|
528
541
|
def Idcard(self, Idcard):
|
|
542
|
+
warnings.warn("parameter `Idcard` is deprecated", DeprecationWarning)
|
|
543
|
+
|
|
529
544
|
self._Idcard = Idcard
|
|
530
545
|
|
|
531
546
|
@property
|
|
@@ -580,6 +595,7 @@ class ChargeDetail(AbstractModel):
|
|
|
580
595
|
def _deserialize(self, params):
|
|
581
596
|
self._ReqTime = params.get("ReqTime")
|
|
582
597
|
self._Seq = params.get("Seq")
|
|
598
|
+
self._IdCard = params.get("IdCard")
|
|
583
599
|
self._Idcard = params.get("Idcard")
|
|
584
600
|
self._Name = params.get("Name")
|
|
585
601
|
self._Sim = params.get("Sim")
|
|
@@ -367,7 +367,7 @@ class AttributeItem(AbstractModel):
|
|
|
367
367
|
r"""
|
|
368
368
|
:param _Type: 属性值
|
|
369
369
|
:type Type: int
|
|
370
|
-
:param _Probability: Type
|
|
370
|
+
:param _Probability: Type识别概率值,[0,1],代表判断正确的概率。
|
|
371
371
|
:type Probability: float
|
|
372
372
|
"""
|
|
373
373
|
self._Type = None
|
|
@@ -551,10 +551,10 @@ B 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
551
551
|
:type FaceModelVersion: str
|
|
552
552
|
:param _QualityControl: 图片质量控制。
|
|
553
553
|
0: 不进行控制;
|
|
554
|
-
1
|
|
554
|
+
1: 较低的质量要求,图像存在非常模糊,眼睛鼻子嘴巴遮挡至少其中一种或多种的情况;
|
|
555
555
|
2: 一般的质量要求,图像存在偏亮,偏暗,模糊或一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,至少其中三种的情况;
|
|
556
556
|
3: 较高的质量要求,图像存在偏亮,偏暗,一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,其中一到两种的情况;
|
|
557
|
-
4:
|
|
557
|
+
4: 很高的质量要求,各个维度均为最好或最多,在某一维度上存在轻微问题;
|
|
558
558
|
默认 0。
|
|
559
559
|
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
|
|
560
560
|
:type QualityControl: int
|
|
@@ -1029,13 +1029,9 @@ class CreateGroupRequest(AbstractModel):
|
|
|
1029
1029
|
:param _Tag: 人员库信息备注,[0,40]个字符。
|
|
1030
1030
|
:type Tag: str
|
|
1031
1031
|
:param _FaceModelVersion: 人脸识别服务所用的算法模型版本。
|
|
1032
|
-
|
|
1033
1032
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
1034
|
-
|
|
1035
1033
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
1036
|
-
|
|
1037
1034
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
1038
|
-
|
|
1039
1035
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
1040
1036
|
:type FaceModelVersion: str
|
|
1041
1037
|
"""
|
|
@@ -369,7 +369,7 @@ class AttributeItem(AbstractModel):
|
|
|
369
369
|
r"""
|
|
370
370
|
:param _Type: 属性值
|
|
371
371
|
:type Type: int
|
|
372
|
-
:param _Probability: Type
|
|
372
|
+
:param _Probability: Type识别概率值,[0,1],代表判断正确的概率。
|
|
373
373
|
:type Probability: float
|
|
374
374
|
"""
|
|
375
375
|
self._Type = None
|
|
@@ -557,10 +557,10 @@ B 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
557
557
|
:type FaceModelVersion: str
|
|
558
558
|
:param _QualityControl: 图片质量控制。
|
|
559
559
|
0: 不进行控制;
|
|
560
|
-
1
|
|
560
|
+
1: 较低的质量要求,图像存在非常模糊,眼睛鼻子嘴巴遮挡至少其中一种或多种的情况;
|
|
561
561
|
2: 一般的质量要求,图像存在偏亮,偏暗,模糊或一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,至少其中三种的情况;
|
|
562
562
|
3: 较高的质量要求,图像存在偏亮,偏暗,一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,其中一到两种的情况;
|
|
563
|
-
4:
|
|
563
|
+
4: 很高的质量要求,各个维度均为最好或最多,在某一维度上存在轻微问题;
|
|
564
564
|
默认 0。
|
|
565
565
|
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
|
|
566
566
|
:type QualityControl: int
|
|
@@ -1208,13 +1208,9 @@ class CreateGroupRequest(AbstractModel):
|
|
|
1208
1208
|
:param _Tag: 人员库信息备注,[0,40]个字符。
|
|
1209
1209
|
:type Tag: str
|
|
1210
1210
|
:param _FaceModelVersion: 人脸识别服务所用的算法模型版本。
|
|
1211
|
-
|
|
1212
1211
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
1213
|
-
|
|
1214
1212
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
1215
|
-
|
|
1216
1213
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
1217
|
-
|
|
1218
1214
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
1219
1215
|
:type FaceModelVersion: str
|
|
1220
1216
|
"""
|
|
@@ -80,6 +80,9 @@ INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = 'InvalidParameter.GroupTeachersNotExist
|
|
|
80
80
|
# 群组类型错误
|
|
81
81
|
INVALIDPARAMETER_GROUPTYPEINVALID = 'InvalidParameter.GroupTypeInvalid'
|
|
82
82
|
|
|
83
|
+
# room类型错误
|
|
84
|
+
INVALIDPARAMETER_ROOMTYPEINVALID = 'InvalidParameter.RoomTypeInvalid'
|
|
85
|
+
|
|
83
86
|
# SdkAppId参数错误。
|
|
84
87
|
INVALIDPARAMETER_SDKAPPID = 'InvalidParameter.SdkAppId'
|
|
85
88
|
|
|
@@ -1677,6 +1677,8 @@ video 纯视频
|
|
|
1677
1677
|
:type IsGradingRequiredPostClass: int
|
|
1678
1678
|
:param _RoomType: 房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)
|
|
1679
1679
|
:type RoomType: int
|
|
1680
|
+
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
1681
|
+
:type EndDelayTime: int
|
|
1680
1682
|
"""
|
|
1681
1683
|
self._Name = None
|
|
1682
1684
|
self._StartTime = None
|
|
@@ -1700,6 +1702,7 @@ video 纯视频
|
|
|
1700
1702
|
self._VideoOrientation = None
|
|
1701
1703
|
self._IsGradingRequiredPostClass = None
|
|
1702
1704
|
self._RoomType = None
|
|
1705
|
+
self._EndDelayTime = None
|
|
1703
1706
|
|
|
1704
1707
|
@property
|
|
1705
1708
|
def Name(self):
|
|
@@ -1877,6 +1880,14 @@ video 纯视频
|
|
|
1877
1880
|
def RoomType(self, RoomType):
|
|
1878
1881
|
self._RoomType = RoomType
|
|
1879
1882
|
|
|
1883
|
+
@property
|
|
1884
|
+
def EndDelayTime(self):
|
|
1885
|
+
return self._EndDelayTime
|
|
1886
|
+
|
|
1887
|
+
@EndDelayTime.setter
|
|
1888
|
+
def EndDelayTime(self, EndDelayTime):
|
|
1889
|
+
self._EndDelayTime = EndDelayTime
|
|
1890
|
+
|
|
1880
1891
|
|
|
1881
1892
|
def _deserialize(self, params):
|
|
1882
1893
|
self._Name = params.get("Name")
|
|
@@ -1901,6 +1912,7 @@ video 纯视频
|
|
|
1901
1912
|
self._VideoOrientation = params.get("VideoOrientation")
|
|
1902
1913
|
self._IsGradingRequiredPostClass = params.get("IsGradingRequiredPostClass")
|
|
1903
1914
|
self._RoomType = params.get("RoomType")
|
|
1915
|
+
self._EndDelayTime = params.get("EndDelayTime")
|
|
1904
1916
|
memeber_set = set(params.keys())
|
|
1905
1917
|
for name, value in vars(self).items():
|
|
1906
1918
|
property_name = name[1:]
|
|
@@ -4101,6 +4113,8 @@ video 纯视频
|
|
|
4101
4113
|
:type RoomType: int
|
|
4102
4114
|
:param _VideoDuration: 录制时长
|
|
4103
4115
|
:type VideoDuration: int
|
|
4116
|
+
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
4117
|
+
:type EndDelayTime: int
|
|
4104
4118
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4105
4119
|
:type RequestId: str
|
|
4106
4120
|
"""
|
|
@@ -4126,6 +4140,7 @@ video 纯视频
|
|
|
4126
4140
|
self._IsGradingRequiredPostClass = None
|
|
4127
4141
|
self._RoomType = None
|
|
4128
4142
|
self._VideoDuration = None
|
|
4143
|
+
self._EndDelayTime = None
|
|
4129
4144
|
self._RequestId = None
|
|
4130
4145
|
|
|
4131
4146
|
@property
|
|
@@ -4304,6 +4319,14 @@ video 纯视频
|
|
|
4304
4319
|
def VideoDuration(self, VideoDuration):
|
|
4305
4320
|
self._VideoDuration = VideoDuration
|
|
4306
4321
|
|
|
4322
|
+
@property
|
|
4323
|
+
def EndDelayTime(self):
|
|
4324
|
+
return self._EndDelayTime
|
|
4325
|
+
|
|
4326
|
+
@EndDelayTime.setter
|
|
4327
|
+
def EndDelayTime(self, EndDelayTime):
|
|
4328
|
+
self._EndDelayTime = EndDelayTime
|
|
4329
|
+
|
|
4307
4330
|
@property
|
|
4308
4331
|
def RequestId(self):
|
|
4309
4332
|
return self._RequestId
|
|
@@ -4336,6 +4359,7 @@ video 纯视频
|
|
|
4336
4359
|
self._IsGradingRequiredPostClass = params.get("IsGradingRequiredPostClass")
|
|
4337
4360
|
self._RoomType = params.get("RoomType")
|
|
4338
4361
|
self._VideoDuration = params.get("VideoDuration")
|
|
4362
|
+
self._EndDelayTime = params.get("EndDelayTime")
|
|
4339
4363
|
self._RequestId = params.get("RequestId")
|
|
4340
4364
|
|
|
4341
4365
|
|
|
@@ -4947,6 +4971,9 @@ class DocumentInfo(AbstractModel):
|
|
|
4947
4971
|
:param _Cover: 封面,仅转码的课件会生成封面
|
|
4948
4972
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4949
4973
|
:type Cover: str
|
|
4974
|
+
:param _Preview: 课件预览地址
|
|
4975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4976
|
+
:type Preview: str
|
|
4950
4977
|
"""
|
|
4951
4978
|
self._DocumentId = None
|
|
4952
4979
|
self._DocumentUrl = None
|
|
@@ -4966,6 +4993,7 @@ class DocumentInfo(AbstractModel):
|
|
|
4966
4993
|
self._Width = None
|
|
4967
4994
|
self._Height = None
|
|
4968
4995
|
self._Cover = None
|
|
4996
|
+
self._Preview = None
|
|
4969
4997
|
|
|
4970
4998
|
@property
|
|
4971
4999
|
def DocumentId(self):
|
|
@@ -5111,6 +5139,14 @@ class DocumentInfo(AbstractModel):
|
|
|
5111
5139
|
def Cover(self, Cover):
|
|
5112
5140
|
self._Cover = Cover
|
|
5113
5141
|
|
|
5142
|
+
@property
|
|
5143
|
+
def Preview(self):
|
|
5144
|
+
return self._Preview
|
|
5145
|
+
|
|
5146
|
+
@Preview.setter
|
|
5147
|
+
def Preview(self, Preview):
|
|
5148
|
+
self._Preview = Preview
|
|
5149
|
+
|
|
5114
5150
|
|
|
5115
5151
|
def _deserialize(self, params):
|
|
5116
5152
|
self._DocumentId = params.get("DocumentId")
|
|
@@ -5131,6 +5167,7 @@ class DocumentInfo(AbstractModel):
|
|
|
5131
5167
|
self._Width = params.get("Width")
|
|
5132
5168
|
self._Height = params.get("Height")
|
|
5133
5169
|
self._Cover = params.get("Cover")
|
|
5170
|
+
self._Preview = params.get("Preview")
|
|
5134
5171
|
memeber_set = set(params.keys())
|
|
5135
5172
|
for name, value in vars(self).items():
|
|
5136
5173
|
property_name = name[1:]
|
|
@@ -6968,6 +7005,8 @@ video 纯视频
|
|
|
6968
7005
|
:type RoomType: int
|
|
6969
7006
|
:param _RecordLayout: 录制模板。仅可修改还未开始的房间。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744
|
|
6970
7007
|
:type RecordLayout: int
|
|
7008
|
+
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
7009
|
+
:type EndDelayTime: int
|
|
6971
7010
|
"""
|
|
6972
7011
|
self._RoomId = None
|
|
6973
7012
|
self._SdkAppId = None
|
|
@@ -6989,6 +7028,7 @@ video 纯视频
|
|
|
6989
7028
|
self._IsGradingRequiredPostClass = None
|
|
6990
7029
|
self._RoomType = None
|
|
6991
7030
|
self._RecordLayout = None
|
|
7031
|
+
self._EndDelayTime = None
|
|
6992
7032
|
|
|
6993
7033
|
@property
|
|
6994
7034
|
def RoomId(self):
|
|
@@ -7150,6 +7190,14 @@ video 纯视频
|
|
|
7150
7190
|
def RecordLayout(self, RecordLayout):
|
|
7151
7191
|
self._RecordLayout = RecordLayout
|
|
7152
7192
|
|
|
7193
|
+
@property
|
|
7194
|
+
def EndDelayTime(self):
|
|
7195
|
+
return self._EndDelayTime
|
|
7196
|
+
|
|
7197
|
+
@EndDelayTime.setter
|
|
7198
|
+
def EndDelayTime(self, EndDelayTime):
|
|
7199
|
+
self._EndDelayTime = EndDelayTime
|
|
7200
|
+
|
|
7153
7201
|
|
|
7154
7202
|
def _deserialize(self, params):
|
|
7155
7203
|
self._RoomId = params.get("RoomId")
|
|
@@ -7172,6 +7220,7 @@ video 纯视频
|
|
|
7172
7220
|
self._IsGradingRequiredPostClass = params.get("IsGradingRequiredPostClass")
|
|
7173
7221
|
self._RoomType = params.get("RoomType")
|
|
7174
7222
|
self._RecordLayout = params.get("RecordLayout")
|
|
7223
|
+
self._EndDelayTime = params.get("EndDelayTime")
|
|
7175
7224
|
memeber_set = set(params.keys())
|
|
7176
7225
|
for name, value in vars(self).items():
|
|
7177
7226
|
property_name = name[1:]
|
|
@@ -7543,6 +7592,8 @@ class RoomInfo(AbstractModel):
|
|
|
7543
7592
|
:type IsGradingRequiredPostClass: int
|
|
7544
7593
|
:param _RoomType: 房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)
|
|
7545
7594
|
:type RoomType: int
|
|
7595
|
+
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
7596
|
+
:type EndDelayTime: int
|
|
7546
7597
|
"""
|
|
7547
7598
|
self._Name = None
|
|
7548
7599
|
self._StartTime = None
|
|
@@ -7565,6 +7616,7 @@ class RoomInfo(AbstractModel):
|
|
|
7565
7616
|
self._VideoOrientation = None
|
|
7566
7617
|
self._IsGradingRequiredPostClass = None
|
|
7567
7618
|
self._RoomType = None
|
|
7619
|
+
self._EndDelayTime = None
|
|
7568
7620
|
|
|
7569
7621
|
@property
|
|
7570
7622
|
def Name(self):
|
|
@@ -7734,6 +7786,14 @@ class RoomInfo(AbstractModel):
|
|
|
7734
7786
|
def RoomType(self, RoomType):
|
|
7735
7787
|
self._RoomType = RoomType
|
|
7736
7788
|
|
|
7789
|
+
@property
|
|
7790
|
+
def EndDelayTime(self):
|
|
7791
|
+
return self._EndDelayTime
|
|
7792
|
+
|
|
7793
|
+
@EndDelayTime.setter
|
|
7794
|
+
def EndDelayTime(self, EndDelayTime):
|
|
7795
|
+
self._EndDelayTime = EndDelayTime
|
|
7796
|
+
|
|
7737
7797
|
|
|
7738
7798
|
def _deserialize(self, params):
|
|
7739
7799
|
self._Name = params.get("Name")
|
|
@@ -7757,6 +7817,7 @@ class RoomInfo(AbstractModel):
|
|
|
7757
7817
|
self._VideoOrientation = params.get("VideoOrientation")
|
|
7758
7818
|
self._IsGradingRequiredPostClass = params.get("IsGradingRequiredPostClass")
|
|
7759
7819
|
self._RoomType = params.get("RoomType")
|
|
7820
|
+
self._EndDelayTime = params.get("EndDelayTime")
|
|
7760
7821
|
memeber_set = set(params.keys())
|
|
7761
7822
|
for name, value in vars(self).items():
|
|
7762
7823
|
property_name = name[1:]
|
|
@@ -7827,6 +7888,9 @@ class RoomItem(AbstractModel):
|
|
|
7827
7888
|
:param _RoomType: 房间类型。0:小班课(默认值);1:大班课;2:1V1(后续扩展)
|
|
7828
7889
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7829
7890
|
:type RoomType: int
|
|
7891
|
+
:param _EndDelayTime: 拖堂时间:单位分钟,0为不限制(默认值), -1为不能拖堂,大于0为拖堂的时间,最大值120分钟
|
|
7892
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7893
|
+
:type EndDelayTime: int
|
|
7830
7894
|
"""
|
|
7831
7895
|
self._Name = None
|
|
7832
7896
|
self._RoomId = None
|
|
@@ -7845,6 +7909,7 @@ class RoomItem(AbstractModel):
|
|
|
7845
7909
|
self._VideoOrientation = None
|
|
7846
7910
|
self._IsGradingRequiredPostClass = None
|
|
7847
7911
|
self._RoomType = None
|
|
7912
|
+
self._EndDelayTime = None
|
|
7848
7913
|
|
|
7849
7914
|
@property
|
|
7850
7915
|
def Name(self):
|
|
@@ -7982,6 +8047,14 @@ class RoomItem(AbstractModel):
|
|
|
7982
8047
|
def RoomType(self, RoomType):
|
|
7983
8048
|
self._RoomType = RoomType
|
|
7984
8049
|
|
|
8050
|
+
@property
|
|
8051
|
+
def EndDelayTime(self):
|
|
8052
|
+
return self._EndDelayTime
|
|
8053
|
+
|
|
8054
|
+
@EndDelayTime.setter
|
|
8055
|
+
def EndDelayTime(self, EndDelayTime):
|
|
8056
|
+
self._EndDelayTime = EndDelayTime
|
|
8057
|
+
|
|
7985
8058
|
|
|
7986
8059
|
def _deserialize(self, params):
|
|
7987
8060
|
self._Name = params.get("Name")
|
|
@@ -8001,6 +8074,7 @@ class RoomItem(AbstractModel):
|
|
|
8001
8074
|
self._VideoOrientation = params.get("VideoOrientation")
|
|
8002
8075
|
self._IsGradingRequiredPostClass = params.get("IsGradingRequiredPostClass")
|
|
8003
8076
|
self._RoomType = params.get("RoomType")
|
|
8077
|
+
self._EndDelayTime = params.get("EndDelayTime")
|
|
8004
8078
|
memeber_set = set(params.keys())
|
|
8005
8079
|
for name, value in vars(self).items():
|
|
8006
8080
|
property_name = name[1:]
|
|
@@ -16839,6 +16839,81 @@ class DescribePrometheusRecordRulesResponse(AbstractModel):
|
|
|
16839
16839
|
self._RequestId = params.get("RequestId")
|
|
16840
16840
|
|
|
16841
16841
|
|
|
16842
|
+
class DescribePrometheusRegionsRequest(AbstractModel):
|
|
16843
|
+
"""DescribePrometheusRegions请求参数结构体
|
|
16844
|
+
|
|
16845
|
+
"""
|
|
16846
|
+
|
|
16847
|
+
def __init__(self):
|
|
16848
|
+
r"""
|
|
16849
|
+
:param _PayMode: 1-预付费,2-后付费,3-全地域(不填默认全地域)
|
|
16850
|
+
:type PayMode: int
|
|
16851
|
+
"""
|
|
16852
|
+
self._PayMode = None
|
|
16853
|
+
|
|
16854
|
+
@property
|
|
16855
|
+
def PayMode(self):
|
|
16856
|
+
return self._PayMode
|
|
16857
|
+
|
|
16858
|
+
@PayMode.setter
|
|
16859
|
+
def PayMode(self, PayMode):
|
|
16860
|
+
self._PayMode = PayMode
|
|
16861
|
+
|
|
16862
|
+
|
|
16863
|
+
def _deserialize(self, params):
|
|
16864
|
+
self._PayMode = params.get("PayMode")
|
|
16865
|
+
memeber_set = set(params.keys())
|
|
16866
|
+
for name, value in vars(self).items():
|
|
16867
|
+
property_name = name[1:]
|
|
16868
|
+
if property_name in memeber_set:
|
|
16869
|
+
memeber_set.remove(property_name)
|
|
16870
|
+
if len(memeber_set) > 0:
|
|
16871
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16872
|
+
|
|
16873
|
+
|
|
16874
|
+
|
|
16875
|
+
class DescribePrometheusRegionsResponse(AbstractModel):
|
|
16876
|
+
"""DescribePrometheusRegions返回参数结构体
|
|
16877
|
+
|
|
16878
|
+
"""
|
|
16879
|
+
|
|
16880
|
+
def __init__(self):
|
|
16881
|
+
r"""
|
|
16882
|
+
:param _RegionSet: 区域列表
|
|
16883
|
+
:type RegionSet: list of PrometheusRegionItem
|
|
16884
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
16885
|
+
:type RequestId: str
|
|
16886
|
+
"""
|
|
16887
|
+
self._RegionSet = None
|
|
16888
|
+
self._RequestId = None
|
|
16889
|
+
|
|
16890
|
+
@property
|
|
16891
|
+
def RegionSet(self):
|
|
16892
|
+
return self._RegionSet
|
|
16893
|
+
|
|
16894
|
+
@RegionSet.setter
|
|
16895
|
+
def RegionSet(self, RegionSet):
|
|
16896
|
+
self._RegionSet = RegionSet
|
|
16897
|
+
|
|
16898
|
+
@property
|
|
16899
|
+
def RequestId(self):
|
|
16900
|
+
return self._RequestId
|
|
16901
|
+
|
|
16902
|
+
@RequestId.setter
|
|
16903
|
+
def RequestId(self, RequestId):
|
|
16904
|
+
self._RequestId = RequestId
|
|
16905
|
+
|
|
16906
|
+
|
|
16907
|
+
def _deserialize(self, params):
|
|
16908
|
+
if params.get("RegionSet") is not None:
|
|
16909
|
+
self._RegionSet = []
|
|
16910
|
+
for item in params.get("RegionSet"):
|
|
16911
|
+
obj = PrometheusRegionItem()
|
|
16912
|
+
obj._deserialize(item)
|
|
16913
|
+
self._RegionSet.append(obj)
|
|
16914
|
+
self._RequestId = params.get("RequestId")
|
|
16915
|
+
|
|
16916
|
+
|
|
16842
16917
|
class DescribePrometheusScrapeJobsRequest(AbstractModel):
|
|
16843
16918
|
"""DescribePrometheusScrapeJobs请求参数结构体
|
|
16844
16919
|
|
|
@@ -19154,9 +19229,9 @@ class GrafanaInstanceInfo(AbstractModel):
|
|
|
19154
19229
|
:type VpcId: str
|
|
19155
19230
|
:param _SubnetIds: 子网 ID 数组
|
|
19156
19231
|
:type SubnetIds: list of str
|
|
19157
|
-
:param _InternetUrl: Grafana
|
|
19232
|
+
:param _InternetUrl: Grafana 公网地址
|
|
19158
19233
|
:type InternetUrl: str
|
|
19159
|
-
:param _InternalUrl: Grafana
|
|
19234
|
+
:param _InternalUrl: Grafana 内网地址
|
|
19160
19235
|
:type InternalUrl: str
|
|
19161
19236
|
:param _CreatedAt: 创建时间
|
|
19162
19237
|
:type CreatedAt: str
|
|
@@ -25583,6 +25658,111 @@ class PrometheusRecordRuleYamlItem(AbstractModel):
|
|
|
25583
25658
|
|
|
25584
25659
|
|
|
25585
25660
|
|
|
25661
|
+
class PrometheusRegionItem(AbstractModel):
|
|
25662
|
+
"""DescribePrometheusRegions 响应结构体
|
|
25663
|
+
|
|
25664
|
+
"""
|
|
25665
|
+
|
|
25666
|
+
def __init__(self):
|
|
25667
|
+
r"""
|
|
25668
|
+
:param _Region: 区域
|
|
25669
|
+
:type Region: str
|
|
25670
|
+
:param _RegionId: 区域 ID
|
|
25671
|
+
:type RegionId: int
|
|
25672
|
+
:param _RegionState: 区域状态( 0: 不可用;1: 可用)
|
|
25673
|
+
:type RegionState: int
|
|
25674
|
+
:param _RegionName: 区域名(中文)
|
|
25675
|
+
:type RegionName: str
|
|
25676
|
+
:param _RegionShortName: 区域名(英文缩写)
|
|
25677
|
+
:type RegionShortName: str
|
|
25678
|
+
:param _Area: 区域所在大区名
|
|
25679
|
+
:type Area: str
|
|
25680
|
+
:param _RegionPayMode: 1-仅支持预付费,2-仅支持后付费,3-支持两种计费模式实例
|
|
25681
|
+
:type RegionPayMode: int
|
|
25682
|
+
"""
|
|
25683
|
+
self._Region = None
|
|
25684
|
+
self._RegionId = None
|
|
25685
|
+
self._RegionState = None
|
|
25686
|
+
self._RegionName = None
|
|
25687
|
+
self._RegionShortName = None
|
|
25688
|
+
self._Area = None
|
|
25689
|
+
self._RegionPayMode = None
|
|
25690
|
+
|
|
25691
|
+
@property
|
|
25692
|
+
def Region(self):
|
|
25693
|
+
return self._Region
|
|
25694
|
+
|
|
25695
|
+
@Region.setter
|
|
25696
|
+
def Region(self, Region):
|
|
25697
|
+
self._Region = Region
|
|
25698
|
+
|
|
25699
|
+
@property
|
|
25700
|
+
def RegionId(self):
|
|
25701
|
+
return self._RegionId
|
|
25702
|
+
|
|
25703
|
+
@RegionId.setter
|
|
25704
|
+
def RegionId(self, RegionId):
|
|
25705
|
+
self._RegionId = RegionId
|
|
25706
|
+
|
|
25707
|
+
@property
|
|
25708
|
+
def RegionState(self):
|
|
25709
|
+
return self._RegionState
|
|
25710
|
+
|
|
25711
|
+
@RegionState.setter
|
|
25712
|
+
def RegionState(self, RegionState):
|
|
25713
|
+
self._RegionState = RegionState
|
|
25714
|
+
|
|
25715
|
+
@property
|
|
25716
|
+
def RegionName(self):
|
|
25717
|
+
return self._RegionName
|
|
25718
|
+
|
|
25719
|
+
@RegionName.setter
|
|
25720
|
+
def RegionName(self, RegionName):
|
|
25721
|
+
self._RegionName = RegionName
|
|
25722
|
+
|
|
25723
|
+
@property
|
|
25724
|
+
def RegionShortName(self):
|
|
25725
|
+
return self._RegionShortName
|
|
25726
|
+
|
|
25727
|
+
@RegionShortName.setter
|
|
25728
|
+
def RegionShortName(self, RegionShortName):
|
|
25729
|
+
self._RegionShortName = RegionShortName
|
|
25730
|
+
|
|
25731
|
+
@property
|
|
25732
|
+
def Area(self):
|
|
25733
|
+
return self._Area
|
|
25734
|
+
|
|
25735
|
+
@Area.setter
|
|
25736
|
+
def Area(self, Area):
|
|
25737
|
+
self._Area = Area
|
|
25738
|
+
|
|
25739
|
+
@property
|
|
25740
|
+
def RegionPayMode(self):
|
|
25741
|
+
return self._RegionPayMode
|
|
25742
|
+
|
|
25743
|
+
@RegionPayMode.setter
|
|
25744
|
+
def RegionPayMode(self, RegionPayMode):
|
|
25745
|
+
self._RegionPayMode = RegionPayMode
|
|
25746
|
+
|
|
25747
|
+
|
|
25748
|
+
def _deserialize(self, params):
|
|
25749
|
+
self._Region = params.get("Region")
|
|
25750
|
+
self._RegionId = params.get("RegionId")
|
|
25751
|
+
self._RegionState = params.get("RegionState")
|
|
25752
|
+
self._RegionName = params.get("RegionName")
|
|
25753
|
+
self._RegionShortName = params.get("RegionShortName")
|
|
25754
|
+
self._Area = params.get("Area")
|
|
25755
|
+
self._RegionPayMode = params.get("RegionPayMode")
|
|
25756
|
+
memeber_set = set(params.keys())
|
|
25757
|
+
for name, value in vars(self).items():
|
|
25758
|
+
property_name = name[1:]
|
|
25759
|
+
if property_name in memeber_set:
|
|
25760
|
+
memeber_set.remove(property_name)
|
|
25761
|
+
if len(memeber_set) > 0:
|
|
25762
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25763
|
+
|
|
25764
|
+
|
|
25765
|
+
|
|
25586
25766
|
class PrometheusRuleKV(AbstractModel):
|
|
25587
25767
|
"""prometheus 报警规则 KV 参数
|
|
25588
25768
|
|
|
@@ -2108,6 +2108,29 @@ class MonitorClient(AbstractClient):
|
|
|
2108
2108
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2109
2109
|
|
|
2110
2110
|
|
|
2111
|
+
def DescribePrometheusRegions(self, request):
|
|
2112
|
+
"""列出 Prometheus 服务所有可用的地域
|
|
2113
|
+
|
|
2114
|
+
:param request: Request instance for DescribePrometheusRegions.
|
|
2115
|
+
:type request: :class:`tencentcloud.monitor.v20180724.models.DescribePrometheusRegionsRequest`
|
|
2116
|
+
:rtype: :class:`tencentcloud.monitor.v20180724.models.DescribePrometheusRegionsResponse`
|
|
2117
|
+
|
|
2118
|
+
"""
|
|
2119
|
+
try:
|
|
2120
|
+
params = request._serialize()
|
|
2121
|
+
headers = request.headers
|
|
2122
|
+
body = self.call("DescribePrometheusRegions", params, headers=headers)
|
|
2123
|
+
response = json.loads(body)
|
|
2124
|
+
model = models.DescribePrometheusRegionsResponse()
|
|
2125
|
+
model._deserialize(response["Response"])
|
|
2126
|
+
return model
|
|
2127
|
+
except Exception as e:
|
|
2128
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2129
|
+
raise
|
|
2130
|
+
else:
|
|
2131
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2132
|
+
|
|
2133
|
+
|
|
2111
2134
|
def DescribePrometheusScrapeJobs(self, request):
|
|
2112
2135
|
"""列出 Prometheus 抓取任务
|
|
2113
2136
|
|