tencentcloud-sdk-cwp 3.0.452 → 3.0.453
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/v20180228/client.rb +24 -0
- data/lib/v20180228/models.rb +99 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5e0c6fabc7c0022db7caaeeb1d1abde29427220
|
4
|
+
data.tar.gz: cf4fb4a18e9b84ab1cf5625faa772ef9051dbb52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42f0fa537bf90124e0d3ceedbfe3e0bba6039ea73e6aa118d55ad423bbd778bb049f365e84490ebb7620804339fc380ff9456c0c52e747b6005d46b821cddf45
|
7
|
+
data.tar.gz: 30ca0e2350bd682191c43671d8bc239fc6dc6dd5bddb4e07d069cf4373303fab548147a62c1b24f0259e6414d3a6c6784da07b90864d8d1ad02a4d3e9870165c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.453
|
data/lib/v20180228/client.rb
CHANGED
@@ -2168,6 +2168,30 @@ module TencentCloud
|
|
2168
2168
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2169
2169
|
end
|
2170
2170
|
|
2171
|
+
# 获取客户端异常事件
|
2172
|
+
|
2173
|
+
# @param request: Request instance for DescribeClientException.
|
2174
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeClientExceptionRequest`
|
2175
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeClientExceptionResponse`
|
2176
|
+
def DescribeClientException(request)
|
2177
|
+
body = send_request('DescribeClientException', request.serialize)
|
2178
|
+
response = JSON.parse(body)
|
2179
|
+
if response['Response'].key?('Error') == false
|
2180
|
+
model = DescribeClientExceptionResponse.new
|
2181
|
+
model.deserialize(response['Response'])
|
2182
|
+
model
|
2183
|
+
else
|
2184
|
+
code = response['Response']['Error']['Code']
|
2185
|
+
message = response['Response']['Error']['Message']
|
2186
|
+
reqid = response['Response']['RequestId']
|
2187
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2188
|
+
end
|
2189
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2190
|
+
raise e
|
2191
|
+
rescue StandardError => e
|
2192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2193
|
+
end
|
2194
|
+
|
2171
2195
|
# 本接口 (DescribeComponentStatistics) 用于获取组件统计列表数据。
|
2172
2196
|
|
2173
2197
|
# @param request: Request instance for DescribeComponentStatistics.
|
data/lib/v20180228/models.rb
CHANGED
@@ -8628,6 +8628,69 @@ module TencentCloud
|
|
8628
8628
|
end
|
8629
8629
|
end
|
8630
8630
|
|
8631
|
+
# DescribeClientException请求参数结构体
|
8632
|
+
class DescribeClientExceptionRequest < TencentCloud::Common::AbstractModel
|
8633
|
+
# @param ExceptionType: 客户端异常类型 1:客户端离线,2:客户端卸载
|
8634
|
+
# @type ExceptionType: Integer
|
8635
|
+
# @param Offset: 分页的偏移量
|
8636
|
+
# @type Offset: Integer
|
8637
|
+
# @param Limit: 分页单页限制数目,不为0,最大值100
|
8638
|
+
# @type Limit: Integer
|
8639
|
+
# @param StartTime: 起始时间 `2006-01-02 15:04:05` 格式
|
8640
|
+
# @type StartTime: String
|
8641
|
+
# @param EndTime: 结束时间 `2006-01-02 15:04:05` 格式
|
8642
|
+
# @type EndTime: String
|
8643
|
+
|
8644
|
+
attr_accessor :ExceptionType, :Offset, :Limit, :StartTime, :EndTime
|
8645
|
+
|
8646
|
+
def initialize(exceptiontype=nil, offset=nil, limit=nil, starttime=nil, endtime=nil)
|
8647
|
+
@ExceptionType = exceptiontype
|
8648
|
+
@Offset = offset
|
8649
|
+
@Limit = limit
|
8650
|
+
@StartTime = starttime
|
8651
|
+
@EndTime = endtime
|
8652
|
+
end
|
8653
|
+
|
8654
|
+
def deserialize(params)
|
8655
|
+
@ExceptionType = params['ExceptionType']
|
8656
|
+
@Offset = params['Offset']
|
8657
|
+
@Limit = params['Limit']
|
8658
|
+
@StartTime = params['StartTime']
|
8659
|
+
@EndTime = params['EndTime']
|
8660
|
+
end
|
8661
|
+
end
|
8662
|
+
|
8663
|
+
# DescribeClientException返回参数结构体
|
8664
|
+
class DescribeClientExceptionResponse < TencentCloud::Common::AbstractModel
|
8665
|
+
# @param TotalCount: 事件总数量
|
8666
|
+
# @type TotalCount: Integer
|
8667
|
+
# @param Records: 事件详情
|
8668
|
+
# @type Records: Array
|
8669
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8670
|
+
# @type RequestId: String
|
8671
|
+
|
8672
|
+
attr_accessor :TotalCount, :Records, :RequestId
|
8673
|
+
|
8674
|
+
def initialize(totalcount=nil, records=nil, requestid=nil)
|
8675
|
+
@TotalCount = totalcount
|
8676
|
+
@Records = records
|
8677
|
+
@RequestId = requestid
|
8678
|
+
end
|
8679
|
+
|
8680
|
+
def deserialize(params)
|
8681
|
+
@TotalCount = params['TotalCount']
|
8682
|
+
unless params['Records'].nil?
|
8683
|
+
@Records = []
|
8684
|
+
params['Records'].each do |i|
|
8685
|
+
recordinfo_tmp = RecordInfo.new
|
8686
|
+
recordinfo_tmp.deserialize(i)
|
8687
|
+
@Records << recordinfo_tmp
|
8688
|
+
end
|
8689
|
+
end
|
8690
|
+
@RequestId = params['RequestId']
|
8691
|
+
end
|
8692
|
+
end
|
8693
|
+
|
8631
8694
|
# DescribeComponentStatistics请求参数结构体
|
8632
8695
|
class DescribeComponentStatisticsRequest < TencentCloud::Common::AbstractModel
|
8633
8696
|
# @param Limit: 返回数量,默认为10,最大值为100。
|
@@ -18081,6 +18144,42 @@ module TencentCloud
|
|
18081
18144
|
end
|
18082
18145
|
end
|
18083
18146
|
|
18147
|
+
# 客户端异常信息结构
|
18148
|
+
class RecordInfo < TencentCloud::Common::AbstractModel
|
18149
|
+
# @param HostIP: 主机ip
|
18150
|
+
# @type HostIP: String
|
18151
|
+
# @param InstanceID: 主机实例id
|
18152
|
+
# @type InstanceID: String
|
18153
|
+
# @param OfflineTime: 客户端离线时间
|
18154
|
+
# @type OfflineTime: String
|
18155
|
+
# @param UninstallTime: 客户端卸载时间
|
18156
|
+
# @type UninstallTime: String
|
18157
|
+
# @param UninstallCmd: 客户端卸载调用链
|
18158
|
+
# @type UninstallCmd: String
|
18159
|
+
# @param Uuid: 客户端uuid
|
18160
|
+
# @type Uuid: String
|
18161
|
+
|
18162
|
+
attr_accessor :HostIP, :InstanceID, :OfflineTime, :UninstallTime, :UninstallCmd, :Uuid
|
18163
|
+
|
18164
|
+
def initialize(hostip=nil, instanceid=nil, offlinetime=nil, uninstalltime=nil, uninstallcmd=nil, uuid=nil)
|
18165
|
+
@HostIP = hostip
|
18166
|
+
@InstanceID = instanceid
|
18167
|
+
@OfflineTime = offlinetime
|
18168
|
+
@UninstallTime = uninstalltime
|
18169
|
+
@UninstallCmd = uninstallcmd
|
18170
|
+
@Uuid = uuid
|
18171
|
+
end
|
18172
|
+
|
18173
|
+
def deserialize(params)
|
18174
|
+
@HostIP = params['HostIP']
|
18175
|
+
@InstanceID = params['InstanceID']
|
18176
|
+
@OfflineTime = params['OfflineTime']
|
18177
|
+
@UninstallTime = params['UninstallTime']
|
18178
|
+
@UninstallCmd = params['UninstallCmd']
|
18179
|
+
@Uuid = params['Uuid']
|
18180
|
+
end
|
18181
|
+
end
|
18182
|
+
|
18084
18183
|
# RecoverMalwares请求参数结构体
|
18085
18184
|
class RecoverMalwaresRequest < TencentCloud::Common::AbstractModel
|
18086
18185
|
# @param Ids: 木马Id数组(最大100条)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.453
|
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-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20180228/models.rb
|
37
|
-
- lib/v20180228/client.rb
|
38
36
|
- lib/tencentcloud-sdk-cwp.rb
|
37
|
+
- lib/v20180228/client.rb
|
38
|
+
- lib/v20180228/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|