tencentcloud-sdk-cloudaudit 1.0.254 → 1.0.255

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: 42895cdbd3108cff2c6e6e8a36d5742877776460
4
- data.tar.gz: 4bc88c9b1453609b9f5f34dfb4baa0394976ed3a
3
+ metadata.gz: d98f21614a312aa9cd396ec41d2e295b17ee2e3e
4
+ data.tar.gz: 32d14f6dc306ae8a931cc996a0e45662efd0d18b
5
5
  SHA512:
6
- metadata.gz: ff89ae511c4541820f6c0da1c34e6804600e589838c30215ad1c343fd09ec8aea2c4d9e510bf9ddc0c15a19661cf48787f94ed3148334ad8f131d1e52850b864
7
- data.tar.gz: b78438000c0d25af21f3bdf044324f5297588582c451c366464d6605f0b8fdacc83e8b288d1408b014a8773650911d753c90c4dd31036bf09c0e0b77953fd14c
6
+ metadata.gz: c81712b6a3089b1fb0e54d26d1066c01a07c416d1ab762a0eb11ba7fc8b56b42abf6cb4e8fb4ebeb4b6736d8b25be6fa15b17a1e6b38a49628671f9bc345c8d4
7
+ data.tar.gz: 165e6a1676b9623cf5fc4a64fd47f8b7acc053f3aa5b34268513e215a78f7b6b0f7d3dc08008b0814cf5f3d8b4311cc1ce7cefc2cda6f35a48e39691048e5544
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.254
1
+ 1.0.255
@@ -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.
@@ -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.254
4
+ version: 1.0.255
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 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common