tencentcloud-sdk-csip 3.0.772 → 3.0.773

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: e5761220d64a016b717795e8d4d20618126b9c3b
4
- data.tar.gz: 5fbcbf262769c3412075cbf77feeeed360382ad0
3
+ metadata.gz: 5a524ed170939e8c938df1dc4a06b35c2ff6a1ce
4
+ data.tar.gz: d669696f7e16e6e2cc14d7263084763779154c80
5
5
  SHA512:
6
- metadata.gz: 21948a51446d9a7bc2f81345a56a305b3fcfad880211758ea34725189d767258eefac55df6403c3e58fafa41559899edfc548138a263ee69c121ab524a33cb55
7
- data.tar.gz: 4f0b040933d1b294ebb841f859c1f62853cf921873d4d61fc93c6f676bae1a763eb2c9c5a9671db5bcb49fe2acd757f5f203b61f804fe514581391b3cc5f73c2
6
+ metadata.gz: 07d6d08369e2d399eec8f3ceb0f6f1f59412a157c855c49954207b7a62a1f94f49f55def21d20ddf6bdd30d97bc8a699f195c2098ef387214240192592281d45
7
+ data.tar.gz: f520caf575ed6e979ac457ab4fd3a7b68ed6a2f6ca88c8628773e10201fa3e539e752f4d1b40ab614bc91a24e3540bfb21ff13fb8a178afa7553c9a5fa4fd8b1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.772
1
+ 3.0.773
@@ -749,6 +749,30 @@ module TencentCloud
749
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
750
  end
751
751
 
752
+ # 查询TOP攻击信息
753
+
754
+ # @param request: Request instance for DescribeTopAttackInfo.
755
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeTopAttackInfoRequest`
756
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeTopAttackInfoResponse`
757
+ def DescribeTopAttackInfo(request)
758
+ body = send_request('DescribeTopAttackInfo', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DescribeTopAttackInfoResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
752
776
  # 查询漏洞风险高级配置
753
777
 
754
778
  # @param request: Request instance for DescribeVULRiskAdvanceCFGList.
@@ -4189,6 +4189,49 @@ module TencentCloud
4189
4189
  end
4190
4190
  end
4191
4191
 
4192
+ # DescribeTopAttackInfo请求参数结构体
4193
+ class DescribeTopAttackInfoRequest < TencentCloud::Common::AbstractModel
4194
+ # @param OperatedMemberId: 被调用的集团账号的成员id
4195
+ # @type OperatedMemberId: Array
4196
+
4197
+ attr_accessor :OperatedMemberId
4198
+
4199
+ def initialize(operatedmemberid=nil)
4200
+ @OperatedMemberId = operatedmemberid
4201
+ end
4202
+
4203
+ def deserialize(params)
4204
+ @OperatedMemberId = params['OperatedMemberId']
4205
+ end
4206
+ end
4207
+
4208
+ # DescribeTopAttackInfo返回参数结构体
4209
+ class DescribeTopAttackInfoResponse < TencentCloud::Common::AbstractModel
4210
+ # @param TopAttackInfo: Top攻击类型/攻击者次数
4211
+ # @type TopAttackInfo: Array
4212
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4213
+ # @type RequestId: String
4214
+
4215
+ attr_accessor :TopAttackInfo, :RequestId
4216
+
4217
+ def initialize(topattackinfo=nil, requestid=nil)
4218
+ @TopAttackInfo = topattackinfo
4219
+ @RequestId = requestid
4220
+ end
4221
+
4222
+ def deserialize(params)
4223
+ unless params['TopAttackInfo'].nil?
4224
+ @TopAttackInfo = []
4225
+ params['TopAttackInfo'].each do |i|
4226
+ tagcount_tmp = TagCount.new
4227
+ tagcount_tmp.deserialize(i)
4228
+ @TopAttackInfo << tagcount_tmp
4229
+ end
4230
+ end
4231
+ @RequestId = params['RequestId']
4232
+ end
4233
+ end
4234
+
4192
4235
  # DescribeVULRiskAdvanceCFGList请求参数结构体
4193
4236
  class DescribeVULRiskAdvanceCFGListRequest < TencentCloud::Common::AbstractModel
4194
4237
  # @param MemberId: 集团账号的成员id
@@ -6266,6 +6309,28 @@ module TencentCloud
6266
6309
  end
6267
6310
  end
6268
6311
 
6312
+ # 产品日志条数
6313
+ class TagCount < TencentCloud::Common::AbstractModel
6314
+ # @param Name: 产品名
6315
+ # 注意:此字段可能返回 null,表示取不到有效值。
6316
+ # @type Name: String
6317
+ # @param Count: 日志条数
6318
+ # 注意:此字段可能返回 null,表示取不到有效值。
6319
+ # @type Count: Integer
6320
+
6321
+ attr_accessor :Name, :Count
6322
+
6323
+ def initialize(name=nil, count=nil)
6324
+ @Name = name
6325
+ @Count = count
6326
+ end
6327
+
6328
+ def deserialize(params)
6329
+ @Name = params['Name']
6330
+ @Count = params['Count']
6331
+ end
6332
+ end
6333
+
6269
6334
  # 主机标签信息
6270
6335
  class Tags < TencentCloud::Common::AbstractModel
6271
6336
  # @param TagKey: 无
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-csip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.772
4
+ version: 3.0.773
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-29 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common