tencentcloud-sdk-ioa 3.0.931 → 3.0.933

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: d021c49fb8c458d4d382c54ac7157a77c6149094
4
- data.tar.gz: a8a3cfdc85229b484d4db4e706c1b0b6e5b41b53
3
+ metadata.gz: 5ddb53ca8f6f9e2c4a541aa9362244dd5829f17b
4
+ data.tar.gz: 1c409116999380fe81fadcb57da7c54b12816927
5
5
  SHA512:
6
- metadata.gz: 23027ded9614c27308ff0717693b781f5e4114bc3e8f7b93401435a1ba6bf45ce95744f11b79ba8d27a1bd767275f538e14d7778e9a7c17b9c3b7977d95c9996
7
- data.tar.gz: d9eaf67e785dd2845d9133f003010c5ad6437171dfe0cbd46c469eaae7d2c799176d803675c0ff6dbbcf2ca33c50198e946ab8d2577832dc9a30af4303cdcd3c
6
+ metadata.gz: 01fff62b3220539fba394be56e3b749de73cf238a48db78fd19526157bf83262e2c80a93232ec11bbeab0f6d091cecbb1441be12bd85c9915e81c0f0c455813b
7
+ data.tar.gz: 5039dcc15dd9f38f98f4d81de74246bc4148bc483bff2ec997f72d4988dad0bbd6594af3148e5bd42c129a6c7e6af1ba2a11e6875969a6e43940e658c2ba450d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.931
1
+ 3.0.933
@@ -29,7 +29,31 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 以分页的方式查询账户目录列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
32
+ # 创建终端自定义分组,私有化调用path为:/capi/Assets/Device/CreateDeviceVirtualGroup
33
+
34
+ # @param request: Request instance for CreateDeviceVirtualGroup.
35
+ # @type request: :class:`Tencentcloud::ioa::V20220601::CreateDeviceVirtualGroupRequest`
36
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::CreateDeviceVirtualGroupResponse`
37
+ def CreateDeviceVirtualGroup(request)
38
+ body = send_request('CreateDeviceVirtualGroup', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateDeviceVirtualGroupResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 以分页的方式查询账号分组列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
33
57
 
34
58
  # @param request: Request instance for DescribeAccountGroups.
35
59
  # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeAccountGroupsRequest`
@@ -101,7 +125,8 @@ module TencentCloud
101
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
126
  end
103
127
 
104
- # 查询账户根分组详情,私有化调用path为:capi/Assets/DescribeRootAccountGroup
128
+ # 查询账号根分组详情。对应“用户与授权管理”里内置不可见的全网根账号组,所有新建的目录,都挂在该全网根账号组下。
129
+ # 私有化调用path为:capi/Assets/DescribeRootAccountGroup
105
130
 
106
131
  # @param request: Request instance for DescribeRootAccountGroup.
107
132
  # @type request: :class:`Tencentcloud::ioa::V20220601::DescribeRootAccountGroupRequest`
@@ -17,6 +17,35 @@
17
17
  module TencentCloud
18
18
  module Ioa
19
19
  module V20220601
20
+ # 自动划分规则数据
21
+ class ComplexRule < TencentCloud::Common::AbstractModel
22
+ # @param SimpleRules: 简单规则表达式
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type SimpleRules: Array
25
+ # @param Relation: 表达式间逻辑关系
26
+ # 注意:此字段可能返回 null,表示取不到有效值。
27
+ # @type Relation: String
28
+
29
+ attr_accessor :SimpleRules, :Relation
30
+
31
+ def initialize(simplerules=nil, relation=nil)
32
+ @SimpleRules = simplerules
33
+ @Relation = relation
34
+ end
35
+
36
+ def deserialize(params)
37
+ unless params['SimpleRules'].nil?
38
+ @SimpleRules = []
39
+ params['SimpleRules'].each do |i|
40
+ simplerule_tmp = SimpleRule.new
41
+ simplerule_tmp.deserialize(i)
42
+ @SimpleRules << simplerule_tmp
43
+ end
44
+ end
45
+ @Relation = params['Relation']
46
+ end
47
+ end
48
+
20
49
  # - [ ] 过滤条件<br>
21
50
 
22
51
  # <li>Name - String - 是否必填:否 - 操作符: ilike - 排序支持:否- 根据分组名称进行查询。</li>
@@ -76,12 +105,92 @@ module TencentCloud
76
105
  end
77
106
  end
78
107
 
79
- # 分组名称
108
+ # CreateDeviceVirtualGroup请求参数结构体
109
+ class CreateDeviceVirtualGroupRequest < TencentCloud::Common::AbstractModel
110
+ # @param DeviceVirtualGroupName: 终端自定义分组名
111
+ # @type DeviceVirtualGroupName: String
112
+ # @param Description: 详情
113
+ # @type Description: String
114
+ # @param OsType: 系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0)(只支持32位)
115
+ # @type OsType: Integer
116
+ # @param TimeType: 时间设置类型(1:自动小时、2:自动每天、3:自定义、0:手动分组)(只支持32位)
117
+ # @type TimeType: Integer
118
+ # @param AutoMinute: 自动划分时间(单位min)(只支持32位)
119
+ # @type AutoMinute: Integer
120
+ # @param AutoRules: 自动划分规则数据
121
+ # @type AutoRules: :class:`Tencentcloud::Ioa.v20220601.models.ComplexRule`
122
+
123
+ attr_accessor :DeviceVirtualGroupName, :Description, :OsType, :TimeType, :AutoMinute, :AutoRules
124
+
125
+ def initialize(devicevirtualgroupname=nil, description=nil, ostype=nil, timetype=nil, autominute=nil, autorules=nil)
126
+ @DeviceVirtualGroupName = devicevirtualgroupname
127
+ @Description = description
128
+ @OsType = ostype
129
+ @TimeType = timetype
130
+ @AutoMinute = autominute
131
+ @AutoRules = autorules
132
+ end
133
+
134
+ def deserialize(params)
135
+ @DeviceVirtualGroupName = params['DeviceVirtualGroupName']
136
+ @Description = params['Description']
137
+ @OsType = params['OsType']
138
+ @TimeType = params['TimeType']
139
+ @AutoMinute = params['AutoMinute']
140
+ unless params['AutoRules'].nil?
141
+ @AutoRules = ComplexRule.new
142
+ @AutoRules.deserialize(params['AutoRules'])
143
+ end
144
+ end
145
+ end
146
+
147
+ # CreateDeviceVirtualGroup返回参数结构体
148
+ class CreateDeviceVirtualGroupResponse < TencentCloud::Common::AbstractModel
149
+ # @param Data: 响应返回的data
150
+ # 注意:此字段可能返回 null,表示取不到有效值。
151
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.CreateDeviceVirtualGroupRspData`
152
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
153
+ # @type RequestId: String
154
+
155
+ attr_accessor :Data, :RequestId
156
+
157
+ def initialize(data=nil, requestid=nil)
158
+ @Data = data
159
+ @RequestId = requestid
160
+ end
161
+
162
+ def deserialize(params)
163
+ unless params['Data'].nil?
164
+ @Data = CreateDeviceVirtualGroupRspData.new
165
+ @Data.deserialize(params['Data'])
166
+ end
167
+ @RequestId = params['RequestId']
168
+ end
169
+ end
170
+
171
+ # 响应返回的data
172
+ class CreateDeviceVirtualGroupRspData < TencentCloud::Common::AbstractModel
173
+ # @param Id: 返回的自定义分组id
174
+ # 注意:此字段可能返回 null,表示取不到有效值。
175
+ # @type Id: Integer
176
+
177
+ attr_accessor :Id
178
+
179
+ def initialize(id=nil)
180
+ @Id = id
181
+ end
182
+
183
+ def deserialize(params)
184
+ @Id = params['Id']
185
+ end
186
+ end
187
+
188
+ # 账号分组信息
80
189
  class DescribeAccountGroupsData < TencentCloud::Common::AbstractModel
81
- # @param NamePath: 名称path
190
+ # @param NamePath: 账号分组名全路径,点分格式
82
191
  # 注意:此字段可能返回 null,表示取不到有效值。
83
192
  # @type NamePath: String
84
- # @param IdPathArr: id patch数组(只支持32位)
193
+ # @param IdPathArr: 账号分组ID全路径,数组格式
85
194
  # 注意:此字段可能返回 null,表示取不到有效值。
86
195
  # @type IdPathArr: Array
87
196
  # @param ExtraInfo: 扩展信息
@@ -90,31 +199,31 @@ module TencentCloud
90
199
  # @param Utime: 最后更新时间
91
200
  # 注意:此字段可能返回 null,表示取不到有效值。
92
201
  # @type Utime: String
93
- # @param ParentId: 父id
202
+ # @param ParentId: 父分组ID
94
203
  # 注意:此字段可能返回 null,表示取不到有效值。
95
204
  # @type ParentId: Integer
96
- # @param OrgId: 组织id
205
+ # @param OrgId: 源账号组织ID。使用第三方导入用户源时,记录该分组在源组织架构下的分组ID
97
206
  # 注意:此字段可能返回 null,表示取不到有效值。
98
207
  # @type OrgId: String
99
- # @param Name: 账户组名称
208
+ # @param Name: 分组名称
100
209
  # 注意:此字段可能返回 null,表示取不到有效值。
101
210
  # @type Name: String
102
- # @param Id: id
211
+ # @param Id: 分组ID
103
212
  # 注意:此字段可能返回 null,表示取不到有效值。
104
213
  # @type Id: Integer
105
- # @param Description: 描述
214
+ # @param Description: 分组描述
106
215
  # 注意:此字段可能返回 null,表示取不到有效值。
107
216
  # @type Description: String
108
217
  # @param Source: 同步数据源
109
218
  # 注意:此字段可能返回 null,表示取不到有效值。
110
219
  # @type Source: Integer
111
- # @param IdPath: id path
220
+ # @param IdPath: 账号分组ID全路径,点分格式
112
221
  # 注意:此字段可能返回 null,表示取不到有效值。
113
222
  # @type IdPath: String
114
223
  # @param Itime: 创建时间
115
224
  # 注意:此字段可能返回 null,表示取不到有效值。
116
225
  # @type Itime: String
117
- # @param ParentOrgId: 父组织id
226
+ # @param ParentOrgId: 父源账号组织ID。使用第三方导入用户源时,记录该分组在源组织架构下的分组ID
118
227
  # 注意:此字段可能返回 null,表示取不到有效值。
119
228
  # @type ParentOrgId: String
120
229
  # @param ImportType: 导入类型
@@ -123,7 +232,7 @@ module TencentCloud
123
232
  # @param MiniIamId: miniIAM id
124
233
  # 注意:此字段可能返回 null,表示取不到有效值。
125
234
  # @type MiniIamId: String
126
- # @param UserTotal: 该分组下用户总数
235
+ # @param UserTotal: 该分组下含子组的所有用户总数
127
236
  # 注意:此字段可能返回 null,表示取不到有效值。
128
237
  # @type UserTotal: Integer
129
238
  # @param IsLeaf: 是否叶子节点
@@ -222,15 +331,22 @@ module TencentCloud
222
331
 
223
332
  # DescribeAccountGroups请求参数结构体
224
333
  class DescribeAccountGroupsRequest < TencentCloud::Common::AbstractModel
225
- # @param Deepin: 搜索范围,0-仅搜直接子组,1-深层搜索(只支持32位)
334
+ # @param Deepin: 搜索范围:0-仅当前分组的直接子组,1-当前分组的所有子组。默认为0。
226
335
  # @type Deepin: Integer
227
- # @param Condition: 滤条件、分页参数
228
- # <li>Name - String - 是否必填:否 - 操作符: like - 排序支持:否- 按账号分组过滤。</li>
336
+ # @param Condition: 查询条件
337
+
338
+ # 过滤参数
339
+ # 1、Name,string类型,按分组名过滤
340
+ # 是否必填:否
341
+ # 操作符: like
342
+
229
343
  # 排序条件
230
- # <li>Itime - string - 是否必填:否 - 排序支持:是 - 按账号分组创建时间排序。</li>
231
- # <li>Utime - string - 是否必填:否 - 排序支持:是 - 按账号分组更新时间排序。</li>
344
+ # 1、Itimestring类型,按分组创建时间排序
345
+ # 是否必填:否
346
+ # 2、Utime,string类型,按分组更新时间排序
347
+ # 是否必填:否
232
348
  # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
233
- # @param ParentId: 父分组id
349
+ # @param ParentId: 父分组ID,获取该分组下的子组信息。默认查询全网根分组下子组信息。
234
350
  # @type ParentId: Integer
235
351
 
236
352
  attr_accessor :Deepin, :Condition, :ParentId
@@ -253,7 +369,7 @@ module TencentCloud
253
369
 
254
370
  # DescribeAccountGroups返回参数结构体
255
371
  class DescribeAccountGroupsResponse < TencentCloud::Common::AbstractModel
256
- # @param Data: 账户分组详情响应数据
372
+ # @param Data: 账号分组详情响应数据
257
373
  # 注意:此字段可能返回 null,表示取不到有效值。
258
374
  # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DescribeAccountGroupsPageResp`
259
375
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -309,15 +425,55 @@ module TencentCloud
309
425
 
310
426
  # DescribeDevices请求参数结构体
311
427
  class DescribeDevicesRequest < TencentCloud::Common::AbstractModel
312
- # @param Condition: 过滤条件<br>
313
- # <li>Ip - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照Ip进行过滤。</li>
314
- # <li>MacAddr - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照mac地址进行过滤。</li>
315
- # <li>IoaUserName - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照ioa用户名进行过滤。</li>
316
- # 分页参数<br>
317
- # <li>PageNum 从1开始,小于等于0时使用默认参数。</li>
318
- # <li>PageSize 最大值5000,最好不超过100。</li>
428
+ # @param Condition: 过滤条件参数(字段含义请参考接口返回值)
429
+
430
+ # - Mid, 类型String,支持操作:【eq,like,ilike】,支持排序
431
+ # - Name, 类型String,支持操作:【eq,like,ilike】,支持排序
432
+ # - Itime, 类型String,支持操作:【eq,like,ilike】,支持排序
433
+ # - UserName, 类型String,支持操作:【eq,like,ilike】,支持排序
434
+ # - MacAddr, 类型String,支持操作:【eq,like,ilike】,支持排序
435
+ # - UserId, 类型String,支持操作:【eq,like,ilike】,支持排序
436
+ # - Ip, 类型String,支持操作:【eq,like,ilike】,支持排序
437
+ # - Tags,类型String,支持操作:【eq,like,ilike】,支持排序
438
+ # - LocalIpList,类型String,支持操作:【eq,like,ilike】,支持排序
439
+ # - SerialNum,类型String,支持操作:【eq,like,ilike】,支持排序
440
+ # - Version,类型String,支持操作:【eq,like,ilike】,支持排序
441
+ # - StrVersion,类型String,支持操作:【eq,like,ilike】,支持排序
442
+ # - RtpStatus,类型String,支持操作:【eq,like,ilike】,**不支持排序**
443
+ # - HostName,类型String,支持操作:【eq,like,ilike】,支持排序
444
+ # - IoaUserName,类型String,支持操作:【eq,like,ilike】,支持排序
445
+ # - GroupName,类型String,支持操作:【eq,like,ilike】,支持排序
446
+ # - CriticalVulListCount,**类型Int**,支持操作:【eq】,**不支持排序**
447
+ # - RiskCount,**类型Int**,支持操作:【eq】,**不支持排序**
448
+ # - VulVersion,类型String,支持操作:【eq,like,ilike】,**不支持排序**
449
+ # - Virusver,类型String,支持操作:【eq,like,ilike】,**不支持排序**
450
+ # - SysRepver,类型String,支持操作:【eq,like,ilike】,**不支持排序**
451
+ # - BaseBoardSn,类型String,支持操作:【eq,like,ilike】,支持排序
452
+ # - Os,类型String,支持操作:【eq,like,ilike】,支持排序
453
+ # - ConnActiveTime,类型String,支持操作:【eq,like,ilike】,**不支持排序**
454
+ # - FirewallStatus,**类型Int**,支持操作:【eq】,**不支持排序**
455
+ # - ProfileName,类型String,支持操作:【eq,like,ilike】,支持排序
456
+ # - DomainName,类型String,支持操作:【eq,like,ilike】,支持排序
457
+ # - SysRepVersion,类型String,支持操作:【eq,like,ilike】,支持排序
458
+ # - VirusVer,类型String,支持操作:【eq,like,ilike】,支持排序
459
+ # - Cpu,类型String,支持操作:【eq,like,ilike】,支持排序
460
+ # - Memory,类型String,支持操作:【eq,like,ilike】,支持排序
461
+ # - HardDiskSize,类型String,支持操作:【eq,like,ilike】,支持排序
462
+ # - HardwareChangeCount,**类型Int**,支持操作:【eq】,支持排序
463
+ # - AccountName,类型String,支持操作:【like.ilike】,支持排序
464
+ # - AccountGroupName,类型String,支持操作:【like.ilike】,支持排序
465
+ # - ScreenRecordingPermission,**类型Int**,支持操作:【eq】,支持排序
466
+ # - DiskAccessPermission,**类型Int**,支持操作:【eq】,支持排序
467
+
468
+
469
+
470
+
471
+
472
+ # 分页参数
473
+ # - PageNum 从1开始,小于等于0时使用默认参数
474
+ # - PageSize 最大值5000,最好不超过100
319
475
  # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
320
- # @param GroupId: 【和GroupIds必须有一个填写】设备分组id(需要和OsType匹配)
476
+ # @param GroupId: 【和GroupIds必须有一个填写】设备分组id(需要和OsType匹配),下面是私有化场景下默认id:
321
477
  # id-名称-操作系统
322
478
  # 1 全网终端 Win
323
479
  # 2 未分组终端 Win
@@ -332,8 +488,11 @@ module TencentCloud
332
488
  # 40000402 未分组终端 Android
333
489
  # 40000501 全网终端 iOS
334
490
  # 40000502 未分组终端 iOS
491
+
492
+
493
+ # SaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
335
494
  # @type GroupId: Integer
336
- # @param OsType: 【必填】操作系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
495
+ # @param OsType: 【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
337
496
  # @type OsType: Integer
338
497
  # @param OnlineStatus: 在线状态 (2表示在线,0或者1表示离线)
339
498
  # @type OnlineStatus: Integer
@@ -345,12 +504,14 @@ module TencentCloud
345
504
  # @type PageNum: Integer
346
505
  # @param PageSize: 每页获取数--兼容旧接口,参数同Condition
347
506
  # @type PageSize: Integer
348
- # @param Status: 授权状态 4未授权 5已授权
507
+ # @param Status: 授权状态: 4基础授权 5高级授权
349
508
  # @type Status: Integer
509
+ # @param GroupIds: 【和GroupId必须有一个填写】设备分组id列表(需要和OsType匹配)
510
+ # @type GroupIds: Array
350
511
 
351
- attr_accessor :Condition, :GroupId, :OsType, :OnlineStatus, :Filters, :Sort, :PageNum, :PageSize, :Status
512
+ attr_accessor :Condition, :GroupId, :OsType, :OnlineStatus, :Filters, :Sort, :PageNum, :PageSize, :Status, :GroupIds
352
513
 
353
- def initialize(condition=nil, groupid=nil, ostype=nil, onlinestatus=nil, filters=nil, sort=nil, pagenum=nil, pagesize=nil, status=nil)
514
+ def initialize(condition=nil, groupid=nil, ostype=nil, onlinestatus=nil, filters=nil, sort=nil, pagenum=nil, pagesize=nil, status=nil, groupids=nil)
354
515
  @Condition = condition
355
516
  @GroupId = groupid
356
517
  @OsType = ostype
@@ -360,6 +521,7 @@ module TencentCloud
360
521
  @PageNum = pagenum
361
522
  @PageSize = pagesize
362
523
  @Status = status
524
+ @GroupIds = groupids
363
525
  end
364
526
 
365
527
  def deserialize(params)
@@ -385,6 +547,7 @@ module TencentCloud
385
547
  @PageNum = params['PageNum']
386
548
  @PageSize = params['PageSize']
387
549
  @Status = params['Status']
550
+ @GroupIds = params['GroupIds']
388
551
  end
389
552
  end
390
553
 
@@ -582,12 +745,21 @@ module TencentCloud
582
745
 
583
746
  # DescribeLocalAccounts请求参数结构体
584
747
  class DescribeLocalAccountsRequest < TencentCloud::Common::AbstractModel
585
- # @param Condition: 滤条件、分页参数
586
- # <li>UserName - String - 是否必填:否 - 操作符: eq,like - 排序支持:否- 按账号UserName过滤。</li>
587
- # <li>UserId - string - 是否必填:否 - 操作符: eq,like - 排序支持:否 - 按账号UserNd过滤。</li>
588
- # <li>Phone - string - 是否必填:否 - 操作符: eq,like - 排序支持:否 - 按手机号过滤。</li>
748
+ # @param Condition: 查询条件:过滤或排序
749
+ # 1、UserName,string类型,姓名
750
+ # 是否必填:否
751
+ # 过滤支持:是,支持eqlike、ilike
752
+ # 排序支持:否
753
+ # 2、UserId,string类型,账户
754
+ # 是否必填:否
755
+ # 过滤支持:是,支持eq、like、ilike
756
+ # 排序支持:否
757
+ # 3、Phone,string类型,手机号
758
+ # 是否必填:否
759
+ # 过滤支持:是,支持eq、like、ilike
760
+ # 排序支持:否
589
761
  # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
590
- # @param AccountGroupId: 获取账号的分组Id,不传默认获取全部(只支持32位)
762
+ # @param AccountGroupId: 获取账号的分组ID,不传默认获取全网根账号组
591
763
  # @type AccountGroupId: Integer
592
764
  # @param ShowFlag: 是否仅展示当前目录下用户 1: 递归显示 2:仅显示当前目录下用户(只支持32位)
593
765
  # @type ShowFlag: Integer
@@ -647,7 +819,7 @@ module TencentCloud
647
819
 
648
820
  # DescribeRootAccountGroup返回参数结构体
649
821
  class DescribeRootAccountGroupResponse < TencentCloud::Common::AbstractModel
650
- # @param Data: 账户分组详情响应数据
822
+ # @param Data: 账号根分组响应详情
651
823
  # 注意:此字段可能返回 null,表示取不到有效值。
652
824
  # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.GetAccountGroupData`
653
825
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -710,7 +882,7 @@ module TencentCloud
710
882
  # @param LocalIpList: 设备本地IP列表, 包括IP
711
883
  # 注意:此字段可能返回 null,表示取不到有效值。
712
884
  # @type LocalIpList: String
713
- # @param HostId: 主机ID(只支持32位)
885
+ # @param HostId: 宿主机id(需要宿主机也安装iOA才能显示)
714
886
  # 注意:此字段可能返回 null,表示取不到有效值。
715
887
  # @type HostId: Integer
716
888
  # @param GroupName: 设备所属分组名
@@ -776,13 +948,13 @@ module TencentCloud
776
948
  # @param NGNNewStrategyVer: NGN策略新版本
777
949
  # 注意:此字段可能返回 null,表示取不到有效值。
778
950
  # @type NGNNewStrategyVer: String
779
- # @param HostName: 主机名称
951
+ # @param HostName: 宿主机名称(需要宿主机也安装iOA才能显示)
780
952
  # 注意:此字段可能返回 null,表示取不到有效值。
781
953
  # @type HostName: String
782
954
  # @param BaseBoardSn: 主板序列号
783
955
  # 注意:此字段可能返回 null,表示取不到有效值。
784
956
  # @type BaseBoardSn: String
785
- # @param AccountUsers: 绑定账户只有名字
957
+ # @param AccountUsers: 绑定账户名称
786
958
  # 注意:此字段可能返回 null,表示取不到有效值。
787
959
  # @type AccountUsers: String
788
960
  # @param IdentityStrategyVer: 身份策略版本
@@ -947,12 +1119,12 @@ module TencentCloud
947
1119
  end
948
1120
  end
949
1121
 
950
- # 账户分组详情响应数据
1122
+ # 账号分组详情响应数据
951
1123
  class GetAccountGroupData < TencentCloud::Common::AbstractModel
952
- # @param NamePath: 分组Namepath
1124
+ # @param NamePath: 分组名称全路径,点分格式
953
1125
  # 注意:此字段可能返回 null,表示取不到有效值。
954
1126
  # @type NamePath: String
955
- # @param IdPathArr: 分组Id path arr(只支持32位)
1127
+ # @param IdPathArr: 分组ID全路径,数组格式
956
1128
  # 注意:此字段可能返回 null,表示取不到有效值。
957
1129
  # @type IdPathArr: Array
958
1130
  # @param ExtraInfo: 分组扩展信息
@@ -961,31 +1133,31 @@ module TencentCloud
961
1133
  # @param Utime: 最后更新时间
962
1134
  # 注意:此字段可能返回 null,表示取不到有效值。
963
1135
  # @type Utime: String
964
- # @param ParentId: 父分组id(只支持32位)
1136
+ # @param ParentId: 当前分组的父分组ID
965
1137
  # 注意:此字段可能返回 null,表示取不到有效值。
966
1138
  # @type ParentId: Integer
967
- # @param OrgId: 组织id
1139
+ # @param OrgId: 源账号组ID,该字段仅适用于第三方同步的组织架构,通过OrgId-Id构成源组织架构分组ID-现组织架构分组ID映射关系
968
1140
  # 注意:此字段可能返回 null,表示取不到有效值。
969
1141
  # @type OrgId: String
970
1142
  # @param Name: 分组名称
971
1143
  # 注意:此字段可能返回 null,表示取不到有效值。
972
1144
  # @type Name: String
973
- # @param Id: 分组id(只支持32位)
1145
+ # @param Id: 分组ID
974
1146
  # 注意:此字段可能返回 null,表示取不到有效值。
975
1147
  # @type Id: Integer
976
- # @param Description: 描述
1148
+ # @param Description: 分组描述
977
1149
  # 注意:此字段可能返回 null,表示取不到有效值。
978
1150
  # @type Description: String
979
1151
  # @param Source: 分组导入源(只支持32位)
980
1152
  # 注意:此字段可能返回 null,表示取不到有效值。
981
1153
  # @type Source: Integer
982
- # @param IdPath: Id Path
1154
+ # @param IdPath: 分组ID全路径,点分格式
983
1155
  # 注意:此字段可能返回 null,表示取不到有效值。
984
1156
  # @type IdPath: String
985
1157
  # @param Itime: 创建时间
986
1158
  # 注意:此字段可能返回 null,表示取不到有效值。
987
1159
  # @type Itime: String
988
- # @param ParentOrgId: 父组织id
1160
+ # @param ParentOrgId: 父源账号组ID,该字段仅适用于第三方同步的组织架构
989
1161
  # 注意:此字段可能返回 null,表示取不到有效值。
990
1162
  # @type ParentOrgId: String
991
1163
  # @param Import: 导入信息,json格式
@@ -1076,6 +1248,96 @@ module TencentCloud
1076
1248
  end
1077
1249
  end
1078
1250
 
1251
+ # 规则表达式
1252
+ class RuleExpression < TencentCloud::Common::AbstractModel
1253
+ # @param Items: 规则元数据
1254
+ # 注意:此字段可能返回 null,表示取不到有效值。
1255
+ # @type Items: Array
1256
+ # @param Relation: 关系
1257
+ # 注意:此字段可能返回 null,表示取不到有效值。
1258
+ # @type Relation: String
1259
+
1260
+ attr_accessor :Items, :Relation
1261
+
1262
+ def initialize(items=nil, relation=nil)
1263
+ @Items = items
1264
+ @Relation = relation
1265
+ end
1266
+
1267
+ def deserialize(params)
1268
+ unless params['Items'].nil?
1269
+ @Items = []
1270
+ params['Items'].each do |i|
1271
+ ruleitem_tmp = RuleItem.new
1272
+ ruleitem_tmp.deserialize(i)
1273
+ @Items << ruleitem_tmp
1274
+ end
1275
+ end
1276
+ @Relation = params['Relation']
1277
+ end
1278
+ end
1279
+
1280
+ # 规则元数据
1281
+ class RuleItem < TencentCloud::Common::AbstractModel
1282
+ # @param Key: 字段名称
1283
+ # 注意:此字段可能返回 null,表示取不到有效值。
1284
+ # @type Key: String
1285
+ # @param Operate: 操作关系(等于、不等于、包含、不包含)
1286
+ # 注意:此字段可能返回 null,表示取不到有效值。
1287
+ # @type Operate: String
1288
+ # @param Value: 内容
1289
+ # 注意:此字段可能返回 null,表示取不到有效值。
1290
+ # @type Value: String
1291
+ # @param Values: 内容,v2多值版本使用
1292
+ # 注意:此字段可能返回 null,表示取不到有效值。
1293
+ # @type Values: Array
1294
+
1295
+ attr_accessor :Key, :Operate, :Value, :Values
1296
+
1297
+ def initialize(key=nil, operate=nil, value=nil, values=nil)
1298
+ @Key = key
1299
+ @Operate = operate
1300
+ @Value = value
1301
+ @Values = values
1302
+ end
1303
+
1304
+ def deserialize(params)
1305
+ @Key = params['Key']
1306
+ @Operate = params['Operate']
1307
+ @Value = params['Value']
1308
+ @Values = params['Values']
1309
+ end
1310
+ end
1311
+
1312
+ # 简单规则表达式
1313
+ class SimpleRule < TencentCloud::Common::AbstractModel
1314
+ # @param Expressions: 规则表达式
1315
+ # 注意:此字段可能返回 null,表示取不到有效值。
1316
+ # @type Expressions: Array
1317
+ # @param Relation: 表达式间逻辑关系
1318
+ # 注意:此字段可能返回 null,表示取不到有效值。
1319
+ # @type Relation: String
1320
+
1321
+ attr_accessor :Expressions, :Relation
1322
+
1323
+ def initialize(expressions=nil, relation=nil)
1324
+ @Expressions = expressions
1325
+ @Relation = relation
1326
+ end
1327
+
1328
+ def deserialize(params)
1329
+ unless params['Expressions'].nil?
1330
+ @Expressions = []
1331
+ params['Expressions'].each do |i|
1332
+ ruleexpression_tmp = RuleExpression.new
1333
+ ruleexpression_tmp.deserialize(i)
1334
+ @Expressions << ruleexpression_tmp
1335
+ end
1336
+ end
1337
+ @Relation = params['Relation']
1338
+ end
1339
+ end
1340
+
1079
1341
  # Sort 排序字段
1080
1342
  class Sort < TencentCloud::Common::AbstractModel
1081
1343
  # @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.931
4
+ version: 3.0.933
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common