tencentcloud-sdk-bi 3.0.1127 → 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 +96 -0
- data/lib/v20220105/models.rb +539 -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
@@ -149,6 +149,30 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
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
|
+
|
152
176
|
# 创建项目
|
153
177
|
|
154
178
|
# @param request: Request instance for CreateProject.
|
@@ -365,6 +389,78 @@ module TencentCloud
|
|
365
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
390
|
end
|
367
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
|
+
|
368
464
|
# 项目详情接口
|
369
465
|
|
370
466
|
# @param request: Request instance for DescribeProjectInfo.
|
data/lib/v20220105/models.rb
CHANGED
@@ -718,6 +718,100 @@ module TencentCloud
|
|
718
718
|
end
|
719
719
|
end
|
720
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
|
+
|
721
815
|
# CreateProject请求参数结构体
|
722
816
|
class CreateProjectRequest < TencentCloud::Common::AbstractModel
|
723
817
|
# @param Name: 项目名称
|
@@ -810,8 +904,8 @@ module TencentCloud
|
|
810
904
|
|
811
905
|
attr_accessor :ProjectId, :RoleIdList, :UserList, :UserInfoList
|
812
906
|
extend Gem::Deprecate
|
813
|
-
deprecate :UserList, :none, 2025,
|
814
|
-
deprecate :UserList=, :none, 2025,
|
907
|
+
deprecate :UserList, :none, 2025, 9
|
908
|
+
deprecate :UserList=, :none, 2025, 9
|
815
909
|
|
816
910
|
def initialize(projectid=nil, roleidlist=nil, userlist=nil, userinfolist=nil)
|
817
911
|
@ProjectId = projectid
|
@@ -897,8 +991,8 @@ module TencentCloud
|
|
897
991
|
|
898
992
|
attr_accessor :RoleIdList, :UserList, :UserInfoList, :UserGroups
|
899
993
|
extend Gem::Deprecate
|
900
|
-
deprecate :UserList, :none, 2025,
|
901
|
-
deprecate :UserList=, :none, 2025,
|
994
|
+
deprecate :UserList, :none, 2025, 9
|
995
|
+
deprecate :UserList=, :none, 2025, 9
|
902
996
|
|
903
997
|
def initialize(roleidlist=nil, userlist=nil, userinfolist=nil, usergroups=nil)
|
904
998
|
@RoleIdList = roleidlist
|
@@ -1635,6 +1729,224 @@ module TencentCloud
|
|
1635
1729
|
end
|
1636
1730
|
end
|
1637
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
|
+
|
1638
1950
|
# DescribeProjectInfo请求参数结构体
|
1639
1951
|
class DescribeProjectInfoRequest < TencentCloud::Common::AbstractModel
|
1640
1952
|
# @param Id: 项目Id
|
@@ -3230,6 +3542,229 @@ module TencentCloud
|
|
3230
3542
|
end
|
3231
3543
|
end
|
3232
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
|
+
|
3233
3768
|
# 用户组
|
3234
3769
|
class UserGroupDTO < TencentCloud::Common::AbstractModel
|
3235
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:
|