tencentcloud-sdk-python-intl-en 3.0.1251__py2.py3-none-any.whl → 3.0.1253__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.
@@ -441,20 +441,21 @@ class Activity(AbstractModel):
441
441
 
442
442
  def __init__(self):
443
443
  r"""
444
- :param _ActivityType: Atomic task type.
445
- <li>input: starting node.</li>.
446
- <li>`output`: termination node</li>.
447
- <li>action-trans: transcoding.</li>.
448
- <li>action-samplesnapshot: specifies sampled screenshot taking.</li>.
449
- <li>action-AIAnalysis: analysis.</li>.
450
- <li>action-AIRecognition: specifies recognition.</li>.
451
- <li>action-aiReview: specifies the review action.</li>.
452
- <li>action-animated-graphics: specifies the animated image.</li>.
453
- <li>action-image-sprite: specifies the sprite sheet.</li>.
454
- <li>action-snapshotByTimeOffset: specifies time point screenshot taking.</li>.
455
- <li>action-adaptive-substream: specifies the adaptive bitrate stream.</li>.
456
- <li>action-AIQualityControl: media quality inspection.</li>.
457
- <li>action-SmartSubtitles: specifies smart subtitling.</li>.
444
+ :param _ActivityType: Atomic task type:
445
+ <li>input: start node</li>
446
+ <li>output: end node</li>
447
+ <li>action-trans: transcoding</li>
448
+ <li>action-samplesnapshot: sampled screenshot</li>
449
+ <li>action-AIAnalysis: analysis</li>
450
+ <li>action-AIRecognition: recognition</li>
451
+ <li>action-aiReview: review</li>
452
+ <li>action-animated-graphics: conversion to GIF</li>
453
+ <li>action-image-sprite: image sprite</li>
454
+ <li>action-snapshotByTimeOffset: time point screenshot</li>
455
+ <li>action-adaptive-substream: adaptive bitrate stream</li>
456
+ <li>action-AIQualityControl: media quality inspection</li>
457
+ <li>action-SmartSubtitles: smart subtitle</li>
458
+ <li>action-exec-rules: judgment rule</li>
458
459
 
459
460
 
460
461
 
@@ -471,20 +472,21 @@ Note: This field may return null, indicating that no valid values can be obtaine
471
472
 
472
473
  @property
473
474
  def ActivityType(self):
474
- """Atomic task type.
475
- <li>input: starting node.</li>.
476
- <li>`output`: termination node</li>.
477
- <li>action-trans: transcoding.</li>.
478
- <li>action-samplesnapshot: specifies sampled screenshot taking.</li>.
479
- <li>action-AIAnalysis: analysis.</li>.
480
- <li>action-AIRecognition: specifies recognition.</li>.
481
- <li>action-aiReview: specifies the review action.</li>.
482
- <li>action-animated-graphics: specifies the animated image.</li>.
483
- <li>action-image-sprite: specifies the sprite sheet.</li>.
484
- <li>action-snapshotByTimeOffset: specifies time point screenshot taking.</li>.
485
- <li>action-adaptive-substream: specifies the adaptive bitrate stream.</li>.
486
- <li>action-AIQualityControl: media quality inspection.</li>.
487
- <li>action-SmartSubtitles: specifies smart subtitling.</li>.
475
+ """Atomic task type:
476
+ <li>input: start node</li>
477
+ <li>output: end node</li>
478
+ <li>action-trans: transcoding</li>
479
+ <li>action-samplesnapshot: sampled screenshot</li>
480
+ <li>action-AIAnalysis: analysis</li>
481
+ <li>action-AIRecognition: recognition</li>
482
+ <li>action-aiReview: review</li>
483
+ <li>action-animated-graphics: conversion to GIF</li>
484
+ <li>action-image-sprite: image sprite</li>
485
+ <li>action-snapshotByTimeOffset: time point screenshot</li>
486
+ <li>action-adaptive-substream: adaptive bitrate stream</li>
487
+ <li>action-AIQualityControl: media quality inspection</li>
488
+ <li>action-SmartSubtitles: smart subtitle</li>
489
+ <li>action-exec-rules: judgment rule</li>
488
490
 
489
491
 
490
492
 
@@ -564,6 +566,9 @@ class ActivityPara(AbstractModel):
564
566
  :param _QualityControlTask: Media quality inspection task.
565
567
  Note: This field may return null, indicating that no valid values can be obtained.
566
568
  :type QualityControlTask: :class:`tencentcloud.mps.v20190612.models.AiQualityControlTaskInput`
569
+ :param _ExecRulesTask: Conditional judgment of the task.
570
+ Note: This field may return null, indicating that no valid value can be obtained.
571
+ :type ExecRulesTask: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
567
572
  :param _SmartSubtitlesTask: Smart subtitle task.
568
573
  Note: This field may return null, indicating that no valid value can be obtained.
569
574
  :type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
@@ -578,6 +583,7 @@ Note: This field may return null, indicating that no valid value can be obtained
578
583
  self._AiAnalysisTask = None
579
584
  self._AiRecognitionTask = None
580
585
  self._QualityControlTask = None
586
+ self._ExecRulesTask = None
581
587
  self._SmartSubtitlesTask = None
582
588
 
583
589
  @property
@@ -691,6 +697,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
691
697
  def QualityControlTask(self, QualityControlTask):
692
698
  self._QualityControlTask = QualityControlTask
693
699
 
700
+ @property
701
+ def ExecRulesTask(self):
702
+ """Conditional judgment of the task.
703
+ Note: This field may return null, indicating that no valid value can be obtained.
704
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
705
+ """
706
+ return self._ExecRulesTask
707
+
708
+ @ExecRulesTask.setter
709
+ def ExecRulesTask(self, ExecRulesTask):
710
+ self._ExecRulesTask = ExecRulesTask
711
+
694
712
  @property
695
713
  def SmartSubtitlesTask(self):
696
714
  """Smart subtitle task.
@@ -735,6 +753,9 @@ Note: This field may return null, indicating that no valid value can be obtained
735
753
  if params.get("QualityControlTask") is not None:
736
754
  self._QualityControlTask = AiQualityControlTaskInput()
737
755
  self._QualityControlTask._deserialize(params.get("QualityControlTask"))
756
+ if params.get("ExecRulesTask") is not None:
757
+ self._ExecRulesTask = ExecRulesTask()
758
+ self._ExecRulesTask._deserialize(params.get("ExecRulesTask"))
738
759
  if params.get("SmartSubtitlesTask") is not None:
739
760
  self._SmartSubtitlesTask = SmartSubtitlesTaskInput()
740
761
  self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
@@ -785,6 +806,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
785
806
  :param _QualityControlTask: Media quality inspection task output.
786
807
  Note: This field may return null, indicating that no valid values can be obtained.
787
808
  :type QualityControlTask: :class:`tencentcloud.mps.v20190612.models.ScheduleQualityControlTaskResult`
809
+ :param _ExecRuleTask: Conditional judgment task output.
810
+ Note: This field may return null, indicating that no valid value can be obtained.
811
+ :type ExecRuleTask: :class:`tencentcloud.mps.v20190612.models.ScheduleExecRuleTaskResult`
788
812
  :param _SmartSubtitlesTask: Smart subtitle task output.
789
813
  Note: This field may return null, indicating that no valid value can be obtained.
790
814
  :type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.ScheduleSmartSubtitleTaskResult`
@@ -799,6 +823,7 @@ Note: This field may return null, indicating that no valid value can be obtained
799
823
  self._ReviewTask = None
800
824
  self._AnalysisTask = None
801
825
  self._QualityControlTask = None
826
+ self._ExecRuleTask = None
802
827
  self._SmartSubtitlesTask = None
803
828
 
804
829
  @property
@@ -921,6 +946,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
921
946
  def QualityControlTask(self, QualityControlTask):
922
947
  self._QualityControlTask = QualityControlTask
923
948
 
949
+ @property
950
+ def ExecRuleTask(self):
951
+ """Conditional judgment task output.
952
+ Note: This field may return null, indicating that no valid value can be obtained.
953
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ScheduleExecRuleTaskResult`
954
+ """
955
+ return self._ExecRuleTask
956
+
957
+ @ExecRuleTask.setter
958
+ def ExecRuleTask(self, ExecRuleTask):
959
+ self._ExecRuleTask = ExecRuleTask
960
+
924
961
  @property
925
962
  def SmartSubtitlesTask(self):
926
963
  """Smart subtitle task output.
@@ -965,6 +1002,9 @@ Note: This field may return null, indicating that no valid value can be obtained
965
1002
  if params.get("QualityControlTask") is not None:
966
1003
  self._QualityControlTask = ScheduleQualityControlTaskResult()
967
1004
  self._QualityControlTask._deserialize(params.get("QualityControlTask"))
1005
+ if params.get("ExecRuleTask") is not None:
1006
+ self._ExecRuleTask = ScheduleExecRuleTaskResult()
1007
+ self._ExecRuleTask._deserialize(params.get("ExecRuleTask"))
968
1008
  if params.get("SmartSubtitlesTask") is not None:
969
1009
  self._SmartSubtitlesTask = ScheduleSmartSubtitleTaskResult()
970
1010
  self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
@@ -1177,7 +1217,7 @@ PureAudio: audio-only.
1177
1217
  :param _SubtitleTemplate: Specifies the subtitle parameter.
1178
1218
  Note: This field may return null, indicating that no valid value can be obtained.
1179
1219
  :type SubtitleTemplate: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
1180
- :param _StdExtInfo: Extension field for transcoding.
1220
+ :param _StdExtInfo: Transcoding parameter extension field.
1181
1221
  :type StdExtInfo: str
1182
1222
  """
1183
1223
  self._Definition = None
@@ -1316,7 +1356,7 @@ Note: This field may return null, indicating that no valid value can be obtained
1316
1356
 
1317
1357
  @property
1318
1358
  def StdExtInfo(self):
1319
- """Extension field for transcoding.
1359
+ """Transcoding parameter extension field.
1320
1360
  :rtype: str
1321
1361
  """
1322
1362
  return self._StdExtInfo
@@ -2491,11 +2531,15 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
2491
2531
  :type OriginSubtitlePath: str
2492
2532
  :param _TranslateSubtitlePath: Path of a subtitle translation file extracted from a video.
2493
2533
  :type TranslateSubtitlePath: str
2534
+ :param _SubtitlePos: Position of the erased subtitle. Note: This field is only valid for subtitle extraction when the option to return subtitle positions is enabled.
2535
+ Note: This field may return null, indicating that no valid value can be obtained.
2536
+ :type SubtitlePos: :class:`tencentcloud.mps.v20190612.models.SubtitlePosition`
2494
2537
  """
2495
2538
  self._Path = None
2496
2539
  self._OutputStorage = None
2497
2540
  self._OriginSubtitlePath = None
2498
2541
  self._TranslateSubtitlePath = None
2542
+ self._SubtitlePos = None
2499
2543
 
2500
2544
  @property
2501
2545
  def Path(self):
@@ -2541,6 +2585,18 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
2541
2585
  def TranslateSubtitlePath(self, TranslateSubtitlePath):
2542
2586
  self._TranslateSubtitlePath = TranslateSubtitlePath
2543
2587
 
2588
+ @property
2589
+ def SubtitlePos(self):
2590
+ """Position of the erased subtitle. Note: This field is only valid for subtitle extraction when the option to return subtitle positions is enabled.
2591
+ Note: This field may return null, indicating that no valid value can be obtained.
2592
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SubtitlePosition`
2593
+ """
2594
+ return self._SubtitlePos
2595
+
2596
+ @SubtitlePos.setter
2597
+ def SubtitlePos(self, SubtitlePos):
2598
+ self._SubtitlePos = SubtitlePos
2599
+
2544
2600
 
2545
2601
  def _deserialize(self, params):
2546
2602
  self._Path = params.get("Path")
@@ -2549,6 +2605,9 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
2549
2605
  self._OutputStorage._deserialize(params.get("OutputStorage"))
2550
2606
  self._OriginSubtitlePath = params.get("OriginSubtitlePath")
2551
2607
  self._TranslateSubtitlePath = params.get("TranslateSubtitlePath")
2608
+ if params.get("SubtitlePos") is not None:
2609
+ self._SubtitlePos = SubtitlePosition()
2610
+ self._SubtitlePos._deserialize(params.get("SubtitlePos"))
2552
2611
  memeber_set = set(params.keys())
2553
2612
  for name, value in vars(self).items():
2554
2613
  property_name = name[1:]
@@ -17026,11 +17085,14 @@ class CreateQualityControlTemplateRequest(AbstractModel):
17026
17085
  :param _RecordFormat: Recording file format. Valid values:
17027
17086
  <li>PNG: PNG image.</li>
17028
17087
  :type RecordFormat: str
17088
+ :param _Strategy: Spot check policy for media quality inspection.
17089
+ :type Strategy: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
17029
17090
  """
17030
17091
  self._Name = None
17031
17092
  self._QualityControlItemSet = None
17032
17093
  self._Comment = None
17033
17094
  self._RecordFormat = None
17095
+ self._Strategy = None
17034
17096
 
17035
17097
  @property
17036
17098
  def Name(self):
@@ -17077,6 +17139,17 @@ class CreateQualityControlTemplateRequest(AbstractModel):
17077
17139
  def RecordFormat(self, RecordFormat):
17078
17140
  self._RecordFormat = RecordFormat
17079
17141
 
17142
+ @property
17143
+ def Strategy(self):
17144
+ """Spot check policy for media quality inspection.
17145
+ :rtype: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
17146
+ """
17147
+ return self._Strategy
17148
+
17149
+ @Strategy.setter
17150
+ def Strategy(self, Strategy):
17151
+ self._Strategy = Strategy
17152
+
17080
17153
 
17081
17154
  def _deserialize(self, params):
17082
17155
  self._Name = params.get("Name")
@@ -17088,6 +17161,9 @@ class CreateQualityControlTemplateRequest(AbstractModel):
17088
17161
  self._QualityControlItemSet.append(obj)
17089
17162
  self._Comment = params.get("Comment")
17090
17163
  self._RecordFormat = params.get("RecordFormat")
17164
+ if params.get("Strategy") is not None:
17165
+ self._Strategy = QualityControlStrategy()
17166
+ self._Strategy._deserialize(params.get("Strategy"))
17091
17167
  memeber_set = set(params.keys())
17092
17168
  for name, value in vars(self).items():
17093
17169
  property_name = name[1:]
@@ -22526,8 +22602,7 @@ class DescribeQualityControlTemplatesResponse(AbstractModel):
22526
22602
  r"""
22527
22603
  :param _TotalCount: Total number of records that meet filter conditions.
22528
22604
  :type TotalCount: int
22529
- :param _QualityControlTemplateSet: Media quality inspection template details list.
22530
- Note: This field may return null, indicating that no valid values can be obtained.
22605
+ :param _QualityControlTemplateSet: List of media quality inspection templates.
22531
22606
  :type QualityControlTemplateSet: list of QualityControlTemplate
22532
22607
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
22533
22608
  :type RequestId: str
@@ -22549,8 +22624,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
22549
22624
 
22550
22625
  @property
22551
22626
  def QualityControlTemplateSet(self):
22552
- """Media quality inspection template details list.
22553
- Note: This field may return null, indicating that no valid values can be obtained.
22627
+ """List of media quality inspection templates.
22554
22628
  :rtype: list of QualityControlTemplate
22555
22629
  """
22556
22630
  return self._QualityControlTemplateSet
@@ -23653,10 +23727,16 @@ class DescribeTasksRequest(AbstractModel):
23653
23727
  :type Limit: int
23654
23728
  :param _ScrollToken: Scrolling identifier which is used for pulling in batches. If a single request cannot pull all the data entries, the API will return `ScrollToken`, and if the next request carries it, the next pull will start from the next entry.
23655
23729
  :type ScrollToken: str
23730
+ :param _StartTime: Query task start time.
23731
+ :type StartTime: str
23732
+ :param _EndTime: Query task end time.
23733
+ :type EndTime: str
23656
23734
  """
23657
23735
  self._Status = None
23658
23736
  self._Limit = None
23659
23737
  self._ScrollToken = None
23738
+ self._StartTime = None
23739
+ self._EndTime = None
23660
23740
 
23661
23741
  @property
23662
23742
  def Status(self):
@@ -23691,11 +23771,35 @@ class DescribeTasksRequest(AbstractModel):
23691
23771
  def ScrollToken(self, ScrollToken):
23692
23772
  self._ScrollToken = ScrollToken
23693
23773
 
23774
+ @property
23775
+ def StartTime(self):
23776
+ """Query task start time.
23777
+ :rtype: str
23778
+ """
23779
+ return self._StartTime
23780
+
23781
+ @StartTime.setter
23782
+ def StartTime(self, StartTime):
23783
+ self._StartTime = StartTime
23784
+
23785
+ @property
23786
+ def EndTime(self):
23787
+ """Query task end time.
23788
+ :rtype: str
23789
+ """
23790
+ return self._EndTime
23791
+
23792
+ @EndTime.setter
23793
+ def EndTime(self, EndTime):
23794
+ self._EndTime = EndTime
23795
+
23694
23796
 
23695
23797
  def _deserialize(self, params):
23696
23798
  self._Status = params.get("Status")
23697
23799
  self._Limit = params.get("Limit")
23698
23800
  self._ScrollToken = params.get("ScrollToken")
23801
+ self._StartTime = params.get("StartTime")
23802
+ self._EndTime = params.get("EndTime")
23699
23803
  memeber_set = set(params.keys())
23700
23804
  for name, value in vars(self).items():
23701
23805
  property_name = name[1:]
@@ -25793,6 +25897,85 @@ Note: This field may return null, indicating that no valid values can be obtaine
25793
25897
 
25794
25898
 
25795
25899
 
25900
+ class ExecRuleTaskData(AbstractModel):
25901
+ """Conditional judgment output.
25902
+
25903
+ """
25904
+
25905
+ def __init__(self):
25906
+ r"""
25907
+ :param _RearDriveIndex: Indexes of nodes that needs to be executed based on the conditional judgment for quality inspection.
25908
+ :type RearDriveIndex: list of int
25909
+ """
25910
+ self._RearDriveIndex = None
25911
+
25912
+ @property
25913
+ def RearDriveIndex(self):
25914
+ """Indexes of nodes that needs to be executed based on the conditional judgment for quality inspection.
25915
+ :rtype: list of int
25916
+ """
25917
+ return self._RearDriveIndex
25918
+
25919
+ @RearDriveIndex.setter
25920
+ def RearDriveIndex(self, RearDriveIndex):
25921
+ self._RearDriveIndex = RearDriveIndex
25922
+
25923
+
25924
+ def _deserialize(self, params):
25925
+ self._RearDriveIndex = params.get("RearDriveIndex")
25926
+ memeber_set = set(params.keys())
25927
+ for name, value in vars(self).items():
25928
+ property_name = name[1:]
25929
+ if property_name in memeber_set:
25930
+ memeber_set.remove(property_name)
25931
+ if len(memeber_set) > 0:
25932
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25933
+
25934
+
25935
+
25936
+ class ExecRulesTask(AbstractModel):
25937
+ """Task judgment conditions.
25938
+
25939
+ """
25940
+
25941
+ def __init__(self):
25942
+ r"""
25943
+ :param _Rules: Conditional judgment information.
25944
+ Note: This field may return null, indicating that no valid value can be obtained.
25945
+ :type Rules: list of Rules
25946
+ """
25947
+ self._Rules = None
25948
+
25949
+ @property
25950
+ def Rules(self):
25951
+ """Conditional judgment information.
25952
+ Note: This field may return null, indicating that no valid value can be obtained.
25953
+ :rtype: list of Rules
25954
+ """
25955
+ return self._Rules
25956
+
25957
+ @Rules.setter
25958
+ def Rules(self, Rules):
25959
+ self._Rules = Rules
25960
+
25961
+
25962
+ def _deserialize(self, params):
25963
+ if params.get("Rules") is not None:
25964
+ self._Rules = []
25965
+ for item in params.get("Rules"):
25966
+ obj = Rules()
25967
+ obj._deserialize(item)
25968
+ self._Rules.append(obj)
25969
+ memeber_set = set(params.keys())
25970
+ for name, value in vars(self).items():
25971
+ property_name = name[1:]
25972
+ if property_name in memeber_set:
25973
+ memeber_set.remove(property_name)
25974
+ if len(memeber_set) > 0:
25975
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25976
+
25977
+
25978
+
25796
25979
  class ExecuteFunctionRequest(AbstractModel):
25797
25980
  """ExecuteFunction request structure.
25798
25981
 
@@ -26553,11 +26736,9 @@ class HighlightSegmentItem(AbstractModel):
26553
26736
  :param _SegmentTags: Segment tag.
26554
26737
  Note: This field may return null, indicating that no valid values can be obtained.
26555
26738
  :type SegmentTags: list of str
26556
- :param _BeginTime: The live streaming segment corresponds to the live start time point, in the ISO date format.
26557
- Note: This field may return null, indicating that no valid value can be obtained.
26739
+ :param _BeginTime: Start time of the live streaming segment in ISO date and time format.
26558
26740
  :type BeginTime: str
26559
- :param _EndTime: The live streaming segment corresponds to the live streaming end time, in the ISO date format.
26560
- Note: This field may return null, indicating that no valid value can be obtained.
26741
+ :param _EndTime: End time of the live streaming segment in ISO date and time format.
26561
26742
  :type EndTime: str
26562
26743
  """
26563
26744
  self._Confidence = None
@@ -26614,8 +26795,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
26614
26795
 
26615
26796
  @property
26616
26797
  def BeginTime(self):
26617
- """The live streaming segment corresponds to the live start time point, in the ISO date format.
26618
- Note: This field may return null, indicating that no valid value can be obtained.
26798
+ """Start time of the live streaming segment in ISO date and time format.
26619
26799
  :rtype: str
26620
26800
  """
26621
26801
  return self._BeginTime
@@ -26626,8 +26806,7 @@ Note: This field may return null, indicating that no valid value can be obtained
26626
26806
 
26627
26807
  @property
26628
26808
  def EndTime(self):
26629
- """The live streaming segment corresponds to the live streaming end time, in the ISO date format.
26630
- Note: This field may return null, indicating that no valid value can be obtained.
26809
+ """End time of the live streaming segment in ISO date and time format.
26631
26810
  :rtype: str
26632
26811
  """
26633
26812
  return self._EndTime
@@ -28157,9 +28336,8 @@ class LiveActivityResult(AbstractModel):
28157
28336
  def __init__(self):
28158
28337
  r"""
28159
28338
  :param _ActivityType: Atomic task type.
28160
- <li>LiveRecord: live recording.</li>
28161
- <li>AiQualityControl: media quality inspection.</li>
28162
- Note: This field may return null, indicating that no valid values can be obtained.
28339
+ <li>LiveRecord: live recording</li>
28340
+ <li>AiQualityControl: media quality inspection</li>
28163
28341
  :type ActivityType: str
28164
28342
  :param _LiveActivityResItem: The task output.
28165
28343
  Note: This field may return null, indicating that no valid values can be obtained.
@@ -28171,9 +28349,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
28171
28349
  @property
28172
28350
  def ActivityType(self):
28173
28351
  """Atomic task type.
28174
- <li>LiveRecord: live recording.</li>
28175
- <li>AiQualityControl: media quality inspection.</li>
28176
- Note: This field may return null, indicating that no valid values can be obtained.
28352
+ <li>LiveRecord: live recording</li>
28353
+ <li>AiQualityControl: media quality inspection</li>
28177
28354
  :rtype: str
28178
28355
  """
28179
28356
  return self._ActivityType
@@ -28767,22 +28944,17 @@ class LiveScheduleTask(AbstractModel):
28767
28944
 
28768
28945
  def __init__(self):
28769
28946
  r"""
28770
- :param _TaskId: The ID of a live scheme subtask.
28771
- Note: This field may return null, indicating that no valid values can be obtained.
28947
+ :param _TaskId: Live orchestration task ID.
28772
28948
  :type TaskId: str
28773
- :param _Status: The task status. Valid values:
28774
- <li>`PROCESSING`</li>
28775
- <li>`FINISH` </li>
28776
- Note: This field may return null, indicating that no valid values can be obtained.
28949
+ :param _Status: Task stream status. Valid values:
28950
+ <li>PROCESSING: processing</li>
28951
+ <li>FINISH: completed</li>
28777
28952
  :type Status: str
28778
- :param _ErrCode: If the value returned is not `0`, there was a source error. If `0` is returned, refer to the error codes of the corresponding task type.
28779
- Note: This field may return null, indicating that no valid values can be obtained.
28953
+ :param _ErrCode: An error code other than 0 is returned in case of a source exception. Use the error code of the specific task when a value of 0 is returned.
28780
28954
  :type ErrCode: int
28781
- :param _Message: If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
28782
- Note: This field may return null, indicating that no valid values can be obtained.
28955
+ :param _Message: The corresponding exception message is returned in case of a source exception. If no source exception occurs, use the message of each specific task.
28783
28956
  :type Message: str
28784
- :param _Url: The URL of the live stream.
28785
- Note: This field may return null, indicating that no valid values can be obtained.
28957
+ :param _Url: Live stream URL.
28786
28958
  :type Url: str
28787
28959
  :param _LiveActivityResultSet: The task output.
28788
28960
  Note: This field may return null, indicating that no valid values can be obtained.
@@ -28797,8 +28969,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
28797
28969
 
28798
28970
  @property
28799
28971
  def TaskId(self):
28800
- """The ID of a live scheme subtask.
28801
- Note: This field may return null, indicating that no valid values can be obtained.
28972
+ """Live orchestration task ID.
28802
28973
  :rtype: str
28803
28974
  """
28804
28975
  return self._TaskId
@@ -28809,10 +28980,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
28809
28980
 
28810
28981
  @property
28811
28982
  def Status(self):
28812
- """The task status. Valid values:
28813
- <li>`PROCESSING`</li>
28814
- <li>`FINISH` </li>
28815
- Note: This field may return null, indicating that no valid values can be obtained.
28983
+ """Task stream status. Valid values:
28984
+ <li>PROCESSING: processing</li>
28985
+ <li>FINISH: completed</li>
28816
28986
  :rtype: str
28817
28987
  """
28818
28988
  return self._Status
@@ -28823,8 +28993,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
28823
28993
 
28824
28994
  @property
28825
28995
  def ErrCode(self):
28826
- """If the value returned is not `0`, there was a source error. If `0` is returned, refer to the error codes of the corresponding task type.
28827
- Note: This field may return null, indicating that no valid values can be obtained.
28996
+ """An error code other than 0 is returned in case of a source exception. Use the error code of the specific task when a value of 0 is returned.
28828
28997
  :rtype: int
28829
28998
  """
28830
28999
  return self._ErrCode
@@ -28835,8 +29004,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
28835
29004
 
28836
29005
  @property
28837
29006
  def Message(self):
28838
- """If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
28839
- Note: This field may return null, indicating that no valid values can be obtained.
29007
+ """The corresponding exception message is returned in case of a source exception. If no source exception occurs, use the message of each specific task.
28840
29008
  :rtype: str
28841
29009
  """
28842
29010
  return self._Message
@@ -28847,8 +29015,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
28847
29015
 
28848
29016
  @property
28849
29017
  def Url(self):
28850
- """The URL of the live stream.
28851
- Note: This field may return null, indicating that no valid values can be obtained.
29018
+ """Live stream URL.
28852
29019
  :rtype: str
28853
29020
  """
28854
29021
  return self._Url
@@ -32010,9 +32177,12 @@ class MediaAiAnalysisTagItem(AbstractModel):
32010
32177
  :type Tag: str
32011
32178
  :param _Confidence: Confidence of tag between 0 and 100.
32012
32179
  :type Confidence: float
32180
+ :param _SpecialInfo: Varies based on different types.
32181
+ :type SpecialInfo: str
32013
32182
  """
32014
32183
  self._Tag = None
32015
32184
  self._Confidence = None
32185
+ self._SpecialInfo = None
32016
32186
 
32017
32187
  @property
32018
32188
  def Tag(self):
@@ -32036,10 +32206,22 @@ class MediaAiAnalysisTagItem(AbstractModel):
32036
32206
  def Confidence(self, Confidence):
32037
32207
  self._Confidence = Confidence
32038
32208
 
32209
+ @property
32210
+ def SpecialInfo(self):
32211
+ """Varies based on different types.
32212
+ :rtype: str
32213
+ """
32214
+ return self._SpecialInfo
32215
+
32216
+ @SpecialInfo.setter
32217
+ def SpecialInfo(self, SpecialInfo):
32218
+ self._SpecialInfo = SpecialInfo
32219
+
32039
32220
 
32040
32221
  def _deserialize(self, params):
32041
32222
  self._Tag = params.get("Tag")
32042
32223
  self._Confidence = params.get("Confidence")
32224
+ self._SpecialInfo = params.get("SpecialInfo")
32043
32225
  memeber_set = set(params.keys())
32044
32226
  for name, value in vars(self).items():
32045
32227
  property_name = name[1:]
@@ -33616,7 +33798,8 @@ class MediaProcessTaskImageSpriteResult(AbstractModel):
33616
33798
  :type Message: str
33617
33799
  :param _Input: Input for an image sprite generating task.
33618
33800
  :type Input: :class:`tencentcloud.mps.v20190612.models.ImageSpriteTaskInput`
33619
- :param _Output: Specifies the output of an image sprite task for a video.
33801
+ :param _Output: Output of the image sprite task for videos.
33802
+ Note: This field may return null, indicating that no valid value can be obtained.
33620
33803
  :type Output: :class:`tencentcloud.mps.v20190612.models.MediaImageSpriteItem`
33621
33804
  :param _BeginProcessTime: Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
33622
33805
  :type BeginProcessTime: str
@@ -33689,7 +33872,8 @@ class MediaProcessTaskImageSpriteResult(AbstractModel):
33689
33872
 
33690
33873
  @property
33691
33874
  def Output(self):
33692
- """Specifies the output of an image sprite task for a video.
33875
+ """Output of the image sprite task for videos.
33876
+ Note: This field may return null, indicating that no valid value can be obtained.
33693
33877
  :rtype: :class:`tencentcloud.mps.v20190612.models.MediaImageSpriteItem`
33694
33878
  """
33695
33879
  return self._Output
@@ -34067,7 +34251,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
34067
34251
  :type Message: str
34068
34252
  :param _Input: Input for a sampled screenshot task.
34069
34253
  :type Input: :class:`tencentcloud.mps.v20190612.models.SampleSnapshotTaskInput`
34070
- :param _Output: Specifies the output of a sampling screenshot task for a video.
34254
+ :param _Output: Output of the sampled screenshot task for videos.
34255
+ Note: This field may return null, indicating that no valid value can be obtained.
34071
34256
  :type Output: :class:`tencentcloud.mps.v20190612.models.MediaSampleSnapshotItem`
34072
34257
  :param _BeginProcessTime: Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
34073
34258
  :type BeginProcessTime: str
@@ -34141,7 +34326,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
34141
34326
 
34142
34327
  @property
34143
34328
  def Output(self):
34144
- """Specifies the output of a sampling screenshot task for a video.
34329
+ """Output of the sampled screenshot task for videos.
34330
+ Note: This field may return null, indicating that no valid value can be obtained.
34145
34331
  :rtype: :class:`tencentcloud.mps.v20190612.models.MediaSampleSnapshotItem`
34146
34332
  """
34147
34333
  return self._Output
@@ -34213,7 +34399,8 @@ class MediaProcessTaskSnapshotByTimeOffsetResult(AbstractModel):
34213
34399
  :type Message: str
34214
34400
  :param _Input: Input for a time point screenshot task.
34215
34401
  :type Input: :class:`tencentcloud.mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
34216
- :param _Output: Specifies the output of a screenshot task at specified time points for a video.
34402
+ :param _Output: Output of the time point screenshot task for videos.
34403
+ Note: This field may return null, indicating that no valid value can be obtained.
34217
34404
  :type Output: :class:`tencentcloud.mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
34218
34405
  :param _BeginProcessTime: Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
34219
34406
  :type BeginProcessTime: str
@@ -34286,7 +34473,8 @@ class MediaProcessTaskSnapshotByTimeOffsetResult(AbstractModel):
34286
34473
 
34287
34474
  @property
34288
34475
  def Output(self):
34289
- """Specifies the output of a screenshot task at specified time points for a video.
34476
+ """Output of the time point screenshot task for videos.
34477
+ Note: This field may return null, indicating that no valid value can be obtained.
34290
34478
  :rtype: :class:`tencentcloud.mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
34291
34479
  """
34292
34480
  return self._Output
@@ -36902,12 +37090,15 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
36902
37090
  :param _RecordFormat: Recording file format. Valid values:
36903
37091
  <li>PNG: PNG image.</li>
36904
37092
  :type RecordFormat: str
37093
+ :param _Strategy: Spot check policy for media quality inspection.
37094
+ :type Strategy: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
36905
37095
  """
36906
37096
  self._Definition = None
36907
37097
  self._Name = None
36908
37098
  self._Comment = None
36909
37099
  self._QualityControlItemSet = None
36910
37100
  self._RecordFormat = None
37101
+ self._Strategy = None
36911
37102
 
36912
37103
  @property
36913
37104
  def Definition(self):
@@ -36965,6 +37156,17 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
36965
37156
  def RecordFormat(self, RecordFormat):
36966
37157
  self._RecordFormat = RecordFormat
36967
37158
 
37159
+ @property
37160
+ def Strategy(self):
37161
+ """Spot check policy for media quality inspection.
37162
+ :rtype: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
37163
+ """
37164
+ return self._Strategy
37165
+
37166
+ @Strategy.setter
37167
+ def Strategy(self, Strategy):
37168
+ self._Strategy = Strategy
37169
+
36968
37170
 
36969
37171
  def _deserialize(self, params):
36970
37172
  self._Definition = params.get("Definition")
@@ -36977,6 +37179,9 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
36977
37179
  obj._deserialize(item)
36978
37180
  self._QualityControlItemSet.append(obj)
36979
37181
  self._RecordFormat = params.get("RecordFormat")
37182
+ if params.get("Strategy") is not None:
37183
+ self._Strategy = QualityControlStrategy()
37184
+ self._Strategy._deserialize(params.get("Strategy"))
36980
37185
  memeber_set = set(params.keys())
36981
37186
  for name, value in vars(self).items():
36982
37187
  property_name = name[1:]
@@ -41956,23 +42161,17 @@ class QualityControlData(AbstractModel):
41956
42161
 
41957
42162
  def __init__(self):
41958
42163
  r"""
41959
- :param _NoAudio: Whether there is an audio track. `true` indicates that there isn't.
41960
- Note: This field may return null, indicating that no valid values can be obtained.
42164
+ :param _NoAudio: When this field is set to true, it indicates that the video has no audio track.
41961
42165
  :type NoAudio: bool
41962
- :param _NoVideo: Whether there is a video track. `true` indicates that there isn't.
41963
- Note: This field may return null, indicating that no valid values can be obtained.
42166
+ :param _NoVideo: When this field is set to true, it indicates that the video has no video track.
41964
42167
  :type NoVideo: bool
41965
42168
  :param _QualityEvaluationScore: No-reference quality score of the video (100 points in total).
41966
- Note: This field may return null, indicating that no valid value can be obtained.
41967
42169
  :type QualityEvaluationScore: int
41968
42170
  :param _QualityEvaluationMeanOpinionScore: No-reference quality score of the video (MOS).
41969
- Note: This field may return null, indicating that no valid value can be obtained.
41970
42171
  :type QualityEvaluationMeanOpinionScore: float
41971
- :param _QualityControlResultSet: Exception items detected in content quality inspection.
41972
- Note: This field may return null, indicating that no valid values can be obtained.
42172
+ :param _QualityControlResultSet: Exception items identified in content quality inspection.
41973
42173
  :type QualityControlResultSet: list of QualityControlResult
41974
- :param _ContainerDiagnoseResultSet: Exception items detected in format diagnosis.
41975
- Note: This field may return null, indicating that no valid values can be obtained.
42174
+ :param _ContainerDiagnoseResultSet: Exception items identified in format diagnosis.
41976
42175
  :type ContainerDiagnoseResultSet: list of ContainerDiagnoseResultItem
41977
42176
  """
41978
42177
  self._NoAudio = None
@@ -41984,8 +42183,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
41984
42183
 
41985
42184
  @property
41986
42185
  def NoAudio(self):
41987
- """Whether there is an audio track. `true` indicates that there isn't.
41988
- Note: This field may return null, indicating that no valid values can be obtained.
42186
+ """When this field is set to true, it indicates that the video has no audio track.
41989
42187
  :rtype: bool
41990
42188
  """
41991
42189
  return self._NoAudio
@@ -41996,8 +42194,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
41996
42194
 
41997
42195
  @property
41998
42196
  def NoVideo(self):
41999
- """Whether there is a video track. `true` indicates that there isn't.
42000
- Note: This field may return null, indicating that no valid values can be obtained.
42197
+ """When this field is set to true, it indicates that the video has no video track.
42001
42198
  :rtype: bool
42002
42199
  """
42003
42200
  return self._NoVideo
@@ -42009,7 +42206,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
42009
42206
  @property
42010
42207
  def QualityEvaluationScore(self):
42011
42208
  """No-reference quality score of the video (100 points in total).
42012
- Note: This field may return null, indicating that no valid value can be obtained.
42013
42209
  :rtype: int
42014
42210
  """
42015
42211
  return self._QualityEvaluationScore
@@ -42021,7 +42217,6 @@ Note: This field may return null, indicating that no valid value can be obtained
42021
42217
  @property
42022
42218
  def QualityEvaluationMeanOpinionScore(self):
42023
42219
  """No-reference quality score of the video (MOS).
42024
- Note: This field may return null, indicating that no valid value can be obtained.
42025
42220
  :rtype: float
42026
42221
  """
42027
42222
  return self._QualityEvaluationMeanOpinionScore
@@ -42032,8 +42227,7 @@ Note: This field may return null, indicating that no valid value can be obtained
42032
42227
 
42033
42228
  @property
42034
42229
  def QualityControlResultSet(self):
42035
- """Exception items detected in content quality inspection.
42036
- Note: This field may return null, indicating that no valid values can be obtained.
42230
+ """Exception items identified in content quality inspection.
42037
42231
  :rtype: list of QualityControlResult
42038
42232
  """
42039
42233
  return self._QualityControlResultSet
@@ -42044,8 +42238,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
42044
42238
 
42045
42239
  @property
42046
42240
  def ContainerDiagnoseResultSet(self):
42047
- """Exception items detected in format diagnosis.
42048
- Note: This field may return null, indicating that no valid values can be obtained.
42241
+ """Exception items identified in format diagnosis.
42049
42242
  :rtype: list of ContainerDiagnoseResultItem
42050
42243
  """
42051
42244
  return self._ContainerDiagnoseResultSet
@@ -42512,6 +42705,61 @@ class QualityControlResult(AbstractModel):
42512
42705
 
42513
42706
 
42514
42707
 
42708
+ class QualityControlStrategy(AbstractModel):
42709
+ """Detection policy for media quality inspection.
42710
+
42711
+ """
42712
+
42713
+ def __init__(self):
42714
+ r"""
42715
+ :param _StrategyType: Policy type. Valid values:
42716
+ - TimeSpotCheck
42717
+ :type StrategyType: str
42718
+ :param _TimeSpotCheck: Spot check policy based on time.
42719
+ :type TimeSpotCheck: :class:`tencentcloud.mps.v20190612.models.TimeSpotCheck`
42720
+ """
42721
+ self._StrategyType = None
42722
+ self._TimeSpotCheck = None
42723
+
42724
+ @property
42725
+ def StrategyType(self):
42726
+ """Policy type. Valid values:
42727
+ - TimeSpotCheck
42728
+ :rtype: str
42729
+ """
42730
+ return self._StrategyType
42731
+
42732
+ @StrategyType.setter
42733
+ def StrategyType(self, StrategyType):
42734
+ self._StrategyType = StrategyType
42735
+
42736
+ @property
42737
+ def TimeSpotCheck(self):
42738
+ """Spot check policy based on time.
42739
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TimeSpotCheck`
42740
+ """
42741
+ return self._TimeSpotCheck
42742
+
42743
+ @TimeSpotCheck.setter
42744
+ def TimeSpotCheck(self, TimeSpotCheck):
42745
+ self._TimeSpotCheck = TimeSpotCheck
42746
+
42747
+
42748
+ def _deserialize(self, params):
42749
+ self._StrategyType = params.get("StrategyType")
42750
+ if params.get("TimeSpotCheck") is not None:
42751
+ self._TimeSpotCheck = TimeSpotCheck()
42752
+ self._TimeSpotCheck._deserialize(params.get("TimeSpotCheck"))
42753
+ memeber_set = set(params.keys())
42754
+ for name, value in vars(self).items():
42755
+ property_name = name[1:]
42756
+ if property_name in memeber_set:
42757
+ memeber_set.remove(property_name)
42758
+ if len(memeber_set) > 0:
42759
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
42760
+
42761
+
42762
+
42515
42763
  class QualityControlTemplate(AbstractModel):
42516
42764
  """Media quality inspection template details.
42517
42765
 
@@ -42546,6 +42794,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
42546
42794
 
42547
42795
  Note: This field may return null, indicating that no valid values can be obtained.
42548
42796
  :type UpdateTime: str
42797
+ :param _Strategy: Spot check policy for media quality inspection.
42798
+ :type Strategy: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
42549
42799
  """
42550
42800
  self._Definition = None
42551
42801
  self._Name = None
@@ -42554,6 +42804,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
42554
42804
  self._QualityControlItemSet = None
42555
42805
  self._CreateTime = None
42556
42806
  self._UpdateTime = None
42807
+ self._Strategy = None
42557
42808
 
42558
42809
  @property
42559
42810
  def Definition(self):
@@ -42645,6 +42896,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
42645
42896
  def UpdateTime(self, UpdateTime):
42646
42897
  self._UpdateTime = UpdateTime
42647
42898
 
42899
+ @property
42900
+ def Strategy(self):
42901
+ """Spot check policy for media quality inspection.
42902
+ :rtype: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
42903
+ """
42904
+ return self._Strategy
42905
+
42906
+ @Strategy.setter
42907
+ def Strategy(self, Strategy):
42908
+ self._Strategy = Strategy
42909
+
42648
42910
 
42649
42911
  def _deserialize(self, params):
42650
42912
  self._Definition = params.get("Definition")
@@ -42659,6 +42921,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
42659
42921
  self._QualityControlItemSet.append(obj)
42660
42922
  self._CreateTime = params.get("CreateTime")
42661
42923
  self._UpdateTime = params.get("UpdateTime")
42924
+ if params.get("Strategy") is not None:
42925
+ self._Strategy = QualityControlStrategy()
42926
+ self._Strategy._deserialize(params.get("Strategy"))
42662
42927
  memeber_set = set(params.keys())
42663
42928
  for name, value in vars(self).items():
42664
42929
  property_name = name[1:]
@@ -43519,6 +43784,155 @@ class ResetWorkflowResponse(AbstractModel):
43519
43784
  self._RequestId = params.get("RequestId")
43520
43785
 
43521
43786
 
43787
+ class RuleConditionItem(AbstractModel):
43788
+ """Rule condition configuration.
43789
+
43790
+ """
43791
+
43792
+ def __init__(self):
43793
+ r"""
43794
+ :param _Key: Key of the quality inspection item condition.
43795
+ :type Key: str
43796
+ :param _Value: Value corresponding to the condition.
43797
+ :type Value: str
43798
+ """
43799
+ self._Key = None
43800
+ self._Value = None
43801
+
43802
+ @property
43803
+ def Key(self):
43804
+ """Key of the quality inspection item condition.
43805
+ :rtype: str
43806
+ """
43807
+ return self._Key
43808
+
43809
+ @Key.setter
43810
+ def Key(self, Key):
43811
+ self._Key = Key
43812
+
43813
+ @property
43814
+ def Value(self):
43815
+ """Value corresponding to the condition.
43816
+ :rtype: str
43817
+ """
43818
+ return self._Value
43819
+
43820
+ @Value.setter
43821
+ def Value(self, Value):
43822
+ self._Value = Value
43823
+
43824
+
43825
+ def _deserialize(self, params):
43826
+ self._Key = params.get("Key")
43827
+ self._Value = params.get("Value")
43828
+ memeber_set = set(params.keys())
43829
+ for name, value in vars(self).items():
43830
+ property_name = name[1:]
43831
+ if property_name in memeber_set:
43832
+ memeber_set.remove(property_name)
43833
+ if len(memeber_set) > 0:
43834
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43835
+
43836
+
43837
+
43838
+ class Rules(AbstractModel):
43839
+ """Task judgment conditions.
43840
+
43841
+ """
43842
+
43843
+ def __init__(self):
43844
+ r"""
43845
+ :param _Id: Judgment condition ID.
43846
+ Note: This field may return null, indicating that no valid value can be obtained.
43847
+ :type Id: str
43848
+ :param _Conditions: Judgment condition configuration.
43849
+ Note: This field may return null, indicating that no valid value can be obtained.
43850
+ :type Conditions: list of RuleConditionItem
43851
+ :param _Linker: Logical operator for the list of conditions. Valid values:
43852
+
43853
+ - &&: logical AND
43854
+ - ||: logical OR
43855
+ :type Linker: str
43856
+ :param _RearDriveIndexs: Indexes of the nodes to execute if the judgment conditions are met.
43857
+ Note: This field may return null, indicating that no valid value can be obtained.
43858
+ :type RearDriveIndexs: list of int
43859
+ """
43860
+ self._Id = None
43861
+ self._Conditions = None
43862
+ self._Linker = None
43863
+ self._RearDriveIndexs = None
43864
+
43865
+ @property
43866
+ def Id(self):
43867
+ """Judgment condition ID.
43868
+ Note: This field may return null, indicating that no valid value can be obtained.
43869
+ :rtype: str
43870
+ """
43871
+ return self._Id
43872
+
43873
+ @Id.setter
43874
+ def Id(self, Id):
43875
+ self._Id = Id
43876
+
43877
+ @property
43878
+ def Conditions(self):
43879
+ """Judgment condition configuration.
43880
+ Note: This field may return null, indicating that no valid value can be obtained.
43881
+ :rtype: list of RuleConditionItem
43882
+ """
43883
+ return self._Conditions
43884
+
43885
+ @Conditions.setter
43886
+ def Conditions(self, Conditions):
43887
+ self._Conditions = Conditions
43888
+
43889
+ @property
43890
+ def Linker(self):
43891
+ """Logical operator for the list of conditions. Valid values:
43892
+
43893
+ - &&: logical AND
43894
+ - ||: logical OR
43895
+ :rtype: str
43896
+ """
43897
+ return self._Linker
43898
+
43899
+ @Linker.setter
43900
+ def Linker(self, Linker):
43901
+ self._Linker = Linker
43902
+
43903
+ @property
43904
+ def RearDriveIndexs(self):
43905
+ """Indexes of the nodes to execute if the judgment conditions are met.
43906
+ Note: This field may return null, indicating that no valid value can be obtained.
43907
+ :rtype: list of int
43908
+ """
43909
+ return self._RearDriveIndexs
43910
+
43911
+ @RearDriveIndexs.setter
43912
+ def RearDriveIndexs(self, RearDriveIndexs):
43913
+ self._RearDriveIndexs = RearDriveIndexs
43914
+
43915
+
43916
+ def _deserialize(self, params):
43917
+ self._Id = params.get("Id")
43918
+ if params.get("Conditions") is not None:
43919
+ self._Conditions = []
43920
+ for item in params.get("Conditions"):
43921
+ obj = RuleConditionItem()
43922
+ obj._deserialize(item)
43923
+ self._Conditions.append(obj)
43924
+ self._Linker = params.get("Linker")
43925
+ self._RearDriveIndexs = params.get("RearDriveIndexs")
43926
+ memeber_set = set(params.keys())
43927
+ for name, value in vars(self).items():
43928
+ property_name = name[1:]
43929
+ if property_name in memeber_set:
43930
+ memeber_set.remove(property_name)
43931
+ if len(memeber_set) > 0:
43932
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43933
+
43934
+
43935
+
43522
43936
  class S3InputInfo(AbstractModel):
43523
43937
  """The AWS S3 storage information of a source file.
43524
43938
 
@@ -44092,9 +44506,12 @@ class ScheduleAnalysisTaskResult(AbstractModel):
44092
44506
  :type Message: str
44093
44507
  :param _Input: The input of the content analysis task.
44094
44508
  :type Input: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskInput`
44095
- :param _Output: The output of the content analysis task.
44096
- Note: This field may return null, indicating that no valid values can be obtained.
44509
+ :param _Output: Analysis task output.
44097
44510
  :type Output: list of AiAnalysisResult
44511
+ :param _BeginProcessTime: Task execution start time in [ISO date and time format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
44512
+ :type BeginProcessTime: str
44513
+ :param _FinishTime: Task execution completion time in [ISO date and time format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
44514
+ :type FinishTime: str
44098
44515
  """
44099
44516
  self._Status = None
44100
44517
  self._ErrCodeExt = None
@@ -44102,6 +44519,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
44102
44519
  self._Message = None
44103
44520
  self._Input = None
44104
44521
  self._Output = None
44522
+ self._BeginProcessTime = None
44523
+ self._FinishTime = None
44105
44524
 
44106
44525
  @property
44107
44526
  def Status(self):
@@ -44160,8 +44579,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
44160
44579
 
44161
44580
  @property
44162
44581
  def Output(self):
44163
- """The output of the content analysis task.
44164
- Note: This field may return null, indicating that no valid values can be obtained.
44582
+ """Analysis task output.
44165
44583
  :rtype: list of AiAnalysisResult
44166
44584
  """
44167
44585
  return self._Output
@@ -44170,6 +44588,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
44170
44588
  def Output(self, Output):
44171
44589
  self._Output = Output
44172
44590
 
44591
+ @property
44592
+ def BeginProcessTime(self):
44593
+ """Task execution start time in [ISO date and time format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
44594
+ :rtype: str
44595
+ """
44596
+ return self._BeginProcessTime
44597
+
44598
+ @BeginProcessTime.setter
44599
+ def BeginProcessTime(self, BeginProcessTime):
44600
+ self._BeginProcessTime = BeginProcessTime
44601
+
44602
+ @property
44603
+ def FinishTime(self):
44604
+ """Task execution completion time in [ISO date and time format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
44605
+ :rtype: str
44606
+ """
44607
+ return self._FinishTime
44608
+
44609
+ @FinishTime.setter
44610
+ def FinishTime(self, FinishTime):
44611
+ self._FinishTime = FinishTime
44612
+
44173
44613
 
44174
44614
  def _deserialize(self, params):
44175
44615
  self._Status = params.get("Status")
@@ -44185,6 +44625,110 @@ Note: This field may return null, indicating that no valid values can be obtaine
44185
44625
  obj = AiAnalysisResult()
44186
44626
  obj._deserialize(item)
44187
44627
  self._Output.append(obj)
44628
+ self._BeginProcessTime = params.get("BeginProcessTime")
44629
+ self._FinishTime = params.get("FinishTime")
44630
+ memeber_set = set(params.keys())
44631
+ for name, value in vars(self).items():
44632
+ property_name = name[1:]
44633
+ if property_name in memeber_set:
44634
+ memeber_set.remove(property_name)
44635
+ if len(memeber_set) > 0:
44636
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
44637
+
44638
+
44639
+
44640
+ class ScheduleExecRuleTaskResult(AbstractModel):
44641
+ """Result type of the media quality inspection task.
44642
+
44643
+ """
44644
+
44645
+ def __init__(self):
44646
+ r"""
44647
+ :param _Status: Task status, which can be PROCESSING, SUCCESS, or FAIL.
44648
+ :type Status: str
44649
+ :param _ErrCodeExt: Error code. An empty string indicates success, while other values indicate failure. For specific values, see the list of MPS error codes at https://www.tencentcloud.comom/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81.
44650
+ :type ErrCodeExt: str
44651
+ :param _Message: Error message.
44652
+ :type Message: str
44653
+ :param _Input: Input of the conditional judgment task.
44654
+ :type Input: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
44655
+ :param _Output: Output of the conditional judgment task.
44656
+ Note: This field may return null, indicating that no valid value can be obtained.
44657
+ :type Output: :class:`tencentcloud.mps.v20190612.models.ExecRuleTaskData`
44658
+ """
44659
+ self._Status = None
44660
+ self._ErrCodeExt = None
44661
+ self._Message = None
44662
+ self._Input = None
44663
+ self._Output = None
44664
+
44665
+ @property
44666
+ def Status(self):
44667
+ """Task status, which can be PROCESSING, SUCCESS, or FAIL.
44668
+ :rtype: str
44669
+ """
44670
+ return self._Status
44671
+
44672
+ @Status.setter
44673
+ def Status(self, Status):
44674
+ self._Status = Status
44675
+
44676
+ @property
44677
+ def ErrCodeExt(self):
44678
+ """Error code. An empty string indicates success, while other values indicate failure. For specific values, see the list of MPS error codes at https://www.tencentcloud.comom/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81.
44679
+ :rtype: str
44680
+ """
44681
+ return self._ErrCodeExt
44682
+
44683
+ @ErrCodeExt.setter
44684
+ def ErrCodeExt(self, ErrCodeExt):
44685
+ self._ErrCodeExt = ErrCodeExt
44686
+
44687
+ @property
44688
+ def Message(self):
44689
+ """Error message.
44690
+ :rtype: str
44691
+ """
44692
+ return self._Message
44693
+
44694
+ @Message.setter
44695
+ def Message(self, Message):
44696
+ self._Message = Message
44697
+
44698
+ @property
44699
+ def Input(self):
44700
+ """Input of the conditional judgment task.
44701
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
44702
+ """
44703
+ return self._Input
44704
+
44705
+ @Input.setter
44706
+ def Input(self, Input):
44707
+ self._Input = Input
44708
+
44709
+ @property
44710
+ def Output(self):
44711
+ """Output of the conditional judgment task.
44712
+ Note: This field may return null, indicating that no valid value can be obtained.
44713
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ExecRuleTaskData`
44714
+ """
44715
+ return self._Output
44716
+
44717
+ @Output.setter
44718
+ def Output(self, Output):
44719
+ self._Output = Output
44720
+
44721
+
44722
+ def _deserialize(self, params):
44723
+ self._Status = params.get("Status")
44724
+ self._ErrCodeExt = params.get("ErrCodeExt")
44725
+ self._Message = params.get("Message")
44726
+ if params.get("Input") is not None:
44727
+ self._Input = ExecRulesTask()
44728
+ self._Input._deserialize(params.get("Input"))
44729
+ if params.get("Output") is not None:
44730
+ self._Output = ExecRuleTaskData()
44731
+ self._Output._deserialize(params.get("Output"))
44188
44732
  memeber_set = set(params.keys())
44189
44733
  for name, value in vars(self).items():
44190
44734
  property_name = name[1:]
@@ -46832,8 +47376,8 @@ class SmartSubtitlesResult(AbstractModel):
46832
47376
  def __init__(self):
46833
47377
  r"""
46834
47378
  :param _Type: Task type. Valid values:
46835
- <Li>AsrFullTextRecognition: full speech recognition</li>
46836
- <Li>TransTextRecognition: speech translation</li>
47379
+ <li>AsrFullTextRecognition: full speech recognition</li>
47380
+ <li>TransTextRecognition: speech translation</li>
46837
47381
  :type Type: str
46838
47382
  :param _AsrFullTextTask: Full speech recognition result. When Type is
46839
47383
  set to AsrFullTextRecognition, this parameter takes effect.
@@ -46852,8 +47396,8 @@ Note: This field may return null, indicating that no valid value can be obtained
46852
47396
  @property
46853
47397
  def Type(self):
46854
47398
  """Task type. Valid values:
46855
- <Li>AsrFullTextRecognition: full speech recognition</li>
46856
- <Li>TransTextRecognition: speech translation</li>
47399
+ <li>AsrFullTextRecognition: full speech recognition</li>
47400
+ <li>TransTextRecognition: speech translation</li>
46857
47401
  :rtype: str
46858
47402
  """
46859
47403
  return self._Type
@@ -46922,10 +47466,28 @@ class SmartSubtitlesTaskInput(AbstractModel):
46922
47466
  :param _RawParameter: Custom smart subtitle parameter. It takes effect when Definition is set to 0. This parameter is used in high customization scenarios. It is recommended that you preferentially use Definition to specify smart subtitle parameters.
46923
47467
  Note: This field may return null, indicating that no valid value can be obtained.
46924
47468
  :type RawParameter: :class:`tencentcloud.mps.v20190612.models.RawSmartSubtitleParameter`
47469
+ :param _OutputStorage: Bucket that stores the output file. If it is left unspecified, the storage location in InputInfo will be inherited.
47470
+ **Note**: This parameter is required when InputInfo.Type is set to URL.
47471
+ Note: This field may return null, indicating that no valid value can be obtained.
47472
+ :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
47473
+ :param _OutputObjectPath: Output path of the generated subtitle file, which can be a relative or absolute path.
47474
+ To define the output path, end the path with .{format}. For variable names, see the description of file name variables at https://www.tencentcloud.comom/document/product/862/37039.?from_cn_redirect=1
47475
+
47476
+ Relative path example:
47477
+ - File name_{variable name}.{format}.
47478
+ - File name.{format}.
47479
+
47480
+ Absolute path example:
47481
+ -/Custom path/File name_{variable name}.{format}.
47482
+
47483
+ If this field is left unspecified, the default value is the relative path in the following format: {inputName}_smartsubtitle_{definition}.{format}.
47484
+ :type OutputObjectPath: str
46925
47485
  """
46926
47486
  self._Definition = None
46927
47487
  self._UserExtPara = None
46928
47488
  self._RawParameter = None
47489
+ self._OutputStorage = None
47490
+ self._OutputObjectPath = None
46929
47491
 
46930
47492
  @property
46931
47493
  def Definition(self):
@@ -46961,6 +47523,40 @@ Note: This field may return null, indicating that no valid value can be obtained
46961
47523
  def RawParameter(self, RawParameter):
46962
47524
  self._RawParameter = RawParameter
46963
47525
 
47526
+ @property
47527
+ def OutputStorage(self):
47528
+ """Bucket that stores the output file. If it is left unspecified, the storage location in InputInfo will be inherited.
47529
+ **Note**: This parameter is required when InputInfo.Type is set to URL.
47530
+ Note: This field may return null, indicating that no valid value can be obtained.
47531
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
47532
+ """
47533
+ return self._OutputStorage
47534
+
47535
+ @OutputStorage.setter
47536
+ def OutputStorage(self, OutputStorage):
47537
+ self._OutputStorage = OutputStorage
47538
+
47539
+ @property
47540
+ def OutputObjectPath(self):
47541
+ """Output path of the generated subtitle file, which can be a relative or absolute path.
47542
+ To define the output path, end the path with .{format}. For variable names, see the description of file name variables at https://www.tencentcloud.comom/document/product/862/37039.?from_cn_redirect=1
47543
+
47544
+ Relative path example:
47545
+ - File name_{variable name}.{format}.
47546
+ - File name.{format}.
47547
+
47548
+ Absolute path example:
47549
+ -/Custom path/File name_{variable name}.{format}.
47550
+
47551
+ If this field is left unspecified, the default value is the relative path in the following format: {inputName}_smartsubtitle_{definition}.{format}.
47552
+ :rtype: str
47553
+ """
47554
+ return self._OutputObjectPath
47555
+
47556
+ @OutputObjectPath.setter
47557
+ def OutputObjectPath(self, OutputObjectPath):
47558
+ self._OutputObjectPath = OutputObjectPath
47559
+
46964
47560
 
46965
47561
  def _deserialize(self, params):
46966
47562
  self._Definition = params.get("Definition")
@@ -46968,6 +47564,10 @@ Note: This field may return null, indicating that no valid value can be obtained
46968
47564
  if params.get("RawParameter") is not None:
46969
47565
  self._RawParameter = RawSmartSubtitleParameter()
46970
47566
  self._RawParameter._deserialize(params.get("RawParameter"))
47567
+ if params.get("OutputStorage") is not None:
47568
+ self._OutputStorage = TaskOutputStorage()
47569
+ self._OutputStorage._deserialize(params.get("OutputStorage"))
47570
+ self._OutputObjectPath = params.get("OutputObjectPath")
46971
47571
  memeber_set = set(params.keys())
46972
47572
  for name, value in vars(self).items():
46973
47573
  property_name = name[1:]
@@ -47477,6 +48077,42 @@ preset1: use different keys for each substream
47477
48077
 
47478
48078
 
47479
48079
 
48080
+ class SubtitlePosition(AbstractModel):
48081
+ """Subtitle position information.
48082
+
48083
+ """
48084
+
48085
+ def __init__(self):
48086
+ r"""
48087
+ :param _CenterY: Y-coordinate value when the subtitle is centered.
48088
+ :type CenterY: int
48089
+ """
48090
+ self._CenterY = None
48091
+
48092
+ @property
48093
+ def CenterY(self):
48094
+ """Y-coordinate value when the subtitle is centered.
48095
+ :rtype: int
48096
+ """
48097
+ return self._CenterY
48098
+
48099
+ @CenterY.setter
48100
+ def CenterY(self, CenterY):
48101
+ self._CenterY = CenterY
48102
+
48103
+
48104
+ def _deserialize(self, params):
48105
+ self._CenterY = params.get("CenterY")
48106
+ memeber_set = set(params.keys())
48107
+ for name, value in vars(self).items():
48108
+ property_name = name[1:]
48109
+ if property_name in memeber_set:
48110
+ memeber_set.remove(property_name)
48111
+ if len(memeber_set) > 0:
48112
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
48113
+
48114
+
48115
+
47480
48116
  class SubtitleTemplate(AbstractModel):
47481
48117
  """The subtitle settings.
47482
48118
 
@@ -49281,6 +49917,95 @@ class TextWatermarkTemplateInputForUpdate(AbstractModel):
49281
49917
 
49282
49918
 
49283
49919
 
49920
+ class TimeSpotCheck(AbstractModel):
49921
+ """Detection policy for media quality inspection.
49922
+
49923
+ """
49924
+
49925
+ def __init__(self):
49926
+ r"""
49927
+ :param _CheckDuration: Duration of each loop detection in the spot check policy, in seconds. Valid values:
49928
+
49929
+ - Minimum value: 10.
49930
+ - Maximum value: 86400.
49931
+
49932
+ :type CheckDuration: int
49933
+ :param _CheckInterval: Detection interval of the spot check policy, which indicates how long to wait before conducting the next detection after one detection is completed.
49934
+ :type CheckInterval: int
49935
+ :param _SkipDuration: Duration for which the opening clip is skipped.
49936
+ :type SkipDuration: int
49937
+ :param _CirclesNumber: Number of loops. When this field is empty or set to 0, the default behavior is to loop until the video ends.
49938
+ :type CirclesNumber: int
49939
+ """
49940
+ self._CheckDuration = None
49941
+ self._CheckInterval = None
49942
+ self._SkipDuration = None
49943
+ self._CirclesNumber = None
49944
+
49945
+ @property
49946
+ def CheckDuration(self):
49947
+ """Duration of each loop detection in the spot check policy, in seconds. Valid values:
49948
+
49949
+ - Minimum value: 10.
49950
+ - Maximum value: 86400.
49951
+
49952
+ :rtype: int
49953
+ """
49954
+ return self._CheckDuration
49955
+
49956
+ @CheckDuration.setter
49957
+ def CheckDuration(self, CheckDuration):
49958
+ self._CheckDuration = CheckDuration
49959
+
49960
+ @property
49961
+ def CheckInterval(self):
49962
+ """Detection interval of the spot check policy, which indicates how long to wait before conducting the next detection after one detection is completed.
49963
+ :rtype: int
49964
+ """
49965
+ return self._CheckInterval
49966
+
49967
+ @CheckInterval.setter
49968
+ def CheckInterval(self, CheckInterval):
49969
+ self._CheckInterval = CheckInterval
49970
+
49971
+ @property
49972
+ def SkipDuration(self):
49973
+ """Duration for which the opening clip is skipped.
49974
+ :rtype: int
49975
+ """
49976
+ return self._SkipDuration
49977
+
49978
+ @SkipDuration.setter
49979
+ def SkipDuration(self, SkipDuration):
49980
+ self._SkipDuration = SkipDuration
49981
+
49982
+ @property
49983
+ def CirclesNumber(self):
49984
+ """Number of loops. When this field is empty or set to 0, the default behavior is to loop until the video ends.
49985
+ :rtype: int
49986
+ """
49987
+ return self._CirclesNumber
49988
+
49989
+ @CirclesNumber.setter
49990
+ def CirclesNumber(self, CirclesNumber):
49991
+ self._CirclesNumber = CirclesNumber
49992
+
49993
+
49994
+ def _deserialize(self, params):
49995
+ self._CheckDuration = params.get("CheckDuration")
49996
+ self._CheckInterval = params.get("CheckInterval")
49997
+ self._SkipDuration = params.get("SkipDuration")
49998
+ self._CirclesNumber = params.get("CirclesNumber")
49999
+ memeber_set = set(params.keys())
50000
+ for name, value in vars(self).items():
50001
+ property_name = name[1:]
50002
+ if property_name in memeber_set:
50003
+ memeber_set.remove(property_name)
50004
+ if len(memeber_set) > 0:
50005
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50006
+
50007
+
50008
+
49284
50009
  class TrackInfo(AbstractModel):
49285
50010
  """Audio track info.
49286
50011