tencentcloud-sdk-csip 3.0.821 → 3.0.822
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/v20221121/client.rb +24 -0
- data/lib/v20221121/models.rb +105 -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: 53659d69a17ad3f25a65ede9db3eb50da3a65e7b
|
4
|
+
data.tar.gz: f326e76ea5e6820e5954f4ae5fbc45fa2dbf077a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37f4ac753bdc94a92d9becc1071651afc611c8ba608814471c5a91a970beca7d2ef854433135bffc4f3f07bba900d9b84a618a8eb4908ce0bacdc6e3476d7f12
|
7
|
+
data.tar.gz: e53fa463ad3ba851533e81fe6bb517aeac3754751762e1054d7f092240f2546c85681996862b9c2ec3db0860d4432da64a7f8be9b5c5e5063c0647e17bc73e84
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.822
|
data/lib/v20221121/client.rb
CHANGED
@@ -965,6 +965,30 @@ module TencentCloud
|
|
965
965
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
966
|
end
|
967
967
|
|
968
|
+
# 批量告警状态处理接口
|
969
|
+
|
970
|
+
# @param request: Request instance for UpdateAlertStatusList.
|
971
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::UpdateAlertStatusListRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::UpdateAlertStatusListResponse`
|
973
|
+
def UpdateAlertStatusList(request)
|
974
|
+
body = send_request('UpdateAlertStatusList', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = UpdateAlertStatusListResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
968
992
|
|
969
993
|
end
|
970
994
|
end
|
data/lib/v20221121/models.rb
CHANGED
@@ -6418,6 +6418,50 @@ module TencentCloud
|
|
6418
6418
|
end
|
6419
6419
|
end
|
6420
6420
|
|
6421
|
+
# 该结构体用来传入告警的key,以更新告警的status
|
6422
|
+
class NewAlertKey < TencentCloud::Common::AbstractModel
|
6423
|
+
# @param AppId: 需要更改的用户appid
|
6424
|
+
# @type AppId: String
|
6425
|
+
# @param Type: 告警类别
|
6426
|
+
# @type Type: String
|
6427
|
+
# @param SubType: 告警子类别
|
6428
|
+
# @type SubType: String
|
6429
|
+
# @param Source: 告警来源
|
6430
|
+
# @type Source: String
|
6431
|
+
# @param Name: 告警名称
|
6432
|
+
# @type Name: String
|
6433
|
+
# @param Key: 告警key
|
6434
|
+
# @type Key: String
|
6435
|
+
# @param Date: 时间
|
6436
|
+
# @type Date: String
|
6437
|
+
# @param Status: 状态
|
6438
|
+
# @type Status: Integer
|
6439
|
+
|
6440
|
+
attr_accessor :AppId, :Type, :SubType, :Source, :Name, :Key, :Date, :Status
|
6441
|
+
|
6442
|
+
def initialize(appid=nil, type=nil, subtype=nil, source=nil, name=nil, key=nil, date=nil, status=nil)
|
6443
|
+
@AppId = appid
|
6444
|
+
@Type = type
|
6445
|
+
@SubType = subtype
|
6446
|
+
@Source = source
|
6447
|
+
@Name = name
|
6448
|
+
@Key = key
|
6449
|
+
@Date = date
|
6450
|
+
@Status = status
|
6451
|
+
end
|
6452
|
+
|
6453
|
+
def deserialize(params)
|
6454
|
+
@AppId = params['AppId']
|
6455
|
+
@Type = params['Type']
|
6456
|
+
@SubType = params['SubType']
|
6457
|
+
@Source = params['Source']
|
6458
|
+
@Name = params['Name']
|
6459
|
+
@Key = params['Key']
|
6460
|
+
@Date = params['Date']
|
6461
|
+
@Status = params['Status']
|
6462
|
+
end
|
6463
|
+
end
|
6464
|
+
|
6421
6465
|
# 集团账号成员详情
|
6422
6466
|
class OrganizationUserInfo < TencentCloud::Common::AbstractModel
|
6423
6467
|
# @param Uin: 成员账号Uin
|
@@ -7870,6 +7914,67 @@ module TencentCloud
|
|
7870
7914
|
end
|
7871
7915
|
end
|
7872
7916
|
|
7917
|
+
# UpdateAlertStatusList请求参数结构体
|
7918
|
+
class UpdateAlertStatusListRequest < TencentCloud::Common::AbstractModel
|
7919
|
+
# @param ID: 告警ID列表
|
7920
|
+
# @type ID: Array
|
7921
|
+
# @param OperateType: 操作类型
|
7922
|
+
# 1:撤销处置
|
7923
|
+
# 2:标记为已处置
|
7924
|
+
# 3:标记忽略
|
7925
|
+
# 4:取消标记处置
|
7926
|
+
# 5:取消标记忽略
|
7927
|
+
# @type OperateType: Integer
|
7928
|
+
# @param OperatedMemberId: 被调用的集团账号的成员id
|
7929
|
+
# @type OperatedMemberId: Array
|
7930
|
+
|
7931
|
+
attr_accessor :ID, :OperateType, :OperatedMemberId
|
7932
|
+
|
7933
|
+
def initialize(id=nil, operatetype=nil, operatedmemberid=nil)
|
7934
|
+
@ID = id
|
7935
|
+
@OperateType = operatetype
|
7936
|
+
@OperatedMemberId = operatedmemberid
|
7937
|
+
end
|
7938
|
+
|
7939
|
+
def deserialize(params)
|
7940
|
+
unless params['ID'].nil?
|
7941
|
+
@ID = []
|
7942
|
+
params['ID'].each do |i|
|
7943
|
+
newalertkey_tmp = NewAlertKey.new
|
7944
|
+
newalertkey_tmp.deserialize(i)
|
7945
|
+
@ID << newalertkey_tmp
|
7946
|
+
end
|
7947
|
+
end
|
7948
|
+
@OperateType = params['OperateType']
|
7949
|
+
@OperatedMemberId = params['OperatedMemberId']
|
7950
|
+
end
|
7951
|
+
end
|
7952
|
+
|
7953
|
+
# UpdateAlertStatusList返回参数结构体
|
7954
|
+
class UpdateAlertStatusListResponse < TencentCloud::Common::AbstractModel
|
7955
|
+
# @param Msg: 结果信息
|
7956
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7957
|
+
# @type Msg: String
|
7958
|
+
# @param Code: 结果代码
|
7959
|
+
# @type Code: String
|
7960
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7961
|
+
# @type RequestId: String
|
7962
|
+
|
7963
|
+
attr_accessor :Msg, :Code, :RequestId
|
7964
|
+
|
7965
|
+
def initialize(msg=nil, code=nil, requestid=nil)
|
7966
|
+
@Msg = msg
|
7967
|
+
@Code = code
|
7968
|
+
@RequestId = requestid
|
7969
|
+
end
|
7970
|
+
|
7971
|
+
def deserialize(params)
|
7972
|
+
@Msg = params['Msg']
|
7973
|
+
@Code = params['Code']
|
7974
|
+
@RequestId = params['RequestId']
|
7975
|
+
end
|
7976
|
+
end
|
7977
|
+
|
7873
7978
|
# 漏洞风险高级配置列表
|
7874
7979
|
class VULRiskAdvanceCFGList < TencentCloud::Common::AbstractModel
|
7875
7980
|
# @param RiskId: 风险ID
|
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.
|
4
|
+
version: 3.0.822
|
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-05-
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|