lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.571 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.572
- old
+ new
@@ -12978,23 +12978,27 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Images: Array
# @param Id: 自动以扫描镜像Id
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Id: Array
+ # @param Latest: 是否扫描最新版本镜像
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Latest: Boolean
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :RequestId
+ attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :RequestId
- def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, requestid=nil)
+ def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, latest=nil, requestid=nil)
@Enable = enable
@ScanTime = scantime
@ScanPeriod = scanperiod
@ScanType = scantype
@All = all
@Images = images
@Id = id
+ @Latest = latest
@RequestId = requestid
end
def deserialize(params)
@Enable = params['Enable']
@@ -13009,10 +13013,11 @@
imageinfo_tmp.deserialize(i)
@Images << imageinfo_tmp
end
end
@Id = params['Id']
+ @Latest = params['Latest']
@RequestId = params['RequestId']
end
end
# DescribeImageRiskSummary请求参数结构体
@@ -25431,21 +25436,24 @@
# @type Images: Array
# @param All: 是否扫描所有
# @type All: Boolean
# @param Id: 扫描镜像Id
# @type Id: Array
+ # @param Latest: 是否扫描最新版本
+ # @type Latest: Boolean
- attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id
+ attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest
- def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil)
+ def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil, latest=nil)
@ScanPeriod = scanperiod
@Enable = enable
@ScanTime = scantime
@ScanType = scantype
@Images = images
@All = all
@Id = id
+ @Latest = latest
end
def deserialize(params)
@ScanPeriod = params['ScanPeriod']
@Enable = params['Enable']
@@ -25459,9 +25467,10 @@
@Images << imageinfo_tmp
end
end
@All = params['All']
@Id = params['Id']
+ @Latest = params['Latest']
end
end
# UpdateImageRegistryTimingScanTask返回参数结构体
class UpdateImageRegistryTimingScanTaskResponse < TencentCloud::Common::AbstractModel