tencentcloud-sdk-bi 3.0.1114 → 3.0.1134
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/v20220105/client.rb +120 -0
- data/lib/v20220105/models.rb +606 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6931467a1860944a4a1a2ce88ee68fbf59db860d
|
4
|
+
data.tar.gz: 5838faae1536269ab612c7d4a6c270d3aeedc381
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b47db11cde57b0dca70f9249e257e7473ca8cf76796c6155d06c0b81030d29babf6d7726c17597bf955bb76d8a97efc5a8ad73b1e863d74c04d8aada8aede93
|
7
|
+
data.tar.gz: 7f15db8ffa177a02f72d86a7a95dfe19fed2d7d28d8078827839fd268cab16ac5ad69c5ea3dfbe8c8af240104a384d8d595773e3bca246daf7540cca8097b4fa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1134
|
data/lib/v20220105/client.rb
CHANGED
@@ -53,6 +53,30 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 强鉴权token 清理,只有企业管理员才能调用该接口
|
57
|
+
|
58
|
+
# @param request: Request instance for ClearEmbedToken.
|
59
|
+
# @type request: :class:`Tencentcloud::bi::V20220105::ClearEmbedTokenRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::bi::V20220105::ClearEmbedTokenResponse`
|
61
|
+
def ClearEmbedToken(request)
|
62
|
+
body = send_request('ClearEmbedToken', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = ClearEmbedTokenResponse.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
|
# 创建数据源
|
57
81
|
|
58
82
|
# @param request: Request instance for CreateDatasource.
|
@@ -125,6 +149,30 @@ module TencentCloud
|
|
125
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
150
|
end
|
127
151
|
|
152
|
+
# 创建行列权限
|
153
|
+
|
154
|
+
# @param request: Request instance for CreatePermissionRanks.
|
155
|
+
# @type request: :class:`Tencentcloud::bi::V20220105::CreatePermissionRanksRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::bi::V20220105::CreatePermissionRanksResponse`
|
157
|
+
def CreatePermissionRanks(request)
|
158
|
+
body = send_request('CreatePermissionRanks', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CreatePermissionRanksResponse.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
|
+
|
128
176
|
# 创建项目
|
129
177
|
|
130
178
|
# @param request: Request instance for CreateProject.
|
@@ -341,6 +389,78 @@ module TencentCloud
|
|
341
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
390
|
end
|
343
391
|
|
392
|
+
# 根据角色或标签查询行列权限配置
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribePermissionRanksInfo.
|
395
|
+
# @type request: :class:`Tencentcloud::bi::V20220105::DescribePermissionRanksInfoRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::bi::V20220105::DescribePermissionRanksInfoResponse`
|
397
|
+
def DescribePermissionRanksInfo(request)
|
398
|
+
body = send_request('DescribePermissionRanksInfo', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribePermissionRanksInfoResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
416
|
+
# 行列权限项目内角色列表接口1
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribePermissionRoleInfo.
|
419
|
+
# @type request: :class:`Tencentcloud::bi::V20220105::DescribePermissionRoleInfoRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::bi::V20220105::DescribePermissionRoleInfoResponse`
|
421
|
+
def DescribePermissionRoleInfo(request)
|
422
|
+
body = send_request('DescribePermissionRoleInfo', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribePermissionRoleInfoResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 查询行列权限初始状态1
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribePermissionStatusInfo.
|
443
|
+
# @type request: :class:`Tencentcloud::bi::V20220105::DescribePermissionStatusInfoRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::bi::V20220105::DescribePermissionStatusInfoResponse`
|
445
|
+
def DescribePermissionStatusInfo(request)
|
446
|
+
body = send_request('DescribePermissionStatusInfo', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribePermissionStatusInfoResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
344
464
|
# 项目详情接口
|
345
465
|
|
346
466
|
# @param request: Request instance for DescribeProjectInfo.
|
data/lib/v20220105/models.rb
CHANGED
@@ -181,6 +181,73 @@ module TencentCloud
|
|
181
181
|
end
|
182
182
|
end
|
183
183
|
|
184
|
+
# ClearEmbedToken请求参数结构体
|
185
|
+
class ClearEmbedTokenRequest < TencentCloud::Common::AbstractModel
|
186
|
+
# @param ProjectId: 项目id
|
187
|
+
# @type ProjectId: String
|
188
|
+
# @param UserCorpId: 主账号id
|
189
|
+
# @type UserCorpId: String
|
190
|
+
# @param Scope: panel , page
|
191
|
+
# @type Scope: String
|
192
|
+
# @param PageId: page id
|
193
|
+
# @type PageId: String
|
194
|
+
|
195
|
+
attr_accessor :ProjectId, :UserCorpId, :Scope, :PageId
|
196
|
+
|
197
|
+
def initialize(projectid=nil, usercorpid=nil, scope=nil, pageid=nil)
|
198
|
+
@ProjectId = projectid
|
199
|
+
@UserCorpId = usercorpid
|
200
|
+
@Scope = scope
|
201
|
+
@PageId = pageid
|
202
|
+
end
|
203
|
+
|
204
|
+
def deserialize(params)
|
205
|
+
@ProjectId = params['ProjectId']
|
206
|
+
@UserCorpId = params['UserCorpId']
|
207
|
+
@Scope = params['Scope']
|
208
|
+
@PageId = params['PageId']
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
# ClearEmbedToken返回参数结构体
|
213
|
+
class ClearEmbedTokenResponse < TencentCloud::Common::AbstractModel
|
214
|
+
# @param ErrorInfo: 自定义错误信息对象
|
215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
216
|
+
# @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
|
217
|
+
# @param Extra: 额外消息
|
218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
219
|
+
# @type Extra: String
|
220
|
+
# @param Msg: 提示消息
|
221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
222
|
+
# @type Msg: String
|
223
|
+
# @param Data: 结果
|
224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
225
|
+
# @type Data: Boolean
|
226
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
227
|
+
# @type RequestId: String
|
228
|
+
|
229
|
+
attr_accessor :ErrorInfo, :Extra, :Msg, :Data, :RequestId
|
230
|
+
|
231
|
+
def initialize(errorinfo=nil, extra=nil, msg=nil, data=nil, requestid=nil)
|
232
|
+
@ErrorInfo = errorinfo
|
233
|
+
@Extra = extra
|
234
|
+
@Msg = msg
|
235
|
+
@Data = data
|
236
|
+
@RequestId = requestid
|
237
|
+
end
|
238
|
+
|
239
|
+
def deserialize(params)
|
240
|
+
unless params['ErrorInfo'].nil?
|
241
|
+
@ErrorInfo = ErrorInfo.new
|
242
|
+
@ErrorInfo.deserialize(params['ErrorInfo'])
|
243
|
+
end
|
244
|
+
@Extra = params['Extra']
|
245
|
+
@Msg = params['Msg']
|
246
|
+
@Data = params['Data']
|
247
|
+
@RequestId = params['RequestId']
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
184
251
|
# 企业用户列表
|
185
252
|
class CorpUserListData < TencentCloud::Common::AbstractModel
|
186
253
|
# @param List: 列表
|
@@ -651,6 +718,100 @@ module TencentCloud
|
|
651
718
|
end
|
652
719
|
end
|
653
720
|
|
721
|
+
# CreatePermissionRanks请求参数结构体
|
722
|
+
class CreatePermissionRanksRequest < TencentCloud::Common::AbstractModel
|
723
|
+
# @param TableId: 页数
|
724
|
+
# @type TableId: Integer
|
725
|
+
# @param Mode: 条数
|
726
|
+
# @type Mode: String
|
727
|
+
# @param RoleType: 角色类型
|
728
|
+
# @type RoleType: String
|
729
|
+
# @param RoleId: 所有页码
|
730
|
+
# @type RoleId: Integer
|
731
|
+
# @param RulerInfo: 规则信息
|
732
|
+
# @type RulerInfo: String
|
733
|
+
# @param Type: 类型
|
734
|
+
# @type Type: String
|
735
|
+
# @param OpenStatus: 状态
|
736
|
+
# @type OpenStatus: String
|
737
|
+
# @param ProjectId: 项目id
|
738
|
+
# @type ProjectId: Integer
|
739
|
+
# @param RowColumnConfigList: 行列权限配置
|
740
|
+
# @type RowColumnConfigList: Array
|
741
|
+
|
742
|
+
attr_accessor :TableId, :Mode, :RoleType, :RoleId, :RulerInfo, :Type, :OpenStatus, :ProjectId, :RowColumnConfigList
|
743
|
+
|
744
|
+
def initialize(tableid=nil, mode=nil, roletype=nil, roleid=nil, rulerinfo=nil, type=nil, openstatus=nil, projectid=nil, rowcolumnconfiglist=nil)
|
745
|
+
@TableId = tableid
|
746
|
+
@Mode = mode
|
747
|
+
@RoleType = roletype
|
748
|
+
@RoleId = roleid
|
749
|
+
@RulerInfo = rulerinfo
|
750
|
+
@Type = type
|
751
|
+
@OpenStatus = openstatus
|
752
|
+
@ProjectId = projectid
|
753
|
+
@RowColumnConfigList = rowcolumnconfiglist
|
754
|
+
end
|
755
|
+
|
756
|
+
def deserialize(params)
|
757
|
+
@TableId = params['TableId']
|
758
|
+
@Mode = params['Mode']
|
759
|
+
@RoleType = params['RoleType']
|
760
|
+
@RoleId = params['RoleId']
|
761
|
+
@RulerInfo = params['RulerInfo']
|
762
|
+
@Type = params['Type']
|
763
|
+
@OpenStatus = params['OpenStatus']
|
764
|
+
@ProjectId = params['ProjectId']
|
765
|
+
unless params['RowColumnConfigList'].nil?
|
766
|
+
@RowColumnConfigList = []
|
767
|
+
params['RowColumnConfigList'].each do |i|
|
768
|
+
rowcolumnconfig_tmp = RowColumnConfig.new
|
769
|
+
rowcolumnconfig_tmp.deserialize(i)
|
770
|
+
@RowColumnConfigList << rowcolumnconfig_tmp
|
771
|
+
end
|
772
|
+
end
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
# CreatePermissionRanks返回参数结构体
|
777
|
+
class CreatePermissionRanksResponse < TencentCloud::Common::AbstractModel
|
778
|
+
# @param ErrorInfo: 自定义错误信息对象
|
779
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
780
|
+
# @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
|
781
|
+
# @param Msg: 消息
|
782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
783
|
+
# @type Msg: String
|
784
|
+
# @param Extra: 112
|
785
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
786
|
+
# @type Extra: String
|
787
|
+
# @param Data: 1
|
788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
789
|
+
# @type Data: String
|
790
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
791
|
+
# @type RequestId: String
|
792
|
+
|
793
|
+
attr_accessor :ErrorInfo, :Msg, :Extra, :Data, :RequestId
|
794
|
+
|
795
|
+
def initialize(errorinfo=nil, msg=nil, extra=nil, data=nil, requestid=nil)
|
796
|
+
@ErrorInfo = errorinfo
|
797
|
+
@Msg = msg
|
798
|
+
@Extra = extra
|
799
|
+
@Data = data
|
800
|
+
@RequestId = requestid
|
801
|
+
end
|
802
|
+
|
803
|
+
def deserialize(params)
|
804
|
+
unless params['ErrorInfo'].nil?
|
805
|
+
@ErrorInfo = ErrorInfo.new
|
806
|
+
@ErrorInfo.deserialize(params['ErrorInfo'])
|
807
|
+
end
|
808
|
+
@Msg = params['Msg']
|
809
|
+
@Extra = params['Extra']
|
810
|
+
@Data = params['Data']
|
811
|
+
@RequestId = params['RequestId']
|
812
|
+
end
|
813
|
+
end
|
814
|
+
|
654
815
|
# CreateProject请求参数结构体
|
655
816
|
class CreateProjectRequest < TencentCloud::Common::AbstractModel
|
656
817
|
# @param Name: 项目名称
|
@@ -743,8 +904,8 @@ module TencentCloud
|
|
743
904
|
|
744
905
|
attr_accessor :ProjectId, :RoleIdList, :UserList, :UserInfoList
|
745
906
|
extend Gem::Deprecate
|
746
|
-
deprecate :UserList, :none, 2025,
|
747
|
-
deprecate :UserList=, :none, 2025,
|
907
|
+
deprecate :UserList, :none, 2025, 9
|
908
|
+
deprecate :UserList=, :none, 2025, 9
|
748
909
|
|
749
910
|
def initialize(projectid=nil, roleidlist=nil, userlist=nil, userinfolist=nil)
|
750
911
|
@ProjectId = projectid
|
@@ -830,8 +991,8 @@ module TencentCloud
|
|
830
991
|
|
831
992
|
attr_accessor :RoleIdList, :UserList, :UserInfoList, :UserGroups
|
832
993
|
extend Gem::Deprecate
|
833
|
-
deprecate :UserList, :none, 2025,
|
834
|
-
deprecate :UserList=, :none, 2025,
|
994
|
+
deprecate :UserList, :none, 2025, 9
|
995
|
+
deprecate :UserList=, :none, 2025, 9
|
835
996
|
|
836
997
|
def initialize(roleidlist=nil, userlist=nil, userinfolist=nil, usergroups=nil)
|
837
998
|
@RoleIdList = roleidlist
|
@@ -1568,6 +1729,224 @@ module TencentCloud
|
|
1568
1729
|
end
|
1569
1730
|
end
|
1570
1731
|
|
1732
|
+
# DescribePermissionRanksInfo请求参数结构体
|
1733
|
+
class DescribePermissionRanksInfoRequest < TencentCloud::Common::AbstractModel
|
1734
|
+
# @param TableId: 页数
|
1735
|
+
# @type TableId: Integer
|
1736
|
+
# @param Mode: 条数
|
1737
|
+
# @type Mode: String
|
1738
|
+
# @param RoleType: 角色类型
|
1739
|
+
# @type RoleType: String
|
1740
|
+
# @param RoleId: 所有页码
|
1741
|
+
# @type RoleId: Integer
|
1742
|
+
# @param Type: 类型
|
1743
|
+
# @type Type: String
|
1744
|
+
# @param ProjectId: 项目id
|
1745
|
+
# @type ProjectId: Integer
|
1746
|
+
|
1747
|
+
attr_accessor :TableId, :Mode, :RoleType, :RoleId, :Type, :ProjectId
|
1748
|
+
|
1749
|
+
def initialize(tableid=nil, mode=nil, roletype=nil, roleid=nil, type=nil, projectid=nil)
|
1750
|
+
@TableId = tableid
|
1751
|
+
@Mode = mode
|
1752
|
+
@RoleType = roletype
|
1753
|
+
@RoleId = roleid
|
1754
|
+
@Type = type
|
1755
|
+
@ProjectId = projectid
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
def deserialize(params)
|
1759
|
+
@TableId = params['TableId']
|
1760
|
+
@Mode = params['Mode']
|
1761
|
+
@RoleType = params['RoleType']
|
1762
|
+
@RoleId = params['RoleId']
|
1763
|
+
@Type = params['Type']
|
1764
|
+
@ProjectId = params['ProjectId']
|
1765
|
+
end
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
# DescribePermissionRanksInfo返回参数结构体
|
1769
|
+
class DescribePermissionRanksInfoResponse < TencentCloud::Common::AbstractModel
|
1770
|
+
# @param ErrorInfo: 自定义错误信息对象
|
1771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1772
|
+
# @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
|
1773
|
+
# @param Msg: 消息
|
1774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1775
|
+
# @type Msg: String
|
1776
|
+
# @param Extra: 112
|
1777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1778
|
+
# @type Extra: String
|
1779
|
+
# @param Data: 1
|
1780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1781
|
+
# @type Data: :class:`Tencentcloud::Bi.v20220105.models.RankInfo`
|
1782
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1783
|
+
# @type RequestId: String
|
1784
|
+
|
1785
|
+
attr_accessor :ErrorInfo, :Msg, :Extra, :Data, :RequestId
|
1786
|
+
|
1787
|
+
def initialize(errorinfo=nil, msg=nil, extra=nil, data=nil, requestid=nil)
|
1788
|
+
@ErrorInfo = errorinfo
|
1789
|
+
@Msg = msg
|
1790
|
+
@Extra = extra
|
1791
|
+
@Data = data
|
1792
|
+
@RequestId = requestid
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
def deserialize(params)
|
1796
|
+
unless params['ErrorInfo'].nil?
|
1797
|
+
@ErrorInfo = ErrorInfo.new
|
1798
|
+
@ErrorInfo.deserialize(params['ErrorInfo'])
|
1799
|
+
end
|
1800
|
+
@Msg = params['Msg']
|
1801
|
+
@Extra = params['Extra']
|
1802
|
+
unless params['Data'].nil?
|
1803
|
+
@Data = RankInfo.new
|
1804
|
+
@Data.deserialize(params['Data'])
|
1805
|
+
end
|
1806
|
+
@RequestId = params['RequestId']
|
1807
|
+
end
|
1808
|
+
end
|
1809
|
+
|
1810
|
+
# DescribePermissionRoleInfo请求参数结构体
|
1811
|
+
class DescribePermissionRoleInfoRequest < TencentCloud::Common::AbstractModel
|
1812
|
+
# @param ProjectId: 项目ID
|
1813
|
+
# @type ProjectId: Integer
|
1814
|
+
# @param PageNo: 页数
|
1815
|
+
# @type PageNo: Integer
|
1816
|
+
# @param PageSize: 条数
|
1817
|
+
# @type PageSize: Integer
|
1818
|
+
# @param AllPage: 所有页码
|
1819
|
+
# @type AllPage: Boolean
|
1820
|
+
|
1821
|
+
attr_accessor :ProjectId, :PageNo, :PageSize, :AllPage
|
1822
|
+
|
1823
|
+
def initialize(projectid=nil, pageno=nil, pagesize=nil, allpage=nil)
|
1824
|
+
@ProjectId = projectid
|
1825
|
+
@PageNo = pageno
|
1826
|
+
@PageSize = pagesize
|
1827
|
+
@AllPage = allpage
|
1828
|
+
end
|
1829
|
+
|
1830
|
+
def deserialize(params)
|
1831
|
+
@ProjectId = params['ProjectId']
|
1832
|
+
@PageNo = params['PageNo']
|
1833
|
+
@PageSize = params['PageSize']
|
1834
|
+
@AllPage = params['AllPage']
|
1835
|
+
end
|
1836
|
+
end
|
1837
|
+
|
1838
|
+
# DescribePermissionRoleInfo返回参数结构体
|
1839
|
+
class DescribePermissionRoleInfoResponse < TencentCloud::Common::AbstractModel
|
1840
|
+
# @param ErrorInfo: 自定义错误信息对象
|
1841
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1842
|
+
# @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
|
1843
|
+
# @param Data: 数据
|
1844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1845
|
+
# @type Data: Array
|
1846
|
+
# @param Msg: 消息
|
1847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1848
|
+
# @type Msg: String
|
1849
|
+
# @param Extra: 112
|
1850
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1851
|
+
# @type Extra: String
|
1852
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1853
|
+
# @type RequestId: String
|
1854
|
+
|
1855
|
+
attr_accessor :ErrorInfo, :Data, :Msg, :Extra, :RequestId
|
1856
|
+
|
1857
|
+
def initialize(errorinfo=nil, data=nil, msg=nil, extra=nil, requestid=nil)
|
1858
|
+
@ErrorInfo = errorinfo
|
1859
|
+
@Data = data
|
1860
|
+
@Msg = msg
|
1861
|
+
@Extra = extra
|
1862
|
+
@RequestId = requestid
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
def deserialize(params)
|
1866
|
+
unless params['ErrorInfo'].nil?
|
1867
|
+
@ErrorInfo = ErrorInfo.new
|
1868
|
+
@ErrorInfo.deserialize(params['ErrorInfo'])
|
1869
|
+
end
|
1870
|
+
unless params['Data'].nil?
|
1871
|
+
@Data = []
|
1872
|
+
params['Data'].each do |i|
|
1873
|
+
role_tmp = Role.new
|
1874
|
+
role_tmp.deserialize(i)
|
1875
|
+
@Data << role_tmp
|
1876
|
+
end
|
1877
|
+
end
|
1878
|
+
@Msg = params['Msg']
|
1879
|
+
@Extra = params['Extra']
|
1880
|
+
@RequestId = params['RequestId']
|
1881
|
+
end
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
# DescribePermissionStatusInfo请求参数结构体
|
1885
|
+
class DescribePermissionStatusInfoRequest < TencentCloud::Common::AbstractModel
|
1886
|
+
# @param TableId: 页数
|
1887
|
+
# @type TableId: Integer
|
1888
|
+
# @param Type: 类型
|
1889
|
+
# @type Type: String
|
1890
|
+
# @param ProjectId: 1
|
1891
|
+
# @type ProjectId: String
|
1892
|
+
|
1893
|
+
attr_accessor :TableId, :Type, :ProjectId
|
1894
|
+
|
1895
|
+
def initialize(tableid=nil, type=nil, projectid=nil)
|
1896
|
+
@TableId = tableid
|
1897
|
+
@Type = type
|
1898
|
+
@ProjectId = projectid
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
def deserialize(params)
|
1902
|
+
@TableId = params['TableId']
|
1903
|
+
@Type = params['Type']
|
1904
|
+
@ProjectId = params['ProjectId']
|
1905
|
+
end
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
# DescribePermissionStatusInfo返回参数结构体
|
1909
|
+
class DescribePermissionStatusInfoResponse < TencentCloud::Common::AbstractModel
|
1910
|
+
# @param ErrorInfo: 自定义错误信息对象
|
1911
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1912
|
+
# @type ErrorInfo: :class:`Tencentcloud::Bi.v20220105.models.ErrorInfo`
|
1913
|
+
# @param Msg: 消息
|
1914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1915
|
+
# @type Msg: String
|
1916
|
+
# @param Extra: 112
|
1917
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1918
|
+
# @type Extra: String
|
1919
|
+
# @param Data: 1
|
1920
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1921
|
+
# @type Data: :class:`Tencentcloud::Bi.v20220105.models.RowColumnStatus`
|
1922
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1923
|
+
# @type RequestId: String
|
1924
|
+
|
1925
|
+
attr_accessor :ErrorInfo, :Msg, :Extra, :Data, :RequestId
|
1926
|
+
|
1927
|
+
def initialize(errorinfo=nil, msg=nil, extra=nil, data=nil, requestid=nil)
|
1928
|
+
@ErrorInfo = errorinfo
|
1929
|
+
@Msg = msg
|
1930
|
+
@Extra = extra
|
1931
|
+
@Data = data
|
1932
|
+
@RequestId = requestid
|
1933
|
+
end
|
1934
|
+
|
1935
|
+
def deserialize(params)
|
1936
|
+
unless params['ErrorInfo'].nil?
|
1937
|
+
@ErrorInfo = ErrorInfo.new
|
1938
|
+
@ErrorInfo.deserialize(params['ErrorInfo'])
|
1939
|
+
end
|
1940
|
+
@Msg = params['Msg']
|
1941
|
+
@Extra = params['Extra']
|
1942
|
+
unless params['Data'].nil?
|
1943
|
+
@Data = RowColumnStatus.new
|
1944
|
+
@Data.deserialize(params['Data'])
|
1945
|
+
end
|
1946
|
+
@RequestId = params['RequestId']
|
1947
|
+
end
|
1948
|
+
end
|
1949
|
+
|
1571
1950
|
# DescribeProjectInfo请求参数结构体
|
1572
1951
|
class DescribeProjectInfoRequest < TencentCloud::Common::AbstractModel
|
1573
1952
|
# @param Id: 项目Id
|
@@ -3163,6 +3542,229 @@ module TencentCloud
|
|
3163
3542
|
end
|
3164
3543
|
end
|
3165
3544
|
|
3545
|
+
# 行列权限内容
|
3546
|
+
class RankInfo < TencentCloud::Common::AbstractModel
|
3547
|
+
# @param Type: 1
|
3548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3549
|
+
# @type Type: String
|
3550
|
+
# @param Mode: 1
|
3551
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3552
|
+
# @type Mode: String
|
3553
|
+
# @param RulerInfo: `
|
3554
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3555
|
+
# @type RulerInfo: String
|
3556
|
+
# @param RoleId: 1
|
3557
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3558
|
+
# @type RoleId: Integer
|
3559
|
+
# @param RoleType: 1
|
3560
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3561
|
+
# @type RoleType: String
|
3562
|
+
# @param TableId: 1
|
3563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3564
|
+
# @type TableId: Integer
|
3565
|
+
# @param RowColumnConfigList: 行列权限配置
|
3566
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3567
|
+
# @type RowColumnConfigList: Array
|
3568
|
+
|
3569
|
+
attr_accessor :Type, :Mode, :RulerInfo, :RoleId, :RoleType, :TableId, :RowColumnConfigList
|
3570
|
+
|
3571
|
+
def initialize(type=nil, mode=nil, rulerinfo=nil, roleid=nil, roletype=nil, tableid=nil, rowcolumnconfiglist=nil)
|
3572
|
+
@Type = type
|
3573
|
+
@Mode = mode
|
3574
|
+
@RulerInfo = rulerinfo
|
3575
|
+
@RoleId = roleid
|
3576
|
+
@RoleType = roletype
|
3577
|
+
@TableId = tableid
|
3578
|
+
@RowColumnConfigList = rowcolumnconfiglist
|
3579
|
+
end
|
3580
|
+
|
3581
|
+
def deserialize(params)
|
3582
|
+
@Type = params['Type']
|
3583
|
+
@Mode = params['Mode']
|
3584
|
+
@RulerInfo = params['RulerInfo']
|
3585
|
+
@RoleId = params['RoleId']
|
3586
|
+
@RoleType = params['RoleType']
|
3587
|
+
@TableId = params['TableId']
|
3588
|
+
unless params['RowColumnConfigList'].nil?
|
3589
|
+
@RowColumnConfigList = []
|
3590
|
+
params['RowColumnConfigList'].each do |i|
|
3591
|
+
rowcolumnconfig_tmp = RowColumnConfig.new
|
3592
|
+
rowcolumnconfig_tmp.deserialize(i)
|
3593
|
+
@RowColumnConfigList << rowcolumnconfig_tmp
|
3594
|
+
end
|
3595
|
+
end
|
3596
|
+
end
|
3597
|
+
end
|
3598
|
+
|
3599
|
+
# 角色
|
3600
|
+
class Role < TencentCloud::Common::AbstractModel
|
3601
|
+
# @param Id: 角色ID
|
3602
|
+
# @type Id: Integer
|
3603
|
+
# @param RoleName: 角色名称
|
3604
|
+
# @type RoleName: String
|
3605
|
+
# @param CorpId: 企业ID
|
3606
|
+
# @type CorpId: String
|
3607
|
+
# @param RoleType: 角色类型
|
3608
|
+
# @type RoleType: String
|
3609
|
+
# @param Scope: 范围
|
3610
|
+
# @type Scope: String
|
3611
|
+
# @param Description: 描述
|
3612
|
+
# @type Description: String
|
3613
|
+
# @param CreatedAt: 创建时间
|
3614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3615
|
+
# @type CreatedAt: String
|
3616
|
+
# @param CreatedUser: 创建人
|
3617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3618
|
+
# @type CreatedUser: String
|
3619
|
+
# @param UpdatedAt: 更新时间
|
3620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3621
|
+
# @type UpdatedAt: String
|
3622
|
+
# @param UpdatedUser: 更新人
|
3623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3624
|
+
# @type UpdatedUser: String
|
3625
|
+
# @param ScopeType: 是否为全局角色(0 不是, 1 是)
|
3626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3627
|
+
# @type ScopeType: Integer
|
3628
|
+
# @param CanChoose: 是否可被选
|
3629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3630
|
+
# @type CanChoose: Boolean
|
3631
|
+
# @param ModuleCollection: 角色key
|
3632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3633
|
+
# @type ModuleCollection: String
|
3634
|
+
|
3635
|
+
attr_accessor :Id, :RoleName, :CorpId, :RoleType, :Scope, :Description, :CreatedAt, :CreatedUser, :UpdatedAt, :UpdatedUser, :ScopeType, :CanChoose, :ModuleCollection
|
3636
|
+
|
3637
|
+
def initialize(id=nil, rolename=nil, corpid=nil, roletype=nil, scope=nil, description=nil, createdat=nil, createduser=nil, updatedat=nil, updateduser=nil, scopetype=nil, canchoose=nil, modulecollection=nil)
|
3638
|
+
@Id = id
|
3639
|
+
@RoleName = rolename
|
3640
|
+
@CorpId = corpid
|
3641
|
+
@RoleType = roletype
|
3642
|
+
@Scope = scope
|
3643
|
+
@Description = description
|
3644
|
+
@CreatedAt = createdat
|
3645
|
+
@CreatedUser = createduser
|
3646
|
+
@UpdatedAt = updatedat
|
3647
|
+
@UpdatedUser = updateduser
|
3648
|
+
@ScopeType = scopetype
|
3649
|
+
@CanChoose = canchoose
|
3650
|
+
@ModuleCollection = modulecollection
|
3651
|
+
end
|
3652
|
+
|
3653
|
+
def deserialize(params)
|
3654
|
+
@Id = params['Id']
|
3655
|
+
@RoleName = params['RoleName']
|
3656
|
+
@CorpId = params['CorpId']
|
3657
|
+
@RoleType = params['RoleType']
|
3658
|
+
@Scope = params['Scope']
|
3659
|
+
@Description = params['Description']
|
3660
|
+
@CreatedAt = params['CreatedAt']
|
3661
|
+
@CreatedUser = params['CreatedUser']
|
3662
|
+
@UpdatedAt = params['UpdatedAt']
|
3663
|
+
@UpdatedUser = params['UpdatedUser']
|
3664
|
+
@ScopeType = params['ScopeType']
|
3665
|
+
@CanChoose = params['CanChoose']
|
3666
|
+
@ModuleCollection = params['ModuleCollection']
|
3667
|
+
end
|
3668
|
+
end
|
3669
|
+
|
3670
|
+
# 行列权限配置
|
3671
|
+
class RowColumnConfig < TencentCloud::Common::AbstractModel
|
3672
|
+
# @param RulerInfo: 行列权限规则
|
3673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3674
|
+
# @type RulerInfo: String
|
3675
|
+
# @param TagValueList: 标签值列表
|
3676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3677
|
+
# @type TagValueList: Array
|
3678
|
+
|
3679
|
+
attr_accessor :RulerInfo, :TagValueList
|
3680
|
+
|
3681
|
+
def initialize(rulerinfo=nil, tagvaluelist=nil)
|
3682
|
+
@RulerInfo = rulerinfo
|
3683
|
+
@TagValueList = tagvaluelist
|
3684
|
+
end
|
3685
|
+
|
3686
|
+
def deserialize(params)
|
3687
|
+
@RulerInfo = params['RulerInfo']
|
3688
|
+
unless params['TagValueList'].nil?
|
3689
|
+
@TagValueList = []
|
3690
|
+
params['TagValueList'].each do |i|
|
3691
|
+
rowcolumntagvalue_tmp = RowColumnTagValue.new
|
3692
|
+
rowcolumntagvalue_tmp.deserialize(i)
|
3693
|
+
@TagValueList << rowcolumntagvalue_tmp
|
3694
|
+
end
|
3695
|
+
end
|
3696
|
+
end
|
3697
|
+
end
|
3698
|
+
|
3699
|
+
# 行列权限初始状态
|
3700
|
+
class RowColumnStatus < TencentCloud::Common::AbstractModel
|
3701
|
+
# @param TableId: 1
|
3702
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3703
|
+
# @type TableId: Integer
|
3704
|
+
# @param Type: 1
|
3705
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3706
|
+
# @type Type: String
|
3707
|
+
# @param Mode: 1
|
3708
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3709
|
+
# @type Mode: String
|
3710
|
+
# @param OpenStatus: 1
|
3711
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3712
|
+
# @type OpenStatus: String
|
3713
|
+
# @param RoleType: 1
|
3714
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3715
|
+
# @type RoleType: String
|
3716
|
+
# @param RoleId: 1
|
3717
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3718
|
+
# @type RoleId: Integer
|
3719
|
+
|
3720
|
+
attr_accessor :TableId, :Type, :Mode, :OpenStatus, :RoleType, :RoleId
|
3721
|
+
|
3722
|
+
def initialize(tableid=nil, type=nil, mode=nil, openstatus=nil, roletype=nil, roleid=nil)
|
3723
|
+
@TableId = tableid
|
3724
|
+
@Type = type
|
3725
|
+
@Mode = mode
|
3726
|
+
@OpenStatus = openstatus
|
3727
|
+
@RoleType = roletype
|
3728
|
+
@RoleId = roleid
|
3729
|
+
end
|
3730
|
+
|
3731
|
+
def deserialize(params)
|
3732
|
+
@TableId = params['TableId']
|
3733
|
+
@Type = params['Type']
|
3734
|
+
@Mode = params['Mode']
|
3735
|
+
@OpenStatus = params['OpenStatus']
|
3736
|
+
@RoleType = params['RoleType']
|
3737
|
+
@RoleId = params['RoleId']
|
3738
|
+
end
|
3739
|
+
end
|
3740
|
+
|
3741
|
+
# 行列权限标签出入参
|
3742
|
+
class RowColumnTagValue < TencentCloud::Common::AbstractModel
|
3743
|
+
# @param Id: 标签id
|
3744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3745
|
+
# @type Id: Integer
|
3746
|
+
# @param Name: 标签名称
|
3747
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3748
|
+
# @type Name: String
|
3749
|
+
# @param Values: 标签值列表
|
3750
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3751
|
+
# @type Values: Array
|
3752
|
+
|
3753
|
+
attr_accessor :Id, :Name, :Values
|
3754
|
+
|
3755
|
+
def initialize(id=nil, name=nil, values=nil)
|
3756
|
+
@Id = id
|
3757
|
+
@Name = name
|
3758
|
+
@Values = values
|
3759
|
+
end
|
3760
|
+
|
3761
|
+
def deserialize(params)
|
3762
|
+
@Id = params['Id']
|
3763
|
+
@Name = params['Name']
|
3764
|
+
@Values = params['Values']
|
3765
|
+
end
|
3766
|
+
end
|
3767
|
+
|
3166
3768
|
# 用户组
|
3167
3769
|
class UserGroupDTO < TencentCloud::Common::AbstractModel
|
3168
3770
|
# @param Id: id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-bi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1134
|
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-
|
11
|
+
date: 2025-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20220105/client.rb
|
37
|
-
- lib/v20220105/models.rb
|
38
36
|
- lib/tencentcloud-sdk-bi.rb
|
37
|
+
- lib/v20220105/models.rb
|
38
|
+
- lib/v20220105/client.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|