tencentcloud-sdk-mmps 1.0.332 → 1.0.333

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: 910b3214b4ef3301ac0f46daa229fd1a9e88a976
4
- data.tar.gz: bbf2c565e591b8c2af7de780d1ba014c44e334d3
3
+ metadata.gz: 30f3745975c613b1755dfe62cca6486ab263b20c
4
+ data.tar.gz: 7618dcb74d793180cbf3b3ee77c670b7ac2c40ff
5
5
  SHA512:
6
- metadata.gz: 16d665fd96f6fa9889060784cfb10580454f4e398ccdc2f26d6746ae428e927a64932a6295753bc7db8eef4e175d33abe36eb3d8c4aad2887b8b1aa3aec89d2b
7
- data.tar.gz: 0ca29591955c130386c638557f41e1d8699a1ff3922a4c82e1d0dee2c743fc0167b9e45d2773d1e1e65be8482defa8168d4d4989d6960a086834abe2b182c246
6
+ metadata.gz: 47fa0e0740f8e277968fb36904c1560fb3f3219c35939ed04e9d1983008837f7dcae2517c58b42f0b9e7e7e498621642ced4e418dd058b643eaf5e507b6fcb51
7
+ data.tar.gz: 66d944d832adf990a06ab8509e281c4f3ee82e9a6a7eccf319ef7961ebdb6c5a4d560b95f327169c41f4cb3aafc47c890c2b9a248334a590c1dd208b902cdf5f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.332
1
+ 1.0.333
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 查询翼扬安全基础诊断资源使用情况
129
+
130
+ # @param request: Request instance for DescribeBasicDiagnosisResourceUsageInfo.
131
+ # @type request: :class:`Tencentcloud::mmps::V20200710::DescribeBasicDiagnosisResourceUsageInfoRequest`
132
+ # @rtype: :class:`Tencentcloud::mmps::V20200710::DescribeBasicDiagnosisResourceUsageInfoResponse`
133
+ def DescribeBasicDiagnosisResourceUsageInfo(request)
134
+ body = send_request('DescribeBasicDiagnosisResourceUsageInfo', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeBasicDiagnosisResourceUsageInfoResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 获取翼扬诊断任务报告链接地址
129
153
 
130
154
  # @param request: Request instance for DescribeFlySecMiniAppReportUrl.
@@ -221,6 +245,30 @@ module TencentCloud
221
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
246
  end
223
247
 
248
+ # 查询翼扬安全资源使用情况
249
+
250
+ # @param request: Request instance for DescribeResourceUsageInfo.
251
+ # @type request: :class:`Tencentcloud::mmps::V20200710::DescribeResourceUsageInfoRequest`
252
+ # @rtype: :class:`Tencentcloud::mmps::V20200710::DescribeResourceUsageInfoResponse`
253
+ def DescribeResourceUsageInfo(request)
254
+ body = send_request('DescribeResourceUsageInfo', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DescribeResourceUsageInfoResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
224
272
  # 获取小程序隐私合规诊断任务列表
225
273
 
226
274
  # @param request: Request instance for DescribeScanTaskList.
@@ -387,6 +387,54 @@ module TencentCloud
387
387
  end
388
388
  end
389
389
 
390
+ # DescribeBasicDiagnosisResourceUsageInfo请求参数结构体
391
+ class DescribeBasicDiagnosisResourceUsageInfoRequest < TencentCloud::Common::AbstractModel
392
+ # @param Mode: 诊断模式 1:基础诊断,2:深度诊断
393
+ # @type Mode: Integer
394
+
395
+ attr_accessor :Mode
396
+
397
+ def initialize(mode=nil)
398
+ @Mode = mode
399
+ end
400
+
401
+ def deserialize(params)
402
+ @Mode = params['Mode']
403
+ end
404
+ end
405
+
406
+ # DescribeBasicDiagnosisResourceUsageInfo返回参数结构体
407
+ class DescribeBasicDiagnosisResourceUsageInfoResponse < TencentCloud::Common::AbstractModel
408
+ # @param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义
409
+ # @type Ret: Integer
410
+ # @param ResourceName: 资源类型
411
+ # @type ResourceName: String
412
+ # @param Total: 资源总数
413
+ # @type Total: Integer
414
+ # @param UnusedCount: 资源未使用次数
415
+ # @type UnusedCount: Integer
416
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
417
+ # @type RequestId: String
418
+
419
+ attr_accessor :Ret, :ResourceName, :Total, :UnusedCount, :RequestId
420
+
421
+ def initialize(ret=nil, resourcename=nil, total=nil, unusedcount=nil, requestid=nil)
422
+ @Ret = ret
423
+ @ResourceName = resourcename
424
+ @Total = total
425
+ @UnusedCount = unusedcount
426
+ @RequestId = requestid
427
+ end
428
+
429
+ def deserialize(params)
430
+ @Ret = params['Ret']
431
+ @ResourceName = params['ResourceName']
432
+ @Total = params['Total']
433
+ @UnusedCount = params['UnusedCount']
434
+ @RequestId = params['RequestId']
435
+ end
436
+ end
437
+
390
438
  # DescribeFlySecMiniAppReportUrl请求参数结构体
391
439
  class DescribeFlySecMiniAppReportUrlRequest < TencentCloud::Common::AbstractModel
392
440
  # @param TaskID: 任务id
@@ -619,6 +667,52 @@ module TencentCloud
619
667
  end
620
668
  end
621
669
 
670
+ # DescribeResourceUsageInfo请求参数结构体
671
+ class DescribeResourceUsageInfoRequest < TencentCloud::Common::AbstractModel
672
+
673
+
674
+ def initialize()
675
+ end
676
+
677
+ def deserialize(params)
678
+ end
679
+ end
680
+
681
+ # DescribeResourceUsageInfo返回参数结构体
682
+ class DescribeResourceUsageInfoResponse < TencentCloud::Common::AbstractModel
683
+ # @param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义
684
+ # @type Ret: Integer
685
+ # @param Data: 安全资源数据列表
686
+ # @type Data: Array
687
+ # @param Total: 安全资源数量
688
+ # @type Total: Integer
689
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
690
+ # @type RequestId: String
691
+
692
+ attr_accessor :Ret, :Data, :Total, :RequestId
693
+
694
+ def initialize(ret=nil, data=nil, total=nil, requestid=nil)
695
+ @Ret = ret
696
+ @Data = data
697
+ @Total = total
698
+ @RequestId = requestid
699
+ end
700
+
701
+ def deserialize(params)
702
+ @Ret = params['Ret']
703
+ unless params['Data'].nil?
704
+ @Data = []
705
+ params['Data'].each do |i|
706
+ resourceusageinfodata_tmp = ResourceUsageInfoData.new
707
+ resourceusageinfodata_tmp.deserialize(i)
708
+ @Data << resourceusageinfodata_tmp
709
+ end
710
+ end
711
+ @Total = params['Total']
712
+ @RequestId = params['RequestId']
713
+ end
714
+ end
715
+
622
716
  # DescribeScanTaskList请求参数结构体
623
717
  class DescribeScanTaskListRequest < TencentCloud::Common::AbstractModel
624
718
  # @param Source: 任务来源, -1:所有, 0:默认值(私域), 1:灵犀, 2:灵鲲;
@@ -878,6 +972,30 @@ module TencentCloud
878
972
  end
879
973
  end
880
974
 
975
+ # 翼扬安全资源使用情况
976
+ class ResourceUsageInfoData < TencentCloud::Common::AbstractModel
977
+ # @param ResourceName: 资源名称, 具体名称请查看产品配置
978
+ # @type ResourceName: String
979
+ # @param Total: 资源总数
980
+ # @type Total: Integer
981
+ # @param UnusedCount: 资源未使用次数
982
+ # @type UnusedCount: Integer
983
+
984
+ attr_accessor :ResourceName, :Total, :UnusedCount
985
+
986
+ def initialize(resourcename=nil, total=nil, unusedcount=nil)
987
+ @ResourceName = resourcename
988
+ @Total = total
989
+ @UnusedCount = unusedcount
990
+ end
991
+
992
+ def deserialize(params)
993
+ @ResourceName = params['ResourceName']
994
+ @Total = params['Total']
995
+ @UnusedCount = params['UnusedCount']
996
+ end
997
+ end
998
+
881
999
  # 任务流步骤详情
882
1000
  class TaskFlowStepsInfo < TencentCloud::Common::AbstractModel
883
1001
  # @param FlowNo: 流程编号
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mmps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.332
4
+ version: 1.0.333
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud