tencentcloud-sdk-cloudaudit 1.0.252 → 1.0.256

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dee3fcbbb2aaed1732f983948c7420e1b8074b53
4
- data.tar.gz: 2690e2b9adb07a20f96fc6ec41c936a5bf7c3ad7
3
+ metadata.gz: 13917ad4a714b382d18fc9e133e8cb149c004f0b
4
+ data.tar.gz: a26aaff67f0e145acd07ae95cbc37524835f73b7
5
5
  SHA512:
6
- metadata.gz: ee9d78e333a44d531b0efedbf2470cf0a9406d5e6262f27b99b867e5055065565a689b52b4e8f25249bbdade8a6a90fbcb5162c11079a41d88fd4bf0ed3430df
7
- data.tar.gz: 992766b7ef2dd10fb6201a480d13783bcbea26f186a1680592ef6f1c2787849fcb55fbf722e74ea1295b1c2b76f7d6e014b632f69254e023cd5578698299f212
6
+ metadata.gz: 4f134033689acd4a515e9a5cdde85da7698b8e6993ccf2fc881a867ac7a1b0d13c494af31fd2a473b5dc91663bd36f40b148c3e504c95290378cfe0704cc25af
7
+ data.tar.gz: 33e37d9154ece581f9137649d481b8463324f6c015ea2c0153d844882ecea815e270240a64e1ef3c10c7134f9192c7fd2eb8e8c15442b106ba0869861bd5fb85
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.252
1
+ 1.0.256
@@ -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.252
4
+ version: 1.0.256
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-01-28 00:00:00.000000000 Z
11
+ date: 2022-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common