tencentcloud-sdk-python 3.0.1212__py2.py3-none-any.whl → 3.0.1213__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1212'
17
+ __version__ = '3.0.1213'
@@ -447,7 +447,13 @@ class AsrClient(AbstractClient):
447
447
 
448
448
 
449
449
  def SentenceRecognition(self, request):
450
- """本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
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")
@@ -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: 开始时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
2759
+ :param _StartTime: 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
2760
2760
  :type StartTime: str
2761
- :param _EndTime: 结束时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
2761
+ :param _EndTime: 默认查询范围的结束时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式。注意,结束时间点要大于开始时间点
2762
2762
  :type EndTime: str
2763
- :param _NowTime: StartTime/EndTime为相对时间时,基于NowTime计算绝对时间,默认为创建时间
2763
+ :param _NowTime: 仅当StartTime/EndTime为相对时间时使用,基于NowTime计算绝对时间,默认为创建时间
2764
2764
  注意:此字段可能返回 null,表示取不到有效值。
2765
2765
  :type NowTime: int
2766
- :param _Params: params参数列表,当Type为2时支持
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返回参数结构体
@@ -13281,11 +13281,15 @@ class CanFixVulInfo(AbstractModel):
13281
13281
  :param _FixTag: 修复提示tag
13282
13282
  注意:此字段可能返回 null,表示取不到有效值。
13283
13283
  :type FixTag: list of str
13284
+ :param _VulCategory: 漏洞分类1 web cms漏洞,2应用漏洞,4linux软件漏洞,5windows系统漏洞
13285
+ 注意:此字段可能返回 null,表示取不到有效值。
13286
+ :type VulCategory: int
13284
13287
  """
13285
13288
  self._VulId = None
13286
13289
  self._VulName = None
13287
13290
  self._HostList = None
13288
13291
  self._FixTag = None
13292
+ self._VulCategory = None
13289
13293
 
13290
13294
  @property
13291
13295
  def VulId(self):
@@ -13319,6 +13323,14 @@ class CanFixVulInfo(AbstractModel):
13319
13323
  def FixTag(self, FixTag):
13320
13324
  self._FixTag = FixTag
13321
13325
 
13326
+ @property
13327
+ def VulCategory(self):
13328
+ return self._VulCategory
13329
+
13330
+ @VulCategory.setter
13331
+ def VulCategory(self, VulCategory):
13332
+ self._VulCategory = VulCategory
13333
+
13322
13334
 
13323
13335
  def _deserialize(self, params):
13324
13336
  self._VulId = params.get("VulId")
@@ -13330,6 +13342,7 @@ class CanFixVulInfo(AbstractModel):
13330
13342
  obj._deserialize(item)
13331
13343
  self._HostList.append(obj)
13332
13344
  self._FixTag = params.get("FixTag")
13345
+ self._VulCategory = params.get("VulCategory")
13333
13346
  memeber_set = set(params.keys())
13334
13347
  for name, value in vars(self).items():
13335
13348
  property_name = name[1:]
@@ -16281,9 +16294,12 @@ class CreateVulFixTaskQuuids(AbstractModel):
16281
16294
  :type VulId: int
16282
16295
  :param _Quuids: 需要修复漏洞的主机,所有主机必须有VulId的这个漏洞且是待修复状态。
16283
16296
  :type Quuids: list of str
16297
+ :param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
16298
+ :type FixMethod: int
16284
16299
  """
16285
16300
  self._VulId = None
16286
16301
  self._Quuids = None
16302
+ self._FixMethod = None
16287
16303
 
16288
16304
  @property
16289
16305
  def VulId(self):
@@ -16301,10 +16317,19 @@ class CreateVulFixTaskQuuids(AbstractModel):
16301
16317
  def Quuids(self, Quuids):
16302
16318
  self._Quuids = Quuids
16303
16319
 
16320
+ @property
16321
+ def FixMethod(self):
16322
+ return self._FixMethod
16323
+
16324
+ @FixMethod.setter
16325
+ def FixMethod(self, FixMethod):
16326
+ self._FixMethod = FixMethod
16327
+
16304
16328
 
16305
16329
  def _deserialize(self, params):
16306
16330
  self._VulId = params.get("VulId")
16307
16331
  self._Quuids = params.get("Quuids")
16332
+ self._FixMethod = params.get("FixMethod")
16308
16333
  memeber_set = set(params.keys())
16309
16334
  for name, value in vars(self).items():
16310
16335
  property_name = name[1:]
@@ -88205,6 +88230,9 @@ class VulFixStatusInfo(AbstractModel):
88205
88230
  :param _FixSuccessCnt: 修复成功的数量
88206
88231
  注意:此字段可能返回 null,表示取不到有效值。
88207
88232
  :type FixSuccessCnt: int
88233
+ :param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
88234
+ 注意:此字段可能返回 null,表示取不到有效值。
88235
+ :type FixMethod: int
88208
88236
  """
88209
88237
  self._VulId = None
88210
88238
  self._VulName = None
@@ -88212,6 +88240,7 @@ class VulFixStatusInfo(AbstractModel):
88212
88240
  self._HostList = None
88213
88241
  self._FailCnt = None
88214
88242
  self._FixSuccessCnt = None
88243
+ self._FixMethod = None
88215
88244
 
88216
88245
  @property
88217
88246
  def VulId(self):
@@ -88261,6 +88290,14 @@ class VulFixStatusInfo(AbstractModel):
88261
88290
  def FixSuccessCnt(self, FixSuccessCnt):
88262
88291
  self._FixSuccessCnt = FixSuccessCnt
88263
88292
 
88293
+ @property
88294
+ def FixMethod(self):
88295
+ return self._FixMethod
88296
+
88297
+ @FixMethod.setter
88298
+ def FixMethod(self, FixMethod):
88299
+ self._FixMethod = FixMethod
88300
+
88264
88301
 
88265
88302
  def _deserialize(self, params):
88266
88303
  self._VulId = params.get("VulId")
@@ -88274,6 +88311,7 @@ class VulFixStatusInfo(AbstractModel):
88274
88311
  self._HostList.append(obj)
88275
88312
  self._FailCnt = params.get("FailCnt")
88276
88313
  self._FixSuccessCnt = params.get("FixSuccessCnt")
88314
+ self._FixMethod = params.get("FixMethod")
88277
88315
  memeber_set = set(params.keys())
88278
88316
  for name, value in vars(self).items():
88279
88317
  property_name = name[1:]
@@ -936,11 +936,17 @@ class MergeInfo(AbstractModel):
936
936
  def __init__(self):
937
937
  r"""
938
938
  :param _Image: 输入图片base64。
939
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
940
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
941
+ ●支持图片格式:支持jpg或png。
939
942
  :type Image: str
940
943
  :param _Url: 输入图片url。
941
- Url、Image必须提供一个,如果都提供,只使用 Url。
944
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
945
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
946
+ ●支持图片格式:支持jpg或png。
942
947
  :type Url: str
943
948
  :param _InputImageFaceRect: 输入图片人脸位置信息(人脸框)。不填默认取输入图中最大人脸。
949
+ Width、Height >= 30。
944
950
  :type InputImageFaceRect: :class:`tencentcloud.facefusion.v20181201.models.FaceRect`
945
951
  :param _TemplateFaceID: 素材人脸ID,不填默认取素材中最大人脸。
946
952
  :type TemplateFaceID: str
@@ -1007,9 +1013,9 @@ class MetaData(AbstractModel):
1007
1013
 
1008
1014
  def __init__(self):
1009
1015
  r"""
1010
- :param _MetaKey: MetaData的Key
1016
+ :param _MetaKey: MetaData的Key,长度不能超过32。
1011
1017
  :type MetaKey: str
1012
- :param _MetaValue: MetaData的Value
1018
+ :param _MetaValue: MetaData的Value,长度不能超过256。
1013
1019
  :type MetaValue: str
1014
1020
  """
1015
1021
  self._MetaKey = None
@@ -292,7 +292,7 @@ class FuseFaceRequest(AbstractModel):
292
292
  :type ModelId: str
293
293
  :param _RspImgType: 返回图像方式(url 或 base64) ,二选一。url有效期为7天。
294
294
  :type RspImgType: str
295
- :param _MergeInfos: 用户人脸图片、素材模板图的人脸位置信息。
295
+ :param _MergeInfos: 用户人脸图片、素材模板图的人脸位置信息。不能超过6个。
296
296
  :type MergeInfos: list of MergeInfo
297
297
  :param _FuseProfileDegree: 脸型融合比例,数值越高,融合后的脸型越像素材人物。取值范围[0,100]
298
298
  若此参数不填写,则使用人脸融合控制台中脸型参数数值。(换脸版算法暂不支持此参数调整)
@@ -431,7 +431,7 @@ class FuseFaceResponse(AbstractModel):
431
431
 
432
432
  def __init__(self):
433
433
  r"""
434
- :param _FusedImage: RspImgType 为 url 时,返回结果的 url RspImgType 为 base64 时返回 base64 数据。
434
+ :param _FusedImage: RspImgType 为 url 时,返回结果的 url(有效期7天), RspImgType 为 base64 时返回 base64 数据。
435
435
  :type FusedImage: str
436
436
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
437
437
  :type RequestId: str
@@ -779,7 +779,7 @@ class ImageCodecParam(AbstractModel):
779
779
 
780
780
  def __init__(self):
781
781
  r"""
782
- :param _MetaData: 元数据
782
+ :param _MetaData: 元数据,个数不能大于1。
783
783
  :type MetaData: list of MetaData
784
784
  """
785
785
  self._MetaData = None
@@ -817,11 +817,15 @@ class LogoParam(AbstractModel):
817
817
 
818
818
  def __init__(self):
819
819
  r"""
820
- :param _LogoRect: 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
820
+ :param _LogoRect: 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配。
821
821
  :type LogoRect: :class:`tencentcloud.facefusion.v20220927.models.FaceRect`
822
- :param _LogoUrl: 标识图片Url地址
822
+ :param _LogoUrl: 标识图片Url地址。
823
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
824
+ ●支持图片格式:支持jpg或png。
823
825
  :type LogoUrl: str
824
826
  :param _LogoImage: 标识图片base64
827
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
828
+ ●支持图片格式:支持jpg或png。
825
829
  :type LogoImage: str
826
830
  """
827
831
  self._LogoRect = None
@@ -923,15 +927,23 @@ class MergeInfo(AbstractModel):
923
927
 
924
928
  def __init__(self):
925
929
  r"""
926
- :param _Image: 输入图片base64
930
+ :param _Image: 输入图片base64
931
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
932
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
933
+ ●支持图片格式:支持jpg或png
927
934
  :type Image: str
928
- :param _Url: 输入图片url
935
+ :param _Url: 输入图片url
936
+ ●base64 和 url 必须提供一个,如果都提供以 url 为准。
937
+ ●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64。(图片编码之后可能会大30%左右,建议合理控制图片大小)。
938
+ ●支持图片格式:支持jpg或png
929
939
  :type Url: str
930
940
  :param _InputImageFaceRect: 上传的图片人脸位置信息(人脸框)
941
+ Width、Height >= 30。
931
942
  :type InputImageFaceRect: :class:`tencentcloud.facefusion.v20220927.models.FaceRect`
932
943
  :param _TemplateFaceID: 素材人脸ID,不填默认取最大人脸。
933
944
  :type TemplateFaceID: str
934
945
  :param _TemplateFaceRect: 模板中人脸位置信息(人脸框),不填默认取最大人脸。此字段仅适用于图片融合自定义模板素材场景。
946
+ Width、Height >= 30。
935
947
  :type TemplateFaceRect: :class:`tencentcloud.facefusion.v20220927.models.FaceRect`
936
948
  """
937
949
  self._Image = None