tencentcloud-sdk-cloudaudit 1.0.265 → 1.0.266

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: e36cb7fb89ccfa52ffd6c4bf42b9a3e2193594c6
4
- data.tar.gz: 317283d26d3561d603a67704351d88b0467ec23c
3
+ metadata.gz: 0d43a16f4192b9cb7340cec32d147d4d4f29a928
4
+ data.tar.gz: 580606a9fab4ae1d37f9bbfa6b984d0bc09a7944
5
5
  SHA512:
6
- metadata.gz: 04767610a97ec5e1ce6145cb8b93ed4c18744c370f16c178e2a3700a1e5c0eb5471501953f070ec406dbf515e5056f6cf6099e7127dca04fbc2114965b0f3039
7
- data.tar.gz: 1db4a081726d76cccfb256e3be6597633d8e9d89cd37a7c57d9fb19cd20d3983607f2f1d17d4419957f41430690555a39476248839fa84a5c3846014518db971
6
+ metadata.gz: 8c2a9f57bbcadad8ab13d5658096cb5e1cf9c7a391132b2afb51ec29992571892fd3517a0c1481c2b024871762ca10546a3026d47bc3e1f2efa66504e5dcca6f
7
+ data.tar.gz: a32bc2547efba502f3d7036ee441ac6e99bb98b8aa672d006607724fa608d82d8fa2b4428c3b0224eee66a3a5c18005c3217e3961758c89558169c0e2261800b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.265
1
+ 1.0.266
@@ -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.265
4
+ version: 1.0.266
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-25 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common