tencentcloud-sdk-ioa 3.0.1079 → 3.0.1087

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: 5369b1129f3ffc79d6dc95f0e87ed39f0b33a186
4
- data.tar.gz: b2586e71edaed0f5963690d087fa304b305e931c
3
+ metadata.gz: e6ca37c4b906638613805142d01ec1b16d62f7cf
4
+ data.tar.gz: 89b540003227bc906fdf723d9bfca392508e2ec0
5
5
  SHA512:
6
- metadata.gz: dbb9ef0a12e8116e577b09038c1712392c8606f6443eebda8a4ecc3b9d92d9292d0185a8c9636aa67679bbfb1a4e04255bdbe2b2c30cfc47d1d9f8df8ef15811
7
- data.tar.gz: a857ab2aa155c0dcb44007447faa159687760d2b3f436c85ae99be43bc50c18587cb6b8115a2ad9b2eb38e2e577e60afd7cea5c52e0e3836574e1d8b4f4f7524
6
+ metadata.gz: aa1e10fe1595bd524b9510c41cc1d8491cdf568d4b8bebd0210876a9ab371fd634495772f92d5cd87c185e97e56b0be08d4674c7dc96d271c505c7ca92b44000
7
+ data.tar.gz: 59d319bb75e159e5fedcf786a49e7ff23c4b2cdf07df588ff338e7abf731cd0e23cd731e737ce9fc70b47ee617fa4c7193fcb7b2628ed86258e59ec20b6f68f9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1079
1
+ 3.0.1087
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建获取终端进程网络服务信息任务,私有化调用path为:capi/Assets/Device/DescribeDeviceInfo
57
+
58
+ # @param request: Request instance for CreateDeviceTask.
59
+ # @type request: :class:`Tencentcloud::ioa::V20220601::CreateDeviceTaskRequest`
60
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::CreateDeviceTaskResponse`
61
+ def CreateDeviceTask(request)
62
+ body = send_request('CreateDeviceTask', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateDeviceTaskResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 创建终端自定义分组,私有化调用path为:/capi/Assets/Device/CreateDeviceVirtualGroup
57
81
 
58
82
  # @param request: Request instance for CreateDeviceVirtualGroup.
@@ -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/DescribeDeviceInfo
201
+
202
+ # @param request: Request instance for DescribeDeviceInfo.
203
+ # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeDeviceInfoRequest`
204
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::DescribeDeviceInfoResponse`
205
+ def DescribeDeviceInfo(request)
206
+ body = send_request('DescribeDeviceInfo', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeDeviceInfoResponse.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/DescribeDevices
177
225
 
178
226
  # @param request: Request instance for DescribeDevices.
@@ -166,6 +166,38 @@ module TencentCloud
166
166
  end
167
167
  end
168
168
 
169
+ # CreateDeviceTask请求参数结构体
170
+ class CreateDeviceTaskRequest < TencentCloud::Common::AbstractModel
171
+ # @param Mid: 终端id
172
+ # @type Mid: String
173
+
174
+ attr_accessor :Mid
175
+
176
+ def initialize(mid=nil)
177
+ @Mid = mid
178
+ end
179
+
180
+ def deserialize(params)
181
+ @Mid = params['Mid']
182
+ end
183
+ end
184
+
185
+ # CreateDeviceTask返回参数结构体
186
+ class CreateDeviceTaskResponse < TencentCloud::Common::AbstractModel
187
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
188
+ # @type RequestId: String
189
+
190
+ attr_accessor :RequestId
191
+
192
+ def initialize(requestid=nil)
193
+ @RequestId = requestid
194
+ end
195
+
196
+ def deserialize(params)
197
+ @RequestId = params['RequestId']
198
+ end
199
+ end
200
+
169
201
  # CreateDeviceVirtualGroup请求参数结构体
170
202
  class CreateDeviceVirtualGroupRequest < TencentCloud::Common::AbstractModel
171
203
  # @param DeviceVirtualGroupName: 必填,终端自定义分组名
@@ -719,6 +751,98 @@ module TencentCloud
719
751
  end
720
752
  end
721
753
 
754
+ # DescribeDeviceInfo请求参数结构体
755
+ class DescribeDeviceInfoRequest < TencentCloud::Common::AbstractModel
756
+ # @param Mid: 终端id
757
+ # @type Mid: String
758
+ # @param Type: 查询类型 process_list network_list service_list
759
+ # @type Type: String
760
+
761
+ attr_accessor :Mid, :Type
762
+
763
+ def initialize(mid=nil, type=nil)
764
+ @Mid = mid
765
+ @Type = type
766
+ end
767
+
768
+ def deserialize(params)
769
+ @Mid = params['Mid']
770
+ @Type = params['Type']
771
+ end
772
+ end
773
+
774
+ # DescribeDeviceInfo返回参数结构体
775
+ class DescribeDeviceInfoResponse < TencentCloud::Common::AbstractModel
776
+ # @param Data: 业务响应数据
777
+ # 注意:此字段可能返回 null,表示取不到有效值。
778
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeDeviceInfoRspData`
779
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
780
+ # @type RequestId: String
781
+
782
+ attr_accessor :Data, :RequestId
783
+
784
+ def initialize(data=nil, requestid=nil)
785
+ @Data = data
786
+ @RequestId = requestid
787
+ end
788
+
789
+ def deserialize(params)
790
+ unless params['Data'].nil?
791
+ @Data = DescribeDeviceInfoRspData.new
792
+ @Data.deserialize(params['Data'])
793
+ end
794
+ @RequestId = params['RequestId']
795
+ end
796
+ end
797
+
798
+ # 业务响应数据
799
+ class DescribeDeviceInfoRspData < TencentCloud::Common::AbstractModel
800
+ # @param ProcessList: 分页的具体数据对象
801
+ # 注意:此字段可能返回 null,表示取不到有效值。
802
+ # @type ProcessList: Array
803
+ # @param NetworkList: 分页的具体数据对象
804
+ # 注意:此字段可能返回 null,表示取不到有效值。
805
+ # @type NetworkList: Array
806
+ # @param ServiceList: 分页的具体数据对象
807
+ # 注意:此字段可能返回 null,表示取不到有效值。
808
+ # @type ServiceList: Array
809
+
810
+ attr_accessor :ProcessList, :NetworkList, :ServiceList
811
+
812
+ def initialize(processlist=nil, networklist=nil, servicelist=nil)
813
+ @ProcessList = processlist
814
+ @NetworkList = networklist
815
+ @ServiceList = servicelist
816
+ end
817
+
818
+ def deserialize(params)
819
+ unless params['ProcessList'].nil?
820
+ @ProcessList = []
821
+ params['ProcessList'].each do |i|
822
+ deviceprocessinfo_tmp = DeviceProcessInfo.new
823
+ deviceprocessinfo_tmp.deserialize(i)
824
+ @ProcessList << deviceprocessinfo_tmp
825
+ end
826
+ end
827
+ unless params['NetworkList'].nil?
828
+ @NetworkList = []
829
+ params['NetworkList'].each do |i|
830
+ devicenetworkinfo_tmp = DeviceNetworkInfo.new
831
+ devicenetworkinfo_tmp.deserialize(i)
832
+ @NetworkList << devicenetworkinfo_tmp
833
+ end
834
+ end
835
+ unless params['ServiceList'].nil?
836
+ @ServiceList = []
837
+ params['ServiceList'].each do |i|
838
+ deviceserviceinfo_tmp = DeviceServiceInfo.new
839
+ deviceserviceinfo_tmp.deserialize(i)
840
+ @ServiceList << deviceserviceinfo_tmp
841
+ end
842
+ end
843
+ end
844
+ end
845
+
722
846
  # 分页的data数据
723
847
  class DescribeDevicesPageRsp < TencentCloud::Common::AbstractModel
724
848
  # @param Paging: 数据分页信息
@@ -1409,6 +1533,16 @@ module TencentCloud
1409
1533
  # @type GroupNamePath: String
1410
1534
  # @param CriticalVulListCount: 未修复高危漏洞数(只支持32位)
1411
1535
  # @type CriticalVulListCount: Integer
1536
+ # @param Os: 操作系统名称
1537
+ # @type Os: String
1538
+ # @param OsBits: 操作系统位数
1539
+ # @type OsBits: Integer
1540
+ # @param OsVersion: 操作系统版本
1541
+ # @type OsVersion: String
1542
+ # @param OsLanguage: 操作系统语言
1543
+ # @type OsLanguage: String
1544
+ # @param OsInstallDate: 操作系统安装时间
1545
+ # @type OsInstallDate: String
1412
1546
  # @param ComputerName: 设备名,和Name相同
1413
1547
  # @type ComputerName: String
1414
1548
  # @param DomainName: 登录域名
@@ -1464,9 +1598,9 @@ module TencentCloud
1464
1598
  # @param RemarkName: 终端备注名
1465
1599
  # @type RemarkName: String
1466
1600
 
1467
- attr_accessor :Id, :Mid, :Name, :GroupId, :OsType, :Ip, :OnlineStatus, :Version, :StrVersion, :Itime, :ConnActiveTime, :Locked, :LocalIpList, :HostId, :GroupName, :GroupNamePath, :CriticalVulListCount, :ComputerName, :DomainName, :MacAddr, :VulCount, :RiskCount, :VirusVer, :VulVersion, :SysRepVersion, :VulCriticalList, :Tags, :UserName, :FirewallStatus, :SerialNum, :DeviceStrategyVer, :NGNStrategyVer, :IOAUserName, :DeviceNewStrategyVer, :NGNNewStrategyVer, :HostName, :BaseBoardSn, :AccountUsers, :IdentityStrategyVer, :IdentityNewStrategyVer, :AccountGroupName, :AccountName, :AccountGroupId, :RemarkName
1601
+ attr_accessor :Id, :Mid, :Name, :GroupId, :OsType, :Ip, :OnlineStatus, :Version, :StrVersion, :Itime, :ConnActiveTime, :Locked, :LocalIpList, :HostId, :GroupName, :GroupNamePath, :CriticalVulListCount, :Os, :OsBits, :OsVersion, :OsLanguage, :OsInstallDate, :ComputerName, :DomainName, :MacAddr, :VulCount, :RiskCount, :VirusVer, :VulVersion, :SysRepVersion, :VulCriticalList, :Tags, :UserName, :FirewallStatus, :SerialNum, :DeviceStrategyVer, :NGNStrategyVer, :IOAUserName, :DeviceNewStrategyVer, :NGNNewStrategyVer, :HostName, :BaseBoardSn, :AccountUsers, :IdentityStrategyVer, :IdentityNewStrategyVer, :AccountGroupName, :AccountName, :AccountGroupId, :RemarkName
1468
1602
 
1469
- def initialize(id=nil, mid=nil, name=nil, groupid=nil, ostype=nil, ip=nil, onlinestatus=nil, version=nil, strversion=nil, itime=nil, connactivetime=nil, locked=nil, localiplist=nil, hostid=nil, groupname=nil, groupnamepath=nil, criticalvullistcount=nil, computername=nil, domainname=nil, macaddr=nil, vulcount=nil, riskcount=nil, virusver=nil, vulversion=nil, sysrepversion=nil, vulcriticallist=nil, tags=nil, username=nil, firewallstatus=nil, serialnum=nil, devicestrategyver=nil, ngnstrategyver=nil, ioausername=nil, devicenewstrategyver=nil, ngnnewstrategyver=nil, hostname=nil, baseboardsn=nil, accountusers=nil, identitystrategyver=nil, identitynewstrategyver=nil, accountgroupname=nil, accountname=nil, accountgroupid=nil, remarkname=nil)
1603
+ def initialize(id=nil, mid=nil, name=nil, groupid=nil, ostype=nil, ip=nil, onlinestatus=nil, version=nil, strversion=nil, itime=nil, connactivetime=nil, locked=nil, localiplist=nil, hostid=nil, groupname=nil, groupnamepath=nil, criticalvullistcount=nil, os=nil, osbits=nil, osversion=nil, oslanguage=nil, osinstalldate=nil, computername=nil, domainname=nil, macaddr=nil, vulcount=nil, riskcount=nil, virusver=nil, vulversion=nil, sysrepversion=nil, vulcriticallist=nil, tags=nil, username=nil, firewallstatus=nil, serialnum=nil, devicestrategyver=nil, ngnstrategyver=nil, ioausername=nil, devicenewstrategyver=nil, ngnnewstrategyver=nil, hostname=nil, baseboardsn=nil, accountusers=nil, identitystrategyver=nil, identitynewstrategyver=nil, accountgroupname=nil, accountname=nil, accountgroupid=nil, remarkname=nil)
1470
1604
  @Id = id
1471
1605
  @Mid = mid
1472
1606
  @Name = name
@@ -1484,6 +1618,11 @@ module TencentCloud
1484
1618
  @GroupName = groupname
1485
1619
  @GroupNamePath = groupnamepath
1486
1620
  @CriticalVulListCount = criticalvullistcount
1621
+ @Os = os
1622
+ @OsBits = osbits
1623
+ @OsVersion = osversion
1624
+ @OsLanguage = oslanguage
1625
+ @OsInstallDate = osinstalldate
1487
1626
  @ComputerName = computername
1488
1627
  @DomainName = domainname
1489
1628
  @MacAddr = macaddr
@@ -1531,6 +1670,11 @@ module TencentCloud
1531
1670
  @GroupName = params['GroupName']
1532
1671
  @GroupNamePath = params['GroupNamePath']
1533
1672
  @CriticalVulListCount = params['CriticalVulListCount']
1673
+ @Os = params['Os']
1674
+ @OsBits = params['OsBits']
1675
+ @OsVersion = params['OsVersion']
1676
+ @OsLanguage = params['OsLanguage']
1677
+ @OsInstallDate = params['OsInstallDate']
1534
1678
  @ComputerName = params['ComputerName']
1535
1679
  @DomainName = params['DomainName']
1536
1680
  @MacAddr = params['MacAddr']
@@ -1561,6 +1705,147 @@ module TencentCloud
1561
1705
  end
1562
1706
  end
1563
1707
 
1708
+ # 分页的具体数据对象
1709
+ class DeviceNetworkInfo < TencentCloud::Common::AbstractModel
1710
+ # @param LocalAddr: 本地地址
1711
+ # 注意:此字段可能返回 null,表示取不到有效值。
1712
+ # @type LocalAddr: String
1713
+ # @param LocalPort: 本地端口
1714
+ # 注意:此字段可能返回 null,表示取不到有效值。
1715
+ # @type LocalPort: Integer
1716
+ # @param ProcessId: 进程id
1717
+ # 注意:此字段可能返回 null,表示取不到有效值。
1718
+ # @type ProcessId: Integer
1719
+ # @param ProcessName: 进程名称
1720
+ # 注意:此字段可能返回 null,表示取不到有效值。
1721
+ # @type ProcessName: String
1722
+ # @param Protocol: 协议
1723
+ # 注意:此字段可能返回 null,表示取不到有效值。
1724
+ # @type Protocol: String
1725
+ # @param RemoteAddr: 远程地址
1726
+ # 注意:此字段可能返回 null,表示取不到有效值。
1727
+ # @type RemoteAddr: String
1728
+ # @param RemotePort: 远程端口
1729
+ # 注意:此字段可能返回 null,表示取不到有效值。
1730
+ # @type RemotePort: Integer
1731
+ # @param State: 状态
1732
+ # 注意:此字段可能返回 null,表示取不到有效值。
1733
+ # @type State: Integer
1734
+
1735
+ attr_accessor :LocalAddr, :LocalPort, :ProcessId, :ProcessName, :Protocol, :RemoteAddr, :RemotePort, :State
1736
+
1737
+ def initialize(localaddr=nil, localport=nil, processid=nil, processname=nil, protocol=nil, remoteaddr=nil, remoteport=nil, state=nil)
1738
+ @LocalAddr = localaddr
1739
+ @LocalPort = localport
1740
+ @ProcessId = processid
1741
+ @ProcessName = processname
1742
+ @Protocol = protocol
1743
+ @RemoteAddr = remoteaddr
1744
+ @RemotePort = remoteport
1745
+ @State = state
1746
+ end
1747
+
1748
+ def deserialize(params)
1749
+ @LocalAddr = params['LocalAddr']
1750
+ @LocalPort = params['LocalPort']
1751
+ @ProcessId = params['ProcessId']
1752
+ @ProcessName = params['ProcessName']
1753
+ @Protocol = params['Protocol']
1754
+ @RemoteAddr = params['RemoteAddr']
1755
+ @RemotePort = params['RemotePort']
1756
+ @State = params['State']
1757
+ end
1758
+ end
1759
+
1760
+ # 分页的具体数据对象
1761
+ class DeviceProcessInfo < TencentCloud::Common::AbstractModel
1762
+ # @param CmdLine: 命令行
1763
+ # 注意:此字段可能返回 null,表示取不到有效值。
1764
+ # @type CmdLine: String
1765
+ # @param Memory: 内存
1766
+ # 注意:此字段可能返回 null,表示取不到有效值。
1767
+ # @type Memory: String
1768
+ # @param Name: 名称
1769
+ # 注意:此字段可能返回 null,表示取不到有效值。
1770
+ # @type Name: String
1771
+ # @param Path: 路径
1772
+ # 注意:此字段可能返回 null,表示取不到有效值。
1773
+ # @type Path: String
1774
+ # @param ProcessId: 进程id
1775
+ # 注意:此字段可能返回 null,表示取不到有效值。
1776
+ # @type ProcessId: Integer
1777
+ # @param User: 启动用户
1778
+ # 注意:此字段可能返回 null,表示取不到有效值。
1779
+ # @type User: String
1780
+
1781
+ attr_accessor :CmdLine, :Memory, :Name, :Path, :ProcessId, :User
1782
+
1783
+ def initialize(cmdline=nil, memory=nil, name=nil, path=nil, processid=nil, user=nil)
1784
+ @CmdLine = cmdline
1785
+ @Memory = memory
1786
+ @Name = name
1787
+ @Path = path
1788
+ @ProcessId = processid
1789
+ @User = user
1790
+ end
1791
+
1792
+ def deserialize(params)
1793
+ @CmdLine = params['CmdLine']
1794
+ @Memory = params['Memory']
1795
+ @Name = params['Name']
1796
+ @Path = params['Path']
1797
+ @ProcessId = params['ProcessId']
1798
+ @User = params['User']
1799
+ end
1800
+ end
1801
+
1802
+ # 分页的具体数据对象
1803
+ class DeviceServiceInfo < TencentCloud::Common::AbstractModel
1804
+ # @param CmdLine: 命令行
1805
+ # 注意:此字段可能返回 null,表示取不到有效值。
1806
+ # @type CmdLine: String
1807
+ # @param Description: 内存
1808
+ # 注意:此字段可能返回 null,表示取不到有效值。
1809
+ # @type Description: String
1810
+ # @param Name: 名称
1811
+ # 注意:此字段可能返回 null,表示取不到有效值。
1812
+ # @type Name: String
1813
+ # @param ProcessId: 进程id
1814
+ # 注意:此字段可能返回 null,表示取不到有效值。
1815
+ # @type ProcessId: Integer
1816
+ # @param StartType: 启动类型
1817
+ # 注意:此字段可能返回 null,表示取不到有效值。
1818
+ # @type StartType: Integer
1819
+ # @param State: 状态
1820
+ # 注意:此字段可能返回 null,表示取不到有效值。
1821
+ # @type State: Integer
1822
+ # @param User: 启动用户
1823
+ # 注意:此字段可能返回 null,表示取不到有效值。
1824
+ # @type User: String
1825
+
1826
+ attr_accessor :CmdLine, :Description, :Name, :ProcessId, :StartType, :State, :User
1827
+
1828
+ def initialize(cmdline=nil, description=nil, name=nil, processid=nil, starttype=nil, state=nil, user=nil)
1829
+ @CmdLine = cmdline
1830
+ @Description = description
1831
+ @Name = name
1832
+ @ProcessId = processid
1833
+ @StartType = starttype
1834
+ @State = state
1835
+ @User = user
1836
+ end
1837
+
1838
+ def deserialize(params)
1839
+ @CmdLine = params['CmdLine']
1840
+ @Description = params['Description']
1841
+ @Name = params['Name']
1842
+ @ProcessId = params['ProcessId']
1843
+ @StartType = params['StartType']
1844
+ @State = params['State']
1845
+ @User = params['User']
1846
+ end
1847
+ end
1848
+
1564
1849
  # Filters 条件过滤
1565
1850
  class Filter < TencentCloud::Common::AbstractModel
1566
1851
  # @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.1079
4
+ version: 3.0.1087
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-11 00:00:00.000000000 Z
11
+ date: 2025-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common