tencentcloud-sdk-cloudaudit 1.0.253 → 1.0.257
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/v20190319/client.rb +24 -0
- data/lib/v20190319/models.rb +27 -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: 2985d25d361be64dcf85be1c3509c5b24e67aa3b
|
4
|
+
data.tar.gz: 083401ef7aec8288e934128ae671bb9af04603a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a02aca9898b5c3ba8137983a9457bff0304e9bb7b23efa78c2b4d8af57d6ef8700ed1fb9d5990756777b31b0011fae8a98dfd3421fa3ff9a847e06d5bc9736
|
7
|
+
data.tar.gz: e7a41000bf6ed17d3585f9beba2c4f3e5eea037783a2170cd9a96c7230858114a001cc6567a7b170ac6e235bd57bdbc3cbe6168c871f5703991ce41859f13221
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.257
|
data/lib/v20190319/client.rb
CHANGED
@@ -105,6 +105,30 @@ module TencentCloud
|
|
105
105
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
106
106
|
end
|
107
107
|
|
108
|
+
# 查询云审计跟踪集列表
|
109
|
+
|
110
|
+
# @param request: Request instance for DescribeAuditTracks.
|
111
|
+
# @type request: :class:`Tencentcloud::cloudaudit::V20190319::DescribeAuditTracksRequest`
|
112
|
+
# @rtype: :class:`Tencentcloud::cloudaudit::V20190319::DescribeAuditTracksResponse`
|
113
|
+
def DescribeAuditTracks(request)
|
114
|
+
body = send_request('DescribeAuditTracks', request.serialize)
|
115
|
+
response = JSON.parse(body)
|
116
|
+
if response['Response'].key?('Error') == false
|
117
|
+
model = DescribeAuditTracksResponse.new
|
118
|
+
model.deserialize(response['Response'])
|
119
|
+
model
|
120
|
+
else
|
121
|
+
code = response['Response']['Error']['Code']
|
122
|
+
message = response['Response']['Error']['Message']
|
123
|
+
reqid = response['Response']['RequestId']
|
124
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
125
|
+
end
|
126
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
127
|
+
raise e
|
128
|
+
rescue StandardError => e
|
129
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
130
|
+
end
|
131
|
+
|
108
132
|
# 查询云审计日志
|
109
133
|
|
110
134
|
# @param request: Request instance for DescribeEvents.
|
data/lib/v20190319/models.rb
CHANGED
@@ -321,6 +321,33 @@ module TencentCloud
|
|
321
321
|
end
|
322
322
|
end
|
323
323
|
|
324
|
+
# DescribeAuditTracks请求参数结构体
|
325
|
+
class DescribeAuditTracksRequest < TencentCloud::Common::AbstractModel
|
326
|
+
|
327
|
+
|
328
|
+
def initialize()
|
329
|
+
end
|
330
|
+
|
331
|
+
def deserialize(params)
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
# DescribeAuditTracks返回参数结构体
|
336
|
+
class DescribeAuditTracksResponse < TencentCloud::Common::AbstractModel
|
337
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
338
|
+
# @type RequestId: String
|
339
|
+
|
340
|
+
attr_accessor :RequestId
|
341
|
+
|
342
|
+
def initialize(requestid=nil)
|
343
|
+
@RequestId = requestid
|
344
|
+
end
|
345
|
+
|
346
|
+
def deserialize(params)
|
347
|
+
@RequestId = params['RequestId']
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
324
351
|
# DescribeEvents请求参数结构体
|
325
352
|
class DescribeEventsRequest < TencentCloud::Common::AbstractModel
|
326
353
|
# @param StartTime: 起始时间戳(单位秒,不超过当前时间 90 天)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cloudaudit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.257
|
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-02-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|