tencentcloud-sdk-python 3.0.1450__py2.py3-none-any.whl → 3.0.1451__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.1450'
17
+ __version__ = '3.0.1451'
@@ -2790,7 +2790,7 @@ class DescribeDeviceVirtualGroupsRequest(AbstractModel):
2790
2790
  :type DomainInstanceId: str
2791
2791
  :param _Condition: 滤条件、分页参数 <li>Name - String - 是否必填:否 - 操作符: like - 排序支持:否- 按终端自定义分组过滤。</li> <li>DeviceVirtualGroupName - String - 是否必填:否 - 操作符: like - 排序支持:否- 按终端自定义分组过滤。</li>
2792
2792
  :type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
2793
- :param _OsType: 必填,系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
2793
+ :param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
2794
2794
  :type OsType: int
2795
2795
  :param _VirtualGroupIds: 非必填,自定义分组ids
2796
2796
  :type VirtualGroupIds: list of int
@@ -2824,7 +2824,7 @@ class DescribeDeviceVirtualGroupsRequest(AbstractModel):
2824
2824
 
2825
2825
  @property
2826
2826
  def OsType(self):
2827
- """必填,系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
2827
+ """系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
2828
2828
  :rtype: int
2829
2829
  """
2830
2830
  return self._OsType
@@ -2972,6 +2972,8 @@ class DescribeDevicesRequest(AbstractModel):
2972
2972
 
2973
2973
  def __init__(self):
2974
2974
  r"""
2975
+ :param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
2976
+ :type DomainInstanceId: str
2975
2977
  :param _Condition: 过滤条件参数(字段含义请参考接口返回值)
2976
2978
 
2977
2979
  - Mid, 类型String,支持操作:【eq,like,ilike】,支持排序
@@ -3039,7 +3041,7 @@ id-名称-操作系统
3039
3041
 
3040
3042
  SaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
3041
3043
  :type GroupId: int
3042
- :param _OsType: 【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
3044
+ :param _OsType: 操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
3043
3045
  :type OsType: int
3044
3046
  :param _OnlineStatus: 在线状态 (2表示在线,0或者1表示离线)
3045
3047
  :type OnlineStatus: int
@@ -3057,6 +3059,7 @@ SaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
3057
3059
 
3058
3060
  :type GroupIds: list of int
3059
3061
  """
3062
+ self._DomainInstanceId = None
3060
3063
  self._Condition = None
3061
3064
  self._GroupId = None
3062
3065
  self._OsType = None
@@ -3068,6 +3071,17 @@ SaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
3068
3071
  self._Status = None
3069
3072
  self._GroupIds = None
3070
3073
 
3074
+ @property
3075
+ def DomainInstanceId(self):
3076
+ """管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
3077
+ :rtype: str
3078
+ """
3079
+ return self._DomainInstanceId
3080
+
3081
+ @DomainInstanceId.setter
3082
+ def DomainInstanceId(self, DomainInstanceId):
3083
+ self._DomainInstanceId = DomainInstanceId
3084
+
3071
3085
  @property
3072
3086
  def Condition(self):
3073
3087
  """过滤条件参数(字段含义请参考接口返回值)
@@ -3155,7 +3169,7 @@ SaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
3155
3169
 
3156
3170
  @property
3157
3171
  def OsType(self):
3158
- """【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
3172
+ """操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
3159
3173
  :rtype: int
3160
3174
  """
3161
3175
  return self._OsType
@@ -3244,6 +3258,7 @@ SaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
3244
3258
 
3245
3259
 
3246
3260
  def _deserialize(self, params):
3261
+ self._DomainInstanceId = params.get("DomainInstanceId")
3247
3262
  if params.get("Condition") is not None:
3248
3263
  self._Condition = Condition()
3249
3264
  self._Condition._deserialize(params.get("Condition"))
@@ -4583,9 +4598,9 @@ class DescribeVirtualDevicesRequest(AbstractModel):
4583
4598
  :type DomainInstanceId: str
4584
4599
  :param _Condition: 过滤条件参数(字段含义请参考接口返回值)- Mid, 类型String,支持操作:【eq,like,ilike】,支持排序- Name, 类型String,支持操作:【eq,like,ilike】,支持排序- Itime, 类型String,支持操作:【eq,like,ilike】,支持排序- UserName, 类型String,支持操作:【eq,like,ilike】,支持排序- MacAddr, 类型String,支持操作:【eq,like,ilike】,支持排序- UserId, 类型String,支持操作:【eq,like,ilike】,支持排序- Ip, 类型String,支持操作:【eq,like,ilike】,支持排序- Tags,类型String,支持操作:【eq,like,ilike】,支持排序- LocalIpList,类型String,支持操作:【eq,like,ilike】,支持排序- SerialNum,类型String,支持操作:【eq,like,ilike】,支持排序- Version,类型String,支持操作:【eq,like,ilike】,支持排序- StrVersion,类型String,支持操作:【eq,like,ilike】,支持排序- RtpStatus,类型String,支持操作:【eq,like,ilike】,**不支持排序**- HostName,类型String,支持操作:【eq,like,ilike】,支持排序- IoaUserName,类型String,支持操作:【eq,like,ilike】,支持排序- GroupName,类型String,支持操作:【eq,like,ilike】,支持排序- CriticalVulListCount,**类型Int**,支持操作:【eq】,**不支持排序**- RiskCount,**类型Int**,支持操作:【eq】,**不支持排序**- VulVersion,类型String,支持操作:【eq,like,ilike】,**不支持排序**- Virusver,类型String,支持操作:【eq,like,ilike】,**不支持排序**- SysRepver,类型String,支持操作:【eq,like,ilike】,**不支持排序**- BaseBoardSn,类型String,支持操作:【eq,like,ilike】,支持排序- Os,类型String,支持操作:【eq,like,ilike】,支持排序- ConnActiveTime,类型String,支持操作:【eq,like,ilike】,**不支持排序**- FirewallStatus,**类型Int**,支持操作:【eq】,**不支持排序**- ProfileName,类型String,支持操作:【eq,like,ilike】,支持排序- DomainName,类型String,支持操作:【eq,like,ilike】,支持排序- SysRepVersion,类型String,支持操作:【eq,like,ilike】,支持排序- VirusVer,类型String,支持操作:【eq,like,ilike】,支持排序- Cpu,类型String,支持操作:【eq,like,ilike】,支持排序- Memory,类型String,支持操作:【eq,like,ilike】,支持排序- HardDiskSize,类型String,支持操作:【eq,like,ilike】,支持排序- HardwareChangeCount,**类型Int**,支持操作:【eq】,支持排序- AccountName,类型String,支持操作:【like.ilike】,支持排序- AccountGroupName,类型String,支持操作:【like.ilike】,支持排序- ScreenRecordingPermission,**类型Int**,支持操作:【eq】,支持排序- DiskAccessPermission,**类型Int**,支持操作:【eq】,支持排序分页参数- PageNum 从1开始,小于等于0时使用默认参数- PageSize 最大值5000,最好不超过100
4585
4600
  :type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
4586
- :param _DeviceVirtualGroupId: 必填,终端自定义分组id
4601
+ :param _DeviceVirtualGroupId: 终端自定义分组ID(0:获取租户全部自定义分组下的终端数据;其他值:获取具体ID分组下的终端数据)
4587
4602
  :type DeviceVirtualGroupId: int
4588
- :param _OsType: 必填,系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0)
4603
+ :param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
4589
4604
  :type OsType: int
4590
4605
  :param _OnlineStatus: 选填,在线状态 (2表示在线,0或者1表示离线)
4591
4606
  :type OnlineStatus: int
@@ -4620,7 +4635,7 @@ class DescribeVirtualDevicesRequest(AbstractModel):
4620
4635
 
4621
4636
  @property
4622
4637
  def DeviceVirtualGroupId(self):
4623
- """必填,终端自定义分组id
4638
+ """终端自定义分组ID(0:获取租户全部自定义分组下的终端数据;其他值:获取具体ID分组下的终端数据)
4624
4639
  :rtype: int
4625
4640
  """
4626
4641
  return self._DeviceVirtualGroupId
@@ -4631,7 +4646,7 @@ class DescribeVirtualDevicesRequest(AbstractModel):
4631
4646
 
4632
4647
  @property
4633
4648
  def OsType(self):
4634
- """必填,系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0)
4649
+ """系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0)
4635
4650
  :rtype: int
4636
4651
  """
4637
4652
  return self._OsType
@@ -439,10 +439,19 @@ class AgentInput(AbstractModel):
439
439
  :type UserInputValue: :class:`tencentcloud.lke.v20231130.models.AgentInputUserInputValue`
440
440
  :param _CustomVarId: 自定义变量(API参数)
441
441
  :type CustomVarId: str
442
+ :param _EnvVarId: 环境变量参数
443
+ :type EnvVarId: str
444
+ :param _AppVarId: 应用变量参数
445
+ :type AppVarId: str
446
+ :param _SystemVariable: 系统参数
447
+ :type SystemVariable: :class:`tencentcloud.lke.v20231130.models.AgentInputSystemVariable`
442
448
  """
443
449
  self._InputType = None
444
450
  self._UserInputValue = None
445
451
  self._CustomVarId = None
452
+ self._EnvVarId = None
453
+ self._AppVarId = None
454
+ self._SystemVariable = None
446
455
 
447
456
  @property
448
457
  def InputType(self):
@@ -477,6 +486,39 @@ class AgentInput(AbstractModel):
477
486
  def CustomVarId(self, CustomVarId):
478
487
  self._CustomVarId = CustomVarId
479
488
 
489
+ @property
490
+ def EnvVarId(self):
491
+ """环境变量参数
492
+ :rtype: str
493
+ """
494
+ return self._EnvVarId
495
+
496
+ @EnvVarId.setter
497
+ def EnvVarId(self, EnvVarId):
498
+ self._EnvVarId = EnvVarId
499
+
500
+ @property
501
+ def AppVarId(self):
502
+ """应用变量参数
503
+ :rtype: str
504
+ """
505
+ return self._AppVarId
506
+
507
+ @AppVarId.setter
508
+ def AppVarId(self, AppVarId):
509
+ self._AppVarId = AppVarId
510
+
511
+ @property
512
+ def SystemVariable(self):
513
+ """系统参数
514
+ :rtype: :class:`tencentcloud.lke.v20231130.models.AgentInputSystemVariable`
515
+ """
516
+ return self._SystemVariable
517
+
518
+ @SystemVariable.setter
519
+ def SystemVariable(self, SystemVariable):
520
+ self._SystemVariable = SystemVariable
521
+
480
522
 
481
523
  def _deserialize(self, params):
482
524
  self._InputType = params.get("InputType")
@@ -484,6 +526,62 @@ class AgentInput(AbstractModel):
484
526
  self._UserInputValue = AgentInputUserInputValue()
485
527
  self._UserInputValue._deserialize(params.get("UserInputValue"))
486
528
  self._CustomVarId = params.get("CustomVarId")
529
+ self._EnvVarId = params.get("EnvVarId")
530
+ self._AppVarId = params.get("AppVarId")
531
+ if params.get("SystemVariable") is not None:
532
+ self._SystemVariable = AgentInputSystemVariable()
533
+ self._SystemVariable._deserialize(params.get("SystemVariable"))
534
+ memeber_set = set(params.keys())
535
+ for name, value in vars(self).items():
536
+ property_name = name[1:]
537
+ if property_name in memeber_set:
538
+ memeber_set.remove(property_name)
539
+ if len(memeber_set) > 0:
540
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
541
+
542
+
543
+
544
+ class AgentInputSystemVariable(AbstractModel):
545
+ """系统参数
546
+
547
+ """
548
+
549
+ def __init__(self):
550
+ r"""
551
+ :param _Name: 系统参数名
552
+ :type Name: str
553
+ :param _DialogHistoryLimit: 对话历史轮数的配置;如果Input是系统变量中的“对话历史”时才使用;
554
+ :type DialogHistoryLimit: int
555
+ """
556
+ self._Name = None
557
+ self._DialogHistoryLimit = None
558
+
559
+ @property
560
+ def Name(self):
561
+ """系统参数名
562
+ :rtype: str
563
+ """
564
+ return self._Name
565
+
566
+ @Name.setter
567
+ def Name(self, Name):
568
+ self._Name = Name
569
+
570
+ @property
571
+ def DialogHistoryLimit(self):
572
+ """对话历史轮数的配置;如果Input是系统变量中的“对话历史”时才使用;
573
+ :rtype: int
574
+ """
575
+ return self._DialogHistoryLimit
576
+
577
+ @DialogHistoryLimit.setter
578
+ def DialogHistoryLimit(self, DialogHistoryLimit):
579
+ self._DialogHistoryLimit = DialogHistoryLimit
580
+
581
+
582
+ def _deserialize(self, params):
583
+ self._Name = params.get("Name")
584
+ self._DialogHistoryLimit = params.get("DialogHistoryLimit")
487
585
  memeber_set = set(params.keys())
488
586
  for name, value in vars(self).items():
489
587
  property_name = name[1:]
@@ -3299,6 +3397,9 @@ class AppInfo(AbstractModel):
3299
3397
  :type ThoughtModelAliasName: str
3300
3398
  :param _PermissionIds: 权限位信息
3301
3399
  :type PermissionIds: list of str
3400
+ :param _Creator: 创建人昵称
3401
+ 注意:此字段可能返回 null,表示取不到有效值。
3402
+ :type Creator: str
3302
3403
  """
3303
3404
  self._AppType = None
3304
3405
  self._AppTypeDesc = None
@@ -3315,6 +3416,7 @@ class AppInfo(AbstractModel):
3315
3416
  self._Pattern = None
3316
3417
  self._ThoughtModelAliasName = None
3317
3418
  self._PermissionIds = None
3419
+ self._Creator = None
3318
3420
 
3319
3421
  @property
3320
3422
  def AppType(self):
@@ -3495,6 +3597,18 @@ class AppInfo(AbstractModel):
3495
3597
  def PermissionIds(self, PermissionIds):
3496
3598
  self._PermissionIds = PermissionIds
3497
3599
 
3600
+ @property
3601
+ def Creator(self):
3602
+ """创建人昵称
3603
+ 注意:此字段可能返回 null,表示取不到有效值。
3604
+ :rtype: str
3605
+ """
3606
+ return self._Creator
3607
+
3608
+ @Creator.setter
3609
+ def Creator(self, Creator):
3610
+ self._Creator = Creator
3611
+
3498
3612
 
3499
3613
  def _deserialize(self, params):
3500
3614
  self._AppType = params.get("AppType")
@@ -3512,6 +3626,7 @@ class AppInfo(AbstractModel):
3512
3626
  self._Pattern = params.get("Pattern")
3513
3627
  self._ThoughtModelAliasName = params.get("ThoughtModelAliasName")
3514
3628
  self._PermissionIds = params.get("PermissionIds")
3629
+ self._Creator = params.get("Creator")
3515
3630
  memeber_set = set(params.keys())
3516
3631
  for name, value in vars(self).items():
3517
3632
  property_name = name[1:]
@@ -17584,6 +17699,9 @@ class KnowledgeQaOutput(AbstractModel):
17584
17699
  :param _UseRecommended: 是否打开推荐问题开关
17585
17700
  注意:此字段可能返回 null,表示取不到有效值。
17586
17701
  :type UseRecommended: bool
17702
+ :param _RecommendedPromptMode: 推荐问模式,0.结合知识库&对话历史推荐问题Prompt(默认) 1.仅结合知识库输出推荐问的prompt
17703
+ 注意:此字段可能返回 null,表示取不到有效值。
17704
+ :type RecommendedPromptMode: int
17587
17705
  """
17588
17706
  self._Method = None
17589
17707
  self._UseGeneralKnowledge = None
@@ -17592,6 +17710,7 @@ class KnowledgeQaOutput(AbstractModel):
17592
17710
  self._UseQuestionClarify = None
17593
17711
  self._QuestionClarifyKeywords = None
17594
17712
  self._UseRecommended = None
17713
+ self._RecommendedPromptMode = None
17595
17714
 
17596
17715
  @property
17597
17716
  def Method(self):
@@ -17677,6 +17796,18 @@ class KnowledgeQaOutput(AbstractModel):
17677
17796
  def UseRecommended(self, UseRecommended):
17678
17797
  self._UseRecommended = UseRecommended
17679
17798
 
17799
+ @property
17800
+ def RecommendedPromptMode(self):
17801
+ """推荐问模式,0.结合知识库&对话历史推荐问题Prompt(默认) 1.仅结合知识库输出推荐问的prompt
17802
+ 注意:此字段可能返回 null,表示取不到有效值。
17803
+ :rtype: int
17804
+ """
17805
+ return self._RecommendedPromptMode
17806
+
17807
+ @RecommendedPromptMode.setter
17808
+ def RecommendedPromptMode(self, RecommendedPromptMode):
17809
+ self._RecommendedPromptMode = RecommendedPromptMode
17810
+
17680
17811
 
17681
17812
  def _deserialize(self, params):
17682
17813
  self._Method = params.get("Method")
@@ -17686,6 +17817,7 @@ class KnowledgeQaOutput(AbstractModel):
17686
17817
  self._UseQuestionClarify = params.get("UseQuestionClarify")
17687
17818
  self._QuestionClarifyKeywords = params.get("QuestionClarifyKeywords")
17688
17819
  self._UseRecommended = params.get("UseRecommended")
17820
+ self._RecommendedPromptMode = params.get("RecommendedPromptMode")
17689
17821
  memeber_set = set(params.keys())
17690
17822
  for name, value in vars(self).items():
17691
17823
  property_name = name[1:]
@@ -2184,7 +2184,7 @@ class DocumentUsage(AbstractModel):
2184
2184
  :type SuccessPageNum: int
2185
2185
  :param _FailPageNum: 解析失败页数
2186
2186
  :type FailPageNum: int
2187
- :param _FileSize: 文件大小,单位KB
2187
+ :param _FileSize: 文件大小,单位:字节
2188
2188
  :type FileSize: int
2189
2189
  """
2190
2190
  self._PageNumber = None
@@ -2279,7 +2279,7 @@ class DocumentUsage(AbstractModel):
2279
2279
 
2280
2280
  @property
2281
2281
  def FileSize(self):
2282
- """文件大小,单位KB
2282
+ """文件大小,单位:字节
2283
2283
  :rtype: int
2284
2284
  """
2285
2285
  return self._FileSize
@@ -2344,6 +2344,57 @@ class EmbeddingObject(AbstractModel):
2344
2344
 
2345
2345
 
2346
2346
 
2347
+ class ErrorInfo(AbstractModel):
2348
+ """错误信息
2349
+
2350
+ """
2351
+
2352
+ def __init__(self):
2353
+ r"""
2354
+ :param _Code: 错误码
2355
+ :type Code: str
2356
+ :param _Message: 错误信息
2357
+ :type Message: str
2358
+ """
2359
+ self._Code = None
2360
+ self._Message = None
2361
+
2362
+ @property
2363
+ def Code(self):
2364
+ """错误码
2365
+ :rtype: str
2366
+ """
2367
+ return self._Code
2368
+
2369
+ @Code.setter
2370
+ def Code(self, Code):
2371
+ self._Code = Code
2372
+
2373
+ @property
2374
+ def Message(self):
2375
+ """错误信息
2376
+ :rtype: str
2377
+ """
2378
+ return self._Message
2379
+
2380
+ @Message.setter
2381
+ def Message(self, Message):
2382
+ self._Message = Message
2383
+
2384
+
2385
+ def _deserialize(self, params):
2386
+ self._Code = params.get("Code")
2387
+ self._Message = params.get("Message")
2388
+ memeber_set = set(params.keys())
2389
+ for name, value in vars(self).items():
2390
+ property_name = name[1:]
2391
+ if property_name in memeber_set:
2392
+ memeber_set.remove(property_name)
2393
+ if len(memeber_set) > 0:
2394
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2395
+
2396
+
2397
+
2347
2398
  class GetCharacterUsageRequest(AbstractModel):
2348
2399
  """GetCharacterUsage请求参数结构体
2349
2400
 
@@ -2586,6 +2637,8 @@ class GetReconstructDocumentResultResponse(AbstractModel):
2586
2637
  :type FailedPages: list of ReconstructDocumentFailedPage
2587
2638
  :param _Usage: 文档拆分任务的用量
2588
2639
  :type Usage: :class:`tencentcloud.lkeap.v20240522.models.DocumentUsage`
2640
+ :param _Error: 文档解析任务失败错误信息,当文档解析任务失败会返回具体的错误信息
2641
+ :type Error: :class:`tencentcloud.lkeap.v20240522.models.ErrorInfo`
2589
2642
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2590
2643
  :type RequestId: str
2591
2644
  """
@@ -2593,6 +2646,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
2593
2646
  self._DocumentRecognizeResultUrl = None
2594
2647
  self._FailedPages = None
2595
2648
  self._Usage = None
2649
+ self._Error = None
2596
2650
  self._RequestId = None
2597
2651
 
2598
2652
  @property
@@ -2644,6 +2698,17 @@ class GetReconstructDocumentResultResponse(AbstractModel):
2644
2698
  def Usage(self, Usage):
2645
2699
  self._Usage = Usage
2646
2700
 
2701
+ @property
2702
+ def Error(self):
2703
+ """文档解析任务失败错误信息,当文档解析任务失败会返回具体的错误信息
2704
+ :rtype: :class:`tencentcloud.lkeap.v20240522.models.ErrorInfo`
2705
+ """
2706
+ return self._Error
2707
+
2708
+ @Error.setter
2709
+ def Error(self, Error):
2710
+ self._Error = Error
2711
+
2647
2712
  @property
2648
2713
  def RequestId(self):
2649
2714
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -2668,6 +2733,9 @@ class GetReconstructDocumentResultResponse(AbstractModel):
2668
2733
  if params.get("Usage") is not None:
2669
2734
  self._Usage = DocumentUsage()
2670
2735
  self._Usage._deserialize(params.get("Usage"))
2736
+ if params.get("Error") is not None:
2737
+ self._Error = ErrorInfo()
2738
+ self._Error._deserialize(params.get("Error"))
2671
2739
  self._RequestId = params.get("RequestId")
2672
2740
 
2673
2741
 
@@ -2738,6 +2806,8 @@ class GetSplitDocumentResultResponse(AbstractModel):
2738
2806
  :type FailedPages: list of SplitDocumentFailedPage
2739
2807
  :param _Usage: 文档拆分任务的用量
2740
2808
  :type Usage: :class:`tencentcloud.lkeap.v20240522.models.DocumentUsage`
2809
+ :param _Error: 文档拆分失败的错误信息,当拆分任务失败时返回该错误信息
2810
+ :type Error: :class:`tencentcloud.lkeap.v20240522.models.ErrorInfo`
2741
2811
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2742
2812
  :type RequestId: str
2743
2813
  """
@@ -2745,6 +2815,7 @@ class GetSplitDocumentResultResponse(AbstractModel):
2745
2815
  self._DocumentRecognizeResultUrl = None
2746
2816
  self._FailedPages = None
2747
2817
  self._Usage = None
2818
+ self._Error = None
2748
2819
  self._RequestId = None
2749
2820
 
2750
2821
  @property
@@ -2811,6 +2882,17 @@ class GetSplitDocumentResultResponse(AbstractModel):
2811
2882
  def Usage(self, Usage):
2812
2883
  self._Usage = Usage
2813
2884
 
2885
+ @property
2886
+ def Error(self):
2887
+ """文档拆分失败的错误信息,当拆分任务失败时返回该错误信息
2888
+ :rtype: :class:`tencentcloud.lkeap.v20240522.models.ErrorInfo`
2889
+ """
2890
+ return self._Error
2891
+
2892
+ @Error.setter
2893
+ def Error(self, Error):
2894
+ self._Error = Error
2895
+
2814
2896
  @property
2815
2897
  def RequestId(self):
2816
2898
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -2835,6 +2917,9 @@ class GetSplitDocumentResultResponse(AbstractModel):
2835
2917
  if params.get("Usage") is not None:
2836
2918
  self._Usage = DocumentUsage()
2837
2919
  self._Usage._deserialize(params.get("Usage"))
2920
+ if params.get("Error") is not None:
2921
+ self._Error = ErrorInfo()
2922
+ self._Error._deserialize(params.get("Error"))
2838
2923
  self._RequestId = params.get("RequestId")
2839
2924
 
2840
2925
 
@@ -785,6 +785,29 @@ class MnaClient(AbstractClient):
785
785
  raise TencentCloudSDKException(type(e).__name__, str(e))
786
786
 
787
787
 
788
+ def ReportOrder(self, request):
789
+ """用户上报自定义的订单信息,多网聚合加速服务将相关信息进行保存
790
+
791
+ :param request: Request instance for ReportOrder.
792
+ :type request: :class:`tencentcloud.mna.v20210119.models.ReportOrderRequest`
793
+ :rtype: :class:`tencentcloud.mna.v20210119.models.ReportOrderResponse`
794
+
795
+ """
796
+ try:
797
+ params = request._serialize()
798
+ headers = request.headers
799
+ body = self.call("ReportOrder", params, headers=headers)
800
+ response = json.loads(body)
801
+ model = models.ReportOrderResponse()
802
+ model._deserialize(response["Response"])
803
+ return model
804
+ except Exception as e:
805
+ if isinstance(e, TencentCloudSDKException):
806
+ raise
807
+ else:
808
+ raise TencentCloudSDKException(type(e).__name__, str(e))
809
+
810
+
788
811
  def SetNotifyUrl(self, request):
789
812
  """设置用户流量告警信息接口,通过该接口设置流量包告警阈值以及告警时回调的url和key
790
813