tencentcloud-sdk-ioa 3.0.1074 → 3.0.1079

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: e21551b3fe605ed3fc5a1096bdcf1f30ce17186b
4
- data.tar.gz: 09ad55fe1e816b1cbeb32771221ab58f8669e937
3
+ metadata.gz: 5369b1129f3ffc79d6dc95f0e87ed39f0b33a186
4
+ data.tar.gz: b2586e71edaed0f5963690d087fa304b305e931c
5
5
  SHA512:
6
- metadata.gz: 26680477d3145089173475c8f52dfea66c817208a17dd310661f8829b007fa5797ee58caebd230443b932adbf8c279512d9771393848d897fc9235038b27f3de
7
- data.tar.gz: 161756f8cb16941a405132bebadba63b1fabf07c5916f69874b75d207bb2d45caf7940cf5ba9de534df0287190bbd031db7bbba2194f68fe19237831144e0b78
6
+ metadata.gz: dbb9ef0a12e8116e577b09038c1712392c8606f6443eebda8a4ecc3b9d92d9292d0185a8c9636aa67679bbfb1a4e04255bdbe2b2c30cfc47d1d9f8df8ef15811
7
+ data.tar.gz: a857ab2aa155c0dcb44007447faa159687760d2b3f436c85ae99be43bc50c18587cb6b8115a2ad9b2eb38e2e577e60afd7cea5c52e0e3836574e1d8b4f4f7524
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1079
@@ -149,6 +149,30 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
+ # 查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
153
+
154
+ # @param request: Request instance for DescribeDeviceHardwareInfoList.
155
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeDeviceHardwareInfoListRequest`
156
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeDeviceHardwareInfoListResponse`
157
+ def DescribeDeviceHardwareInfoList(request)
158
+ body = send_request('DescribeDeviceHardwareInfoList', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeDeviceHardwareInfoListResponse.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
  # 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
153
177
 
154
178
  # @param request: Request instance for DescribeDevices.
@@ -245,6 +269,30 @@ module TencentCloud
245
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
270
  end
247
271
 
272
+ # 查看指定终端的软件详情列表,私有化调用path为:capi/Software/DescribeSoftwareInformation
273
+
274
+ # @param request: Request instance for DescribeSoftwareInformation.
275
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeSoftwareInformationRequest`
276
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeSoftwareInformationResponse`
277
+ def DescribeSoftwareInformation(request)
278
+ body = send_request('DescribeSoftwareInformation', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeSoftwareInformationResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
248
296
 
249
297
  end
250
298
  end
@@ -559,6 +559,166 @@ module TencentCloud
559
559
  end
560
560
  end
561
561
 
562
+ # 终端硬件信息列表Item数据
563
+ class DescribeDeviceHardwareInfoItem < TencentCloud::Common::AbstractModel
564
+ # @param Id: 设备ID
565
+ # @type Id: Integer
566
+ # @param Mid: 设备唯一标识符
567
+ # @type Mid: String
568
+ # @param OsType: OS平台 0 Windows 1 Linux 2 macOS 4 Android 5 iOS
569
+ # @type OsType: Integer
570
+ # @param Name: 终端名
571
+ # @type Name: String
572
+ # @param UserName: 终端用户名
573
+ # @type UserName: String
574
+ # @param Status: 授权状态( 4未授权 5已授权)
575
+ # @type Status: Integer
576
+ # @param GroupId: 设备所属分组ID
577
+ # @type GroupId: Integer
578
+ # @param GroupName: 设备所属分组名
579
+ # @type GroupName: String
580
+ # @param GroupNamePath: 设备所属分组路径
581
+ # @type GroupNamePath: String
582
+ # @param AccountName: 最近登录账户的姓名
583
+ # @type AccountName: String
584
+ # @param Ip: 出口IP
585
+ # @type Ip: String
586
+ # @param MacAddr: MAC地址
587
+ # @type MacAddr: String
588
+ # @param Cpu: CPU品牌型号
589
+ # @type Cpu: String
590
+ # @param Memory: 内存信息
591
+ # @type Memory: String
592
+ # @param HardDiskSize: 硬盘信息
593
+ # @type HardDiskSize: String
594
+ # @param Monitor: 显示器品牌型号
595
+ # @type Monitor: String
596
+
597
+ attr_accessor :Id, :Mid, :OsType, :Name, :UserName, :Status, :GroupId, :GroupName, :GroupNamePath, :AccountName, :Ip, :MacAddr, :Cpu, :Memory, :HardDiskSize, :Monitor
598
+
599
+ def initialize(id=nil, mid=nil, ostype=nil, name=nil, username=nil, status=nil, groupid=nil, groupname=nil, groupnamepath=nil, accountname=nil, ip=nil, macaddr=nil, cpu=nil, memory=nil, harddisksize=nil, monitor=nil)
600
+ @Id = id
601
+ @Mid = mid
602
+ @OsType = ostype
603
+ @Name = name
604
+ @UserName = username
605
+ @Status = status
606
+ @GroupId = groupid
607
+ @GroupName = groupname
608
+ @GroupNamePath = groupnamepath
609
+ @AccountName = accountname
610
+ @Ip = ip
611
+ @MacAddr = macaddr
612
+ @Cpu = cpu
613
+ @Memory = memory
614
+ @HardDiskSize = harddisksize
615
+ @Monitor = monitor
616
+ end
617
+
618
+ def deserialize(params)
619
+ @Id = params['Id']
620
+ @Mid = params['Mid']
621
+ @OsType = params['OsType']
622
+ @Name = params['Name']
623
+ @UserName = params['UserName']
624
+ @Status = params['Status']
625
+ @GroupId = params['GroupId']
626
+ @GroupName = params['GroupName']
627
+ @GroupNamePath = params['GroupNamePath']
628
+ @AccountName = params['AccountName']
629
+ @Ip = params['Ip']
630
+ @MacAddr = params['MacAddr']
631
+ @Cpu = params['Cpu']
632
+ @Memory = params['Memory']
633
+ @HardDiskSize = params['HardDiskSize']
634
+ @Monitor = params['Monitor']
635
+ end
636
+ end
637
+
638
+ # DescribeDeviceHardwareInfoList请求参数结构体
639
+ class DescribeDeviceHardwareInfoListRequest < TencentCloud::Common::AbstractModel
640
+ # @param GroupId: 【必填】设备分组id(需要和OsType匹配),下面是私有化场景下默认id:id-名称-操作系统1 全网终端 Win2 未分组终端 Win30000000 服务器 Win40000101 全网终端 Linux40000102 未分组终端 Linux40000103 服务器 Linux40000201 全网终端 macOS40000202 未分组终端 macOS40000203 服务器 macOS40000401 全网终端 Android40000402 未分组终端 Android40000501 全网终端 iOS40000502 未分组终端 iOSSaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
641
+ # @type GroupId: Integer
642
+ # @param OsType: 【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
643
+ # @type OsType: Integer
644
+ # @param DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
645
+ # @type DomainInstanceId: String
646
+ # @param Condition: 过滤条件参数(字段含义请参考接口返回值) - Name, 类型String,支持操作:【eq,like,ilike】,支持排序 - UserName, 类型String,支持操作:【eq,like,ilike】,支持排序 - IoaUserName,类型String,支持操作:【eq,like,ilike】,支持排序 - MacAddr, 类型String,支持操作:【eq,like,ilike】,支持排序 - Ip, 类型String,支持操作:【eq,like,ilike】,支持排序 - Mid, 类型String,支持操作:【eq,like,ilike】,支持排序 ,支持排序分页参数 - PageNum 从1开始,小于等于0时使用默认参数 - PageSize 最大值5000,最好不超过100
647
+ # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
648
+
649
+ attr_accessor :GroupId, :OsType, :DomainInstanceId, :Condition
650
+
651
+ def initialize(groupid=nil, ostype=nil, domaininstanceid=nil, condition=nil)
652
+ @GroupId = groupid
653
+ @OsType = ostype
654
+ @DomainInstanceId = domaininstanceid
655
+ @Condition = condition
656
+ end
657
+
658
+ def deserialize(params)
659
+ @GroupId = params['GroupId']
660
+ @OsType = params['OsType']
661
+ @DomainInstanceId = params['DomainInstanceId']
662
+ unless params['Condition'].nil?
663
+ @Condition = Condition.new
664
+ @Condition.deserialize(params['Condition'])
665
+ end
666
+ end
667
+ end
668
+
669
+ # DescribeDeviceHardwareInfoList返回参数结构体
670
+ class DescribeDeviceHardwareInfoListResponse < TencentCloud::Common::AbstractModel
671
+ # @param Data: 分页的data数据
672
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeDeviceHardwareInfoListRspData`
673
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
674
+ # @type RequestId: String
675
+
676
+ attr_accessor :Data, :RequestId
677
+
678
+ def initialize(data=nil, requestid=nil)
679
+ @Data = data
680
+ @RequestId = requestid
681
+ end
682
+
683
+ def deserialize(params)
684
+ unless params['Data'].nil?
685
+ @Data = DescribeDeviceHardwareInfoListRspData.new
686
+ @Data.deserialize(params['Data'])
687
+ end
688
+ @RequestId = params['RequestId']
689
+ end
690
+ end
691
+
692
+ # 终端硬件信息列表响应详情
693
+ class DescribeDeviceHardwareInfoListRspData < TencentCloud::Common::AbstractModel
694
+ # @param Page: 分页数据
695
+ # @type Page: :class:`Tencentcloud::Ioa.v20220601.models.Paging`
696
+ # @param Items: 终端硬件信息数据数组
697
+ # @type Items: Array
698
+
699
+ attr_accessor :Page, :Items
700
+
701
+ def initialize(page=nil, items=nil)
702
+ @Page = page
703
+ @Items = items
704
+ end
705
+
706
+ def deserialize(params)
707
+ unless params['Page'].nil?
708
+ @Page = Paging.new
709
+ @Page.deserialize(params['Page'])
710
+ end
711
+ unless params['Items'].nil?
712
+ @Items = []
713
+ params['Items'].each do |i|
714
+ describedevicehardwareinfoitem_tmp = DescribeDeviceHardwareInfoItem.new
715
+ describedevicehardwareinfoitem_tmp.deserialize(i)
716
+ @Items << describedevicehardwareinfoitem_tmp
717
+ end
718
+ end
719
+ end
720
+ end
721
+
562
722
  # 分页的data数据
563
723
  class DescribeDevicesPageRsp < TencentCloud::Common::AbstractModel
564
724
  # @param Paging: 数据分页信息
@@ -1136,6 +1296,83 @@ module TencentCloud
1136
1296
  end
1137
1297
  end
1138
1298
 
1299
+ # 业务响应数据
1300
+ class DescribeSoftwareInformationPageData < TencentCloud::Common::AbstractModel
1301
+ # @param Items: 软件详情响应对象集合
1302
+ # @type Items: Array
1303
+ # @param Page: 分页公共对象
1304
+ # @type Page: :class:`Tencentcloud::Ioa.v20220601.models.Paging`
1305
+
1306
+ attr_accessor :Items, :Page
1307
+
1308
+ def initialize(items=nil, page=nil)
1309
+ @Items = items
1310
+ @Page = page
1311
+ end
1312
+
1313
+ def deserialize(params)
1314
+ unless params['Items'].nil?
1315
+ @Items = []
1316
+ params['Items'].each do |i|
1317
+ softwareinformationdata_tmp = SoftwareInformationData.new
1318
+ softwareinformationdata_tmp.deserialize(i)
1319
+ @Items << softwareinformationdata_tmp
1320
+ end
1321
+ end
1322
+ unless params['Page'].nil?
1323
+ @Page = Paging.new
1324
+ @Page.deserialize(params['Page'])
1325
+ end
1326
+ end
1327
+ end
1328
+
1329
+ # DescribeSoftwareInformation请求参数结构体
1330
+ class DescribeSoftwareInformationRequest < TencentCloud::Common::AbstractModel
1331
+ # @param Mid: 终端唯一标识Mid
1332
+ # @type Mid: String
1333
+ # @param Condition: 过滤条件、分页参数
1334
+ # <li>Name - String - 过滤支持:是 - 操作符:eq,like - 排序支持:是 。</li>
1335
+ # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
1336
+
1337
+ attr_accessor :Mid, :Condition
1338
+
1339
+ def initialize(mid=nil, condition=nil)
1340
+ @Mid = mid
1341
+ @Condition = condition
1342
+ end
1343
+
1344
+ def deserialize(params)
1345
+ @Mid = params['Mid']
1346
+ unless params['Condition'].nil?
1347
+ @Condition = Condition.new
1348
+ @Condition.deserialize(params['Condition'])
1349
+ end
1350
+ end
1351
+ end
1352
+
1353
+ # DescribeSoftwareInformation返回参数结构体
1354
+ class DescribeSoftwareInformationResponse < TencentCloud::Common::AbstractModel
1355
+ # @param Data: 业务响应数据
1356
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeSoftwareInformationPageData`
1357
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1358
+ # @type RequestId: String
1359
+
1360
+ attr_accessor :Data, :RequestId
1361
+
1362
+ def initialize(data=nil, requestid=nil)
1363
+ @Data = data
1364
+ @RequestId = requestid
1365
+ end
1366
+
1367
+ def deserialize(params)
1368
+ unless params['Data'].nil?
1369
+ @Data = DescribeSoftwareInformationPageData.new
1370
+ @Data.deserialize(params['Data'])
1371
+ end
1372
+ @RequestId = params['RequestId']
1373
+ end
1374
+ end
1375
+
1139
1376
  # 业务响应数据
1140
1377
  class DeviceDetail < TencentCloud::Common::AbstractModel
1141
1378
  # @param Id: 设备ID
@@ -1561,6 +1798,50 @@ module TencentCloud
1561
1798
  end
1562
1799
  end
1563
1800
 
1801
+ # 软件详情响应对象集合
1802
+ class SoftwareInformationData < TencentCloud::Common::AbstractModel
1803
+ # @param Name: 软件名称
1804
+ # @type Name: String
1805
+ # @param InstallDate: 安装时间
1806
+ # @type InstallDate: String
1807
+ # @param SoftwareId: 软件列表id(只支持32位)
1808
+ # @type SoftwareId: Integer
1809
+ # @param Mid: 唯一标识Mid
1810
+ # @type Mid: String
1811
+ # @param Version: 软件版本
1812
+ # @type Version: String
1813
+ # @param CorpName: 公司名
1814
+ # @type CorpName: String
1815
+ # @param Id: 列表Id(只支持32位)
1816
+ # @type Id: Integer
1817
+ # @param PiracyRisk: 盗版风险(0:未支持,1:风险,2:未发现,3:未开启)
1818
+ # @type PiracyRisk: Integer
1819
+
1820
+ attr_accessor :Name, :InstallDate, :SoftwareId, :Mid, :Version, :CorpName, :Id, :PiracyRisk
1821
+
1822
+ def initialize(name=nil, installdate=nil, softwareid=nil, mid=nil, version=nil, corpname=nil, id=nil, piracyrisk=nil)
1823
+ @Name = name
1824
+ @InstallDate = installdate
1825
+ @SoftwareId = softwareid
1826
+ @Mid = mid
1827
+ @Version = version
1828
+ @CorpName = corpname
1829
+ @Id = id
1830
+ @PiracyRisk = piracyrisk
1831
+ end
1832
+
1833
+ def deserialize(params)
1834
+ @Name = params['Name']
1835
+ @InstallDate = params['InstallDate']
1836
+ @SoftwareId = params['SoftwareId']
1837
+ @Mid = params['Mid']
1838
+ @Version = params['Version']
1839
+ @CorpName = params['CorpName']
1840
+ @Id = params['Id']
1841
+ @PiracyRisk = params['PiracyRisk']
1842
+ end
1843
+ end
1844
+
1564
1845
  # Sort 排序字段
1565
1846
  class Sort < TencentCloud::Common::AbstractModel
1566
1847
  # @param Field: 排序字段
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.1074
4
+ version: 3.0.1079
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common