lib/v20201229/models.rb in tencentcloud-sdk-vm-3.0.590 vs lib/v20201229/models.rb in tencentcloud-sdk-vm-3.0.591
- old
+ new
@@ -59,11 +59,11 @@
# @param RecognitionResults: 识别类标签结果信息列表
# 注意:此字段可能返回 null,表示取不到有效值。
# @type RecognitionResults: Array
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults
-
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil)
@HitFlag = hitflag
@Label = label
@Suggestion = suggestion
@Score = score
@@ -140,11 +140,11 @@
# @param SubLabelCode: *内测中,敬请期待*
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SubLabelCode: String
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode
-
+
def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil)
@Label = label
@Score = score
@StartTime = starttime
@EndTime = endtime
@@ -178,11 +178,11 @@
# @type SubLabel: String
# @param Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
# @type Suggestion: String
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel, :Suggestion
-
+
def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil, suggestion=nil)
@Label = label
@Score = score
@StartTime = starttime
@EndTime = endtime
@@ -229,11 +229,11 @@
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SubLabel: String
attr_accessor :Label, :Keywords, :LibId, :LibName, :Score, :Suggestion, :LibType, :SubLabel
-
+
def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, suggestion=nil, libtype=nil, sublabel=nil)
@Label = label
@Keywords = keywords
@LibId = libid
@LibName = libname
@@ -263,11 +263,11 @@
# @param Result: 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Result: :class:`Tencentcloud::Vm.v20201229.models.AudioResult`
attr_accessor :OffsetTime, :Result
-
+
def initialize(offsettime=nil, result=nil)
@OffsetTime = offsettime
@Result = result
end
@@ -289,11 +289,11 @@
# @type Region: String
# @param Object: 该字段用于标识腾讯云对象存储的对象Key,对象z作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
# @type Object: String
attr_accessor :Bucket, :Region, :Object
-
+
def initialize(bucket=nil, region=nil, object=nil)
@Bucket = bucket
@Region = region
@Object = object
end
@@ -309,11 +309,11 @@
class CancelTaskRequest < TencentCloud::Common::AbstractModel
# @param TaskId: 该字段表示创建视频审核任务后返回的任务ID(在Results参数中),用于标识需要取消的审核任务。
# @type TaskId: String
attr_accessor :TaskId
-
+
def initialize(taskid=nil)
@TaskId = taskid
end
def deserialize(params)
@@ -325,11 +325,11 @@
class CancelTaskResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -351,11 +351,11 @@
# @type CallbackUrl: String
# @param Priority: 可选参数,该参数用于传入审核任务的优先级。当您有多个视频审核任务排队时,可以根据这个参数控制排队优先级,用于处理插队等逻辑;该参数**默认值为0**。
# @type Priority: Integer
attr_accessor :Type, :Tasks, :BizType, :Seed, :CallbackUrl, :Priority
-
+
def initialize(type=nil, tasks=nil, biztype=nil, seed=nil, callbackurl=nil, priority=nil)
@Type = type
@Tasks = tasks
@BizType = biztype
@Seed = seed
@@ -387,11 +387,11 @@
# @type Results: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Results, :RequestId
-
+
def initialize(results=nil, requestid=nil)
@Results = results
@RequestId = requestid
end
@@ -415,11 +415,11 @@
# @type TaskId: String
# @param ShowAllSegments: 该布尔字段表示是否展示全部的视频片段,取值:True(展示全部的视频分片)、False(只展示命中审核规则的视频分片);默认值为False。
# @type ShowAllSegments: Boolean
attr_accessor :TaskId, :ShowAllSegments
-
+
def initialize(taskid=nil, showallsegments=nil)
@TaskId = taskid
@ShowAllSegments = showallsegments
end
@@ -487,11 +487,11 @@
# @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, :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, label=nil, requestid=nil)
@TaskId = taskid
@DataId = dataid
@BizType = biztype
@Name = name
@@ -572,11 +572,11 @@
# @type StartTime: String
# @param EndTime: 该参数表示任务列表的结束时间,格式为ISO8601标准的时间戳。**默认值为空**,若传入该参数,则在这StartTime到这一时间之间的任务将会被筛选出来。<br>备注:该参数与Filter共同起到任务筛选作用,二者作用无先后顺序。
# @type EndTime: String
attr_accessor :Limit, :Filter, :PageToken, :StartTime, :EndTime
-
+
def initialize(limit=nil, filter=nil, pagetoken=nil, starttime=nil, endtime=nil)
@Limit = limit
@Filter = filter
@PageToken = pagetoken
@StartTime = starttime
@@ -608,11 +608,11 @@
# @type PageToken: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Total, :Data, :PageToken, :RequestId
-
+
def initialize(total=nil, data=nil, pagetoken=nil, requestid=nil)
@Total = total
@Data = data
@PageToken = pagetoken
@RequestId = requestid
@@ -660,11 +660,11 @@
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SubLabel: String
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Results, :Url, :Extra, :SubLabel
-
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil, sublabel=nil)
@HitFlag = hitflag
@Label = label
@Suggestion = suggestion
@Score = score
@@ -723,11 +723,11 @@
# @param Details: 该字段用于返回图像审核子结果的其他详细信息,如文本位置、自定义库等。详细返回内容敬请参考ImageResultsResultDetail数据结构的描述。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Details: Array
attr_accessor :Scene, :HitFlag, :Suggestion, :Label, :SubLabel, :Score, :Names, :Text, :Details
-
+
def initialize(scene=nil, hitflag=nil, suggestion=nil, label=nil, sublabel=nil, score=nil, names=nil, text=nil, details=nil)
@Scene = scene
@HitFlag = hitflag
@Suggestion = suggestion
@Label = label
@@ -791,11 +791,11 @@
# @param SubLabelCode: 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SubLabelCode: String
attr_accessor :Name, :Text, :Location, :Label, :LibId, :LibName, :Keywords, :Suggestion, :Score, :SubLabelCode
-
+
def initialize(name=nil, text=nil, location=nil, label=nil, libid=nil, libname=nil, keywords=nil, suggestion=nil, score=nil, sublabelcode=nil)
@Name = name
@Text = text
@Location = location
@Label = label
@@ -841,11 +841,11 @@
# @param Rotate: 该参数用于标识OCR检测框的旋转角度,该参数结合X和Y两个坐标参数可唯一确定检测框的具体位置;取值:0-360(**角度制**),方向为**逆时针旋**转。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Rotate: Float
attr_accessor :X, :Y, :Width, :Height, :Rotate
-
+
def initialize(x=nil, y=nil, width=nil, height=nil, rotate=nil)
@X = x
@Y = y
@Width = width
@Height = height
@@ -867,11 +867,11 @@
# @type OffsetTime: String
# @param Result: 该字段用于返回视频片段的具体截帧审核结果,详细内容敬请参考ImageResult数据结构的描述。
# @type Result: :class:`Tencentcloud::Vm.v20201229.models.ImageResult`
attr_accessor :OffsetTime, :Result
-
+
def initialize(offsettime=nil, result=nil)
@OffsetTime = offsettime
@Result = result
end
@@ -895,11 +895,11 @@
# @param BucketInfo: 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type BucketInfo: String
attr_accessor :Type, :Url, :BucketInfo
-
+
def initialize(type=nil, url=nil, bucketinfo=nil)
@Type = type
@Url = url
@BucketInfo = bucketinfo
end
@@ -915,11 +915,11 @@
class MediaInfo < TencentCloud::Common::AbstractModel
# @param Duration: 该字段用于返回对传入的视频流进行分片的片段时长,单位为秒。**默认值为5秒**,支持用户自定义配置。<br>备注:仅在审核文件为流媒体时生效;此字段返回0则代表未取到有效值。
# @type Duration: Integer
attr_accessor :Duration
-
+
def initialize(duration=nil)
@Duration = duration
end
def deserialize(params)
@@ -935,11 +935,11 @@
# @param Tags: 识别标签列表
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Tags: Array
attr_accessor :Label, :Tags
-
+
def initialize(label=nil, tags=nil)
@Label = label
@Tags = tags
end
@@ -964,11 +964,11 @@
# @type Url: String
# @param BucketInfo: 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
# @type BucketInfo: :class:`Tencentcloud::Vm.v20201229.models.BucketInfo`
attr_accessor :Type, :Url, :BucketInfo
-
+
def initialize(type=nil, url=nil, bucketinfo=nil)
@Type = type
@Url = url
@BucketInfo = bucketinfo
end
@@ -999,11 +999,11 @@
# @param EndTime: 识别结束偏移时间,单位:毫秒
# 注意:此字段可能返回 null,表示取不到有效值。
# @type EndTime: Float
attr_accessor :Name, :Score, :StartTime, :EndTime
-
+
def initialize(name=nil, score=nil, starttime=nil, endtime=nil)
@Name = name
@Score = score
@StartTime = starttime
@EndTime = endtime
@@ -1053,11 +1053,11 @@
# @param InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址
# 注意:此字段可能返回 null,表示取不到有效值。
# @type InputInfo: :class:`Tencentcloud::Vm.v20201229.models.InputInfo`
attr_accessor :DataId, :TaskId, :Status, :Name, :BizType, :Type, :Suggestion, :Labels, :MediaInfo, :CreatedAt, :UpdatedAt, :InputInfo
-
+
def initialize(dataid=nil, taskid=nil, status=nil, name=nil, biztype=nil, type=nil, suggestion=nil, labels=nil, mediainfo=nil, createdat=nil, updatedat=nil, inputinfo=nil)
@DataId = dataid
@TaskId = taskid
@Status = status
@Name = name
@@ -1110,11 +1110,11 @@
# @type Suggestion: String
# @param TaskStatus: 该字段用于传入审核任务的任务状态供筛选器进行筛选,取值为:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。<br>备注:在不传入该参数时筛选器默认不筛选任务状态。
# @type TaskStatus: String
attr_accessor :BizType, :Type, :Suggestion, :TaskStatus
-
+
def initialize(biztype=nil, type=nil, suggestion=nil, taskstatus=nil)
@BizType = biztype
@Type = type
@Suggestion = suggestion
@TaskStatus = taskstatus
@@ -1136,11 +1136,11 @@
# @type Name: String
# @param Input: 必填参数,该字段表示审核文件的访问参数,用于获取审核媒体文件,该参数内包括访问类型和访问地址。
# @type Input: :class:`Tencentcloud::Vm.v20201229.models.StorageInfo`
attr_accessor :DataId, :Name, :Input
-
+
def initialize(dataid=nil, name=nil, input=nil)
@DataId = dataid
@Name = name
@Input = input
end
@@ -1169,11 +1169,11 @@
# @param SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SubLabel: String
attr_accessor :Label, :Suggestion, :Score, :SubLabel
-
+
def initialize(label=nil, suggestion=nil, score=nil, sublabel=nil)
@Label = label
@Suggestion = suggestion
@Score = score
@SubLabel = sublabel
@@ -1201,10 +1201,10 @@
# @param Message: **仅在Code的返回值为错误码时生效**,用于返回错误的详情内容。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Message: String
attr_accessor :DataId, :TaskId, :Code, :Message
-
+
def initialize(dataid=nil, taskid=nil, code=nil, message=nil)
@DataId = dataid
@TaskId = taskid
@Code = code
@Message = message