tencentcloud-sdk-wedata 3.0.928 → 3.0.930

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf54f4adcf690658f210a52697dc2819fa8c5ec8
4
- data.tar.gz: 4f10ee265b3618eb0d67a3671d3f1546e5114d31
3
+ metadata.gz: 07b88d1505ebf7977b2d642074d27c22bb6f48ae
4
+ data.tar.gz: e9fe3b60a0fca7f06244916f82236a85944c5aa7
5
5
  SHA512:
6
- metadata.gz: 74dc1068fdeb9f9544017267ba5922f0e05aad9b1b1c12b1c0e65fddb138bc5b1e32699dc7864f29995d5ecd865a23281bc48c7fb7f7d1e2e5077b933745272c
7
- data.tar.gz: 21557c8a8489decb6cd93447dcbf591ea8cf4a3f4808122acede956231debe1c32a0e463950e44e6880144edc4bd38298d1c32dc1171e9c3aec7cb3422a7e385
6
+ metadata.gz: e645149f58d1544c4c1c78f8bc84dbd375b34982e9a7d7d6539ed3ab4d6b5eaf6ab5a86c0f44ee82318bfb701effec46d169185b1b1838cf4ed71bef7ba16833
7
+ data.tar.gz: 628a87798881590a39710bb51cd1c1e4158aa33b244e3d4b53e1b481f62c3caf378274c60996adc15ee46d2e06fec61a2006759a4c99d9c382bce63f29d77025
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.928
1
+ 3.0.930
@@ -2789,6 +2789,30 @@ module TencentCloud
2789
2789
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2790
2790
  end
2791
2791
 
2792
+ # 获取项目下的用户,分页返回
2793
+
2794
+ # @param request: Request instance for DescribeProjectUsers.
2795
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeProjectUsersRequest`
2796
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeProjectUsersResponse`
2797
+ def DescribeProjectUsers(request)
2798
+ body = send_request('DescribeProjectUsers', request.serialize)
2799
+ response = JSON.parse(body)
2800
+ if response['Response'].key?('Error') == false
2801
+ model = DescribeProjectUsersResponse.new
2802
+ model.deserialize(response['Response'])
2803
+ model
2804
+ else
2805
+ code = response['Response']['Error']['Code']
2806
+ message = response['Response']['Error']['Message']
2807
+ reqid = response['Response']['RequestId']
2808
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2809
+ end
2810
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2811
+ raise e
2812
+ rescue StandardError => e
2813
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2814
+ end
2815
+
2792
2816
  # 质量报告-质量评分
2793
2817
 
2794
2818
  # @param request: Request instance for DescribeQualityScore.
@@ -2229,8 +2229,8 @@ module TencentCloud
2229
2229
 
2230
2230
  attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType, :MonitorType
2231
2231
  extend Gem::Deprecate
2232
- deprecate :TaskId, :none, 2024, 9
2233
- deprecate :TaskId=, :none, 2024, 9
2232
+ deprecate :TaskId, :none, 2024, 10
2233
+ deprecate :TaskId=, :none, 2024, 10
2234
2234
 
2235
2235
  def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil, monitortype=nil)
2236
2236
  @ProjectId = projectid
@@ -8007,12 +8007,12 @@ module TencentCloud
8007
8007
 
8008
8008
  attr_accessor :ProjectId, :Category, :PageNumber, :PageSize, :EventName, :EventType, :EventSubType, :EventBroadcastType, :Status, :CreationTimeStart, :CreationTimeEnd, :EventTriggeredTimeStart, :EventTriggeredTimeEnd, :LogTimeStart, :LogTimeEnd, :Dimension, :TimeToLive, :SortItem, :SortType
8009
8009
  extend Gem::Deprecate
8010
- deprecate :EventType, :none, 2024, 9
8011
- deprecate :EventType=, :none, 2024, 9
8012
- deprecate :EventBroadcastType, :none, 2024, 9
8013
- deprecate :EventBroadcastType=, :none, 2024, 9
8014
- deprecate :Status, :none, 2024, 9
8015
- deprecate :Status=, :none, 2024, 9
8010
+ deprecate :EventType, :none, 2024, 10
8011
+ deprecate :EventType=, :none, 2024, 10
8012
+ deprecate :EventBroadcastType, :none, 2024, 10
8013
+ deprecate :EventBroadcastType=, :none, 2024, 10
8014
+ deprecate :Status, :none, 2024, 10
8015
+ deprecate :Status=, :none, 2024, 10
8016
8016
 
8017
8017
  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)
8018
8018
  @ProjectId = projectid
@@ -10240,6 +10240,75 @@ module TencentCloud
10240
10240
  end
10241
10241
  end
10242
10242
 
10243
+ # DescribeProjectUsers请求参数结构体
10244
+ class DescribeProjectUsersRequest < TencentCloud::Common::AbstractModel
10245
+ # @param PageNumber: 分页号
10246
+ # @type PageNumber: Integer
10247
+ # @param PageSize: 分页大小
10248
+ # @type PageSize: Integer
10249
+ # @param Filters: 【过滤参数】自定义条件查询
10250
+ # @type Filters: Array
10251
+ # @param OrderFields: 【排序参数】排序字段
10252
+ # @type OrderFields: Array
10253
+ # @param IsProjectAdmin: 是否项目管理员
10254
+ # @type IsProjectAdmin: Boolean
10255
+
10256
+ attr_accessor :PageNumber, :PageSize, :Filters, :OrderFields, :IsProjectAdmin
10257
+
10258
+ def initialize(pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil, isprojectadmin=nil)
10259
+ @PageNumber = pagenumber
10260
+ @PageSize = pagesize
10261
+ @Filters = filters
10262
+ @OrderFields = orderfields
10263
+ @IsProjectAdmin = isprojectadmin
10264
+ end
10265
+
10266
+ def deserialize(params)
10267
+ @PageNumber = params['PageNumber']
10268
+ @PageSize = params['PageSize']
10269
+ unless params['Filters'].nil?
10270
+ @Filters = []
10271
+ params['Filters'].each do |i|
10272
+ filteroptional_tmp = FilterOptional.new
10273
+ filteroptional_tmp.deserialize(i)
10274
+ @Filters << filteroptional_tmp
10275
+ end
10276
+ end
10277
+ unless params['OrderFields'].nil?
10278
+ @OrderFields = []
10279
+ params['OrderFields'].each do |i|
10280
+ orderfieldoptional_tmp = OrderFieldOptional.new
10281
+ orderfieldoptional_tmp.deserialize(i)
10282
+ @OrderFields << orderfieldoptional_tmp
10283
+ end
10284
+ end
10285
+ @IsProjectAdmin = params['IsProjectAdmin']
10286
+ end
10287
+ end
10288
+
10289
+ # DescribeProjectUsers返回参数结构体
10290
+ class DescribeProjectUsersResponse < TencentCloud::Common::AbstractModel
10291
+ # @param Data: 项目列表
10292
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.ProjectUsersPage`
10293
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10294
+ # @type RequestId: String
10295
+
10296
+ attr_accessor :Data, :RequestId
10297
+
10298
+ def initialize(data=nil, requestid=nil)
10299
+ @Data = data
10300
+ @RequestId = requestid
10301
+ end
10302
+
10303
+ def deserialize(params)
10304
+ unless params['Data'].nil?
10305
+ @Data = ProjectUsersPage.new
10306
+ @Data.deserialize(params['Data'])
10307
+ end
10308
+ @RequestId = params['RequestId']
10309
+ end
10310
+ end
10311
+
10243
10312
  # DescribeQualityScore请求参数结构体
10244
10313
  class DescribeQualityScoreRequest < TencentCloud::Common::AbstractModel
10245
10314
  # @param StatisticsDate: 统计日期
@@ -13908,8 +13977,8 @@ module TencentCloud
13908
13977
 
13909
13978
  attr_accessor :DimType, :Count, :QualityDim
13910
13979
  extend Gem::Deprecate
13911
- deprecate :DimType, :none, 2024, 9
13912
- deprecate :DimType=, :none, 2024, 9
13980
+ deprecate :DimType, :none, 2024, 10
13981
+ deprecate :DimType=, :none, 2024, 10
13913
13982
 
13914
13983
  def initialize(dimtype=nil, count=nil, qualitydim=nil)
13915
13984
  @DimType = dimtype
@@ -19437,8 +19506,8 @@ module TencentCloud
19437
19506
 
19438
19507
  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
19439
19508
  extend Gem::Deprecate
19440
- deprecate :InCharge, :none, 2024, 9
19441
- deprecate :InCharge=, :none, 2024, 9
19509
+ deprecate :InCharge, :none, 2024, 10
19510
+ deprecate :InCharge=, :none, 2024, 10
19442
19511
 
19443
19512
  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)
19444
19513
  @ProjectId = projectid
@@ -21030,6 +21099,104 @@ module TencentCloud
21030
21099
  end
21031
21100
  end
21032
21101
 
21102
+ # 项目的用户对象
21103
+ class ProjectUserRole < TencentCloud::Common::AbstractModel
21104
+ # @param Roles: 用户角色对象
21105
+ # 注意:此字段可能返回 null,表示取不到有效值。
21106
+ # @type Roles: Array
21107
+ # @param UserName: mc
21108
+ # 注意:此字段可能返回 null,表示取不到有效值。
21109
+ # @type UserName: String
21110
+ # @param UserId: 用户id
21111
+ # 注意:此字段可能返回 null,表示取不到有效值。
21112
+ # @type UserId: String
21113
+ # @param CreateTime: 创建时间
21114
+ # 注意:此字段可能返回 null,表示取不到有效值。
21115
+ # @type CreateTime: String
21116
+ # @param Creator: 是否创建者
21117
+ # 注意:此字段可能返回 null,表示取不到有效值。
21118
+ # @type Creator: Boolean
21119
+ # @param DisplayName: 显示名称
21120
+ # 注意:此字段可能返回 null,表示取不到有效值。
21121
+ # @type DisplayName: String
21122
+ # @param IsProjectAdmin: 是否项目管理员
21123
+ # 注意:此字段可能返回 null,表示取不到有效值。
21124
+ # @type IsProjectAdmin: Boolean
21125
+
21126
+ attr_accessor :Roles, :UserName, :UserId, :CreateTime, :Creator, :DisplayName, :IsProjectAdmin
21127
+
21128
+ def initialize(roles=nil, username=nil, userid=nil, createtime=nil, creator=nil, displayname=nil, isprojectadmin=nil)
21129
+ @Roles = roles
21130
+ @UserName = username
21131
+ @UserId = userid
21132
+ @CreateTime = createtime
21133
+ @Creator = creator
21134
+ @DisplayName = displayname
21135
+ @IsProjectAdmin = isprojectadmin
21136
+ end
21137
+
21138
+ def deserialize(params)
21139
+ unless params['Roles'].nil?
21140
+ @Roles = []
21141
+ params['Roles'].each do |i|
21142
+ systemrole_tmp = SystemRole.new
21143
+ systemrole_tmp.deserialize(i)
21144
+ @Roles << systemrole_tmp
21145
+ end
21146
+ end
21147
+ @UserName = params['UserName']
21148
+ @UserId = params['UserId']
21149
+ @CreateTime = params['CreateTime']
21150
+ @Creator = params['Creator']
21151
+ @DisplayName = params['DisplayName']
21152
+ @IsProjectAdmin = params['IsProjectAdmin']
21153
+ end
21154
+ end
21155
+
21156
+ # 项目下的用户集合
21157
+ class ProjectUsersPage < TencentCloud::Common::AbstractModel
21158
+ # @param Rows: 用户集合
21159
+ # 注意:此字段可能返回 null,表示取不到有效值。
21160
+ # @type Rows: Array
21161
+ # @param PageSize: 分页大小
21162
+ # 注意:此字段可能返回 null,表示取不到有效值。
21163
+ # @type PageSize: Integer
21164
+ # @param PageNumber: 分页页码
21165
+ # 注意:此字段可能返回 null,表示取不到有效值。
21166
+ # @type PageNumber: Integer
21167
+ # @param TotalCount: 总数量
21168
+ # 注意:此字段可能返回 null,表示取不到有效值。
21169
+ # @type TotalCount: Integer
21170
+ # @param TotalPageNumber: 总分页页码
21171
+ # 注意:此字段可能返回 null,表示取不到有效值。
21172
+ # @type TotalPageNumber: Integer
21173
+
21174
+ attr_accessor :Rows, :PageSize, :PageNumber, :TotalCount, :TotalPageNumber
21175
+
21176
+ def initialize(rows=nil, pagesize=nil, pagenumber=nil, totalcount=nil, totalpagenumber=nil)
21177
+ @Rows = rows
21178
+ @PageSize = pagesize
21179
+ @PageNumber = pagenumber
21180
+ @TotalCount = totalcount
21181
+ @TotalPageNumber = totalpagenumber
21182
+ end
21183
+
21184
+ def deserialize(params)
21185
+ unless params['Rows'].nil?
21186
+ @Rows = []
21187
+ params['Rows'].each do |i|
21188
+ projectuserrole_tmp = ProjectUserRole.new
21189
+ projectuserrole_tmp.deserialize(i)
21190
+ @Rows << projectuserrole_tmp
21191
+ end
21192
+ end
21193
+ @PageSize = params['PageSize']
21194
+ @PageNumber = params['PageNumber']
21195
+ @TotalCount = params['TotalCount']
21196
+ @TotalPageNumber = params['TotalPageNumber']
21197
+ end
21198
+ end
21199
+
21033
21200
  # dlc建表属性
21034
21201
  class Property < TencentCloud::Common::AbstractModel
21035
21202
  # @param Key: key值
@@ -21760,6 +21927,53 @@ module TencentCloud
21760
21927
  end
21761
21928
  end
21762
21929
 
21930
+ # 角色权限对象
21931
+ class RolePrivilege < TencentCloud::Common::AbstractModel
21932
+ # @param PrivilegeId: id
21933
+ # 注意:此字段可能返回 null,表示取不到有效值。
21934
+ # @type PrivilegeId: String
21935
+ # @param PrivilegeName: 名称
21936
+ # 注意:此字段可能返回 null,表示取不到有效值。
21937
+ # @type PrivilegeName: String
21938
+ # @param RestPath: 路径
21939
+ # 注意:此字段可能返回 null,表示取不到有效值。
21940
+ # @type RestPath: String
21941
+ # @param RestMethod: 方法
21942
+ # 注意:此字段可能返回 null,表示取不到有效值。
21943
+ # @type RestMethod: String
21944
+ # @param Description: 描述
21945
+ # 注意:此字段可能返回 null,表示取不到有效值。
21946
+ # @type Description: String
21947
+ # @param ModuleId: 模块id
21948
+ # 注意:此字段可能返回 null,表示取不到有效值。
21949
+ # @type ModuleId: String
21950
+ # @param Type: 权限类型 N、R、RW、RWD
21951
+ # 注意:此字段可能返回 null,表示取不到有效值。
21952
+ # @type Type: String
21953
+
21954
+ attr_accessor :PrivilegeId, :PrivilegeName, :RestPath, :RestMethod, :Description, :ModuleId, :Type
21955
+
21956
+ def initialize(privilegeid=nil, privilegename=nil, restpath=nil, restmethod=nil, description=nil, moduleid=nil, type=nil)
21957
+ @PrivilegeId = privilegeid
21958
+ @PrivilegeName = privilegename
21959
+ @RestPath = restpath
21960
+ @RestMethod = restmethod
21961
+ @Description = description
21962
+ @ModuleId = moduleid
21963
+ @Type = type
21964
+ end
21965
+
21966
+ def deserialize(params)
21967
+ @PrivilegeId = params['PrivilegeId']
21968
+ @PrivilegeName = params['PrivilegeName']
21969
+ @RestPath = params['RestPath']
21970
+ @RestMethod = params['RestMethod']
21971
+ @Description = params['Description']
21972
+ @ModuleId = params['ModuleId']
21973
+ @Type = params['Type']
21974
+ end
21975
+ end
21976
+
21763
21977
  # 数据质量规则
21764
21978
  class Rule < TencentCloud::Common::AbstractModel
21765
21979
  # @param RuleId: 规则ID
@@ -25238,6 +25452,69 @@ module TencentCloud
25238
25452
  end
25239
25453
  end
25240
25454
 
25455
+ # 角色对象
25456
+ class SystemRole < TencentCloud::Common::AbstractModel
25457
+ # @param RoleId: 角色id
25458
+ # @type RoleId: String
25459
+ # @param Name: 角色名称
25460
+ # 注意:此字段可能返回 null,表示取不到有效值。
25461
+ # @type Name: String
25462
+ # @param NameCn: 角色昵称
25463
+ # 注意:此字段可能返回 null,表示取不到有效值。
25464
+ # @type NameCn: String
25465
+ # @param Description: 描述
25466
+ # 注意:此字段可能返回 null,表示取不到有效值。
25467
+ # @type Description: String
25468
+ # @param Privileges: 角色权限
25469
+ # 注意:此字段可能返回 null,表示取不到有效值。
25470
+ # @type Privileges: Array
25471
+ # @param MethodPaths: 方法路径
25472
+ # 注意:此字段可能返回 null,表示取不到有效值。
25473
+ # @type MethodPaths: Array
25474
+ # @param RoleType: 角色类型, 分为System,Tenant,Project,Commercial
25475
+ # 注意:此字段可能返回 null,表示取不到有效值。
25476
+ # @type RoleType: String
25477
+ # @param SystemInit: 是否系统默认
25478
+ # 注意:此字段可能返回 null,表示取不到有效值。
25479
+ # @type SystemInit: Boolean
25480
+ # @param Params: 自定义参数
25481
+ # 注意:此字段可能返回 null,表示取不到有效值。
25482
+ # @type Params: String
25483
+
25484
+ attr_accessor :RoleId, :Name, :NameCn, :Description, :Privileges, :MethodPaths, :RoleType, :SystemInit, :Params
25485
+
25486
+ def initialize(roleid=nil, name=nil, namecn=nil, description=nil, privileges=nil, methodpaths=nil, roletype=nil, systeminit=nil, params=nil)
25487
+ @RoleId = roleid
25488
+ @Name = name
25489
+ @NameCn = namecn
25490
+ @Description = description
25491
+ @Privileges = privileges
25492
+ @MethodPaths = methodpaths
25493
+ @RoleType = roletype
25494
+ @SystemInit = systeminit
25495
+ @Params = params
25496
+ end
25497
+
25498
+ def deserialize(params)
25499
+ @RoleId = params['RoleId']
25500
+ @Name = params['Name']
25501
+ @NameCn = params['NameCn']
25502
+ @Description = params['Description']
25503
+ unless params['Privileges'].nil?
25504
+ @Privileges = []
25505
+ params['Privileges'].each do |i|
25506
+ roleprivilege_tmp = RolePrivilege.new
25507
+ roleprivilege_tmp.deserialize(i)
25508
+ @Privileges << roleprivilege_tmp
25509
+ end
25510
+ end
25511
+ @MethodPaths = params['MethodPaths']
25512
+ @RoleType = params['RoleType']
25513
+ @SystemInit = params['SystemInit']
25514
+ @Params = params['Params']
25515
+ end
25516
+ end
25517
+
25241
25518
  # Table
25242
25519
  class Table < TencentCloud::Common::AbstractModel
25243
25520
  # @param Column: 1
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.928
4
+ version: 3.0.930
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-20 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common