tencentcloud-sdk-tcss 1.0.247 → 1.0.248

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201101/models.rb +47 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62b20f4493b5cc82cf90a77135956bf8a469a208
4
- data.tar.gz: be28bc5706a1bcfdf54089f5713bd16f381afa52
3
+ metadata.gz: 54f7bb2b5b5dba4aefa81739e1ba2c680b1b6f74
4
+ data.tar.gz: 0e9639b583bf363ad7e4e4dde616cbdd33f4200c
5
5
  SHA512:
6
- metadata.gz: f7f235ebee84f60ca86e7f0c1e30bdf7f597f9dccd5c113ac225a3a9f49beea26942ab1db0e5ef0ee642aa535d2823fbd0b8da2772b3b156846c9fcb474dd6df
7
- data.tar.gz: 306890396b9f01faa105c1b9cbe03da672a278e7928f775188e5b2262201a49fd64997c8575a3067e5231e85bdbb458084ac34eb2a9fe2610f8281de12ecc31e
6
+ metadata.gz: 685341e77db73663b93bf5462df8713222c6bd91e6ba401d57fe789b7da88fe6e9a4a6eca88f05aadc7f4b4cb8ce9a182764f59056d0dde92ba8581ee9832a12
7
+ data.tar.gz: c94ceddc851410f77aec0e251d56103b40931dfd4beadbfd3446c3632f216e4d427d1175d0aea85788f7fbcd840c0fd3c31cf99eca22a5fad59d62408c3b5953
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.247
1
+ 1.0.248
@@ -2473,25 +2473,31 @@ module TencentCloud
2473
2473
 
2474
2474
  # CreateAssetImageScanTask请求参数结构体
2475
2475
  class CreateAssetImageScanTaskRequest < TencentCloud::Common::AbstractModel
2476
- # @param All: 是否扫描全部镜像
2476
+ # @param All: 是否扫描全部镜像;全部镜像,镜像列表和根据过滤条件筛选三选一。
2477
2477
  # @type All: Boolean
2478
- # @param Images: 需要扫描的镜像列表
2478
+ # @param Images: 需要扫描的镜像列表;全部镜像,镜像列表和根据过滤条件筛选三选一。
2479
2479
  # @type Images: Array
2480
- # @param ScanVul: 扫描漏洞
2480
+ # @param ScanVul: 扫描漏洞;漏洞,木马和风险需选其一
2481
2481
  # @type ScanVul: Boolean
2482
- # @param ScanVirus: 扫描木马
2482
+ # @param ScanVirus: 扫描木马;漏洞,木马和风险需选其一
2483
2483
  # @type ScanVirus: Boolean
2484
- # @param ScanRisk: 扫描风险
2484
+ # @param ScanRisk: 扫描风险;漏洞,木马和风险需选其一
2485
2485
  # @type ScanRisk: Boolean
2486
+ # @param Filters: 根据过滤条件筛选出镜像;全部镜像,镜像列表和根据过滤条件筛选三选一。
2487
+ # @type Filters: Array
2488
+ # @param ExcludeImageIds: 根据过滤条件筛选出镜像,再排除个别镜像
2489
+ # @type ExcludeImageIds: Array
2486
2490
 
2487
- attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk
2491
+ attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds
2488
2492
 
2489
- def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil)
2493
+ def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil)
2490
2494
  @All = all
2491
2495
  @Images = images
2492
2496
  @ScanVul = scanvul
2493
2497
  @ScanVirus = scanvirus
2494
2498
  @ScanRisk = scanrisk
2499
+ @Filters = filters
2500
+ @ExcludeImageIds = excludeimageids
2495
2501
  end
2496
2502
 
2497
2503
  def deserialize(params)
@@ -2500,6 +2506,15 @@ module TencentCloud
2500
2506
  @ScanVul = params['ScanVul']
2501
2507
  @ScanVirus = params['ScanVirus']
2502
2508
  @ScanRisk = params['ScanRisk']
2509
+ unless params['Filters'].nil?
2510
+ @Filters = []
2511
+ params['Filters'].each do |i|
2512
+ assetfilters_tmp = AssetFilters.new
2513
+ assetfilters_tmp.deserialize(i)
2514
+ @Filters << assetfilters_tmp
2515
+ end
2516
+ end
2517
+ @ExcludeImageIds = params['ExcludeImageIds']
2503
2518
  end
2504
2519
  end
2505
2520
 
@@ -8284,16 +8299,19 @@ module TencentCloud
8284
8299
  # @type ScannedImageCnt: Integer
8285
8300
  # @param NotScannedImageCnt: 未开启扫描镜像数
8286
8301
  # @type NotScannedImageCnt: Integer
8302
+ # @param NotScannedLocalImageCnt: 本地未开启扫描镜像数
8303
+ # @type NotScannedLocalImageCnt: Integer
8287
8304
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8288
8305
  # @type RequestId: String
8289
8306
 
8290
- attr_accessor :TotalAuthorizedCnt, :UsedAuthorizedCnt, :ScannedImageCnt, :NotScannedImageCnt, :RequestId
8307
+ attr_accessor :TotalAuthorizedCnt, :UsedAuthorizedCnt, :ScannedImageCnt, :NotScannedImageCnt, :NotScannedLocalImageCnt, :RequestId
8291
8308
 
8292
- def initialize(totalauthorizedcnt=nil, usedauthorizedcnt=nil, scannedimagecnt=nil, notscannedimagecnt=nil, requestid=nil)
8309
+ def initialize(totalauthorizedcnt=nil, usedauthorizedcnt=nil, scannedimagecnt=nil, notscannedimagecnt=nil, notscannedlocalimagecnt=nil, requestid=nil)
8293
8310
  @TotalAuthorizedCnt = totalauthorizedcnt
8294
8311
  @UsedAuthorizedCnt = usedauthorizedcnt
8295
8312
  @ScannedImageCnt = scannedimagecnt
8296
8313
  @NotScannedImageCnt = notscannedimagecnt
8314
+ @NotScannedLocalImageCnt = notscannedlocalimagecnt
8297
8315
  @RequestId = requestid
8298
8316
  end
8299
8317
 
@@ -8302,6 +8320,7 @@ module TencentCloud
8302
8320
  @UsedAuthorizedCnt = params['UsedAuthorizedCnt']
8303
8321
  @ScannedImageCnt = params['ScannedImageCnt']
8304
8322
  @NotScannedImageCnt = params['NotScannedImageCnt']
8323
+ @NotScannedLocalImageCnt = params['NotScannedLocalImageCnt']
8305
8324
  @RequestId = params['RequestId']
8306
8325
  end
8307
8326
  end
@@ -11960,21 +11979,36 @@ module TencentCloud
11960
11979
 
11961
11980
  # ModifyAssetImageScanStop请求参数结构体
11962
11981
  class ModifyAssetImageScanStopRequest < TencentCloud::Common::AbstractModel
11963
- # @param TaskID: 任务id
11982
+ # @param TaskID: 任务id;任务id,镜像id和根据过滤条件筛选三选一。
11964
11983
  # @type TaskID: String
11965
- # @param Images: 镜像id
11984
+ # @param Images: 镜像id;任务id,镜像id和根据过滤条件筛选三选一。
11966
11985
  # @type Images: Array
11986
+ # @param Filters: 根据过滤条件筛选出镜像;任务id,镜像id和根据过滤条件筛选三选一。
11987
+ # @type Filters: Array
11988
+ # @param ExcludeImageIds: 根据过滤条件筛选出镜像,再排除个别镜像
11989
+ # @type ExcludeImageIds: String
11967
11990
 
11968
- attr_accessor :TaskID, :Images
11991
+ attr_accessor :TaskID, :Images, :Filters, :ExcludeImageIds
11969
11992
 
11970
- def initialize(taskid=nil, images=nil)
11993
+ def initialize(taskid=nil, images=nil, filters=nil, excludeimageids=nil)
11971
11994
  @TaskID = taskid
11972
11995
  @Images = images
11996
+ @Filters = filters
11997
+ @ExcludeImageIds = excludeimageids
11973
11998
  end
11974
11999
 
11975
12000
  def deserialize(params)
11976
12001
  @TaskID = params['TaskID']
11977
12002
  @Images = params['Images']
12003
+ unless params['Filters'].nil?
12004
+ @Filters = []
12005
+ params['Filters'].each do |i|
12006
+ assetfilters_tmp = AssetFilters.new
12007
+ assetfilters_tmp.deserialize(i)
12008
+ @Filters << assetfilters_tmp
12009
+ end
12010
+ end
12011
+ @ExcludeImageIds = params['ExcludeImageIds']
11978
12012
  end
11979
12013
  end
11980
12014
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.247
4
+ version: 1.0.248
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common