tencentcloud-sdk-wedata 3.0.1030 → 3.0.1032
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/v20210820/client.rb +48 -0
- data/lib/v20210820/models.rb +310 -14
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52153da463965a47370c25917fb953b9b1dae5f9
|
4
|
+
data.tar.gz: d17073b0c97217356225535a49dc605528aa794a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80acb947e5376538a280eaca49992b50d05bbcce1f7feb93cecc92be9ad6495e83c2efd44c58b5d3279ec3373084ae953a983c25d038e98cbd06203559d9e812
|
7
|
+
data.tar.gz: bf27e9bb7eeb2fe8e06511f25c2deb73ef3f90e2b9d66657be0d6e167a5f897c1dd824b1ee6602729cc757b310c758fbbd2482c3958cb814cefbd63876a884ae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1032
|
data/lib/v20210820/client.rb
CHANGED
@@ -3151,6 +3151,30 @@ module TencentCloud
|
|
3151
3151
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3152
3152
|
end
|
3153
3153
|
|
3154
|
+
# 获取角色列表信息
|
3155
|
+
|
3156
|
+
# @param request: Request instance for DescribeRoleList.
|
3157
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeRoleListRequest`
|
3158
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeRoleListResponse`
|
3159
|
+
def DescribeRoleList(request)
|
3160
|
+
body = send_request('DescribeRoleList', request.serialize)
|
3161
|
+
response = JSON.parse(body)
|
3162
|
+
if response['Response'].key?('Error') == false
|
3163
|
+
model = DescribeRoleListResponse.new
|
3164
|
+
model.deserialize(response['Response'])
|
3165
|
+
model
|
3166
|
+
else
|
3167
|
+
code = response['Response']['Error']['Code']
|
3168
|
+
message = response['Response']['Error']['Message']
|
3169
|
+
reqid = response['Response']['RequestId']
|
3170
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3171
|
+
end
|
3172
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3173
|
+
raise e
|
3174
|
+
rescue StandardError => e
|
3175
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3176
|
+
end
|
3177
|
+
|
3154
3178
|
# 查询规则详情
|
3155
3179
|
|
3156
3180
|
# @param request: Request instance for DescribeRule.
|
@@ -5854,6 +5878,30 @@ module TencentCloud
|
|
5854
5878
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5855
5879
|
end
|
5856
5880
|
|
5881
|
+
# 修改项目用户角色
|
5882
|
+
|
5883
|
+
# @param request: Request instance for UpdateProjectUserRole.
|
5884
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::UpdateProjectUserRoleRequest`
|
5885
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::UpdateProjectUserRoleResponse`
|
5886
|
+
def UpdateProjectUserRole(request)
|
5887
|
+
body = send_request('UpdateProjectUserRole', request.serialize)
|
5888
|
+
response = JSON.parse(body)
|
5889
|
+
if response['Response'].key?('Error') == false
|
5890
|
+
model = UpdateProjectUserRoleResponse.new
|
5891
|
+
model.deserialize(response['Response'])
|
5892
|
+
model
|
5893
|
+
else
|
5894
|
+
code = response['Response']['Error']['Code']
|
5895
|
+
message = response['Response']['Error']['Message']
|
5896
|
+
reqid = response['Response']['RequestId']
|
5897
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5898
|
+
end
|
5899
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5900
|
+
raise e
|
5901
|
+
rescue StandardError => e
|
5902
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5903
|
+
end
|
5904
|
+
|
5857
5905
|
# 修改工作流责任人
|
5858
5906
|
|
5859
5907
|
# @param request: Request instance for UpdateWorkflowOwner.
|
data/lib/v20210820/models.rb
CHANGED
@@ -961,6 +961,112 @@ module TencentCloud
|
|
961
961
|
end
|
962
962
|
end
|
963
963
|
|
964
|
+
# 基础角色对象
|
965
|
+
class BaseRole < TencentCloud::Common::AbstractModel
|
966
|
+
# @param RoleId: 角色id
|
967
|
+
# @type RoleId: String
|
968
|
+
# @param RoleName: 角色名称
|
969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
970
|
+
# @type RoleName: String
|
971
|
+
# @param DisplayName: 角色昵称
|
972
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
973
|
+
# @type DisplayName: String
|
974
|
+
# @param Description: 描述
|
975
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
976
|
+
# @type Description: String
|
977
|
+
# @param RoleType: 角色类型, 分为System,Tenant,Project,Commercial
|
978
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
979
|
+
# @type RoleType: String
|
980
|
+
# @param SystemDefault: 系统预设
|
981
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
982
|
+
# @type SystemDefault: Boolean
|
983
|
+
# @param Parameters: 自定义参数
|
984
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
985
|
+
# @type Parameters: String
|
986
|
+
# @param MemberCount: 成员统计
|
987
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
988
|
+
# @type MemberCount: Integer
|
989
|
+
# @param Privileges: 权限
|
990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
991
|
+
# @type Privileges: Array
|
992
|
+
# @param Operator: 操作者
|
993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
994
|
+
# @type Operator: :class:`Tencentcloud::Wedata.v20210820.models.BaseUser`
|
995
|
+
# @param OperateTime: 操作时间
|
996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
997
|
+
# @type OperateTime: Integer
|
998
|
+
# @param CreateTime: 创建时间
|
999
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1000
|
+
# @type CreateTime: Integer
|
1001
|
+
# @param CreateTimeStr: 创建时间
|
1002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1003
|
+
# @type CreateTimeStr: String
|
1004
|
+
# @param UpdateTimeStr: 更新时间
|
1005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1006
|
+
# @type UpdateTimeStr: String
|
1007
|
+
# @param ProjectId: 项目id
|
1008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1009
|
+
# @type ProjectId: String
|
1010
|
+
# @param UpdateTime: 更新时间
|
1011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1012
|
+
# @type UpdateTime: String
|
1013
|
+
# @param Creator: 创建人
|
1014
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1015
|
+
# @type Creator: String
|
1016
|
+
|
1017
|
+
attr_accessor :RoleId, :RoleName, :DisplayName, :Description, :RoleType, :SystemDefault, :Parameters, :MemberCount, :Privileges, :Operator, :OperateTime, :CreateTime, :CreateTimeStr, :UpdateTimeStr, :ProjectId, :UpdateTime, :Creator
|
1018
|
+
|
1019
|
+
def initialize(roleid=nil, rolename=nil, displayname=nil, description=nil, roletype=nil, systemdefault=nil, parameters=nil, membercount=nil, privileges=nil, operator=nil, operatetime=nil, createtime=nil, createtimestr=nil, updatetimestr=nil, projectid=nil, updatetime=nil, creator=nil)
|
1020
|
+
@RoleId = roleid
|
1021
|
+
@RoleName = rolename
|
1022
|
+
@DisplayName = displayname
|
1023
|
+
@Description = description
|
1024
|
+
@RoleType = roletype
|
1025
|
+
@SystemDefault = systemdefault
|
1026
|
+
@Parameters = parameters
|
1027
|
+
@MemberCount = membercount
|
1028
|
+
@Privileges = privileges
|
1029
|
+
@Operator = operator
|
1030
|
+
@OperateTime = operatetime
|
1031
|
+
@CreateTime = createtime
|
1032
|
+
@CreateTimeStr = createtimestr
|
1033
|
+
@UpdateTimeStr = updatetimestr
|
1034
|
+
@ProjectId = projectid
|
1035
|
+
@UpdateTime = updatetime
|
1036
|
+
@Creator = creator
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
def deserialize(params)
|
1040
|
+
@RoleId = params['RoleId']
|
1041
|
+
@RoleName = params['RoleName']
|
1042
|
+
@DisplayName = params['DisplayName']
|
1043
|
+
@Description = params['Description']
|
1044
|
+
@RoleType = params['RoleType']
|
1045
|
+
@SystemDefault = params['SystemDefault']
|
1046
|
+
@Parameters = params['Parameters']
|
1047
|
+
@MemberCount = params['MemberCount']
|
1048
|
+
unless params['Privileges'].nil?
|
1049
|
+
@Privileges = []
|
1050
|
+
params['Privileges'].each do |i|
|
1051
|
+
roleprivilege_tmp = RolePrivilege.new
|
1052
|
+
roleprivilege_tmp.deserialize(i)
|
1053
|
+
@Privileges << roleprivilege_tmp
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
unless params['Operator'].nil?
|
1057
|
+
@Operator = BaseUser.new
|
1058
|
+
@Operator.deserialize(params['Operator'])
|
1059
|
+
end
|
1060
|
+
@OperateTime = params['OperateTime']
|
1061
|
+
@CreateTime = params['CreateTime']
|
1062
|
+
@CreateTimeStr = params['CreateTimeStr']
|
1063
|
+
@UpdateTimeStr = params['UpdateTimeStr']
|
1064
|
+
@ProjectId = params['ProjectId']
|
1065
|
+
@UpdateTime = params['UpdateTime']
|
1066
|
+
@Creator = params['Creator']
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
964
1070
|
# 租户基础信息
|
965
1071
|
class BaseTenant < TencentCloud::Common::AbstractModel
|
966
1072
|
# @param TenantId: 租户id
|
@@ -2321,8 +2427,8 @@ module TencentCloud
|
|
2321
2427
|
|
2322
2428
|
attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType, :MonitorType
|
2323
2429
|
extend Gem::Deprecate
|
2324
|
-
deprecate :TaskId, :none, 2025,
|
2325
|
-
deprecate :TaskId=, :none, 2025,
|
2430
|
+
deprecate :TaskId, :none, 2025, 4
|
2431
|
+
deprecate :TaskId=, :none, 2025, 4
|
2326
2432
|
|
2327
2433
|
def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil, monitortype=nil)
|
2328
2434
|
@ProjectId = projectid
|
@@ -8956,12 +9062,12 @@ module TencentCloud
|
|
8956
9062
|
|
8957
9063
|
attr_accessor :ProjectId, :Category, :PageNumber, :PageSize, :EventName, :EventType, :EventSubType, :EventBroadcastType, :Status, :CreationTimeStart, :CreationTimeEnd, :EventTriggeredTimeStart, :EventTriggeredTimeEnd, :LogTimeStart, :LogTimeEnd, :Dimension, :TimeToLive, :SortItem, :SortType
|
8958
9064
|
extend Gem::Deprecate
|
8959
|
-
deprecate :EventType, :none, 2025,
|
8960
|
-
deprecate :EventType=, :none, 2025,
|
8961
|
-
deprecate :EventBroadcastType, :none, 2025,
|
8962
|
-
deprecate :EventBroadcastType=, :none, 2025,
|
8963
|
-
deprecate :Status, :none, 2025,
|
8964
|
-
deprecate :Status=, :none, 2025,
|
9065
|
+
deprecate :EventType, :none, 2025, 4
|
9066
|
+
deprecate :EventType=, :none, 2025, 4
|
9067
|
+
deprecate :EventBroadcastType, :none, 2025, 4
|
9068
|
+
deprecate :EventBroadcastType=, :none, 2025, 4
|
9069
|
+
deprecate :Status, :none, 2025, 4
|
9070
|
+
deprecate :Status=, :none, 2025, 4
|
8965
9071
|
|
8966
9072
|
def initialize(projectid=nil, category=nil, pagenumber=nil, pagesize=nil, eventname=nil, eventtype=nil, eventsubtype=nil, eventbroadcasttype=nil, status=nil, creationtimestart=nil, creationtimeend=nil, eventtriggeredtimestart=nil, eventtriggeredtimeend=nil, logtimestart=nil, logtimeend=nil, dimension=nil, timetolive=nil, sortitem=nil, sorttype=nil)
|
8967
9073
|
@ProjectId = projectid
|
@@ -11980,6 +12086,107 @@ module TencentCloud
|
|
11980
12086
|
end
|
11981
12087
|
end
|
11982
12088
|
|
12089
|
+
# DescribeRoleList请求参数结构体
|
12090
|
+
class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
|
12091
|
+
# @param ShowAllRoles: 返回所有角色。
|
12092
|
+
# @type ShowAllRoles: Boolean
|
12093
|
+
# @param IncludeRoleTypes: 需要返回的角色类型(system,tenant,project)
|
12094
|
+
# @type IncludeRoleTypes: Array
|
12095
|
+
# @param DescribeMemberCount: 返回角色绑定人员统计,仅私有化版本支持
|
12096
|
+
# @type DescribeMemberCount: Boolean
|
12097
|
+
# @param DescribeOperator: 返回操作者信息,私有化多租户版本
|
12098
|
+
# @type DescribeOperator: Boolean
|
12099
|
+
# @param DescribeSystemRoleOnly: 系统角色
|
12100
|
+
# @type DescribeSystemRoleOnly: Boolean
|
12101
|
+
# @param DescribeCustomRoleOnly: 自定义角色
|
12102
|
+
# @type DescribeCustomRoleOnly: Boolean
|
12103
|
+
# @param DescribePrivileges: 查看权限
|
12104
|
+
# @type DescribePrivileges: Boolean
|
12105
|
+
# @param RoleIds: 筛选角色id
|
12106
|
+
# @type RoleIds: Array
|
12107
|
+
# @param ProjectId: 项目id
|
12108
|
+
# @type ProjectId: String
|
12109
|
+
# @param PageNumber: 页码
|
12110
|
+
# @type PageNumber: Integer
|
12111
|
+
# @param PageSize: 分页信息
|
12112
|
+
# @type PageSize: Integer
|
12113
|
+
# @param Filters: 查询字段
|
12114
|
+
# @type Filters: Array
|
12115
|
+
# @param OrderFields: 排序字段
|
12116
|
+
# @type OrderFields: Array
|
12117
|
+
|
12118
|
+
attr_accessor :ShowAllRoles, :IncludeRoleTypes, :DescribeMemberCount, :DescribeOperator, :DescribeSystemRoleOnly, :DescribeCustomRoleOnly, :DescribePrivileges, :RoleIds, :ProjectId, :PageNumber, :PageSize, :Filters, :OrderFields
|
12119
|
+
|
12120
|
+
def initialize(showallroles=nil, includeroletypes=nil, describemembercount=nil, describeoperator=nil, describesystemroleonly=nil, describecustomroleonly=nil, describeprivileges=nil, roleids=nil, projectid=nil, pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil)
|
12121
|
+
@ShowAllRoles = showallroles
|
12122
|
+
@IncludeRoleTypes = includeroletypes
|
12123
|
+
@DescribeMemberCount = describemembercount
|
12124
|
+
@DescribeOperator = describeoperator
|
12125
|
+
@DescribeSystemRoleOnly = describesystemroleonly
|
12126
|
+
@DescribeCustomRoleOnly = describecustomroleonly
|
12127
|
+
@DescribePrivileges = describeprivileges
|
12128
|
+
@RoleIds = roleids
|
12129
|
+
@ProjectId = projectid
|
12130
|
+
@PageNumber = pagenumber
|
12131
|
+
@PageSize = pagesize
|
12132
|
+
@Filters = filters
|
12133
|
+
@OrderFields = orderfields
|
12134
|
+
end
|
12135
|
+
|
12136
|
+
def deserialize(params)
|
12137
|
+
@ShowAllRoles = params['ShowAllRoles']
|
12138
|
+
@IncludeRoleTypes = params['IncludeRoleTypes']
|
12139
|
+
@DescribeMemberCount = params['DescribeMemberCount']
|
12140
|
+
@DescribeOperator = params['DescribeOperator']
|
12141
|
+
@DescribeSystemRoleOnly = params['DescribeSystemRoleOnly']
|
12142
|
+
@DescribeCustomRoleOnly = params['DescribeCustomRoleOnly']
|
12143
|
+
@DescribePrivileges = params['DescribePrivileges']
|
12144
|
+
@RoleIds = params['RoleIds']
|
12145
|
+
@ProjectId = params['ProjectId']
|
12146
|
+
@PageNumber = params['PageNumber']
|
12147
|
+
@PageSize = params['PageSize']
|
12148
|
+
unless params['Filters'].nil?
|
12149
|
+
@Filters = []
|
12150
|
+
params['Filters'].each do |i|
|
12151
|
+
filter_tmp = Filter.new
|
12152
|
+
filter_tmp.deserialize(i)
|
12153
|
+
@Filters << filter_tmp
|
12154
|
+
end
|
12155
|
+
end
|
12156
|
+
unless params['OrderFields'].nil?
|
12157
|
+
@OrderFields = []
|
12158
|
+
params['OrderFields'].each do |i|
|
12159
|
+
orderfields_tmp = OrderFields.new
|
12160
|
+
orderfields_tmp.deserialize(i)
|
12161
|
+
@OrderFields << orderfields_tmp
|
12162
|
+
end
|
12163
|
+
end
|
12164
|
+
end
|
12165
|
+
end
|
12166
|
+
|
12167
|
+
# DescribeRoleList返回参数结构体
|
12168
|
+
class DescribeRoleListResponse < TencentCloud::Common::AbstractModel
|
12169
|
+
# @param Data: 角色列表
|
12170
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.PageRoles`
|
12171
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12172
|
+
# @type RequestId: String
|
12173
|
+
|
12174
|
+
attr_accessor :Data, :RequestId
|
12175
|
+
|
12176
|
+
def initialize(data=nil, requestid=nil)
|
12177
|
+
@Data = data
|
12178
|
+
@RequestId = requestid
|
12179
|
+
end
|
12180
|
+
|
12181
|
+
def deserialize(params)
|
12182
|
+
unless params['Data'].nil?
|
12183
|
+
@Data = PageRoles.new
|
12184
|
+
@Data.deserialize(params['Data'])
|
12185
|
+
end
|
12186
|
+
@RequestId = params['RequestId']
|
12187
|
+
end
|
12188
|
+
end
|
12189
|
+
|
11983
12190
|
# DescribeRuleDimStat请求参数结构体
|
11984
12191
|
class DescribeRuleDimStatRequest < TencentCloud::Common::AbstractModel
|
11985
12192
|
# @param ProjectId: 项目id
|
@@ -15405,8 +15612,8 @@ module TencentCloud
|
|
15405
15612
|
|
15406
15613
|
attr_accessor :DimType, :Count, :QualityDim
|
15407
15614
|
extend Gem::Deprecate
|
15408
|
-
deprecate :DimType, :none, 2025,
|
15409
|
-
deprecate :DimType=, :none, 2025,
|
15615
|
+
deprecate :DimType, :none, 2025, 4
|
15616
|
+
deprecate :DimType=, :none, 2025, 4
|
15410
15617
|
|
15411
15618
|
def initialize(dimtype=nil, count=nil, qualitydim=nil)
|
15412
15619
|
@DimType = dimtype
|
@@ -21381,8 +21588,8 @@ module TencentCloud
|
|
21381
21588
|
|
21382
21589
|
attr_accessor :ProjectId, :TaskId, :DelayTime, :StartupTime, :SelfDepend, :StartTime, :EndTime, :TaskAction, :CycleType, :CycleStep, :CrontabExpression, :ExecutionStartTime, :ExecutionEndTime, :TaskName, :RetryWait, :TryLimit, :Retriable, :RunPriority, :TaskExt, :ResourceGroup, :YarnQueue, :BrokerIp, :InCharge, :Notes, :TaskParamInfos, :SourceServer, :TargetServer, :DependencyWorkflow, :DependencyConfigDTOs, :ExecutionTTL, :ScriptChange, :InChargeIds
|
21383
21590
|
extend Gem::Deprecate
|
21384
|
-
deprecate :InCharge, :none, 2025,
|
21385
|
-
deprecate :InCharge=, :none, 2025,
|
21591
|
+
deprecate :InCharge, :none, 2025, 4
|
21592
|
+
deprecate :InCharge=, :none, 2025, 4
|
21386
21593
|
|
21387
21594
|
def initialize(projectid=nil, taskid=nil, delaytime=nil, startuptime=nil, selfdepend=nil, starttime=nil, endtime=nil, taskaction=nil, cycletype=nil, cyclestep=nil, crontabexpression=nil, executionstarttime=nil, executionendtime=nil, taskname=nil, retrywait=nil, trylimit=nil, retriable=nil, runpriority=nil, taskext=nil, resourcegroup=nil, yarnqueue=nil, brokerip=nil, incharge=nil, notes=nil, taskparaminfos=nil, sourceserver=nil, targetserver=nil, dependencyworkflow=nil, dependencyconfigdtos=nil, executionttl=nil, scriptchange=nil, inchargeids=nil)
|
21388
21595
|
@ProjectId = projectid
|
@@ -22682,6 +22889,50 @@ module TencentCloud
|
|
22682
22889
|
end
|
22683
22890
|
end
|
22684
22891
|
|
22892
|
+
# 角色列表分页信息
|
22893
|
+
class PageRoles < TencentCloud::Common::AbstractModel
|
22894
|
+
# @param Rows: 角色信息
|
22895
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22896
|
+
# @type Rows: Array
|
22897
|
+
# @param PageNumber: 页码
|
22898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22899
|
+
# @type PageNumber: Integer
|
22900
|
+
# @param PageSize: 分页大小
|
22901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22902
|
+
# @type PageSize: Integer
|
22903
|
+
# @param TotalCount: 总个数
|
22904
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22905
|
+
# @type TotalCount: Integer
|
22906
|
+
# @param TotalPageNumber: 总分页页码
|
22907
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22908
|
+
# @type TotalPageNumber: Integer
|
22909
|
+
|
22910
|
+
attr_accessor :Rows, :PageNumber, :PageSize, :TotalCount, :TotalPageNumber
|
22911
|
+
|
22912
|
+
def initialize(rows=nil, pagenumber=nil, pagesize=nil, totalcount=nil, totalpagenumber=nil)
|
22913
|
+
@Rows = rows
|
22914
|
+
@PageNumber = pagenumber
|
22915
|
+
@PageSize = pagesize
|
22916
|
+
@TotalCount = totalcount
|
22917
|
+
@TotalPageNumber = totalpagenumber
|
22918
|
+
end
|
22919
|
+
|
22920
|
+
def deserialize(params)
|
22921
|
+
unless params['Rows'].nil?
|
22922
|
+
@Rows = []
|
22923
|
+
params['Rows'].each do |i|
|
22924
|
+
baserole_tmp = BaseRole.new
|
22925
|
+
baserole_tmp.deserialize(i)
|
22926
|
+
@Rows << baserole_tmp
|
22927
|
+
end
|
22928
|
+
end
|
22929
|
+
@PageNumber = params['PageNumber']
|
22930
|
+
@PageSize = params['PageSize']
|
22931
|
+
@TotalCount = params['TotalCount']
|
22932
|
+
@TotalPageNumber = params['TotalPageNumber']
|
22933
|
+
end
|
22934
|
+
end
|
22935
|
+
|
22685
22936
|
# 键值对
|
22686
22937
|
class Pair < TencentCloud::Common::AbstractModel
|
22687
22938
|
# @param Key: 键名
|
@@ -23064,10 +23315,13 @@ module TencentCloud
|
|
23064
23315
|
# @param AppId: 租户iD
|
23065
23316
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
23066
23317
|
# @type AppId: String
|
23318
|
+
# @param IsProjectOwner: 是否项目负责人
|
23319
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23320
|
+
# @type IsProjectOwner: Boolean
|
23067
23321
|
|
23068
|
-
attr_accessor :Roles, :UserName, :UserId, :CreateTime, :Creator, :DisplayName, :IsProjectAdmin, :PhoneNum, :Email, :OwnerUin, :AppId
|
23322
|
+
attr_accessor :Roles, :UserName, :UserId, :CreateTime, :Creator, :DisplayName, :IsProjectAdmin, :PhoneNum, :Email, :OwnerUin, :AppId, :IsProjectOwner
|
23069
23323
|
|
23070
|
-
def initialize(roles=nil, username=nil, userid=nil, createtime=nil, creator=nil, displayname=nil, isprojectadmin=nil, phonenum=nil, email=nil, owneruin=nil, appid=nil)
|
23324
|
+
def initialize(roles=nil, username=nil, userid=nil, createtime=nil, creator=nil, displayname=nil, isprojectadmin=nil, phonenum=nil, email=nil, owneruin=nil, appid=nil, isprojectowner=nil)
|
23071
23325
|
@Roles = roles
|
23072
23326
|
@UserName = username
|
23073
23327
|
@UserId = userid
|
@@ -23079,6 +23333,7 @@ module TencentCloud
|
|
23079
23333
|
@Email = email
|
23080
23334
|
@OwnerUin = owneruin
|
23081
23335
|
@AppId = appid
|
23336
|
+
@IsProjectOwner = isprojectowner
|
23082
23337
|
end
|
23083
23338
|
|
23084
23339
|
def deserialize(params)
|
@@ -23100,6 +23355,7 @@ module TencentCloud
|
|
23100
23355
|
@Email = params['Email']
|
23101
23356
|
@OwnerUin = params['OwnerUin']
|
23102
23357
|
@AppId = params['AppId']
|
23358
|
+
@IsProjectOwner = params['IsProjectOwner']
|
23103
23359
|
end
|
23104
23360
|
end
|
23105
23361
|
|
@@ -31027,6 +31283,46 @@ module TencentCloud
|
|
31027
31283
|
end
|
31028
31284
|
end
|
31029
31285
|
|
31286
|
+
# UpdateProjectUserRole请求参数结构体
|
31287
|
+
class UpdateProjectUserRoleRequest < TencentCloud::Common::AbstractModel
|
31288
|
+
# @param ProjectId: 项目id
|
31289
|
+
# @type ProjectId: String
|
31290
|
+
# @param UserIds: 用户id
|
31291
|
+
# @type UserIds: Array
|
31292
|
+
# @param RoleIds: 角色id
|
31293
|
+
# @type RoleIds: Array
|
31294
|
+
|
31295
|
+
attr_accessor :ProjectId, :UserIds, :RoleIds
|
31296
|
+
|
31297
|
+
def initialize(projectid=nil, userids=nil, roleids=nil)
|
31298
|
+
@ProjectId = projectid
|
31299
|
+
@UserIds = userids
|
31300
|
+
@RoleIds = roleids
|
31301
|
+
end
|
31302
|
+
|
31303
|
+
def deserialize(params)
|
31304
|
+
@ProjectId = params['ProjectId']
|
31305
|
+
@UserIds = params['UserIds']
|
31306
|
+
@RoleIds = params['RoleIds']
|
31307
|
+
end
|
31308
|
+
end
|
31309
|
+
|
31310
|
+
# UpdateProjectUserRole返回参数结构体
|
31311
|
+
class UpdateProjectUserRoleResponse < TencentCloud::Common::AbstractModel
|
31312
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
31313
|
+
# @type RequestId: String
|
31314
|
+
|
31315
|
+
attr_accessor :RequestId
|
31316
|
+
|
31317
|
+
def initialize(requestid=nil)
|
31318
|
+
@RequestId = requestid
|
31319
|
+
end
|
31320
|
+
|
31321
|
+
def deserialize(params)
|
31322
|
+
@RequestId = params['RequestId']
|
31323
|
+
end
|
31324
|
+
end
|
31325
|
+
|
31030
31326
|
# UpdateWorkflowOwner请求参数结构体
|
31031
31327
|
class UpdateWorkflowOwnerRequest < TencentCloud::Common::AbstractModel
|
31032
31328
|
# @param ProjectId: 项目Id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-wedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1032
|
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-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20210820/models.rb
|
37
36
|
- lib/v20210820/client.rb
|
37
|
+
- lib/v20210820/models.rb
|
38
38
|
- lib/tencentcloud-sdk-wedata.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|