tencentcloud-sdk-tcss 3.0.466 → 3.0.467
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201101/client.rb +48 -0
- data/lib/v20201101/models.rb +114 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aa0c5e0f0e323a10ec08b14912a5e15b58c0db1
|
4
|
+
data.tar.gz: f934b60625827ce159550b223cc68ab11c54a19c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13f0ce404a6dadcdc8ba3a3d31085ba735183d2fca165dba5ab64195dbf6c995a6217c2ba81cc155d1ae5ac82f3c762aff86a04defaef6f59a700b217d0f5914
|
7
|
+
data.tar.gz: 1ec2719d3c87501388060bf36fb272dde06225337da6b5997f756c34ca8b6c033a0c608d4a733bd25213531712c31e3b74ce469261e009025373d8d531fd6c8e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.467
|
data/lib/v20201101/client.rb
CHANGED
@@ -487,6 +487,54 @@ module TencentCloud
|
|
487
487
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
488
488
|
end
|
489
489
|
|
490
|
+
# 创建异常进程规则导出任务
|
491
|
+
|
492
|
+
# @param request: Request instance for CreateAbnormalProcessRulesExportJob.
|
493
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::CreateAbnormalProcessRulesExportJobRequest`
|
494
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::CreateAbnormalProcessRulesExportJobResponse`
|
495
|
+
def CreateAbnormalProcessRulesExportJob(request)
|
496
|
+
body = send_request('CreateAbnormalProcessRulesExportJob', request.serialize)
|
497
|
+
response = JSON.parse(body)
|
498
|
+
if response['Response'].key?('Error') == false
|
499
|
+
model = CreateAbnormalProcessRulesExportJobResponse.new
|
500
|
+
model.deserialize(response['Response'])
|
501
|
+
model
|
502
|
+
else
|
503
|
+
code = response['Response']['Error']['Code']
|
504
|
+
message = response['Response']['Error']['Message']
|
505
|
+
reqid = response['Response']['RequestId']
|
506
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
507
|
+
end
|
508
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
509
|
+
raise e
|
510
|
+
rescue StandardError => e
|
511
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
512
|
+
end
|
513
|
+
|
514
|
+
# 创建文件篡改规则导出任务
|
515
|
+
|
516
|
+
# @param request: Request instance for CreateAccessControlsRuleExportJob.
|
517
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::CreateAccessControlsRuleExportJobRequest`
|
518
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::CreateAccessControlsRuleExportJobResponse`
|
519
|
+
def CreateAccessControlsRuleExportJob(request)
|
520
|
+
body = send_request('CreateAccessControlsRuleExportJob', request.serialize)
|
521
|
+
response = JSON.parse(body)
|
522
|
+
if response['Response'].key?('Error') == false
|
523
|
+
model = CreateAccessControlsRuleExportJobResponse.new
|
524
|
+
model.deserialize(response['Response'])
|
525
|
+
model
|
526
|
+
else
|
527
|
+
code = response['Response']['Error']['Code']
|
528
|
+
message = response['Response']['Error']['Message']
|
529
|
+
reqid = response['Response']['RequestId']
|
530
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
531
|
+
end
|
532
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
533
|
+
raise e
|
534
|
+
rescue StandardError => e
|
535
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
536
|
+
end
|
537
|
+
|
490
538
|
# 镜像仓库创建镜像扫描任务
|
491
539
|
|
492
540
|
# @param request: Request instance for CreateAssetImageRegistryScanTask.
|
data/lib/v20201101/models.rb
CHANGED
@@ -3477,6 +3477,120 @@ module TencentCloud
|
|
3477
3477
|
end
|
3478
3478
|
end
|
3479
3479
|
|
3480
|
+
# CreateAbnormalProcessRulesExportJob请求参数结构体
|
3481
|
+
class CreateAbnormalProcessRulesExportJobRequest < TencentCloud::Common::AbstractModel
|
3482
|
+
# @param Filters: 过滤条件。
|
3483
|
+
# <li>RuleType - string - 是否必填: 否 -规则类型</li>
|
3484
|
+
# <li>Status - string - 是否必填: 否 -状态</li>
|
3485
|
+
# @type Filters: Array
|
3486
|
+
# @param Order: 排序方式
|
3487
|
+
# @type Order: String
|
3488
|
+
# @param By: 排序字段
|
3489
|
+
# @type By: String
|
3490
|
+
# @param ExportField: 导出字段
|
3491
|
+
# @type ExportField: Array
|
3492
|
+
|
3493
|
+
attr_accessor :Filters, :Order, :By, :ExportField
|
3494
|
+
|
3495
|
+
def initialize(filters=nil, order=nil, by=nil, exportfield=nil)
|
3496
|
+
@Filters = filters
|
3497
|
+
@Order = order
|
3498
|
+
@By = by
|
3499
|
+
@ExportField = exportfield
|
3500
|
+
end
|
3501
|
+
|
3502
|
+
def deserialize(params)
|
3503
|
+
unless params['Filters'].nil?
|
3504
|
+
@Filters = []
|
3505
|
+
params['Filters'].each do |i|
|
3506
|
+
runtimefilters_tmp = RunTimeFilters.new
|
3507
|
+
runtimefilters_tmp.deserialize(i)
|
3508
|
+
@Filters << runtimefilters_tmp
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
@Order = params['Order']
|
3512
|
+
@By = params['By']
|
3513
|
+
@ExportField = params['ExportField']
|
3514
|
+
end
|
3515
|
+
end
|
3516
|
+
|
3517
|
+
# CreateAbnormalProcessRulesExportJob返回参数结构体
|
3518
|
+
class CreateAbnormalProcessRulesExportJobResponse < TencentCloud::Common::AbstractModel
|
3519
|
+
# @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
|
3520
|
+
# @type JobId: String
|
3521
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3522
|
+
# @type RequestId: String
|
3523
|
+
|
3524
|
+
attr_accessor :JobId, :RequestId
|
3525
|
+
|
3526
|
+
def initialize(jobid=nil, requestid=nil)
|
3527
|
+
@JobId = jobid
|
3528
|
+
@RequestId = requestid
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
def deserialize(params)
|
3532
|
+
@JobId = params['JobId']
|
3533
|
+
@RequestId = params['RequestId']
|
3534
|
+
end
|
3535
|
+
end
|
3536
|
+
|
3537
|
+
# CreateAccessControlsRuleExportJob请求参数结构体
|
3538
|
+
class CreateAccessControlsRuleExportJobRequest < TencentCloud::Common::AbstractModel
|
3539
|
+
# @param Filters: 过滤条件。
|
3540
|
+
# <li>RuleType - string - 是否必填: 否 -规则类型</li>
|
3541
|
+
# <li>Status - string - 是否必填: 否 -状态</li>
|
3542
|
+
# @type Filters: Array
|
3543
|
+
# @param Order: 排序方式
|
3544
|
+
# @type Order: String
|
3545
|
+
# @param By: 排序字段
|
3546
|
+
# @type By: Array
|
3547
|
+
# @param ExportField: 导出字段
|
3548
|
+
# @type ExportField: Array
|
3549
|
+
|
3550
|
+
attr_accessor :Filters, :Order, :By, :ExportField
|
3551
|
+
|
3552
|
+
def initialize(filters=nil, order=nil, by=nil, exportfield=nil)
|
3553
|
+
@Filters = filters
|
3554
|
+
@Order = order
|
3555
|
+
@By = by
|
3556
|
+
@ExportField = exportfield
|
3557
|
+
end
|
3558
|
+
|
3559
|
+
def deserialize(params)
|
3560
|
+
unless params['Filters'].nil?
|
3561
|
+
@Filters = []
|
3562
|
+
params['Filters'].each do |i|
|
3563
|
+
runtimefilters_tmp = RunTimeFilters.new
|
3564
|
+
runtimefilters_tmp.deserialize(i)
|
3565
|
+
@Filters << runtimefilters_tmp
|
3566
|
+
end
|
3567
|
+
end
|
3568
|
+
@Order = params['Order']
|
3569
|
+
@By = params['By']
|
3570
|
+
@ExportField = params['ExportField']
|
3571
|
+
end
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
# CreateAccessControlsRuleExportJob返回参数结构体
|
3575
|
+
class CreateAccessControlsRuleExportJobResponse < TencentCloud::Common::AbstractModel
|
3576
|
+
# @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
|
3577
|
+
# @type JobId: String
|
3578
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3579
|
+
# @type RequestId: String
|
3580
|
+
|
3581
|
+
attr_accessor :JobId, :RequestId
|
3582
|
+
|
3583
|
+
def initialize(jobid=nil, requestid=nil)
|
3584
|
+
@JobId = jobid
|
3585
|
+
@RequestId = requestid
|
3586
|
+
end
|
3587
|
+
|
3588
|
+
def deserialize(params)
|
3589
|
+
@JobId = params['JobId']
|
3590
|
+
@RequestId = params['RequestId']
|
3591
|
+
end
|
3592
|
+
end
|
3593
|
+
|
3480
3594
|
# CreateAssetImageRegistryScanTaskOneKey请求参数结构体
|
3481
3595
|
class CreateAssetImageRegistryScanTaskOneKeyRequest < TencentCloud::Common::AbstractModel
|
3482
3596
|
# @param All: 是否扫描全部镜像
|
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: 3.0.
|
4
|
+
version: 3.0.467
|
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-12-
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|