tencentcloud-sdk-python 3.0.1181__py2.py3-none-any.whl → 3.0.1183__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/aiart/v20221229/aiart_client.py +25 -0
- tencentcloud/aiart/v20221229/models.py +171 -0
- tencentcloud/bpaas/v20181217/models.py +52 -0
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cls/v20201016/models.py +81 -0
- tencentcloud/cwp/v20180228/models.py +80 -17
- tencentcloud/dbbrain/v20210527/models.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/fmu/v20191213/fmu_client.py +9 -3
- tencentcloud/hunyuan/v20230901/models.py +427 -4
- tencentcloud/iotexplorer/v20190423/models.py +79 -1
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/postgres/v20170312/errorcodes.py +3 -0
- tencentcloud/postgres/v20170312/models.py +20 -8
- tencentcloud/redis/v20180412/models.py +14 -8
- tencentcloud/ssl/v20191205/models.py +39 -0
- tencentcloud/teo/v20220901/models.py +26 -15
- tencentcloud/tiia/v20190529/tiia_client.py +3 -1
- tencentcloud/tmt/v20180321/models.py +48 -0
- tencentcloud/trocket/v20230308/models.py +37 -24
- tencentcloud/trocket/v20230308/trocket_client.py +4 -4
- tencentcloud/vod/v20180717/errorcodes.py +12 -0
- tencentcloud/vod/v20180717/models.py +25 -1
- tencentcloud/vod/v20180717/vod_client.py +3 -3
- tencentcloud/waf/v20180125/models.py +65 -0
- {tencentcloud_sdk_python-3.0.1181.dist-info → tencentcloud_sdk_python-3.0.1183.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1181.dist-info → tencentcloud_sdk_python-3.0.1183.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1181.dist-info → tencentcloud_sdk_python-3.0.1183.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1181.dist-info → tencentcloud_sdk_python-3.0.1183.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1181.dist-info → tencentcloud_sdk_python-3.0.1183.dist-info}/top_level.txt +0 -0
@@ -27,16 +27,18 @@ class AccountInfo(AbstractModel):
|
|
27
27
|
r"""
|
28
28
|
:param _DBInstanceId: 实例ID,形如postgres-lnp6j617
|
29
29
|
:type DBInstanceId: str
|
30
|
-
:param _UserName:
|
30
|
+
:param _UserName: 账号
|
31
31
|
:type UserName: str
|
32
|
-
:param _Remark:
|
32
|
+
:param _Remark: 账号备注
|
33
33
|
:type Remark: str
|
34
|
-
:param _Status:
|
34
|
+
:param _Status: 账号状态。 1-创建中,2-正常,3-修改中,4-密码重置中,5-锁定中,-1-删除中
|
35
35
|
:type Status: int
|
36
|
-
:param _CreateTime:
|
36
|
+
:param _CreateTime: 账号创建时间
|
37
37
|
:type CreateTime: str
|
38
|
-
:param _UpdateTime:
|
38
|
+
:param _UpdateTime: 账号最后一次更新时间
|
39
39
|
:type UpdateTime: str
|
40
|
+
:param _UserType: 账号类型
|
41
|
+
:type UserType: str
|
40
42
|
"""
|
41
43
|
self._DBInstanceId = None
|
42
44
|
self._UserName = None
|
@@ -44,6 +46,7 @@ class AccountInfo(AbstractModel):
|
|
44
46
|
self._Status = None
|
45
47
|
self._CreateTime = None
|
46
48
|
self._UpdateTime = None
|
49
|
+
self._UserType = None
|
47
50
|
|
48
51
|
@property
|
49
52
|
def DBInstanceId(self):
|
@@ -93,6 +96,14 @@ class AccountInfo(AbstractModel):
|
|
93
96
|
def UpdateTime(self, UpdateTime):
|
94
97
|
self._UpdateTime = UpdateTime
|
95
98
|
|
99
|
+
@property
|
100
|
+
def UserType(self):
|
101
|
+
return self._UserType
|
102
|
+
|
103
|
+
@UserType.setter
|
104
|
+
def UserType(self, UserType):
|
105
|
+
self._UserType = UserType
|
106
|
+
|
96
107
|
|
97
108
|
def _deserialize(self, params):
|
98
109
|
self._DBInstanceId = params.get("DBInstanceId")
|
@@ -101,6 +112,7 @@ class AccountInfo(AbstractModel):
|
|
101
112
|
self._Status = params.get("Status")
|
102
113
|
self._CreateTime = params.get("CreateTime")
|
103
114
|
self._UpdateTime = params.get("UpdateTime")
|
115
|
+
self._UserType = params.get("UserType")
|
104
116
|
memeber_set = set(params.keys())
|
105
117
|
for name, value in vars(self).items():
|
106
118
|
property_name = name[1:]
|
@@ -4777,11 +4789,11 @@ class DescribeAccountsRequest(AbstractModel):
|
|
4777
4789
|
r"""
|
4778
4790
|
:param _DBInstanceId: 实例ID,形如postgres-6fego161
|
4779
4791
|
:type DBInstanceId: str
|
4780
|
-
:param _Limit: 分页返回,每页最大返回数目,默认
|
4792
|
+
:param _Limit: 分页返回,每页最大返回数目,默认20,取值范围为1-100
|
4781
4793
|
:type Limit: int
|
4782
4794
|
:param _Offset: 数据偏移量,从0开始。
|
4783
4795
|
:type Offset: int
|
4784
|
-
:param _OrderBy:
|
4796
|
+
:param _OrderBy: 返回数据按照创建时间或者用户名排序。取值支持createTime、name、updateTime。createTime-按照创建时间排序;name-按照用户名排序; updateTime-按照更新时间排序。
|
4785
4797
|
:type OrderBy: str
|
4786
4798
|
:param _OrderByType: 返回结果是升序还是降序。取值只能为desc或者asc。desc-降序;asc-升序
|
4787
4799
|
:type OrderByType: str
|
@@ -4858,7 +4870,7 @@ class DescribeAccountsResponse(AbstractModel):
|
|
4858
4870
|
r"""
|
4859
4871
|
:param _TotalCount: 本次调用接口共返回了多少条数据。
|
4860
4872
|
:type TotalCount: int
|
4861
|
-
:param _Details:
|
4873
|
+
:param _Details: 账号列表详细信息。当CreateTime项为0000-00-00 00:00:00时,意味着对应账号是直连数据库创建的,并非通过CreateAccount接口创建。
|
4862
4874
|
:type Details: list of AccountInfo
|
4863
4875
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4864
4876
|
:type RequestId: str
|
@@ -1622,7 +1622,7 @@ class CommandTake(AbstractModel):
|
|
1622
1622
|
r"""
|
1623
1623
|
:param _Cmd: 命令名。
|
1624
1624
|
:type Cmd: str
|
1625
|
-
:param _Took:
|
1625
|
+
:param _Took: 耗时时长。单位:ms。
|
1626
1626
|
:type Took: int
|
1627
1627
|
"""
|
1628
1628
|
self._Cmd = None
|
@@ -5259,9 +5259,13 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
|
|
5259
5259
|
|
5260
5260
|
def __init__(self):
|
5261
5261
|
r"""
|
5262
|
-
:param _InstanceId: 实例
|
5262
|
+
:param _InstanceId: 实例 ID。
|
5263
5263
|
:type InstanceId: str
|
5264
|
-
:param _SpanType:
|
5264
|
+
:param _SpanType: 时间范围。
|
5265
|
+
- 1:实时。
|
5266
|
+
- 2:近30分钟。
|
5267
|
+
- 3:近6小时。
|
5268
|
+
- 4:近24小时。
|
5265
5269
|
:type SpanType: int
|
5266
5270
|
"""
|
5267
5271
|
self._InstanceId = None
|
@@ -9655,7 +9659,7 @@ class InstanceClusterNode(AbstractModel):
|
|
9655
9659
|
|
9656
9660
|
def __init__(self):
|
9657
9661
|
r"""
|
9658
|
-
:param _Name:
|
9662
|
+
:param _Name: 节点组名称。
|
9659
9663
|
:type Name: str
|
9660
9664
|
:param _RunId: 实例运行时节点 ID。
|
9661
9665
|
:type RunId: str
|
@@ -17783,13 +17787,15 @@ class ZoneCapacityConf(AbstractModel):
|
|
17783
17787
|
r"""
|
17784
17788
|
:param _ZoneId: 可用区ID:如ap-guangzhou-3
|
17785
17789
|
:type ZoneId: str
|
17786
|
-
:param _ZoneName:
|
17790
|
+
:param _ZoneName: 可用区名称。
|
17787
17791
|
:type ZoneName: str
|
17788
|
-
:param _IsSaleout:
|
17792
|
+
:param _IsSaleout: 可用区是否售罄。
|
17789
17793
|
:type IsSaleout: bool
|
17790
|
-
:param _IsDefault:
|
17794
|
+
:param _IsDefault: 是否为默认可用区。
|
17791
17795
|
:type IsDefault: bool
|
17792
|
-
:param _NetWorkType:
|
17796
|
+
:param _NetWorkType: 网络类型。
|
17797
|
+
- basenet:基础网络。
|
17798
|
+
- vpcnet -- VPC网络。
|
17793
17799
|
:type NetWorkType: list of str
|
17794
17800
|
:param _ProductSet: 可用区内产品规格等信息
|
17795
17801
|
:type ProductSet: list of ProductConf
|
@@ -2240,12 +2240,16 @@ class ClbListenerRule(AbstractModel):
|
|
2240
2240
|
:param _NoMatchDomains: 不匹配域名列表
|
2241
2241
|
注意:此字段可能返回 null,表示取不到有效值。
|
2242
2242
|
:type NoMatchDomains: list of str
|
2243
|
+
:param _Url: 规则绑定的路径
|
2244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2245
|
+
:type Url: str
|
2243
2246
|
"""
|
2244
2247
|
self._LocationId = None
|
2245
2248
|
self._Domain = None
|
2246
2249
|
self._IsMatch = None
|
2247
2250
|
self._Certificate = None
|
2248
2251
|
self._NoMatchDomains = None
|
2252
|
+
self._Url = None
|
2249
2253
|
|
2250
2254
|
@property
|
2251
2255
|
def LocationId(self):
|
@@ -2287,6 +2291,14 @@ class ClbListenerRule(AbstractModel):
|
|
2287
2291
|
def NoMatchDomains(self, NoMatchDomains):
|
2288
2292
|
self._NoMatchDomains = NoMatchDomains
|
2289
2293
|
|
2294
|
+
@property
|
2295
|
+
def Url(self):
|
2296
|
+
return self._Url
|
2297
|
+
|
2298
|
+
@Url.setter
|
2299
|
+
def Url(self, Url):
|
2300
|
+
self._Url = Url
|
2301
|
+
|
2290
2302
|
|
2291
2303
|
def _deserialize(self, params):
|
2292
2304
|
self._LocationId = params.get("LocationId")
|
@@ -2296,6 +2308,7 @@ class ClbListenerRule(AbstractModel):
|
|
2296
2308
|
self._Certificate = Certificate()
|
2297
2309
|
self._Certificate._deserialize(params.get("Certificate"))
|
2298
2310
|
self._NoMatchDomains = params.get("NoMatchDomains")
|
2311
|
+
self._Url = params.get("Url")
|
2299
2312
|
memeber_set = set(params.keys())
|
2300
2313
|
for name, value in vars(self).items():
|
2301
2314
|
property_name = name[1:]
|
@@ -3977,6 +3990,9 @@ class DeployRecordDetail(AbstractModel):
|
|
3977
3990
|
:param _Region: 部署的TCB地域
|
3978
3991
|
注意:此字段可能返回 null,表示取不到有效值。
|
3979
3992
|
:type Region: str
|
3993
|
+
:param _Url: 部署CLB监听器的Url
|
3994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3995
|
+
:type Url: list of str
|
3980
3996
|
"""
|
3981
3997
|
self._Id = None
|
3982
3998
|
self._CertId = None
|
@@ -3999,6 +4015,7 @@ class DeployRecordDetail(AbstractModel):
|
|
3999
4015
|
self._EnvId = None
|
4000
4016
|
self._TCBType = None
|
4001
4017
|
self._Region = None
|
4018
|
+
self._Url = None
|
4002
4019
|
|
4003
4020
|
@property
|
4004
4021
|
def Id(self):
|
@@ -4168,6 +4185,14 @@ class DeployRecordDetail(AbstractModel):
|
|
4168
4185
|
def Region(self, Region):
|
4169
4186
|
self._Region = Region
|
4170
4187
|
|
4188
|
+
@property
|
4189
|
+
def Url(self):
|
4190
|
+
return self._Url
|
4191
|
+
|
4192
|
+
@Url.setter
|
4193
|
+
def Url(self, Url):
|
4194
|
+
self._Url = Url
|
4195
|
+
|
4171
4196
|
|
4172
4197
|
def _deserialize(self, params):
|
4173
4198
|
self._Id = params.get("Id")
|
@@ -4191,6 +4216,7 @@ class DeployRecordDetail(AbstractModel):
|
|
4191
4216
|
self._EnvId = params.get("EnvId")
|
4192
4217
|
self._TCBType = params.get("TCBType")
|
4193
4218
|
self._Region = params.get("Region")
|
4219
|
+
self._Url = params.get("Url")
|
4194
4220
|
memeber_set = set(params.keys())
|
4195
4221
|
for name, value in vars(self).items():
|
4196
4222
|
property_name = name[1:]
|
@@ -14612,6 +14638,9 @@ class UpdateRecordDetail(AbstractModel):
|
|
14612
14638
|
:param _TCBType: TCB部署类型
|
14613
14639
|
注意:此字段可能返回 null,表示取不到有效值。
|
14614
14640
|
:type TCBType: str
|
14641
|
+
:param _Url: 监听器Url(clb专属)
|
14642
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14643
|
+
:type Url: str
|
14615
14644
|
"""
|
14616
14645
|
self._Id = None
|
14617
14646
|
self._CertId = None
|
@@ -14635,6 +14664,7 @@ class UpdateRecordDetail(AbstractModel):
|
|
14635
14664
|
self._SecretName = None
|
14636
14665
|
self._EnvId = None
|
14637
14666
|
self._TCBType = None
|
14667
|
+
self._Url = None
|
14638
14668
|
|
14639
14669
|
@property
|
14640
14670
|
def Id(self):
|
@@ -14812,6 +14842,14 @@ class UpdateRecordDetail(AbstractModel):
|
|
14812
14842
|
def TCBType(self, TCBType):
|
14813
14843
|
self._TCBType = TCBType
|
14814
14844
|
|
14845
|
+
@property
|
14846
|
+
def Url(self):
|
14847
|
+
return self._Url
|
14848
|
+
|
14849
|
+
@Url.setter
|
14850
|
+
def Url(self, Url):
|
14851
|
+
self._Url = Url
|
14852
|
+
|
14815
14853
|
|
14816
14854
|
def _deserialize(self, params):
|
14817
14855
|
self._Id = params.get("Id")
|
@@ -14836,6 +14874,7 @@ class UpdateRecordDetail(AbstractModel):
|
|
14836
14874
|
self._SecretName = params.get("SecretName")
|
14837
14875
|
self._EnvId = params.get("EnvId")
|
14838
14876
|
self._TCBType = params.get("TCBType")
|
14877
|
+
self._Url = params.get("Url")
|
14839
14878
|
memeber_set = set(params.keys())
|
14840
14879
|
for name, value in vars(self).items():
|
14841
14880
|
property_name = name[1:]
|
@@ -16500,7 +16500,7 @@ class IpTableConfig(AbstractModel):
|
|
16500
16500
|
|
16501
16501
|
|
16502
16502
|
class IpTableRule(AbstractModel):
|
16503
|
-
"""
|
16503
|
+
"""自定义规则-基础访问管控配置。
|
16504
16504
|
|
16505
16505
|
"""
|
16506
16506
|
|
@@ -16512,32 +16512,43 @@ class IpTableRule(AbstractModel):
|
|
16512
16512
|
<li> monitor:观察。</li>
|
16513
16513
|
:type Action: str
|
16514
16514
|
:param _MatchFrom: 根据类型匹配,取值有:
|
16515
|
-
<li>ip
|
16516
|
-
<li>area
|
16515
|
+
<li>ip:客户端 IP 进行匹配;</li>
|
16516
|
+
<li>area:客户端 IP 所属地区匹配;</li>
|
16517
|
+
<li>asn:客户端所属的自治系统进行匹配;</li>
|
16518
|
+
<li>referer:请求头 Referer 进行匹配;</li>
|
16519
|
+
<li>ua:请求头 User-Agent 进行匹配;</li>
|
16520
|
+
<li>url:请求 URL 进行匹配。</li>
|
16517
16521
|
:type MatchFrom: str
|
16518
|
-
:param _Operator:
|
16519
|
-
|
16520
|
-
<li>
|
16521
|
-
<li>
|
16522
|
-
<li>
|
16523
|
-
<li>
|
16524
|
-
<li>
|
16525
|
-
<li>
|
16526
|
-
|
16522
|
+
:param _Operator: 规则的匹配方式。取值有:
|
16523
|
+
<li> match:匹配,适用于 MatchFrom 为 ip;</li>
|
16524
|
+
<li> not_match:不匹配,适用于 MatchFrom 为 ip;</li>
|
16525
|
+
<li> include_area:地域包含,适用于 MatchFrom 为 area;</li>
|
16526
|
+
<li> not_include_area:地域不包含,适用于 MatchFrom 为 area;</li>
|
16527
|
+
<li> asn_match:ASN 包含,适用于 MatchFrom 为 asn;</li>
|
16528
|
+
<li> asn_not_match:ASN 不包含,适用于 MatchFrom 为 asn;</li>
|
16529
|
+
<li> equal:等于,适用于 MatchFrom 为 ua , referer;</li>
|
16530
|
+
<li> not_equal:不等于,适用于 MatchFrom 为 ua , referer;</li>
|
16531
|
+
<li> include:通配符匹配,适用于 MatchFrom 为 ua , referer , url;</li>
|
16532
|
+
<li> not_include:通配符不匹配,适用于 MatchFrom 为 ua , referer;</li>
|
16533
|
+
<li> is_emty:配置内容为空,适用于 MatchFrom 为 ua , referer;</li>
|
16534
|
+
<li> not_exists:配置内容不存在,适用于 MatchFrom 为 ua , referer。</li>
|
16527
16535
|
:type Operator: str
|
16528
16536
|
:param _RuleID: 规则id。仅出参使用。
|
16529
16537
|
:type RuleID: int
|
16530
16538
|
:param _UpdateTime: 更新时间。仅出参使用。
|
16531
16539
|
:type UpdateTime: str
|
16532
|
-
:param _Status:
|
16540
|
+
:param _Status: 规则启用状态。取值有:
|
16533
16541
|
<li> on:启用;</li>
|
16534
16542
|
<li> off:未启用。</li>
|
16535
|
-
|
16543
|
+
当入参缺省时,按 on 取值。
|
16536
16544
|
:type Status: str
|
16537
16545
|
:param _RuleName: 规则名。
|
16538
16546
|
注意:此字段可能返回 null,表示取不到有效值。
|
16539
16547
|
:type RuleName: str
|
16540
|
-
:param _MatchContent:
|
16548
|
+
:param _MatchContent: 匹配内容。支持多值输入。
|
16549
|
+
<li>当输入多个匹配值时,请使用英文逗号分隔;</li>
|
16550
|
+
<li>当 MatchFrom 为 ua 时,不支持多值输入;</li>
|
16551
|
+
<li>当 Operator 为 is_empty 或 not_exists 时,本字段入参值无效。</li>
|
16541
16552
|
:type MatchContent: str
|
16542
16553
|
"""
|
16543
16554
|
self._Action = None
|
@@ -500,7 +500,9 @@ class TiiaClient(AbstractClient):
|
|
500
500
|
|
501
501
|
|
502
502
|
def DetectProductBeta(self, request):
|
503
|
-
"""
|
503
|
+
"""产品不再维护,准备下线。
|
504
|
+
|
505
|
+
商品识别-微信识物版,基于人工智能技术、海量训练图片、亿级商品库,可以实现全覆盖、细粒度、高准确率的商品识别和商品推荐功能。
|
504
506
|
本服务可以识别出图片中的主体位置、主体商品类型,覆盖亿级SKU,输出具体商品的价格、型号等详细信息。
|
505
507
|
客户无需自建商品库,即可快速实现商品识别、拍照搜商品等功能。
|
506
508
|
>?
|
@@ -1113,11 +1113,17 @@ hi:印地语
|
|
1113
1113
|
:type ProjectId: int
|
1114
1114
|
:param _SourceTextList: 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于6000字符。
|
1115
1115
|
:type SourceTextList: list of str
|
1116
|
+
:param _TermRepoIDList: 需要使用的术语库列表
|
1117
|
+
:type TermRepoIDList: list of str
|
1118
|
+
:param _SentRepoIDList: 需要使用的例句库列表
|
1119
|
+
:type SentRepoIDList: list of str
|
1116
1120
|
"""
|
1117
1121
|
self._Source = None
|
1118
1122
|
self._Target = None
|
1119
1123
|
self._ProjectId = None
|
1120
1124
|
self._SourceTextList = None
|
1125
|
+
self._TermRepoIDList = None
|
1126
|
+
self._SentRepoIDList = None
|
1121
1127
|
|
1122
1128
|
@property
|
1123
1129
|
def Source(self):
|
@@ -1151,12 +1157,30 @@ hi:印地语
|
|
1151
1157
|
def SourceTextList(self, SourceTextList):
|
1152
1158
|
self._SourceTextList = SourceTextList
|
1153
1159
|
|
1160
|
+
@property
|
1161
|
+
def TermRepoIDList(self):
|
1162
|
+
return self._TermRepoIDList
|
1163
|
+
|
1164
|
+
@TermRepoIDList.setter
|
1165
|
+
def TermRepoIDList(self, TermRepoIDList):
|
1166
|
+
self._TermRepoIDList = TermRepoIDList
|
1167
|
+
|
1168
|
+
@property
|
1169
|
+
def SentRepoIDList(self):
|
1170
|
+
return self._SentRepoIDList
|
1171
|
+
|
1172
|
+
@SentRepoIDList.setter
|
1173
|
+
def SentRepoIDList(self, SentRepoIDList):
|
1174
|
+
self._SentRepoIDList = SentRepoIDList
|
1175
|
+
|
1154
1176
|
|
1155
1177
|
def _deserialize(self, params):
|
1156
1178
|
self._Source = params.get("Source")
|
1157
1179
|
self._Target = params.get("Target")
|
1158
1180
|
self._ProjectId = params.get("ProjectId")
|
1159
1181
|
self._SourceTextList = params.get("SourceTextList")
|
1182
|
+
self._TermRepoIDList = params.get("TermRepoIDList")
|
1183
|
+
self._SentRepoIDList = params.get("SentRepoIDList")
|
1160
1184
|
memeber_set = set(params.keys())
|
1161
1185
|
for name, value in vars(self).items():
|
1162
1186
|
property_name = name[1:]
|
@@ -1283,12 +1307,18 @@ hi:印地语
|
|
1283
1307
|
:type ProjectId: int
|
1284
1308
|
:param _UntranslatedText: 用来标记不希望被翻译的文本内容,如句子中的特殊符号、人名、地名等;每次请求只支持配置一个不被翻译的单词;仅支持配置人名、地名等名词,不要配置动词或短语,否则会影响翻译结果。
|
1285
1309
|
:type UntranslatedText: str
|
1310
|
+
:param _TermRepoIDList: 需要使用的术语库列表
|
1311
|
+
:type TermRepoIDList: list of str
|
1312
|
+
:param _SentRepoIDList: 需要使用的例句库列表
|
1313
|
+
:type SentRepoIDList: list of str
|
1286
1314
|
"""
|
1287
1315
|
self._SourceText = None
|
1288
1316
|
self._Source = None
|
1289
1317
|
self._Target = None
|
1290
1318
|
self._ProjectId = None
|
1291
1319
|
self._UntranslatedText = None
|
1320
|
+
self._TermRepoIDList = None
|
1321
|
+
self._SentRepoIDList = None
|
1292
1322
|
|
1293
1323
|
@property
|
1294
1324
|
def SourceText(self):
|
@@ -1330,6 +1360,22 @@ hi:印地语
|
|
1330
1360
|
def UntranslatedText(self, UntranslatedText):
|
1331
1361
|
self._UntranslatedText = UntranslatedText
|
1332
1362
|
|
1363
|
+
@property
|
1364
|
+
def TermRepoIDList(self):
|
1365
|
+
return self._TermRepoIDList
|
1366
|
+
|
1367
|
+
@TermRepoIDList.setter
|
1368
|
+
def TermRepoIDList(self, TermRepoIDList):
|
1369
|
+
self._TermRepoIDList = TermRepoIDList
|
1370
|
+
|
1371
|
+
@property
|
1372
|
+
def SentRepoIDList(self):
|
1373
|
+
return self._SentRepoIDList
|
1374
|
+
|
1375
|
+
@SentRepoIDList.setter
|
1376
|
+
def SentRepoIDList(self, SentRepoIDList):
|
1377
|
+
self._SentRepoIDList = SentRepoIDList
|
1378
|
+
|
1333
1379
|
|
1334
1380
|
def _deserialize(self, params):
|
1335
1381
|
self._SourceText = params.get("SourceText")
|
@@ -1337,6 +1383,8 @@ hi:印地语
|
|
1337
1383
|
self._Target = params.get("Target")
|
1338
1384
|
self._ProjectId = params.get("ProjectId")
|
1339
1385
|
self._UntranslatedText = params.get("UntranslatedText")
|
1386
|
+
self._TermRepoIDList = params.get("TermRepoIDList")
|
1387
|
+
self._SentRepoIDList = params.get("SentRepoIDList")
|
1340
1388
|
memeber_set = set(params.keys())
|
1341
1389
|
for name, value in vars(self).items():
|
1342
1390
|
property_name = name[1:]
|
@@ -2339,35 +2339,19 @@ class DescribeInstanceListRequest(AbstractModel):
|
|
2339
2339
|
|
2340
2340
|
def __init__(self):
|
2341
2341
|
r"""
|
2342
|
-
:param _Offset: 查询起始位置
|
2343
|
-
:type Offset: int
|
2344
|
-
:param _Limit: 查询结果限制数量
|
2345
|
-
:type Limit: int
|
2346
2342
|
:param _Filters: 查询条件列表
|
2347
2343
|
:type Filters: list of Filter
|
2348
2344
|
:param _TagFilters: 标签过滤器
|
2349
2345
|
:type TagFilters: list of TagFilter
|
2346
|
+
:param _Offset: 查询起始位置
|
2347
|
+
:type Offset: int
|
2348
|
+
:param _Limit: 查询结果限制数量
|
2349
|
+
:type Limit: int
|
2350
2350
|
"""
|
2351
|
-
self._Offset = None
|
2352
|
-
self._Limit = None
|
2353
2351
|
self._Filters = None
|
2354
2352
|
self._TagFilters = None
|
2355
|
-
|
2356
|
-
|
2357
|
-
def Offset(self):
|
2358
|
-
return self._Offset
|
2359
|
-
|
2360
|
-
@Offset.setter
|
2361
|
-
def Offset(self, Offset):
|
2362
|
-
self._Offset = Offset
|
2363
|
-
|
2364
|
-
@property
|
2365
|
-
def Limit(self):
|
2366
|
-
return self._Limit
|
2367
|
-
|
2368
|
-
@Limit.setter
|
2369
|
-
def Limit(self, Limit):
|
2370
|
-
self._Limit = Limit
|
2353
|
+
self._Offset = None
|
2354
|
+
self._Limit = None
|
2371
2355
|
|
2372
2356
|
@property
|
2373
2357
|
def Filters(self):
|
@@ -2385,10 +2369,24 @@ class DescribeInstanceListRequest(AbstractModel):
|
|
2385
2369
|
def TagFilters(self, TagFilters):
|
2386
2370
|
self._TagFilters = TagFilters
|
2387
2371
|
|
2372
|
+
@property
|
2373
|
+
def Offset(self):
|
2374
|
+
return self._Offset
|
2375
|
+
|
2376
|
+
@Offset.setter
|
2377
|
+
def Offset(self, Offset):
|
2378
|
+
self._Offset = Offset
|
2379
|
+
|
2380
|
+
@property
|
2381
|
+
def Limit(self):
|
2382
|
+
return self._Limit
|
2383
|
+
|
2384
|
+
@Limit.setter
|
2385
|
+
def Limit(self, Limit):
|
2386
|
+
self._Limit = Limit
|
2387
|
+
|
2388
2388
|
|
2389
2389
|
def _deserialize(self, params):
|
2390
|
-
self._Offset = params.get("Offset")
|
2391
|
-
self._Limit = params.get("Limit")
|
2392
2390
|
if params.get("Filters") is not None:
|
2393
2391
|
self._Filters = []
|
2394
2392
|
for item in params.get("Filters"):
|
@@ -2401,6 +2399,8 @@ class DescribeInstanceListRequest(AbstractModel):
|
|
2401
2399
|
obj = TagFilter()
|
2402
2400
|
obj._deserialize(item)
|
2403
2401
|
self._TagFilters.append(obj)
|
2402
|
+
self._Offset = params.get("Offset")
|
2403
|
+
self._Limit = params.get("Limit")
|
2404
2404
|
memeber_set = set(params.keys())
|
2405
2405
|
for name, value in vars(self).items():
|
2406
2406
|
property_name = name[1:]
|
@@ -5764,6 +5764,9 @@ PREPAID,包年包月
|
|
5764
5764
|
:param _MaxMessageDelay: 延迟消息最大时长,小时为单位
|
5765
5765
|
注意:此字段可能返回 null,表示取不到有效值。
|
5766
5766
|
:type MaxMessageDelay: int
|
5767
|
+
:param _RenewFlag: 是否自动续费
|
5768
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5769
|
+
:type RenewFlag: int
|
5767
5770
|
"""
|
5768
5771
|
self._InstanceId = None
|
5769
5772
|
self._InstanceName = None
|
@@ -5783,6 +5786,7 @@ PREPAID,包年包月
|
|
5783
5786
|
self._ScaledTpsLimit = None
|
5784
5787
|
self._MessageRetention = None
|
5785
5788
|
self._MaxMessageDelay = None
|
5789
|
+
self._RenewFlag = None
|
5786
5790
|
|
5787
5791
|
@property
|
5788
5792
|
def InstanceId(self):
|
@@ -5928,6 +5932,14 @@ PREPAID,包年包月
|
|
5928
5932
|
def MaxMessageDelay(self, MaxMessageDelay):
|
5929
5933
|
self._MaxMessageDelay = MaxMessageDelay
|
5930
5934
|
|
5935
|
+
@property
|
5936
|
+
def RenewFlag(self):
|
5937
|
+
return self._RenewFlag
|
5938
|
+
|
5939
|
+
@RenewFlag.setter
|
5940
|
+
def RenewFlag(self, RenewFlag):
|
5941
|
+
self._RenewFlag = RenewFlag
|
5942
|
+
|
5931
5943
|
|
5932
5944
|
def _deserialize(self, params):
|
5933
5945
|
self._InstanceId = params.get("InstanceId")
|
@@ -5953,6 +5965,7 @@ PREPAID,包年包月
|
|
5953
5965
|
self._ScaledTpsLimit = params.get("ScaledTpsLimit")
|
5954
5966
|
self._MessageRetention = params.get("MessageRetention")
|
5955
5967
|
self._MaxMessageDelay = params.get("MaxMessageDelay")
|
5968
|
+
self._RenewFlag = params.get("RenewFlag")
|
5956
5969
|
memeber_set = set(params.keys())
|
5957
5970
|
for name, value in vars(self).items():
|
5958
5971
|
property_name = name[1:]
|
@@ -495,11 +495,11 @@ class TrocketClient(AbstractClient):
|
|
495
495
|
|
496
496
|
|
497
497
|
def DescribeInstanceList(self, request):
|
498
|
-
"""
|
498
|
+
"""获取集群列表,仅支持 5.x 集群,Filters参数使用说明如下:
|
499
499
|
1. InstanceName, 名称模糊查询
|
500
|
-
2. InstanceId
|
501
|
-
3. InstanceType,
|
502
|
-
3. InstanceStatus
|
500
|
+
2. InstanceId,集群ID查询
|
501
|
+
3. InstanceType, 集群类型查询,支持多选
|
502
|
+
3. InstanceStatus,集群状态查询,支持多选
|
503
503
|
|
504
504
|
当使用TagFilters查询时,Filters参数失效。
|
505
505
|
|
@@ -347,6 +347,9 @@ INVALIDPARAMETERVALUE_INTERVAL = 'InvalidParameterValue.Interval'
|
|
347
347
|
# 参数错误:无效的操作类型。
|
348
348
|
INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = 'InvalidParameterValue.InvalidOperationType'
|
349
349
|
|
350
|
+
# 参数值错误:错误固化参数。
|
351
|
+
INVALIDPARAMETERVALUE_ISPERSISTENCE = 'InvalidParameterValue.IsPersistence'
|
352
|
+
|
350
353
|
# Isps 参数错误。
|
351
354
|
INVALIDPARAMETERVALUE_ISPS = 'InvalidParameterValue.Isps'
|
352
355
|
|
@@ -407,12 +410,21 @@ INVALIDPARAMETERVALUE_OPERATION = 'InvalidParameterValue.Operation'
|
|
407
410
|
# 参数值错误:文件原存储类型异常。
|
408
411
|
INVALIDPARAMETERVALUE_ORIGINALSTORAGECLASS = 'InvalidParameterValue.OriginalStorageClass'
|
409
412
|
|
413
|
+
# 参数值错误:错误的输出媒体文件类型。
|
414
|
+
INVALIDPARAMETERVALUE_OUTPUTMEDIATYPE = 'InvalidParameterValue.OutputMediaType'
|
415
|
+
|
410
416
|
# 参数值错误:ParentId 无效。
|
411
417
|
INVALIDPARAMETERVALUE_PARENTID = 'InvalidParameterValue.ParentId'
|
412
418
|
|
413
419
|
# 参数值错误:人脸图片格式错误。
|
414
420
|
INVALIDPARAMETERVALUE_PICFORMATERROR = 'InvalidParameterValue.PicFormatError'
|
415
421
|
|
422
|
+
# 参数值错误:错误的精度参数。
|
423
|
+
INVALIDPARAMETERVALUE_PRECISION = 'InvalidParameterValue.Precision'
|
424
|
+
|
425
|
+
# 参数值错误:错误的 Procedure 。
|
426
|
+
INVALIDPARAMETERVALUE_PROCEDURE = 'InvalidParameterValue.Procedure'
|
427
|
+
|
416
428
|
# 任务流模板名无效。
|
417
429
|
INVALIDPARAMETERVALUE_PROCEDURENAME = 'InvalidParameterValue.ProcedureName'
|
418
430
|
|
@@ -53309,7 +53309,7 @@ class SimpleHlsClipRequest(AbstractModel):
|
|
53309
53309
|
:type IsPersistence: int
|
53310
53310
|
:param _ExpireTime: 剪辑固化后的视频存储过期时间。格式参照 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。填“9999-12-31T23:59:59Z”表示永不过期。过期后该媒体文件及其相关资源(转码结果、雪碧图等)将被永久删除。仅 IsPersistence 为 1 时有效,默认剪辑固化的视频永不过期。
|
53311
53311
|
:type ExpireTime: str
|
53312
|
-
:param _Procedure: 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。
|
53312
|
+
:param _Procedure: 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 且 Precision 为 Rough 时有效。
|
53313
53313
|
:type Procedure: str
|
53314
53314
|
:param _ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
53315
53315
|
<li>默认值:0,表示其他分类。</li>
|
@@ -53319,6 +53319,10 @@ class SimpleHlsClipRequest(AbstractModel):
|
|
53319
53319
|
:type SourceContext: str
|
53320
53320
|
:param _SessionContext: 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。仅 IsPersistence 为 1 时有效。
|
53321
53321
|
:type SessionContext: str
|
53322
|
+
:param _Precision: 裁剪精度,取值有:<li>Rough: 粗略裁剪,最小剪辑精度是单个 ts 分片;</li><li>Precise: 精确裁剪,做到按照剪辑时间点的毫秒级精确剪辑。</li> 默认取值 Rough。
|
53323
|
+
:type Precision: str
|
53324
|
+
:param _OutputMediaType: 输出视频类型,取值有:<li>hls: 输出 hls 文件;</li><li>mp4:输出 mp4 文件,MP4 文件的大小不超过5G,时长小于2小时。仅当 Precision 选择 Precise 且 IsPersistence 选择0时有效,即只有非固化的精确剪辑时支持输出 MP4。</li>默认取值 hls。
|
53325
|
+
:type OutputMediaType: str
|
53322
53326
|
:param _ExtInfo: 保留字段,特殊用途时使用。 示例值:""
|
53323
53327
|
:type ExtInfo: str
|
53324
53328
|
"""
|
@@ -53332,6 +53336,8 @@ class SimpleHlsClipRequest(AbstractModel):
|
|
53332
53336
|
self._ClassId = None
|
53333
53337
|
self._SourceContext = None
|
53334
53338
|
self._SessionContext = None
|
53339
|
+
self._Precision = None
|
53340
|
+
self._OutputMediaType = None
|
53335
53341
|
self._ExtInfo = None
|
53336
53342
|
|
53337
53343
|
@property
|
@@ -53414,6 +53420,22 @@ class SimpleHlsClipRequest(AbstractModel):
|
|
53414
53420
|
def SessionContext(self, SessionContext):
|
53415
53421
|
self._SessionContext = SessionContext
|
53416
53422
|
|
53423
|
+
@property
|
53424
|
+
def Precision(self):
|
53425
|
+
return self._Precision
|
53426
|
+
|
53427
|
+
@Precision.setter
|
53428
|
+
def Precision(self, Precision):
|
53429
|
+
self._Precision = Precision
|
53430
|
+
|
53431
|
+
@property
|
53432
|
+
def OutputMediaType(self):
|
53433
|
+
return self._OutputMediaType
|
53434
|
+
|
53435
|
+
@OutputMediaType.setter
|
53436
|
+
def OutputMediaType(self, OutputMediaType):
|
53437
|
+
self._OutputMediaType = OutputMediaType
|
53438
|
+
|
53417
53439
|
@property
|
53418
53440
|
def ExtInfo(self):
|
53419
53441
|
return self._ExtInfo
|
@@ -53434,6 +53456,8 @@ class SimpleHlsClipRequest(AbstractModel):
|
|
53434
53456
|
self._ClassId = params.get("ClassId")
|
53435
53457
|
self._SourceContext = params.get("SourceContext")
|
53436
53458
|
self._SessionContext = params.get("SessionContext")
|
53459
|
+
self._Precision = params.get("Precision")
|
53460
|
+
self._OutputMediaType = params.get("OutputMediaType")
|
53437
53461
|
self._ExtInfo = params.get("ExtInfo")
|
53438
53462
|
memeber_set = set(params.keys())
|
53439
53463
|
for name, value in vars(self).items():
|
@@ -4285,9 +4285,9 @@ class VodClient(AbstractClient):
|
|
4285
4285
|
- 剪辑固化:将剪辑出来的视频保存成独立的视频,拥有独立 FileId;适用于将精彩片段长久保存的场景;
|
4286
4286
|
- 剪辑不固化:剪辑得到的视频附属于输入文件,没有独立 FileId;适用于将精彩片段临时分享的场景。
|
4287
4287
|
|
4288
|
-
|
4289
|
-
-
|
4290
|
-
|
4288
|
+
裁剪精度支持粗略裁剪和精确裁剪:
|
4289
|
+
- 粗略剪辑:基于输入 m3u8 文件进行裁剪,其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
|
4290
|
+
- 精确剪辑:按照 StartTimeOffset 和 EndTimeOffset 参数进行精确裁剪。使用精确裁剪需要开通[即时转码](/document/product/266/102174)的功能。
|
4291
4291
|
|
4292
4292
|
### 剪辑固化
|
4293
4293
|
所谓剪辑固化,是指将剪辑出来的视频保存成一个独立的视频(拥有独立的 FileId)。其生命周期不受原始输入视频影响(即使原始输入视频被删除,剪辑结果也不会受到任何影响);也可以对其进行转码、微信发布等二次处理。
|