lib/v20201229/models.rb in tencentcloud-sdk-vm-1.0.334 vs lib/v20201229/models.rb in tencentcloud-sdk-vm-1.0.335

- old
+ new

@@ -447,11 +447,11 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type Type: String # @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Suggestion: String - # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 + # @param Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Labels: Array # @param MediaInfo: 该字段用于返回输入媒体文件的详细信息,包括编解码格式、分片时长等信息。详细内容敬请参考MediaInfo数据结构的描述。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MediaInfo: :class:`Tencentcloud::Vm.v20201229.models.MediaInfo` @@ -476,16 +476,19 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrorType: String # @param ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrorDescription: String + # @param Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Label: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :RequestId + attr_accessor :TaskId, :DataId, :BizType, :Name, :Status, :Type, :Suggestion, :Labels, :MediaInfo, :InputInfo, :CreatedAt, :UpdatedAt, :ImageSegments, :AudioSegments, :ErrorType, :ErrorDescription, :Label, :RequestId - def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, requestid=nil) + def initialize(taskid=nil, dataid=nil, biztype=nil, name=nil, status=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, inputinfo=nil, createdat=nil, updatedat=nil, imagesegments=nil, audiosegments=nil, errortype=nil, errordescription=nil, label=nil, requestid=nil) @TaskId = taskid @DataId = dataid @BizType = biztype @Name = name @Status = status @@ -498,10 +501,11 @@ @UpdatedAt = updatedat @ImageSegments = imagesegments @AudioSegments = audiosegments @ErrorType = errortype @ErrorDescription = errordescription + @Label = label @RequestId = requestid end def deserialize(params) @TaskId = params['TaskId'] @@ -545,9 +549,10 @@ @AudioSegments << audiosegments_tmp end end @ErrorType = params['ErrorType'] @ErrorDescription = params['ErrorDescription'] + @Label = params['Label'] @RequestId = params['RequestId'] end end # DescribeTasks请求参数结构体