tencentcloud-sdk-ssa 3.0.659 → 3.0.660

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e744bb31f8d96b3573d4e0406f0cd8eed75bcd28
4
- data.tar.gz: 88ef268ed7df3f01f0a07b8db91e2b4b1e503d0b
3
+ metadata.gz: 4f4e2521ade7aa4cef915cc9387bcfb94f507217
4
+ data.tar.gz: cc19bf210e79b7d557ed2af9f40d38d297a8d77c
5
5
  SHA512:
6
- metadata.gz: 8f94c2577134322f24b9e613694ee8108fb38ade33fe8901a0062204ea865846a0ee046329bc9c9a7e70d1544bfb1f4c12c7eac560e60e042a3c39f6e5a9c0dc
7
- data.tar.gz: 672d1ded69528bfe3051afc8bbe8fdfb6c6c17029b15b0ba2326bb96ca32e440b3c892f94b1e3f2a479e67065f0c082ad6b8a106e5560bb199f71affd882040b
6
+ metadata.gz: 05dbf54bb25d696c963794fdbf462e01d38a47835bc3bcacd402071300456eccb03a15685dcb9c34037236c30b098f0f39a9e12546ec33efa37abb7bca142b0b
7
+ data.tar.gz: 40e126a0cbf1fc974c12b676a66696a7e2fe78cc0e7324fdc829cbd46597787e073ac10287ca9be6043f3e5ad84a510d0d3082b15f5cbd2544cab11537cc9d6e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.659
1
+ 3.0.660
@@ -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.
@@ -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.659
4
+ version: 3.0.660
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-14 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common