tencentcloud-sdk-ssa 3.0.659 → 3.0.661
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/v20180608/client.rb +24 -0
- data/lib/v20180608/models.rb +91 -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: 3adc38ab0d228c3b7d1c6e886b7c79dac54d7c2c
|
4
|
+
data.tar.gz: 40a4816242c62f91c06b958a88cfbfc3ce735b9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cd836f8b03a4496e104d6dcd80ef095d806939a03ddb01c912c26b3975d226f93dbf692972333680b6725d4e73d1f2d499bb4a73eb9552e12a623dfccf16b3
|
7
|
+
data.tar.gz: 88877232f0d520044cfb22af3574bd7488a6f8ee1c559fbbb90429ccbe2ab40dc548e0d6455b72d8826d7a9a8c401458917f30e90ca9668b799d88b2591d0e18
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.661
|
data/lib/v20180608/client.rb
CHANGED
@@ -605,6 +605,30 @@ module TencentCloud
|
|
605
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
606
|
end
|
607
607
|
|
608
|
+
# SaDivulgeScanRuleMutate
|
609
|
+
|
610
|
+
# @param request: Request instance for SaDivulgeScanRuleMutate.
|
611
|
+
# @type request: :class:`Tencentcloud::ssa::V20180608::SaDivulgeScanRuleMutateRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::ssa::V20180608::SaDivulgeScanRuleMutateResponse`
|
613
|
+
def SaDivulgeScanRuleMutate(request)
|
614
|
+
body = send_request('SaDivulgeScanRuleMutate', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = SaDivulgeScanRuleMutateResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
608
632
|
# 安全事件通用字段
|
609
633
|
|
610
634
|
# @param request: Request instance for SaEventPub.
|
data/lib/v20180608/models.rb
CHANGED
@@ -3959,6 +3959,97 @@ module TencentCloud
|
|
3959
3959
|
end
|
3960
3960
|
end
|
3961
3961
|
|
3962
|
+
# SaDivulgeScanRuleMutate请求参数结构体
|
3963
|
+
class SaDivulgeScanRuleMutateRequest < TencentCloud::Common::AbstractModel
|
3964
|
+
# @param Id: Id
|
3965
|
+
# @type Id: String
|
3966
|
+
# @param DivulgeSoure: DivulgeSoure
|
3967
|
+
# @type DivulgeSoure: String
|
3968
|
+
# @param DivulgeSoureUrl: DivulgeSoureUrl
|
3969
|
+
# @type DivulgeSoureUrl: String
|
3970
|
+
# @param RuleName: RuleName
|
3971
|
+
# @type RuleName: String
|
3972
|
+
# @param RuleWord: RuleWord
|
3973
|
+
# @type RuleWord: String
|
3974
|
+
# @param ScanStatus: ScanStatus
|
3975
|
+
# @type ScanStatus: String
|
3976
|
+
# @param DivulgeType: DivulgeType
|
3977
|
+
# @type DivulgeType: String
|
3978
|
+
# @param RepairAdvice: RepairAdvice
|
3979
|
+
# @type RepairAdvice: String
|
3980
|
+
|
3981
|
+
attr_accessor :Id, :DivulgeSoure, :DivulgeSoureUrl, :RuleName, :RuleWord, :ScanStatus, :DivulgeType, :RepairAdvice
|
3982
|
+
|
3983
|
+
def initialize(id=nil, divulgesoure=nil, divulgesoureurl=nil, rulename=nil, ruleword=nil, scanstatus=nil, divulgetype=nil, repairadvice=nil)
|
3984
|
+
@Id = id
|
3985
|
+
@DivulgeSoure = divulgesoure
|
3986
|
+
@DivulgeSoureUrl = divulgesoureurl
|
3987
|
+
@RuleName = rulename
|
3988
|
+
@RuleWord = ruleword
|
3989
|
+
@ScanStatus = scanstatus
|
3990
|
+
@DivulgeType = divulgetype
|
3991
|
+
@RepairAdvice = repairadvice
|
3992
|
+
end
|
3993
|
+
|
3994
|
+
def deserialize(params)
|
3995
|
+
@Id = params['Id']
|
3996
|
+
@DivulgeSoure = params['DivulgeSoure']
|
3997
|
+
@DivulgeSoureUrl = params['DivulgeSoureUrl']
|
3998
|
+
@RuleName = params['RuleName']
|
3999
|
+
@RuleWord = params['RuleWord']
|
4000
|
+
@ScanStatus = params['ScanStatus']
|
4001
|
+
@DivulgeType = params['DivulgeType']
|
4002
|
+
@RepairAdvice = params['RepairAdvice']
|
4003
|
+
end
|
4004
|
+
end
|
4005
|
+
|
4006
|
+
# SaDivulgeScanRuleMutate返回参数结构体
|
4007
|
+
class SaDivulgeScanRuleMutateResponse < TencentCloud::Common::AbstractModel
|
4008
|
+
# @param Data: Data
|
4009
|
+
# @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SaDivulgeScanRuleSetList`
|
4010
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4011
|
+
# @type RequestId: String
|
4012
|
+
|
4013
|
+
attr_accessor :Data, :RequestId
|
4014
|
+
|
4015
|
+
def initialize(data=nil, requestid=nil)
|
4016
|
+
@Data = data
|
4017
|
+
@RequestId = requestid
|
4018
|
+
end
|
4019
|
+
|
4020
|
+
def deserialize(params)
|
4021
|
+
unless params['Data'].nil?
|
4022
|
+
@Data = SaDivulgeScanRuleSetList.new
|
4023
|
+
@Data.deserialize(params['Data'])
|
4024
|
+
end
|
4025
|
+
@RequestId = params['RequestId']
|
4026
|
+
end
|
4027
|
+
end
|
4028
|
+
|
4029
|
+
# 设置_泄露监测产品监测扫描规则策略
|
4030
|
+
class SaDivulgeScanRuleSetList < TencentCloud::Common::AbstractModel
|
4031
|
+
# @param Value: Value
|
4032
|
+
# @type Value: String
|
4033
|
+
# @param Code: Code
|
4034
|
+
# @type Code: Integer
|
4035
|
+
# @param Message: Message
|
4036
|
+
# @type Message: String
|
4037
|
+
|
4038
|
+
attr_accessor :Value, :Code, :Message
|
4039
|
+
|
4040
|
+
def initialize(value=nil, code=nil, message=nil)
|
4041
|
+
@Value = value
|
4042
|
+
@Code = code
|
4043
|
+
@Message = message
|
4044
|
+
end
|
4045
|
+
|
4046
|
+
def deserialize(params)
|
4047
|
+
@Value = params['Value']
|
4048
|
+
@Code = params['Code']
|
4049
|
+
@Message = params['Message']
|
4050
|
+
end
|
4051
|
+
end
|
4052
|
+
|
3962
4053
|
# SaEventPub请求参数结构体
|
3963
4054
|
class SaEventPubRequest < TencentCloud::Common::AbstractModel
|
3964
4055
|
# @param Asset: 受影响资产
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ssa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.661
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|