tencentcloud-sdk-ioa 3.0.1077 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220601/client.rb +24 -0
- data/lib/v20220601/models.rb +122 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5369b1129f3ffc79d6dc95f0e87ed39f0b33a186
|
4
|
+
data.tar.gz: b2586e71edaed0f5963690d087fa304b305e931c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbb9ef0a12e8116e577b09038c1712392c8606f6443eebda8a4ecc3b9d92d9292d0185a8c9636aa67679bbfb1a4e04255bdbe2b2c30cfc47d1d9f8df8ef15811
|
7
|
+
data.tar.gz: a857ab2aa155c0dcb44007447faa159687760d2b3f436c85ae99be43bc50c18587cb6b8115a2ad9b2eb38e2e577e60afd7cea5c52e0e3836574e1d8b4f4f7524
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1079
|
data/lib/v20220601/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
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
|
+
|
272
296
|
|
273
297
|
end
|
274
298
|
end
|
data/lib/v20220601/models.rb
CHANGED
@@ -643,7 +643,7 @@ module TencentCloud
|
|
643
643
|
# @type OsType: Integer
|
644
644
|
# @param DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
645
645
|
# @type DomainInstanceId: String
|
646
|
-
# @param Condition: 过滤条件参数(字段含义请参考接口返回值)
|
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
647
|
# @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
|
648
648
|
|
649
649
|
attr_accessor :GroupId, :OsType, :DomainInstanceId, :Condition
|
@@ -1296,6 +1296,83 @@ module TencentCloud
|
|
1296
1296
|
end
|
1297
1297
|
end
|
1298
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
|
+
|
1299
1376
|
# 业务响应数据
|
1300
1377
|
class DeviceDetail < TencentCloud::Common::AbstractModel
|
1301
1378
|
# @param Id: 设备ID
|
@@ -1721,6 +1798,50 @@ module TencentCloud
|
|
1721
1798
|
end
|
1722
1799
|
end
|
1723
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
|
+
|
1724
1845
|
# Sort 排序字段
|
1725
1846
|
class Sort < TencentCloud::Common::AbstractModel
|
1726
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.
|
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-
|
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
|