tencentcloud-sdk-ssa 1.0.292 → 1.0.293

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: 58a0317c6db9557c8a4a14d74922cfedaccf16d1
4
- data.tar.gz: 44148216bf5e30e264d1d4b2352df2568405d116
3
+ metadata.gz: 49947782907767f6d5806fb3673360f8a19aa326
4
+ data.tar.gz: ea23033b511ac3e42efe322c76d9255ed0b2442f
5
5
  SHA512:
6
- metadata.gz: 7af55191894c2a1339a8833eb073597f540de7709876a9b18c2616b9facfa3ba76a61007d597613474d008b4241d3b5240829f5ab6c79a160dc5228654014820
7
- data.tar.gz: c686ff67b177ab0958d68150a98e19fbc0436af61ea9a2a72d36f321ce9512a8790601b9a538f3c1d88f8fbb14b630ae7606165b0b420591754b9fc83ab53ec6
6
+ metadata.gz: d6f0fac2576017a1678953bf1d563813372b664b4bc5f79e0439d6113bf5082672770a9b57618161c59bdf7eb6e02a05ea1a5348b73e535b34614a58648dea15
7
+ data.tar.gz: 4c1975fd1fa8533279f89706ac743d8367ec7b436df6857fbfc6920da218c5ca2bfed4499a0e2879b46dcacb022817c7fc5c8cceb8a1635bf79f260593925258
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.292
1
+ 1.0.293
@@ -293,6 +293,30 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 获取测绘列表
297
+
298
+ # @param request: Request instance for DescribeMappingResults.
299
+ # @type request: :class:`Tencentcloud::ssa::V20180608::DescribeMappingResultsRequest`
300
+ # @rtype: :class:`Tencentcloud::ssa::V20180608::DescribeMappingResultsResponse`
301
+ def DescribeMappingResults(request)
302
+ body = send_request('DescribeMappingResults', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DescribeMappingResultsResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
296
320
  # 获取安全事件列表
297
321
 
298
322
  # @param request: Request instance for DescribeSafetyEventList.
@@ -658,6 +658,55 @@ module TencentCloud
658
658
  end
659
659
  end
660
660
 
661
+ # 资产查询过滤参数
662
+ class AssetQueryFilter < TencentCloud::Common::AbstractModel
663
+ # @param Filter: 查询参数
664
+ # @type Filter: Array
665
+ # @param Logic: 查询连接符,1 and ,2 or
666
+ # @type Logic: Integer
667
+
668
+ attr_accessor :Filter, :Logic
669
+
670
+ def initialize(filter=nil, logic=nil)
671
+ @Filter = filter
672
+ @Logic = logic
673
+ end
674
+
675
+ def deserialize(params)
676
+ unless params['Filter'].nil?
677
+ @Filter = []
678
+ params['Filter'].each do |i|
679
+ queryfilter_tmp = QueryFilter.new
680
+ queryfilter_tmp.deserialize(i)
681
+ @Filter << queryfilter_tmp
682
+ end
683
+ end
684
+ @Logic = params['Logic']
685
+ end
686
+ end
687
+
688
+ # 资产测绘结果统计
689
+ class AssetTypeStatistic < TencentCloud::Common::AbstractModel
690
+ # @param AssetType: 资产类型
691
+ # 注意:此字段可能返回 null,表示取不到有效值。
692
+ # @type AssetType: String
693
+ # @param AssetCount: 统计计数
694
+ # 注意:此字段可能返回 null,表示取不到有效值。
695
+ # @type AssetCount: Integer
696
+
697
+ attr_accessor :AssetType, :AssetCount
698
+
699
+ def initialize(assettype=nil, assetcount=nil)
700
+ @AssetType = assettype
701
+ @AssetCount = assetcount
702
+ end
703
+
704
+ def deserialize(params)
705
+ @AssetType = params['AssetType']
706
+ @AssetCount = params['AssetCount']
707
+ end
708
+ end
709
+
661
710
  # es聚合数据类型
662
711
  class Bucket < TencentCloud::Common::AbstractModel
663
712
  # @param Key: key
@@ -2011,6 +2060,77 @@ module TencentCloud
2011
2060
  end
2012
2061
  end
2013
2062
 
2063
+ # DescribeMappingResults请求参数结构体
2064
+ class DescribeMappingResultsRequest < TencentCloud::Common::AbstractModel
2065
+ # @param Filter: 过滤条件,FilterKey 取值范围:AssetId,AssetIp,PrivateIp,Protocol,Service,OS,Process,Component,AssetType,Domain,Port,LastMappingTime,MappingType,Disposal,Vpc
2066
+ # @type Filter: Array
2067
+ # @param Sorter: 排序条件,SortKey取值范围:CreateTime,LastMappingTime
2068
+ # @type Sorter: Array
2069
+ # @param PageIndex: 页码
2070
+ # @type PageIndex: Integer
2071
+ # @param PageSize: 页大小,默认大小20
2072
+ # @type PageSize: Integer
2073
+
2074
+ attr_accessor :Filter, :Sorter, :PageIndex, :PageSize
2075
+
2076
+ def initialize(filter=nil, sorter=nil, pageindex=nil, pagesize=nil)
2077
+ @Filter = filter
2078
+ @Sorter = sorter
2079
+ @PageIndex = pageindex
2080
+ @PageSize = pagesize
2081
+ end
2082
+
2083
+ def deserialize(params)
2084
+ unless params['Filter'].nil?
2085
+ @Filter = []
2086
+ params['Filter'].each do |i|
2087
+ assetqueryfilter_tmp = AssetQueryFilter.new
2088
+ assetqueryfilter_tmp.deserialize(i)
2089
+ @Filter << assetqueryfilter_tmp
2090
+ end
2091
+ end
2092
+ unless params['Sorter'].nil?
2093
+ @Sorter = []
2094
+ params['Sorter'].each do |i|
2095
+ querysort_tmp = QuerySort.new
2096
+ querysort_tmp.deserialize(i)
2097
+ @Sorter << querysort_tmp
2098
+ end
2099
+ end
2100
+ @PageIndex = params['PageIndex']
2101
+ @PageSize = params['PageSize']
2102
+ end
2103
+ end
2104
+
2105
+ # DescribeMappingResults返回参数结构体
2106
+ class DescribeMappingResultsResponse < TencentCloud::Common::AbstractModel
2107
+ # @param Total: 总记录数
2108
+ # 注意:此字段可能返回 null,表示取不到有效值。
2109
+ # @type Total: Integer
2110
+ # @param Data: 列表
2111
+ # 注意:此字段可能返回 null,表示取不到有效值。
2112
+ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.Results`
2113
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2114
+ # @type RequestId: String
2115
+
2116
+ attr_accessor :Total, :Data, :RequestId
2117
+
2118
+ def initialize(total=nil, data=nil, requestid=nil)
2119
+ @Total = total
2120
+ @Data = data
2121
+ @RequestId = requestid
2122
+ end
2123
+
2124
+ def deserialize(params)
2125
+ @Total = params['Total']
2126
+ unless params['Data'].nil?
2127
+ @Data = Results.new
2128
+ @Data.deserialize(params['Data'])
2129
+ end
2130
+ @RequestId = params['RequestId']
2131
+ end
2132
+ end
2133
+
2014
2134
  # DescribeSafetyEventList请求参数结构体
2015
2135
  class DescribeSafetyEventListRequest < TencentCloud::Common::AbstractModel
2016
2136
  # @param Filter: 搜索过滤查询参数
@@ -2450,13 +2570,122 @@ module TencentCloud
2450
2570
  end
2451
2571
  end
2452
2572
 
2573
+ # 测绘记录
2574
+ class MappingResult < TencentCloud::Common::AbstractModel
2575
+ # @param AssetName: 资产名称
2576
+ # 注意:此字段可能返回 null,表示取不到有效值。
2577
+ # @type AssetName: String
2578
+ # @param AssetIp: 公网ip
2579
+ # 注意:此字段可能返回 null,表示取不到有效值。
2580
+ # @type AssetIp: String
2581
+ # @param PrivateIp: 内网ip
2582
+ # 注意:此字段可能返回 null,表示取不到有效值。
2583
+ # @type PrivateIp: String
2584
+ # @param AssetId: 资产id
2585
+ # 注意:此字段可能返回 null,表示取不到有效值。
2586
+ # @type AssetId: String
2587
+ # @param Protocol: 协议
2588
+ # 注意:此字段可能返回 null,表示取不到有效值。
2589
+ # @type Protocol: String
2590
+ # @param Port: 端口
2591
+ # 注意:此字段可能返回 null,表示取不到有效值。
2592
+ # @type Port: String
2593
+ # @param Service: 服务
2594
+ # 注意:此字段可能返回 null,表示取不到有效值。
2595
+ # @type Service: String
2596
+ # @param Component: 组件
2597
+ # 注意:此字段可能返回 null,表示取不到有效值。
2598
+ # @type Component: String
2599
+ # @param Process: 进程
2600
+ # 注意:此字段可能返回 null,表示取不到有效值。
2601
+ # @type Process: String
2602
+ # @param OS: 操作系统
2603
+ # 注意:此字段可能返回 null,表示取不到有效值。
2604
+ # @type OS: String
2605
+ # @param LastMappingTime: 测绘时间
2606
+ # 注意:此字段可能返回 null,表示取不到有效值。
2607
+ # @type LastMappingTime: String
2608
+ # @param DisposalRecommendations: 处置建议
2609
+ # 注意:此字段可能返回 null,表示取不到有效值。
2610
+ # @type DisposalRecommendations: String
2611
+ # @param DisposalRecommendationDetails: 处置建议详情
2612
+ # 注意:此字段可能返回 null,表示取不到有效值。
2613
+ # @type DisposalRecommendationDetails: String
2614
+ # @param AssetType: 资产类型
2615
+ # 注意:此字段可能返回 null,表示取不到有效值。
2616
+ # @type AssetType: String
2617
+ # @param Domain: 域名
2618
+ # 注意:此字段可能返回 null,表示取不到有效值。
2619
+ # @type Domain: String
2620
+ # @param MappingStatus: 测绘状态
2621
+ # 注意:此字段可能返回 null,表示取不到有效值。
2622
+ # @type MappingStatus: Integer
2623
+ # @param Region: 区域
2624
+ # 注意:此字段可能返回 null,表示取不到有效值。
2625
+ # @type Region: String
2626
+ # @param SecurityStatus: 安全防护状态
2627
+ # 注意:此字段可能返回 null,表示取不到有效值。
2628
+ # @type SecurityStatus: Array
2629
+
2630
+ attr_accessor :AssetName, :AssetIp, :PrivateIp, :AssetId, :Protocol, :Port, :Service, :Component, :Process, :OS, :LastMappingTime, :DisposalRecommendations, :DisposalRecommendationDetails, :AssetType, :Domain, :MappingStatus, :Region, :SecurityStatus
2631
+
2632
+ def initialize(assetname=nil, assetip=nil, privateip=nil, assetid=nil, protocol=nil, port=nil, service=nil, component=nil, process=nil, os=nil, lastmappingtime=nil, disposalrecommendations=nil, disposalrecommendationdetails=nil, assettype=nil, domain=nil, mappingstatus=nil, region=nil, securitystatus=nil)
2633
+ @AssetName = assetname
2634
+ @AssetIp = assetip
2635
+ @PrivateIp = privateip
2636
+ @AssetId = assetid
2637
+ @Protocol = protocol
2638
+ @Port = port
2639
+ @Service = service
2640
+ @Component = component
2641
+ @Process = process
2642
+ @OS = os
2643
+ @LastMappingTime = lastmappingtime
2644
+ @DisposalRecommendations = disposalrecommendations
2645
+ @DisposalRecommendationDetails = disposalrecommendationdetails
2646
+ @AssetType = assettype
2647
+ @Domain = domain
2648
+ @MappingStatus = mappingstatus
2649
+ @Region = region
2650
+ @SecurityStatus = securitystatus
2651
+ end
2652
+
2653
+ def deserialize(params)
2654
+ @AssetName = params['AssetName']
2655
+ @AssetIp = params['AssetIp']
2656
+ @PrivateIp = params['PrivateIp']
2657
+ @AssetId = params['AssetId']
2658
+ @Protocol = params['Protocol']
2659
+ @Port = params['Port']
2660
+ @Service = params['Service']
2661
+ @Component = params['Component']
2662
+ @Process = params['Process']
2663
+ @OS = params['OS']
2664
+ @LastMappingTime = params['LastMappingTime']
2665
+ @DisposalRecommendations = params['DisposalRecommendations']
2666
+ @DisposalRecommendationDetails = params['DisposalRecommendationDetails']
2667
+ @AssetType = params['AssetType']
2668
+ @Domain = params['Domain']
2669
+ @MappingStatus = params['MappingStatus']
2670
+ @Region = params['Region']
2671
+ unless params['SecurityStatus'].nil?
2672
+ @SecurityStatus = []
2673
+ params['SecurityStatus'].each do |i|
2674
+ securitystatus_tmp = SecurityStatus.new
2675
+ securitystatus_tmp.deserialize(i)
2676
+ @SecurityStatus << securitystatus_tmp
2677
+ end
2678
+ end
2679
+ end
2680
+ end
2681
+
2453
2682
  # 查询参数
2454
2683
  class QueryFilter < TencentCloud::Common::AbstractModel
2455
2684
  # @param FilterKey: 查询的字段
2456
2685
  # @type FilterKey: String
2457
2686
  # @param FilterValue: 查询的值
2458
2687
  # @type FilterValue: String
2459
- # @param FilterOperatorType: 匹配类型,枚举见pb
2688
+ # @param FilterOperatorType: 匹配类型,1等于;2大于;3小于;4大于等于;5小于等于;6不等于;7in;8not in;9模糊匹配
2460
2689
  # @type FilterOperatorType: Integer
2461
2690
 
2462
2691
  attr_accessor :FilterKey, :FilterValue, :FilterOperatorType
@@ -2494,6 +2723,52 @@ module TencentCloud
2494
2723
  end
2495
2724
  end
2496
2725
 
2726
+ # 测绘结果
2727
+ class Results < TencentCloud::Common::AbstractModel
2728
+ # @param Statistics: 测绘类型统计
2729
+ # 注意:此字段可能返回 null,表示取不到有效值。
2730
+ # @type Statistics: Array
2731
+ # @param Result: 测绘结果列表
2732
+ # 注意:此字段可能返回 null,表示取不到有效值。
2733
+ # @type Result: Array
2734
+ # @param TaskCount: 测绘任务数
2735
+ # 注意:此字段可能返回 null,表示取不到有效值。
2736
+ # @type TaskCount: Integer
2737
+ # @param TaskMaxCount: 最大测绘任务数
2738
+ # 注意:此字段可能返回 null,表示取不到有效值。
2739
+ # @type TaskMaxCount: Integer
2740
+
2741
+ attr_accessor :Statistics, :Result, :TaskCount, :TaskMaxCount
2742
+
2743
+ def initialize(statistics=nil, result=nil, taskcount=nil, taskmaxcount=nil)
2744
+ @Statistics = statistics
2745
+ @Result = result
2746
+ @TaskCount = taskcount
2747
+ @TaskMaxCount = taskmaxcount
2748
+ end
2749
+
2750
+ def deserialize(params)
2751
+ unless params['Statistics'].nil?
2752
+ @Statistics = []
2753
+ params['Statistics'].each do |i|
2754
+ assettypestatistic_tmp = AssetTypeStatistic.new
2755
+ assettypestatistic_tmp.deserialize(i)
2756
+ @Statistics << assettypestatistic_tmp
2757
+ end
2758
+ end
2759
+ unless params['Result'].nil?
2760
+ @Result = []
2761
+ params['Result'].each do |i|
2762
+ mappingresult_tmp = MappingResult.new
2763
+ mappingresult_tmp.deserialize(i)
2764
+ @Result << mappingresult_tmp
2765
+ end
2766
+ end
2767
+ @TaskCount = params['TaskCount']
2768
+ @TaskMaxCount = params['TaskMaxCount']
2769
+ end
2770
+ end
2771
+
2497
2772
  # 查询_通用字段
2498
2773
  class SaDivulgeDataQueryPub < TencentCloud::Common::AbstractModel
2499
2774
  # @param Id: Id
@@ -2680,6 +2955,17 @@ module TencentCloud
2680
2955
  end
2681
2956
  end
2682
2957
 
2958
+ # 安全放回状态
2959
+ class SecurityStatus < TencentCloud::Common::AbstractModel
2960
+
2961
+
2962
+ def initialize()
2963
+ end
2964
+
2965
+ def deserialize(params)
2966
+ end
2967
+ end
2968
+
2683
2969
  # SocCheckItem类型
2684
2970
  class SocCheckItem < TencentCloud::Common::AbstractModel
2685
2971
  # @param Name: 名字
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ssa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.292
4
+ version: 1.0.293
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-04-07 00:00:00.000000000 Z
11
+ date: 2022-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common