tencentcloud-sdk-cloudaudit 1.0.264 → 1.0.267

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: 0968fa560b4f49293f2276e047d2b965c5b2922d
4
- data.tar.gz: 53e75d525074e3d61186fc3fd21cc38c82cb8622
3
+ metadata.gz: 000fec5168f87115cc0db30ea166eccd8afb8105
4
+ data.tar.gz: 7597744f98619e4139dde64c5d1470192213ed14
5
5
  SHA512:
6
- metadata.gz: 789146876c2412ade5bca3c261949b8da0f5c8b2540ad01872d5dfc443f671a8c2114bbcaaa191cb42047ece37e5c3ccec016adfb7466d92a77fe27dfd84f9f4
7
- data.tar.gz: 3208171295adff33af688a450ff6350b53bb178df873a813260fbe1541cdfe3ab4e7cf25a522cc392dddea64e1121695c037499b00669e64df24bea83e0a84d2
6
+ metadata.gz: 87a663467b7bddd5f201346ddcfcc2e180a1f5dd1f53254ed1ad78838ef36f83a5f0508292fb23245dbfeb33fa875420eb24dc31935c5285c559671ac248d2bd
7
+ data.tar.gz: f34e3c84f0ac3ddbde2fc178ce1d2c36df823a30dc1cc0e34453694ac791ffbf997a5f528490f64200c0aa73490318ca21dff6dbc27738753e79f3f8dd6c86e5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.264
1
+ 1.0.267
@@ -57,6 +57,30 @@ module TencentCloud
57
57
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
58
58
  end
59
59
 
60
+ # 创建跟踪集
61
+
62
+ # @param request: Request instance for CreateAuditTrack.
63
+ # @type request: :class:`Tencentcloud::cloudaudit::V20190319::CreateAuditTrackRequest`
64
+ # @rtype: :class:`Tencentcloud::cloudaudit::V20190319::CreateAuditTrackResponse`
65
+ def CreateAuditTrack(request)
66
+ body = send_request('CreateAuditTrack', request.serialize)
67
+ response = JSON.parse(body)
68
+ if response['Response'].key?('Error') == false
69
+ model = CreateAuditTrackResponse.new
70
+ model.deserialize(response['Response'])
71
+ model
72
+ else
73
+ code = response['Response']['Error']['Code']
74
+ message = response['Response']['Error']['Message']
75
+ reqid = response['Response']['RequestId']
76
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
77
+ end
78
+ rescue TencentCloud::Common::TencentCloudSDKException => e
79
+ raise e
80
+ rescue StandardError => e
81
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
82
+ end
83
+
60
84
  # 删除跟踪集
61
85
 
62
86
  # @param request: Request instance for DeleteAudit.
@@ -81,6 +105,30 @@ module TencentCloud
81
105
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
82
106
  end
83
107
 
108
+ # 删除云审计跟踪集
109
+
110
+ # @param request: Request instance for DeleteAuditTrack.
111
+ # @type request: :class:`Tencentcloud::cloudaudit::V20190319::DeleteAuditTrackRequest`
112
+ # @rtype: :class:`Tencentcloud::cloudaudit::V20190319::DeleteAuditTrackResponse`
113
+ def DeleteAuditTrack(request)
114
+ body = send_request('DeleteAuditTrack', request.serialize)
115
+ response = JSON.parse(body)
116
+ if response['Response'].key?('Error') == false
117
+ model = DeleteAuditTrackResponse.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
+
84
132
  # 查询跟踪集详情
85
133
 
86
134
  # @param request: Request instance for DescribeAudit.
@@ -321,6 +369,30 @@ module TencentCloud
321
369
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
322
370
  end
323
371
 
372
+ # 修改云审计跟踪
373
+
374
+ # @param request: Request instance for ModifyAuditTrack.
375
+ # @type request: :class:`Tencentcloud::cloudaudit::V20190319::ModifyAuditTrackRequest`
376
+ # @rtype: :class:`Tencentcloud::cloudaudit::V20190319::ModifyAuditTrackResponse`
377
+ def ModifyAuditTrack(request)
378
+ body = send_request('ModifyAuditTrack', request.serialize)
379
+ response = JSON.parse(body)
380
+ if response['Response'].key?('Error') == false
381
+ model = ModifyAuditTrackResponse.new
382
+ model.deserialize(response['Response'])
383
+ model
384
+ else
385
+ code = response['Response']['Error']['Code']
386
+ message = response['Response']['Error']['Message']
387
+ reqid = response['Response']['RequestId']
388
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
389
+ end
390
+ rescue TencentCloud::Common::TencentCloudSDKException => e
391
+ raise e
392
+ rescue StandardError => e
393
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
394
+ end
395
+
324
396
  # 开启跟踪集
325
397
 
326
398
  # @param request: Request instance for StartLogging.
@@ -201,6 +201,33 @@ module TencentCloud
201
201
  end
202
202
  end
203
203
 
204
+ # CreateAuditTrack请求参数结构体
205
+ class CreateAuditTrackRequest < TencentCloud::Common::AbstractModel
206
+
207
+
208
+ def initialize()
209
+ end
210
+
211
+ def deserialize(params)
212
+ end
213
+ end
214
+
215
+ # CreateAuditTrack返回参数结构体
216
+ class CreateAuditTrackResponse < TencentCloud::Common::AbstractModel
217
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
218
+ # @type RequestId: String
219
+
220
+ attr_accessor :RequestId
221
+
222
+ def initialize(requestid=nil)
223
+ @RequestId = requestid
224
+ end
225
+
226
+ def deserialize(params)
227
+ @RequestId = params['RequestId']
228
+ end
229
+ end
230
+
204
231
  # DeleteAudit请求参数结构体
205
232
  class DeleteAuditRequest < TencentCloud::Common::AbstractModel
206
233
  # @param AuditName: 跟踪集名称
@@ -237,6 +264,33 @@ module TencentCloud
237
264
  end
238
265
  end
239
266
 
267
+ # DeleteAuditTrack请求参数结构体
268
+ class DeleteAuditTrackRequest < TencentCloud::Common::AbstractModel
269
+
270
+
271
+ def initialize()
272
+ end
273
+
274
+ def deserialize(params)
275
+ end
276
+ end
277
+
278
+ # DeleteAuditTrack返回参数结构体
279
+ class DeleteAuditTrackResponse < TencentCloud::Common::AbstractModel
280
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
281
+ # @type RequestId: String
282
+
283
+ attr_accessor :RequestId
284
+
285
+ def initialize(requestid=nil)
286
+ @RequestId = requestid
287
+ end
288
+
289
+ def deserialize(params)
290
+ @RequestId = params['RequestId']
291
+ end
292
+ end
293
+
240
294
  # DescribeAudit请求参数结构体
241
295
  class DescribeAuditRequest < TencentCloud::Common::AbstractModel
242
296
  # @param AuditName: 跟踪集名称
@@ -894,6 +948,33 @@ module TencentCloud
894
948
  end
895
949
  end
896
950
 
951
+ # ModifyAuditTrack请求参数结构体
952
+ class ModifyAuditTrackRequest < TencentCloud::Common::AbstractModel
953
+
954
+
955
+ def initialize()
956
+ end
957
+
958
+ def deserialize(params)
959
+ end
960
+ end
961
+
962
+ # ModifyAuditTrack返回参数结构体
963
+ class ModifyAuditTrackResponse < TencentCloud::Common::AbstractModel
964
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
965
+ # @type RequestId: String
966
+
967
+ attr_accessor :RequestId
968
+
969
+ def initialize(requestid=nil)
970
+ @RequestId = requestid
971
+ end
972
+
973
+ def deserialize(params)
974
+ @RequestId = params['RequestId']
975
+ end
976
+ end
977
+
897
978
  # 资源类型
898
979
  class Resource < TencentCloud::Common::AbstractModel
899
980
  # @param ResourceType: 资源类型
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.264
4
+ version: 1.0.267
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-24 00:00:00.000000000 Z
11
+ date: 2022-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common