tencentcloud-sdk-ioa 3.0.1126 → 3.0.1127

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: e15e4e68e7f5d2b9a39cc83dbc11bcdf268abcf9
4
- data.tar.gz: 6e2b1d65e07e3ca123b14dc57847a5eada2f9834
3
+ metadata.gz: 833a271956c2601391fa5e5c33c242be3bc7d00e
4
+ data.tar.gz: c6c1787837cf93ee46ce8da63688dfcf5ca5226f
5
5
  SHA512:
6
- metadata.gz: 33fbc885dc2bff1cfe4165b9494e3db1a20b1d5c6538ce59a71dbb41aab163bb3950fee738fe79c31ba5c51cf9b5935260730dbd95ad533473dff2bb5bfad4f8
7
- data.tar.gz: ef2b212457c68b494d41e3cb19dfe446b74316f09c62c7b8add4769b0c4d63623666aeaf6e9a19424e29ab085718d51f7b646aaf3ab47b5ac4dc3ebbe7d8771c
6
+ metadata.gz: e05e7363cef33c4661ff4b7e76b6c0dc36082be09d732bf49519f47b33edacf3b2c3d798021e1f98faba71c853856d67d08dd30d0987cabf772f61214a91f570
7
+ data.tar.gz: 505e622d5432c4323c1253661d64cb15a1e1b0b06270367dba0dd0d24cddeba2dd5ffa2d3b02f47ef13c87e11e944d486f37b392af586ae04bc97eb05224594e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1126
1
+ 3.0.1127
@@ -149,6 +149,30 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
+ # 聚合的分类软件列表
153
+
154
+ # @param request: Request instance for DescribeAggrSoftCategorySoftList.
155
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeAggrSoftCategorySoftListRequest`
156
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeAggrSoftCategorySoftListResponse`
157
+ def DescribeAggrSoftCategorySoftList(request)
158
+ body = send_request('DescribeAggrSoftCategorySoftList', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeAggrSoftCategorySoftListResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
152
176
  # webservice查询文件检测结果
153
177
 
154
178
  # @param request: Request instance for DescribeDLPFileDetectResult.
@@ -173,6 +197,30 @@ module TencentCloud
173
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
198
  end
175
199
 
200
+ # 查询设备组子分组详情,私有化调用path为:capi/Assets/Device/DescribeDeviceChildGroups
201
+
202
+ # @param request: Request instance for DescribeDeviceChildGroups.
203
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeDeviceChildGroupsRequest`
204
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeDeviceChildGroupsResponse`
205
+ def DescribeDeviceChildGroups(request)
206
+ body = send_request('DescribeDeviceChildGroups', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeDeviceChildGroupsResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
176
224
  # 查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
177
225
 
178
226
  # @param request: Request instance for DescribeDeviceHardwareInfoList.
@@ -17,6 +17,77 @@
17
17
  module TencentCloud
18
18
  module Ioa
19
19
  module V20220601
20
+ # 按版本聚合后的软件列表
21
+ class AggrCategorySoftDetailRow < TencentCloud::Common::AbstractModel
22
+ # @param ID: ID
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type ID: Integer
25
+ # @param Name: 软件名称
26
+ # 注意:此字段可能返回 null,表示取不到有效值。
27
+ # @type Name: String
28
+ # @param PiracyRisk: 盗版风险
29
+ # 注意:此字段可能返回 null,表示取不到有效值。
30
+ # @type PiracyRisk: Integer
31
+ # @param OsType: 系统平台
32
+ # 注意:此字段可能返回 null,表示取不到有效值。
33
+ # @type OsType: Integer
34
+ # @param CorpName: 企业名
35
+ # 注意:此字段可能返回 null,表示取不到有效值。
36
+ # @type CorpName: String
37
+ # @param InstalledDeviceNum: 安装设备数量(只支持32位)
38
+ # 注意:此字段可能返回 null,表示取不到有效值。
39
+ # @type InstalledDeviceNum: Integer
40
+ # @param PiracyInstalledDeviceNum: 盗版安装设备数
41
+ # 注意:此字段可能返回 null,表示取不到有效值。
42
+ # @type PiracyInstalledDeviceNum: Integer
43
+ # @param InstalledUserNum: 已安装用户数
44
+ # 注意:此字段可能返回 null,表示取不到有效值。
45
+ # @type InstalledUserNum: Integer
46
+ # @param PiracyInstalledUserNum: 盗版软件用户数
47
+ # 注意:此字段可能返回 null,表示取不到有效值。
48
+ # @type PiracyInstalledUserNum: Integer
49
+ # @param AuthNum: 授权总数
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type AuthNum: Integer
52
+ # @param GenuineRate: 正版率
53
+ # 注意:此字段可能返回 null,表示取不到有效值。
54
+ # @type GenuineRate: Float
55
+ # @param UpgradableDeviceNum: 有新版本可升级的设备数量
56
+ # @type UpgradableDeviceNum: Integer
57
+
58
+ attr_accessor :ID, :Name, :PiracyRisk, :OsType, :CorpName, :InstalledDeviceNum, :PiracyInstalledDeviceNum, :InstalledUserNum, :PiracyInstalledUserNum, :AuthNum, :GenuineRate, :UpgradableDeviceNum
59
+
60
+ def initialize(id=nil, name=nil, piracyrisk=nil, ostype=nil, corpname=nil, installeddevicenum=nil, piracyinstalleddevicenum=nil, installedusernum=nil, piracyinstalledusernum=nil, authnum=nil, genuinerate=nil, upgradabledevicenum=nil)
61
+ @ID = id
62
+ @Name = name
63
+ @PiracyRisk = piracyrisk
64
+ @OsType = ostype
65
+ @CorpName = corpname
66
+ @InstalledDeviceNum = installeddevicenum
67
+ @PiracyInstalledDeviceNum = piracyinstalleddevicenum
68
+ @InstalledUserNum = installedusernum
69
+ @PiracyInstalledUserNum = piracyinstalledusernum
70
+ @AuthNum = authnum
71
+ @GenuineRate = genuinerate
72
+ @UpgradableDeviceNum = upgradabledevicenum
73
+ end
74
+
75
+ def deserialize(params)
76
+ @ID = params['ID']
77
+ @Name = params['Name']
78
+ @PiracyRisk = params['PiracyRisk']
79
+ @OsType = params['OsType']
80
+ @CorpName = params['CorpName']
81
+ @InstalledDeviceNum = params['InstalledDeviceNum']
82
+ @PiracyInstalledDeviceNum = params['PiracyInstalledDeviceNum']
83
+ @InstalledUserNum = params['InstalledUserNum']
84
+ @PiracyInstalledUserNum = params['PiracyInstalledUserNum']
85
+ @AuthNum = params['AuthNum']
86
+ @GenuineRate = params['GenuineRate']
87
+ @UpgradableDeviceNum = params['UpgradableDeviceNum']
88
+ end
89
+ end
90
+
20
91
  # 自动划分规则数据
21
92
  class ComplexRule < TencentCloud::Common::AbstractModel
22
93
  # @param SimpleRules: 简单规则表达式
@@ -531,6 +602,82 @@ module TencentCloud
531
602
  end
532
603
  end
533
604
 
605
+ # 业务响应数据
606
+ class DescribeAggrSoftCategorySoftListData < TencentCloud::Common::AbstractModel
607
+ # @param Page: 分页公共对象
608
+ # 注意:此字段可能返回 null,表示取不到有效值。
609
+ # @type Page: :class:`Tencentcloud::Ioa.v20220601.models.Paging`
610
+ # @param Total: 总数(只支持32位)
611
+ # 注意:此字段可能返回 null,表示取不到有效值。
612
+ # @type Total: Integer
613
+ # @param AggrSoftCategorySoftList: 行数据
614
+ # 注意:此字段可能返回 null,表示取不到有效值。
615
+ # @type AggrSoftCategorySoftList: Array
616
+
617
+ attr_accessor :Page, :Total, :AggrSoftCategorySoftList
618
+
619
+ def initialize(page=nil, total=nil, aggrsoftcategorysoftlist=nil)
620
+ @Page = page
621
+ @Total = total
622
+ @AggrSoftCategorySoftList = aggrsoftcategorysoftlist
623
+ end
624
+
625
+ def deserialize(params)
626
+ unless params['Page'].nil?
627
+ @Page = Paging.new
628
+ @Page.deserialize(params['Page'])
629
+ end
630
+ @Total = params['Total']
631
+ unless params['AggrSoftCategorySoftList'].nil?
632
+ @AggrSoftCategorySoftList = []
633
+ params['AggrSoftCategorySoftList'].each do |i|
634
+ aggrcategorysoftdetailrow_tmp = AggrCategorySoftDetailRow.new
635
+ aggrcategorysoftdetailrow_tmp.deserialize(i)
636
+ @AggrSoftCategorySoftList << aggrcategorysoftdetailrow_tmp
637
+ end
638
+ end
639
+ end
640
+ end
641
+
642
+ # DescribeAggrSoftCategorySoftList请求参数结构体
643
+ class DescribeAggrSoftCategorySoftListRequest < TencentCloud::Common::AbstractModel
644
+ # @param OsType: os类别(只支持32位)
645
+ # @type OsType: Integer
646
+
647
+ attr_accessor :OsType
648
+
649
+ def initialize(ostype=nil)
650
+ @OsType = ostype
651
+ end
652
+
653
+ def deserialize(params)
654
+ @OsType = params['OsType']
655
+ end
656
+ end
657
+
658
+ # DescribeAggrSoftCategorySoftList返回参数结构体
659
+ class DescribeAggrSoftCategorySoftListResponse < TencentCloud::Common::AbstractModel
660
+ # @param Data: 数据
661
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeAggrSoftCategorySoftListData`
662
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
663
+ # @type RequestId: String
664
+
665
+ attr_accessor :Data, :RequestId
666
+
667
+ def initialize(data=nil, requestid=nil)
668
+ @Data = data
669
+ @RequestId = requestid
670
+ end
671
+
672
+ def deserialize(params)
673
+ unless params['Data'].nil?
674
+ @Data = DescribeAggrSoftCategorySoftListData.new
675
+ @Data.deserialize(params['Data'])
676
+ end
677
+ @RequestId = params['RequestId']
678
+ end
679
+ end
680
+
534
681
  # 查询文件检测结果响应数据
535
682
  class DescribeDLPFileDetectResultData < TencentCloud::Common::AbstractModel
536
683
  # @param FileMd5: 提交任务时的文件md5
@@ -602,6 +749,91 @@ module TencentCloud
602
749
  end
603
750
  end
604
751
 
752
+ # DescribeDeviceChildGroups请求参数结构体
753
+ class DescribeDeviceChildGroupsRequest < TencentCloud::Common::AbstractModel
754
+ # @param DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
755
+ # @type DomainInstanceId: String
756
+ # @param Condition: 过滤条件参数(字段含义请参考接口返回值)
757
+ # - Name, 类型String,支持操作:【like,ilike】,支持排序
758
+
759
+
760
+
761
+
762
+ # 分页参数
763
+ # - PageNum 从1开始,小于等于0时使用默认参数
764
+ # - PageSize 最大值5000,最好不超过100
765
+ # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
766
+ # @param ParentId: 父分组id,默认0:表示获取全网终端分组
767
+ # @type ParentId: Integer
768
+ # @param OsType: 操作系统类型(0:win,1:linux,2:mac,4:android,5:ios;默认0:系统win)
769
+ # @type OsType: Integer
770
+
771
+ attr_accessor :DomainInstanceId, :Condition, :ParentId, :OsType
772
+
773
+ def initialize(domaininstanceid=nil, condition=nil, parentid=nil, ostype=nil)
774
+ @DomainInstanceId = domaininstanceid
775
+ @Condition = condition
776
+ @ParentId = parentid
777
+ @OsType = ostype
778
+ end
779
+
780
+ def deserialize(params)
781
+ @DomainInstanceId = params['DomainInstanceId']
782
+ unless params['Condition'].nil?
783
+ @Condition = Condition.new
784
+ @Condition.deserialize(params['Condition'])
785
+ end
786
+ @ParentId = params['ParentId']
787
+ @OsType = params['OsType']
788
+ end
789
+ end
790
+
791
+ # DescribeDeviceChildGroups返回参数结构体
792
+ class DescribeDeviceChildGroupsResponse < TencentCloud::Common::AbstractModel
793
+ # @param Data: 查询设备组子分组详情响应结构
794
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeDeviceChildGroupsRspData`
795
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
796
+ # @type RequestId: String
797
+
798
+ attr_accessor :Data, :RequestId
799
+
800
+ def initialize(data=nil, requestid=nil)
801
+ @Data = data
802
+ @RequestId = requestid
803
+ end
804
+
805
+ def deserialize(params)
806
+ unless params['Data'].nil?
807
+ @Data = DescribeDeviceChildGroupsRspData.new
808
+ @Data.deserialize(params['Data'])
809
+ end
810
+ @RequestId = params['RequestId']
811
+ end
812
+ end
813
+
814
+ # 查询设备组子分组详情响应结构
815
+ class DescribeDeviceChildGroupsRspData < TencentCloud::Common::AbstractModel
816
+ # @param Items: 返回的数组列表
817
+ # @type Items: Array
818
+
819
+ attr_accessor :Items
820
+
821
+ def initialize(items=nil)
822
+ @Items = items
823
+ end
824
+
825
+ def deserialize(params)
826
+ unless params['Items'].nil?
827
+ @Items = []
828
+ params['Items'].each do |i|
829
+ devicegroupdetail_tmp = DeviceGroupDetail.new
830
+ devicegroupdetail_tmp.deserialize(i)
831
+ @Items << devicegroupdetail_tmp
832
+ end
833
+ end
834
+ end
835
+ end
836
+
605
837
  # 终端硬件信息列表Item数据
606
838
  class DescribeDeviceHardwareInfoItem < TencentCloud::Common::AbstractModel
607
839
  # @param Id: 设备ID
@@ -1903,6 +2135,90 @@ module TencentCloud
1903
2135
  end
1904
2136
  end
1905
2137
 
2138
+ # 返回的数组列表
2139
+ class DeviceGroupDetail < TencentCloud::Common::AbstractModel
2140
+ # @param Id: 设备组id
2141
+ # @type Id: Integer
2142
+ # @param Name: 设备组名称
2143
+ # @type Name: String
2144
+ # @param Description: 设备组描述
2145
+ # @type Description: String
2146
+ # @param ParentId: 父节点id
2147
+ # @type ParentId: Integer
2148
+ # @param IdPath: 基于id的节点路径
2149
+ # @type IdPath: String
2150
+ # @param NamePath: 基于名称的节点路径
2151
+ # @type NamePath: String
2152
+ # @param Locked: 分组锁定状态
2153
+ # @type Locked: Integer
2154
+ # @param OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios )
2155
+ # @type OsType: Integer
2156
+ # @param Sort: 排序
2157
+ # @type Sort: Integer
2158
+ # @param FromAuto: 是否自动调整
2159
+ # @type FromAuto: Integer
2160
+ # @param Count: 子节点数量
2161
+ # @type Count: Integer
2162
+ # @param Icon: 图标
2163
+ # @type Icon: String
2164
+ # @param WithIp: 是否有ip
2165
+ # @type WithIp: Integer
2166
+ # @param HasIp: 是否有组ip
2167
+ # @type HasIp: Boolean
2168
+ # @param IsLeaf: 是否是叶子节点
2169
+ # @type IsLeaf: Boolean
2170
+ # @param ReadOnly: 是否只读
2171
+ # @type ReadOnly: Boolean
2172
+ # @param BindAccount: 对应绑定的账号id
2173
+ # @type BindAccount: Integer
2174
+ # @param BindAccountName: 绑定账号的用户名
2175
+ # @type BindAccountName: String
2176
+
2177
+ attr_accessor :Id, :Name, :Description, :ParentId, :IdPath, :NamePath, :Locked, :OsType, :Sort, :FromAuto, :Count, :Icon, :WithIp, :HasIp, :IsLeaf, :ReadOnly, :BindAccount, :BindAccountName
2178
+
2179
+ def initialize(id=nil, name=nil, description=nil, parentid=nil, idpath=nil, namepath=nil, locked=nil, ostype=nil, sort=nil, fromauto=nil, count=nil, icon=nil, withip=nil, hasip=nil, isleaf=nil, readonly=nil, bindaccount=nil, bindaccountname=nil)
2180
+ @Id = id
2181
+ @Name = name
2182
+ @Description = description
2183
+ @ParentId = parentid
2184
+ @IdPath = idpath
2185
+ @NamePath = namepath
2186
+ @Locked = locked
2187
+ @OsType = ostype
2188
+ @Sort = sort
2189
+ @FromAuto = fromauto
2190
+ @Count = count
2191
+ @Icon = icon
2192
+ @WithIp = withip
2193
+ @HasIp = hasip
2194
+ @IsLeaf = isleaf
2195
+ @ReadOnly = readonly
2196
+ @BindAccount = bindaccount
2197
+ @BindAccountName = bindaccountname
2198
+ end
2199
+
2200
+ def deserialize(params)
2201
+ @Id = params['Id']
2202
+ @Name = params['Name']
2203
+ @Description = params['Description']
2204
+ @ParentId = params['ParentId']
2205
+ @IdPath = params['IdPath']
2206
+ @NamePath = params['NamePath']
2207
+ @Locked = params['Locked']
2208
+ @OsType = params['OsType']
2209
+ @Sort = params['Sort']
2210
+ @FromAuto = params['FromAuto']
2211
+ @Count = params['Count']
2212
+ @Icon = params['Icon']
2213
+ @WithIp = params['WithIp']
2214
+ @HasIp = params['HasIp']
2215
+ @IsLeaf = params['IsLeaf']
2216
+ @ReadOnly = params['ReadOnly']
2217
+ @BindAccount = params['BindAccount']
2218
+ @BindAccountName = params['BindAccountName']
2219
+ end
2220
+ end
2221
+
1906
2222
  # 分页的具体数据对象
1907
2223
  class DeviceNetworkInfo < TencentCloud::Common::AbstractModel
1908
2224
  # @param LocalAddr: 本地地址
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ioa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1126
4
+ version: 3.0.1127
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-19 00:00:00.000000000 Z
11
+ date: 2025-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common