tencentcloud-sdk-tcss 3.0.466 → 3.0.468
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: c9c6f72d1acaa53adec7f023e443f0af690de8eb
|
4
|
+
data.tar.gz: f9a9266c28d240827f01a2b019d53f0c44a5975e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbc896dead8f4dfc98852652877e44a0db6372440b39952474fa23773dc41ff9bc0b9a7836860c10198a0f226d493a27fa8c31be3da549969f67ab576a0a2b79
|
7
|
+
data.tar.gz: b15aed5df43c1a88b6eb21b3e8416e4300382ac29ccbb3d4dce2216f2e0b82b6ddf7b5feb55ffeba02c1502c275a01d4f6b64adc2193d2dd682f702877f9db19
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.468
|
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.468
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|