tencentcloud-sdk-ioa 3.0.1073 → 3.0.1077

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: 1f52438a55040c4bdb190d4fd4b43775d973e245
4
- data.tar.gz: 77fe072a53b41de3bce880b90a1aa77093893a1f
3
+ metadata.gz: 3ff6dc583be380dce4180f1318e5205af5fdb4b6
4
+ data.tar.gz: 28ce44341404cefb6e99513efe648f20977df0eb
5
5
  SHA512:
6
- metadata.gz: 665304f6d02e4082e3ada622a4dde3a6c7798ce8b116060361b2452b33f585749e2afbf40bd1890feff451785abd13081169b8636b94fcfa5f406a1d27a83933
7
- data.tar.gz: 51e14ef2c558311298af77c7b4fa4c902a02d7ea67ba18f4aeb0706f9ee226ed6e28be92dd97f15f6232c4538169f13187dcd318d1e3ab5ba3d8de4ee270623c
6
+ metadata.gz: 90bbd0ac8230d835408de780bbb06ac1b83bcd4cdf8e34b7adbc3d2c00cf690ed7f848f0dfb49717ffddeafb389995ff1b919a1ce9aedb673c7fbc953e2c5b11
7
+ data.tar.gz: 49ecc060ff17706f037c3f7789725dec7b94d2eb463aae56ab7c37b03daf9844bc586ffc393157f615389039a1d8f1641538ea063f41788444126f84a5e77d9f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1073
1
+ 3.0.1077
@@ -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.
@@ -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】,支持排序 ,支持排序分页参数- 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: 数据分页信息
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.1073
4
+ version: 3.0.1077
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-03 00:00:00.000000000 Z
11
+ date: 2025-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common