tencentcloud-sdk-dlc 3.0.671 → 3.0.673

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.
@@ -759,6 +759,146 @@ module TencentCloud
759
759
  end
760
760
  end
761
761
 
762
+ # CheckDataEngineConfigPairsValidity请求参数结构体
763
+ class CheckDataEngineConfigPairsValidityRequest < TencentCloud::Common::AbstractModel
764
+ # @param ChildImageVersionId: 引擎小版本ID
765
+ # @type ChildImageVersionId: String
766
+ # @param DataEngineConfigPairs: 用户自定义参数
767
+ # @type DataEngineConfigPairs: Array
768
+ # @param ImageVersionId: 引擎大版本ID,存在小版本ID时仅需传入小版本ID,不存在时会获取当前大版本下最新的小版本ID。
769
+ # @type ImageVersionId: String
770
+
771
+ attr_accessor :ChildImageVersionId, :DataEngineConfigPairs, :ImageVersionId
772
+
773
+ def initialize(childimageversionid=nil, dataengineconfigpairs=nil, imageversionid=nil)
774
+ @ChildImageVersionId = childimageversionid
775
+ @DataEngineConfigPairs = dataengineconfigpairs
776
+ @ImageVersionId = imageversionid
777
+ end
778
+
779
+ def deserialize(params)
780
+ @ChildImageVersionId = params['ChildImageVersionId']
781
+ unless params['DataEngineConfigPairs'].nil?
782
+ @DataEngineConfigPairs = []
783
+ params['DataEngineConfigPairs'].each do |i|
784
+ dataengineconfigpair_tmp = DataEngineConfigPair.new
785
+ dataengineconfigpair_tmp.deserialize(i)
786
+ @DataEngineConfigPairs << dataengineconfigpair_tmp
787
+ end
788
+ end
789
+ @ImageVersionId = params['ImageVersionId']
790
+ end
791
+ end
792
+
793
+ # CheckDataEngineConfigPairsValidity返回参数结构体
794
+ class CheckDataEngineConfigPairsValidityResponse < TencentCloud::Common::AbstractModel
795
+ # @param IsAvailable: 参数有效性:ture:有效,false:至少存在一个无效参数;
796
+ # @type IsAvailable: Boolean
797
+ # @param UnavailableConfig: 无效参数集合
798
+ # 注意:此字段可能返回 null,表示取不到有效值。
799
+ # @type UnavailableConfig: Array
800
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
801
+ # @type RequestId: String
802
+
803
+ attr_accessor :IsAvailable, :UnavailableConfig, :RequestId
804
+
805
+ def initialize(isavailable=nil, unavailableconfig=nil, requestid=nil)
806
+ @IsAvailable = isavailable
807
+ @UnavailableConfig = unavailableconfig
808
+ @RequestId = requestid
809
+ end
810
+
811
+ def deserialize(params)
812
+ @IsAvailable = params['IsAvailable']
813
+ @UnavailableConfig = params['UnavailableConfig']
814
+ @RequestId = params['RequestId']
815
+ end
816
+ end
817
+
818
+ # CheckDataEngineImageCanBeRollback请求参数结构体
819
+ class CheckDataEngineImageCanBeRollbackRequest < TencentCloud::Common::AbstractModel
820
+ # @param DataEngineId: 引擎唯一id
821
+ # @type DataEngineId: String
822
+
823
+ attr_accessor :DataEngineId
824
+
825
+ def initialize(dataengineid=nil)
826
+ @DataEngineId = dataengineid
827
+ end
828
+
829
+ def deserialize(params)
830
+ @DataEngineId = params['DataEngineId']
831
+ end
832
+ end
833
+
834
+ # CheckDataEngineImageCanBeRollback返回参数结构体
835
+ class CheckDataEngineImageCanBeRollbackResponse < TencentCloud::Common::AbstractModel
836
+ # @param ToRecordId: 回滚后日志记录id
837
+ # @type ToRecordId: String
838
+ # @param FromRecordId: 回滚前日志记录id
839
+ # @type FromRecordId: String
840
+ # @param IsRollback: 是否能够回滚
841
+ # @type IsRollback: Boolean
842
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
843
+ # @type RequestId: String
844
+
845
+ attr_accessor :ToRecordId, :FromRecordId, :IsRollback, :RequestId
846
+
847
+ def initialize(torecordid=nil, fromrecordid=nil, isrollback=nil, requestid=nil)
848
+ @ToRecordId = torecordid
849
+ @FromRecordId = fromrecordid
850
+ @IsRollback = isrollback
851
+ @RequestId = requestid
852
+ end
853
+
854
+ def deserialize(params)
855
+ @ToRecordId = params['ToRecordId']
856
+ @FromRecordId = params['FromRecordId']
857
+ @IsRollback = params['IsRollback']
858
+ @RequestId = params['RequestId']
859
+ end
860
+ end
861
+
862
+ # CheckDataEngineImageCanBeUpgrade请求参数结构体
863
+ class CheckDataEngineImageCanBeUpgradeRequest < TencentCloud::Common::AbstractModel
864
+ # @param DataEngineId: 集群id
865
+ # @type DataEngineId: String
866
+
867
+ attr_accessor :DataEngineId
868
+
869
+ def initialize(dataengineid=nil)
870
+ @DataEngineId = dataengineid
871
+ end
872
+
873
+ def deserialize(params)
874
+ @DataEngineId = params['DataEngineId']
875
+ end
876
+ end
877
+
878
+ # CheckDataEngineImageCanBeUpgrade返回参数结构体
879
+ class CheckDataEngineImageCanBeUpgradeResponse < TencentCloud::Common::AbstractModel
880
+ # @param ChildImageVersionId: 当前大版本下,可升级的集群镜像小版本id
881
+ # @type ChildImageVersionId: String
882
+ # @param IsUpgrade: 是否能够升级
883
+ # @type IsUpgrade: Boolean
884
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
885
+ # @type RequestId: String
886
+
887
+ attr_accessor :ChildImageVersionId, :IsUpgrade, :RequestId
888
+
889
+ def initialize(childimageversionid=nil, isupgrade=nil, requestid=nil)
890
+ @ChildImageVersionId = childimageversionid
891
+ @IsUpgrade = isupgrade
892
+ @RequestId = requestid
893
+ end
894
+
895
+ def deserialize(params)
896
+ @ChildImageVersionId = params['ChildImageVersionId']
897
+ @IsUpgrade = params['IsUpgrade']
898
+ @RequestId = params['RequestId']
899
+ end
900
+ end
901
+
762
902
  # CheckLockMetaData请求参数结构体
763
903
  class CheckLockMetaDataRequest < TencentCloud::Common::AbstractModel
764
904
  # @param LockId: 锁ID
@@ -1192,8 +1332,8 @@ module TencentCloud
1192
1332
 
1193
1333
  attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate
1194
1334
  extend Gem::Deprecate
1195
- deprecate :DefaultDataEngine, :none, 2023, 9
1196
- deprecate :DefaultDataEngine=, :none, 2023, 9
1335
+ deprecate :DefaultDataEngine, :none, 2023, 10
1336
+ deprecate :DefaultDataEngine=, :none, 2023, 10
1197
1337
 
1198
1338
  def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil)
1199
1339
  @EngineType = enginetype
@@ -2926,6 +3066,55 @@ module TencentCloud
2926
3066
  end
2927
3067
  end
2928
3068
 
3069
+ # 集群大版本镜像信息。
3070
+ class DataEngineImageVersion < TencentCloud::Common::AbstractModel
3071
+ # @param ImageVersionId: 镜像大版本ID
3072
+ # @type ImageVersionId: String
3073
+ # @param ImageVersion: 镜像大版本名称
3074
+ # @type ImageVersion: String
3075
+ # @param Description: 镜像大版本描述
3076
+ # 注意:此字段可能返回 null,表示取不到有效值。
3077
+ # @type Description: String
3078
+ # @param IsPublic: 是否为公共版本:1:公共;2:私有
3079
+ # @type IsPublic: Integer
3080
+ # @param EngineType: 集群类型:SparkSQL/PrestoSQL/SparkBatch
3081
+ # @type EngineType: String
3082
+ # @param IsSharedEngine: 版本状态:1:初始化;2:上线;3:下线
3083
+ # @type IsSharedEngine: Integer
3084
+ # @param State: 版本状态:1:初始化;2:上线;3:下线
3085
+ # @type State: Integer
3086
+ # @param InsertTime: 插入时间
3087
+ # @type InsertTime: String
3088
+ # @param UpdateTime: 更新时间
3089
+ # @type UpdateTime: String
3090
+
3091
+ attr_accessor :ImageVersionId, :ImageVersion, :Description, :IsPublic, :EngineType, :IsSharedEngine, :State, :InsertTime, :UpdateTime
3092
+
3093
+ def initialize(imageversionid=nil, imageversion=nil, description=nil, ispublic=nil, enginetype=nil, issharedengine=nil, state=nil, inserttime=nil, updatetime=nil)
3094
+ @ImageVersionId = imageversionid
3095
+ @ImageVersion = imageversion
3096
+ @Description = description
3097
+ @IsPublic = ispublic
3098
+ @EngineType = enginetype
3099
+ @IsSharedEngine = issharedengine
3100
+ @State = state
3101
+ @InsertTime = inserttime
3102
+ @UpdateTime = updatetime
3103
+ end
3104
+
3105
+ def deserialize(params)
3106
+ @ImageVersionId = params['ImageVersionId']
3107
+ @ImageVersion = params['ImageVersion']
3108
+ @Description = params['Description']
3109
+ @IsPublic = params['IsPublic']
3110
+ @EngineType = params['EngineType']
3111
+ @IsSharedEngine = params['IsSharedEngine']
3112
+ @State = params['State']
3113
+ @InsertTime = params['InsertTime']
3114
+ @UpdateTime = params['UpdateTime']
3115
+ end
3116
+ end
3117
+
2929
3118
  # DataEngine详细信息
2930
3119
  class DataEngineInfo < TencentCloud::Common::AbstractModel
2931
3120
  # @param DataEngineName: DataEngine名称
@@ -3626,6 +3815,38 @@ module TencentCloud
3626
3815
  end
3627
3816
  end
3628
3817
 
3818
+ # DeleteDataEngine请求参数结构体
3819
+ class DeleteDataEngineRequest < TencentCloud::Common::AbstractModel
3820
+ # @param DataEngineNames: 删除虚拟集群的名称数组
3821
+ # @type DataEngineNames: Array
3822
+
3823
+ attr_accessor :DataEngineNames
3824
+
3825
+ def initialize(dataenginenames=nil)
3826
+ @DataEngineNames = dataenginenames
3827
+ end
3828
+
3829
+ def deserialize(params)
3830
+ @DataEngineNames = params['DataEngineNames']
3831
+ end
3832
+ end
3833
+
3834
+ # DeleteDataEngine返回参数结构体
3835
+ class DeleteDataEngineResponse < TencentCloud::Common::AbstractModel
3836
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3837
+ # @type RequestId: String
3838
+
3839
+ attr_accessor :RequestId
3840
+
3841
+ def initialize(requestid=nil)
3842
+ @RequestId = requestid
3843
+ end
3844
+
3845
+ def deserialize(params)
3846
+ @RequestId = params['RequestId']
3847
+ end
3848
+ end
3849
+
3629
3850
  # DeleteNotebookSession请求参数结构体
3630
3851
  class DeleteNotebookSessionRequest < TencentCloud::Common::AbstractModel
3631
3852
  # @param SessionId: Session唯一标识
@@ -4249,6 +4470,135 @@ module TencentCloud
4249
4470
  end
4250
4471
  end
4251
4472
 
4473
+ # DescribeDataEngineImageVersions请求参数结构体
4474
+ class DescribeDataEngineImageVersionsRequest < TencentCloud::Common::AbstractModel
4475
+ # @param EngineType: 引擎类型:SQL、SparkBatch
4476
+ # @type EngineType: String
4477
+
4478
+ attr_accessor :EngineType
4479
+
4480
+ def initialize(enginetype=nil)
4481
+ @EngineType = enginetype
4482
+ end
4483
+
4484
+ def deserialize(params)
4485
+ @EngineType = params['EngineType']
4486
+ end
4487
+ end
4488
+
4489
+ # DescribeDataEngineImageVersions返回参数结构体
4490
+ class DescribeDataEngineImageVersionsResponse < TencentCloud::Common::AbstractModel
4491
+ # @param ImageParentVersions: 集群大版本镜像信息列表
4492
+ # @type ImageParentVersions: Array
4493
+ # @param Total: 总数
4494
+ # @type Total: Integer
4495
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4496
+ # @type RequestId: String
4497
+
4498
+ attr_accessor :ImageParentVersions, :Total, :RequestId
4499
+
4500
+ def initialize(imageparentversions=nil, total=nil, requestid=nil)
4501
+ @ImageParentVersions = imageparentversions
4502
+ @Total = total
4503
+ @RequestId = requestid
4504
+ end
4505
+
4506
+ def deserialize(params)
4507
+ unless params['ImageParentVersions'].nil?
4508
+ @ImageParentVersions = []
4509
+ params['ImageParentVersions'].each do |i|
4510
+ dataengineimageversion_tmp = DataEngineImageVersion.new
4511
+ dataengineimageversion_tmp.deserialize(i)
4512
+ @ImageParentVersions << dataengineimageversion_tmp
4513
+ end
4514
+ end
4515
+ @Total = params['Total']
4516
+ @RequestId = params['RequestId']
4517
+ end
4518
+ end
4519
+
4520
+ # DescribeDataEnginePythonSparkImages请求参数结构体
4521
+ class DescribeDataEnginePythonSparkImagesRequest < TencentCloud::Common::AbstractModel
4522
+ # @param ChildImageVersionId: 集群镜像小版本ID
4523
+ # @type ChildImageVersionId: String
4524
+
4525
+ attr_accessor :ChildImageVersionId
4526
+
4527
+ def initialize(childimageversionid=nil)
4528
+ @ChildImageVersionId = childimageversionid
4529
+ end
4530
+
4531
+ def deserialize(params)
4532
+ @ChildImageVersionId = params['ChildImageVersionId']
4533
+ end
4534
+ end
4535
+
4536
+ # DescribeDataEnginePythonSparkImages返回参数结构体
4537
+ class DescribeDataEnginePythonSparkImagesResponse < TencentCloud::Common::AbstractModel
4538
+ # @param PythonSparkImages: PYSPARK镜像信息列表
4539
+ # @type PythonSparkImages: Array
4540
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4541
+ # @type RequestId: String
4542
+
4543
+ attr_accessor :PythonSparkImages, :RequestId
4544
+
4545
+ def initialize(pythonsparkimages=nil, requestid=nil)
4546
+ @PythonSparkImages = pythonsparkimages
4547
+ @RequestId = requestid
4548
+ end
4549
+
4550
+ def deserialize(params)
4551
+ unless params['PythonSparkImages'].nil?
4552
+ @PythonSparkImages = []
4553
+ params['PythonSparkImages'].each do |i|
4554
+ pythonsparkimage_tmp = PythonSparkImage.new
4555
+ pythonsparkimage_tmp.deserialize(i)
4556
+ @PythonSparkImages << pythonsparkimage_tmp
4557
+ end
4558
+ end
4559
+ @RequestId = params['RequestId']
4560
+ end
4561
+ end
4562
+
4563
+ # DescribeDataEngine请求参数结构体
4564
+ class DescribeDataEngineRequest < TencentCloud::Common::AbstractModel
4565
+ # @param DataEngineName: House名称
4566
+ # @type DataEngineName: String
4567
+
4568
+ attr_accessor :DataEngineName
4569
+
4570
+ def initialize(dataenginename=nil)
4571
+ @DataEngineName = dataenginename
4572
+ end
4573
+
4574
+ def deserialize(params)
4575
+ @DataEngineName = params['DataEngineName']
4576
+ end
4577
+ end
4578
+
4579
+ # DescribeDataEngine返回参数结构体
4580
+ class DescribeDataEngineResponse < TencentCloud::Common::AbstractModel
4581
+ # @param DataEngine: 数据引擎详细信息
4582
+ # @type DataEngine: :class:`Tencentcloud::Dlc.v20210125.models.DataEngineInfo`
4583
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4584
+ # @type RequestId: String
4585
+
4586
+ attr_accessor :DataEngine, :RequestId
4587
+
4588
+ def initialize(dataengine=nil, requestid=nil)
4589
+ @DataEngine = dataengine
4590
+ @RequestId = requestid
4591
+ end
4592
+
4593
+ def deserialize(params)
4594
+ unless params['DataEngine'].nil?
4595
+ @DataEngine = DataEngineInfo.new
4596
+ @DataEngine.deserialize(params['DataEngine'])
4597
+ end
4598
+ @RequestId = params['RequestId']
4599
+ end
4600
+ end
4601
+
4252
4602
  # DescribeDataEngines请求参数结构体
4253
4603
  class DescribeDataEnginesRequest < TencentCloud::Common::AbstractModel
4254
4604
  # @param Offset: 偏移量,默认为0。
@@ -5722,48 +6072,170 @@ module TencentCloud
5722
6072
  end
5723
6073
  end
5724
6074
 
5725
- # DescribeUserRoles请求参数结构体
5726
- class DescribeUserRolesRequest < TencentCloud::Common::AbstractModel
5727
- # @param Limit: 列举的数量限制
5728
- # @type Limit: Integer
5729
- # @param Offset: 列举的偏移位置
5730
- # @type Offset: Integer
5731
- # @param Fuzzy: 按照arn模糊列举
5732
- # @type Fuzzy: String
5733
- # @param SortBy: 返回结果按照该字段排序
5734
- # @type SortBy: String
5735
- # @param Sorting: 正序或者倒序,例如:desc
5736
- # @type Sorting: String
6075
+ # DescribeUserDataEngineConfig请求参数结构体
6076
+ class DescribeUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
5737
6077
 
5738
- attr_accessor :Limit, :Offset, :Fuzzy, :SortBy, :Sorting
5739
6078
 
5740
- def initialize(limit=nil, offset=nil, fuzzy=nil, sortby=nil, sorting=nil)
5741
- @Limit = limit
5742
- @Offset = offset
5743
- @Fuzzy = fuzzy
5744
- @SortBy = sortby
5745
- @Sorting = sorting
6079
+ def initialize()
5746
6080
  end
5747
6081
 
5748
6082
  def deserialize(params)
5749
- @Limit = params['Limit']
5750
- @Offset = params['Offset']
5751
- @Fuzzy = params['Fuzzy']
5752
- @SortBy = params['SortBy']
5753
- @Sorting = params['Sorting']
5754
6083
  end
5755
6084
  end
5756
6085
 
5757
- # DescribeUserRoles返回参数结构体
5758
- class DescribeUserRolesResponse < TencentCloud::Common::AbstractModel
5759
- # @param Total: 符合列举条件的总数量
5760
- # @type Total: Integer
5761
- # @param UserRoles: 用户角色信息
5762
- # @type UserRoles: Array
6086
+ # DescribeUserDataEngineConfig返回参数结构体
6087
+ class DescribeUserDataEngineConfigResponse < TencentCloud::Common::AbstractModel
5763
6088
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5764
6089
  # @type RequestId: String
5765
6090
 
5766
- attr_accessor :Total, :UserRoles, :RequestId
6091
+ attr_accessor :RequestId
6092
+
6093
+ def initialize(requestid=nil)
6094
+ @RequestId = requestid
6095
+ end
6096
+
6097
+ def deserialize(params)
6098
+ @RequestId = params['RequestId']
6099
+ end
6100
+ end
6101
+
6102
+ # DescribeUserInfo请求参数结构体
6103
+ class DescribeUserInfoRequest < TencentCloud::Common::AbstractModel
6104
+ # @param UserId: 用户Id
6105
+ # @type UserId: String
6106
+ # @param Type: 查询的信息类型,Group:工作组 DataAuth:数据权限 EngineAuth:引擎权限
6107
+ # @type Type: String
6108
+ # @param Filters: 查询的过滤条件。
6109
+
6110
+ # 当Type为Group时,支持Key为workgroup-name的模糊搜索;
6111
+
6112
+ # 当Type为DataAuth时,支持key:
6113
+
6114
+ # policy-type:权限类型。
6115
+
6116
+ # policy-source:数据来源。
6117
+
6118
+ # data-name:库表的模糊搜索。
6119
+
6120
+ # 当Type为EngineAuth时,支持key:
6121
+
6122
+ # policy-type:权限类型。
6123
+
6124
+ # policy-source:数据来源。
6125
+
6126
+ # engine-name:库表的模糊搜索。
6127
+ # @type Filters: Array
6128
+ # @param SortBy: 排序字段。
6129
+
6130
+ # 当Type为Group时,支持create-time、group-name
6131
+
6132
+ # 当Type为DataAuth时,支持create-time
6133
+
6134
+ # 当Type为EngineAuth时,支持create-time
6135
+ # @type SortBy: String
6136
+ # @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc
6137
+ # @type Sorting: String
6138
+ # @param Limit: 返回数量,默认20,最大值100
6139
+ # @type Limit: Integer
6140
+ # @param Offset: 偏移量,默认为0
6141
+ # @type Offset: Integer
6142
+
6143
+ attr_accessor :UserId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset
6144
+
6145
+ def initialize(userid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil)
6146
+ @UserId = userid
6147
+ @Type = type
6148
+ @Filters = filters
6149
+ @SortBy = sortby
6150
+ @Sorting = sorting
6151
+ @Limit = limit
6152
+ @Offset = offset
6153
+ end
6154
+
6155
+ def deserialize(params)
6156
+ @UserId = params['UserId']
6157
+ @Type = params['Type']
6158
+ unless params['Filters'].nil?
6159
+ @Filters = []
6160
+ params['Filters'].each do |i|
6161
+ filter_tmp = Filter.new
6162
+ filter_tmp.deserialize(i)
6163
+ @Filters << filter_tmp
6164
+ end
6165
+ end
6166
+ @SortBy = params['SortBy']
6167
+ @Sorting = params['Sorting']
6168
+ @Limit = params['Limit']
6169
+ @Offset = params['Offset']
6170
+ end
6171
+ end
6172
+
6173
+ # DescribeUserInfo返回参数结构体
6174
+ class DescribeUserInfoResponse < TencentCloud::Common::AbstractModel
6175
+ # @param UserInfo: 用户详细信息
6176
+ # 注意:此字段可能返回 null,表示取不到有效值。
6177
+ # @type UserInfo: :class:`Tencentcloud::Dlc.v20210125.models.UserDetailInfo`
6178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6179
+ # @type RequestId: String
6180
+
6181
+ attr_accessor :UserInfo, :RequestId
6182
+
6183
+ def initialize(userinfo=nil, requestid=nil)
6184
+ @UserInfo = userinfo
6185
+ @RequestId = requestid
6186
+ end
6187
+
6188
+ def deserialize(params)
6189
+ unless params['UserInfo'].nil?
6190
+ @UserInfo = UserDetailInfo.new
6191
+ @UserInfo.deserialize(params['UserInfo'])
6192
+ end
6193
+ @RequestId = params['RequestId']
6194
+ end
6195
+ end
6196
+
6197
+ # DescribeUserRoles请求参数结构体
6198
+ class DescribeUserRolesRequest < TencentCloud::Common::AbstractModel
6199
+ # @param Limit: 列举的数量限制
6200
+ # @type Limit: Integer
6201
+ # @param Offset: 列举的偏移位置
6202
+ # @type Offset: Integer
6203
+ # @param Fuzzy: 按照arn模糊列举
6204
+ # @type Fuzzy: String
6205
+ # @param SortBy: 返回结果按照该字段排序
6206
+ # @type SortBy: String
6207
+ # @param Sorting: 正序或者倒序,例如:desc
6208
+ # @type Sorting: String
6209
+
6210
+ attr_accessor :Limit, :Offset, :Fuzzy, :SortBy, :Sorting
6211
+
6212
+ def initialize(limit=nil, offset=nil, fuzzy=nil, sortby=nil, sorting=nil)
6213
+ @Limit = limit
6214
+ @Offset = offset
6215
+ @Fuzzy = fuzzy
6216
+ @SortBy = sortby
6217
+ @Sorting = sorting
6218
+ end
6219
+
6220
+ def deserialize(params)
6221
+ @Limit = params['Limit']
6222
+ @Offset = params['Offset']
6223
+ @Fuzzy = params['Fuzzy']
6224
+ @SortBy = params['SortBy']
6225
+ @Sorting = params['Sorting']
6226
+ end
6227
+ end
6228
+
6229
+ # DescribeUserRoles返回参数结构体
6230
+ class DescribeUserRolesResponse < TencentCloud::Common::AbstractModel
6231
+ # @param Total: 符合列举条件的总数量
6232
+ # @type Total: Integer
6233
+ # @param UserRoles: 用户角色信息
6234
+ # @type UserRoles: Array
6235
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6236
+ # @type RequestId: String
6237
+
6238
+ attr_accessor :Total, :UserRoles, :RequestId
5767
6239
 
5768
6240
  def initialize(total=nil, userroles=nil, requestid=nil)
5769
6241
  @Total = total
@@ -5785,6 +6257,43 @@ module TencentCloud
5785
6257
  end
5786
6258
  end
5787
6259
 
6260
+ # DescribeUserType请求参数结构体
6261
+ class DescribeUserTypeRequest < TencentCloud::Common::AbstractModel
6262
+ # @param UserId: 用户ID(UIN),如果不填默认为调用方的子UIN
6263
+ # @type UserId: String
6264
+
6265
+ attr_accessor :UserId
6266
+
6267
+ def initialize(userid=nil)
6268
+ @UserId = userid
6269
+ end
6270
+
6271
+ def deserialize(params)
6272
+ @UserId = params['UserId']
6273
+ end
6274
+ end
6275
+
6276
+ # DescribeUserType返回参数结构体
6277
+ class DescribeUserTypeResponse < TencentCloud::Common::AbstractModel
6278
+ # @param UserType: 用户类型。ADMIN:管理员 COMMON:普通用户
6279
+ # 注意:此字段可能返回 null,表示取不到有效值。
6280
+ # @type UserType: String
6281
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6282
+ # @type RequestId: String
6283
+
6284
+ attr_accessor :UserType, :RequestId
6285
+
6286
+ def initialize(usertype=nil, requestid=nil)
6287
+ @UserType = usertype
6288
+ @RequestId = requestid
6289
+ end
6290
+
6291
+ def deserialize(params)
6292
+ @UserType = params['UserType']
6293
+ @RequestId = params['RequestId']
6294
+ end
6295
+ end
6296
+
5788
6297
  # DescribeUsers请求参数结构体
5789
6298
  class DescribeUsersRequest < TencentCloud::Common::AbstractModel
5790
6299
  # @param UserId: 指定查询的子用户uin,用户需要通过CreateUser接口创建。
@@ -5947,6 +6456,101 @@ module TencentCloud
5947
6456
  end
5948
6457
  end
5949
6458
 
6459
+ # DescribeWorkGroupInfo请求参数结构体
6460
+ class DescribeWorkGroupInfoRequest < TencentCloud::Common::AbstractModel
6461
+ # @param WorkGroupId: 工作组Id
6462
+ # @type WorkGroupId: Integer
6463
+ # @param Type: 查询信息类型:User:用户信息 DataAuth:数据权限 EngineAuth:引擎权限
6464
+ # @type Type: String
6465
+ # @param Filters: 查询的过滤条件。
6466
+
6467
+ # 当Type为User时,支持Key为user-name的模糊搜索;
6468
+
6469
+ # 当Type为DataAuth时,支持key:
6470
+
6471
+ # policy-type:权限类型。
6472
+
6473
+ # policy-source:数据来源。
6474
+
6475
+ # data-name:库表的模糊搜索。
6476
+
6477
+ # 当Type为EngineAuth时,支持key:
6478
+
6479
+ # policy-type:权限类型。
6480
+
6481
+ # policy-source:数据来源。
6482
+
6483
+ # engine-name:库表的模糊搜索。
6484
+ # @type Filters: Array
6485
+ # @param SortBy: 排序字段。
6486
+
6487
+ # 当Type为User时,支持create-time、user-name
6488
+
6489
+ # 当Type为DataAuth时,支持create-time
6490
+
6491
+ # 当Type为EngineAuth时,支持create-time
6492
+ # @type SortBy: String
6493
+ # @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc
6494
+ # @type Sorting: String
6495
+ # @param Limit: 返回数量,默认20,最大值100
6496
+ # @type Limit: Integer
6497
+ # @param Offset: 偏移量,默认为0
6498
+ # @type Offset: Integer
6499
+
6500
+ attr_accessor :WorkGroupId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset
6501
+
6502
+ def initialize(workgroupid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil)
6503
+ @WorkGroupId = workgroupid
6504
+ @Type = type
6505
+ @Filters = filters
6506
+ @SortBy = sortby
6507
+ @Sorting = sorting
6508
+ @Limit = limit
6509
+ @Offset = offset
6510
+ end
6511
+
6512
+ def deserialize(params)
6513
+ @WorkGroupId = params['WorkGroupId']
6514
+ @Type = params['Type']
6515
+ unless params['Filters'].nil?
6516
+ @Filters = []
6517
+ params['Filters'].each do |i|
6518
+ filter_tmp = Filter.new
6519
+ filter_tmp.deserialize(i)
6520
+ @Filters << filter_tmp
6521
+ end
6522
+ end
6523
+ @SortBy = params['SortBy']
6524
+ @Sorting = params['Sorting']
6525
+ @Limit = params['Limit']
6526
+ @Offset = params['Offset']
6527
+ end
6528
+ end
6529
+
6530
+ # DescribeWorkGroupInfo返回参数结构体
6531
+ class DescribeWorkGroupInfoResponse < TencentCloud::Common::AbstractModel
6532
+ # @param WorkGroupInfo: 工作组详细信息
6533
+ # 注意:此字段可能返回 null,表示取不到有效值。
6534
+ # @type WorkGroupInfo: :class:`Tencentcloud::Dlc.v20210125.models.WorkGroupDetailInfo`
6535
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6536
+ # @type RequestId: String
6537
+
6538
+ attr_accessor :WorkGroupInfo, :RequestId
6539
+
6540
+ def initialize(workgroupinfo=nil, requestid=nil)
6541
+ @WorkGroupInfo = workgroupinfo
6542
+ @RequestId = requestid
6543
+ end
6544
+
6545
+ def deserialize(params)
6546
+ unless params['WorkGroupInfo'].nil?
6547
+ @WorkGroupInfo = WorkGroupDetailInfo.new
6548
+ @WorkGroupInfo.deserialize(params['WorkGroupInfo'])
6549
+ end
6550
+ @RequestId = params['RequestId']
6551
+ end
6552
+ end
6553
+
5950
6554
  # DescribeWorkGroups请求参数结构体
5951
6555
  class DescribeWorkGroupsRequest < TencentCloud::Common::AbstractModel
5952
6556
  # @param WorkGroupId: 查询的工作组Id,不填或填0表示不过滤。
@@ -6323,6 +6927,38 @@ module TencentCloud
6323
6927
  end
6324
6928
  end
6325
6929
 
6930
+ # FavorInfo
6931
+ class FavorInfo < TencentCloud::Common::AbstractModel
6932
+ # @param Priority: 优先事项
6933
+ # 注意:此字段可能返回 null,表示取不到有效值。
6934
+ # @type Priority: Integer
6935
+ # @param Catalog: Catalog名称
6936
+ # 注意:此字段可能返回 null,表示取不到有效值。
6937
+ # @type Catalog: String
6938
+ # @param DataBase: DataBase名称
6939
+ # 注意:此字段可能返回 null,表示取不到有效值。
6940
+ # @type DataBase: String
6941
+ # @param Table: Table名称
6942
+ # 注意:此字段可能返回 null,表示取不到有效值。
6943
+ # @type Table: String
6944
+
6945
+ attr_accessor :Priority, :Catalog, :DataBase, :Table
6946
+
6947
+ def initialize(priority=nil, catalog=nil, database=nil, table=nil)
6948
+ @Priority = priority
6949
+ @Catalog = catalog
6950
+ @DataBase = database
6951
+ @Table = table
6952
+ end
6953
+
6954
+ def deserialize(params)
6955
+ @Priority = params['Priority']
6956
+ @Catalog = params['Catalog']
6957
+ @DataBase = params['DataBase']
6958
+ @Table = params['Table']
6959
+ end
6960
+ end
6961
+
6326
6962
  # 查询列表过滤条件参数
6327
6963
  class Filter < TencentCloud::Common::AbstractModel
6328
6964
  # @param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑或(OR)关系。
@@ -6422,6 +7058,48 @@ module TencentCloud
6422
7058
  end
6423
7059
  end
6424
7060
 
7061
+ # GetOptimizerPolicy请求参数结构体
7062
+ class GetOptimizerPolicyRequest < TencentCloud::Common::AbstractModel
7063
+ # @param SmartPolicy: 策略描述
7064
+ # @type SmartPolicy: :class:`Tencentcloud::Dlc.v20210125.models.SmartPolicy`
7065
+
7066
+ attr_accessor :SmartPolicy
7067
+
7068
+ def initialize(smartpolicy=nil)
7069
+ @SmartPolicy = smartpolicy
7070
+ end
7071
+
7072
+ def deserialize(params)
7073
+ unless params['SmartPolicy'].nil?
7074
+ @SmartPolicy = SmartPolicy.new
7075
+ @SmartPolicy.deserialize(params['SmartPolicy'])
7076
+ end
7077
+ end
7078
+ end
7079
+
7080
+ # GetOptimizerPolicy返回参数结构体
7081
+ class GetOptimizerPolicyResponse < TencentCloud::Common::AbstractModel
7082
+ # @param SmartOptimizerPolicy: 智能优化策略
7083
+ # @type SmartOptimizerPolicy: :class:`Tencentcloud::Dlc.v20210125.models.SmartOptimizerPolicy`
7084
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7085
+ # @type RequestId: String
7086
+
7087
+ attr_accessor :SmartOptimizerPolicy, :RequestId
7088
+
7089
+ def initialize(smartoptimizerpolicy=nil, requestid=nil)
7090
+ @SmartOptimizerPolicy = smartoptimizerpolicy
7091
+ @RequestId = requestid
7092
+ end
7093
+
7094
+ def deserialize(params)
7095
+ unless params['SmartOptimizerPolicy'].nil?
7096
+ @SmartOptimizerPolicy = SmartOptimizerPolicy.new
7097
+ @SmartOptimizerPolicy.deserialize(params['SmartOptimizerPolicy'])
7098
+ end
7099
+ @RequestId = params['RequestId']
7100
+ end
7101
+ end
7102
+
6425
7103
  # hive类型数据源的信息
6426
7104
  class HiveInfo < TencentCloud::Common::AbstractModel
6427
7105
  # @param MetaStoreUrl: hive metastore的地址
@@ -6830,12 +7508,48 @@ module TencentCloud
6830
7508
  end
6831
7509
  end
6832
7510
 
6833
- # ModifyGovernEventRule请求参数结构体
6834
- class ModifyGovernEventRuleRequest < TencentCloud::Common::AbstractModel
7511
+ # ModifyDataEngineDescription请求参数结构体
7512
+ class ModifyDataEngineDescriptionRequest < TencentCloud::Common::AbstractModel
7513
+ # @param DataEngineName: 要修改的引擎的名称
7514
+ # @type DataEngineName: String
7515
+ # @param Message: 引擎的描述信息,最大长度为250
7516
+ # @type Message: String
6835
7517
 
7518
+ attr_accessor :DataEngineName, :Message
6836
7519
 
6837
- def initialize()
6838
- end
7520
+ def initialize(dataenginename=nil, message=nil)
7521
+ @DataEngineName = dataenginename
7522
+ @Message = message
7523
+ end
7524
+
7525
+ def deserialize(params)
7526
+ @DataEngineName = params['DataEngineName']
7527
+ @Message = params['Message']
7528
+ end
7529
+ end
7530
+
7531
+ # ModifyDataEngineDescription返回参数结构体
7532
+ class ModifyDataEngineDescriptionResponse < TencentCloud::Common::AbstractModel
7533
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7534
+ # @type RequestId: String
7535
+
7536
+ attr_accessor :RequestId
7537
+
7538
+ def initialize(requestid=nil)
7539
+ @RequestId = requestid
7540
+ end
7541
+
7542
+ def deserialize(params)
7543
+ @RequestId = params['RequestId']
7544
+ end
7545
+ end
7546
+
7547
+ # ModifyGovernEventRule请求参数结构体
7548
+ class ModifyGovernEventRuleRequest < TencentCloud::Common::AbstractModel
7549
+
7550
+
7551
+ def initialize()
7552
+ end
6839
7553
 
6840
7554
  def deserialize(params)
6841
7555
  end
@@ -7097,6 +7811,42 @@ module TencentCloud
7097
7811
  end
7098
7812
  end
7099
7813
 
7814
+ # ModifyUserType请求参数结构体
7815
+ class ModifyUserTypeRequest < TencentCloud::Common::AbstractModel
7816
+ # @param UserId: 用户ID
7817
+ # @type UserId: String
7818
+ # @param UserType: 用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。
7819
+ # @type UserType: String
7820
+
7821
+ attr_accessor :UserId, :UserType
7822
+
7823
+ def initialize(userid=nil, usertype=nil)
7824
+ @UserId = userid
7825
+ @UserType = usertype
7826
+ end
7827
+
7828
+ def deserialize(params)
7829
+ @UserId = params['UserId']
7830
+ @UserType = params['UserType']
7831
+ end
7832
+ end
7833
+
7834
+ # ModifyUserType返回参数结构体
7835
+ class ModifyUserTypeResponse < TencentCloud::Common::AbstractModel
7836
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7837
+ # @type RequestId: String
7838
+
7839
+ attr_accessor :RequestId
7840
+
7841
+ def initialize(requestid=nil)
7842
+ @RequestId = requestid
7843
+ end
7844
+
7845
+ def deserialize(params)
7846
+ @RequestId = params['RequestId']
7847
+ end
7848
+ end
7849
+
7100
7850
  # ModifyWorkGroup请求参数结构体
7101
7851
  class ModifyWorkGroupRequest < TencentCloud::Common::AbstractModel
7102
7852
  # @param WorkGroupId: 工作组Id
@@ -7723,6 +8473,35 @@ module TencentCloud
7723
8473
  end
7724
8474
  end
7725
8475
 
8476
+ # 策略集合
8477
+ class Policys < TencentCloud::Common::AbstractModel
8478
+ # @param PolicySet: 策略集合
8479
+ # 注意:此字段可能返回 null,表示取不到有效值。
8480
+ # @type PolicySet: Array
8481
+ # @param TotalCount: 策略总数
8482
+ # 注意:此字段可能返回 null,表示取不到有效值。
8483
+ # @type TotalCount: Integer
8484
+
8485
+ attr_accessor :PolicySet, :TotalCount
8486
+
8487
+ def initialize(policyset=nil, totalcount=nil)
8488
+ @PolicySet = policyset
8489
+ @TotalCount = totalcount
8490
+ end
8491
+
8492
+ def deserialize(params)
8493
+ unless params['PolicySet'].nil?
8494
+ @PolicySet = []
8495
+ params['PolicySet'].each do |i|
8496
+ policy_tmp = Policy.new
8497
+ policy_tmp.deserialize(i)
8498
+ @PolicySet << policy_tmp
8499
+ end
8500
+ end
8501
+ @TotalCount = params['TotalCount']
8502
+ end
8503
+ end
8504
+
7726
8505
  # Presto监控指标
7727
8506
  class PrestoMonitorMetrics < TencentCloud::Common::AbstractModel
7728
8507
  # @param LocalCacheHitRate: Alluxio本地缓存命中率
@@ -7765,6 +8544,43 @@ module TencentCloud
7765
8544
  end
7766
8545
  end
7767
8546
 
8547
+ # python-spark镜像信息。
8548
+ class PythonSparkImage < TencentCloud::Common::AbstractModel
8549
+ # @param SparkImageId: spark镜像唯一id
8550
+ # @type SparkImageId: String
8551
+ # @param ChildImageVersionId: 集群小版本镜像id
8552
+ # @type ChildImageVersionId: String
8553
+ # @param SparkImageVersion: spark镜像名称
8554
+ # @type SparkImageVersion: String
8555
+ # @param Description: spark镜像描述信息
8556
+ # 注意:此字段可能返回 null,表示取不到有效值。
8557
+ # @type Description: String
8558
+ # @param CreateTime: 创建时间
8559
+ # @type CreateTime: String
8560
+ # @param UpdateTime: 更新时间
8561
+ # @type UpdateTime: String
8562
+
8563
+ attr_accessor :SparkImageId, :ChildImageVersionId, :SparkImageVersion, :Description, :CreateTime, :UpdateTime
8564
+
8565
+ def initialize(sparkimageid=nil, childimageversionid=nil, sparkimageversion=nil, description=nil, createtime=nil, updatetime=nil)
8566
+ @SparkImageId = sparkimageid
8567
+ @ChildImageVersionId = childimageversionid
8568
+ @SparkImageVersion = sparkimageversion
8569
+ @Description = description
8570
+ @CreateTime = createtime
8571
+ @UpdateTime = updatetime
8572
+ end
8573
+
8574
+ def deserialize(params)
8575
+ @SparkImageId = params['SparkImageId']
8576
+ @ChildImageVersionId = params['ChildImageVersionId']
8577
+ @SparkImageVersion = params['SparkImageVersion']
8578
+ @Description = params['Description']
8579
+ @CreateTime = params['CreateTime']
8580
+ @UpdateTime = params['UpdateTime']
8581
+ end
8582
+ end
8583
+
7768
8584
  # QueryResult请求参数结构体
7769
8585
  class QueryResultRequest < TencentCloud::Common::AbstractModel
7770
8586
  # @param TaskId: 任务ID
@@ -7825,6 +8641,54 @@ module TencentCloud
7825
8641
  end
7826
8642
  end
7827
8643
 
8644
+ # RenewDataEngine请求参数结构体
8645
+ class RenewDataEngineRequest < TencentCloud::Common::AbstractModel
8646
+ # @param DataEngineName: CU队列名称
8647
+ # @type DataEngineName: String
8648
+ # @param TimeSpan: 续费时长,单位月,最少续费1一个月
8649
+ # @type TimeSpan: Integer
8650
+ # @param PayMode: 付费类型,默认为1,预付费
8651
+ # @type PayMode: Integer
8652
+ # @param TimeUnit: 单位,默认m,仅能填m
8653
+ # @type TimeUnit: String
8654
+ # @param RenewFlag: 自动续费标志,0,初始状态,默认不自动续费,若用户有预付费不停服特权,自动续费。1:自动续费。2:明确不自动续费。不传该参数默认为0
8655
+ # @type RenewFlag: Integer
8656
+
8657
+ attr_accessor :DataEngineName, :TimeSpan, :PayMode, :TimeUnit, :RenewFlag
8658
+
8659
+ def initialize(dataenginename=nil, timespan=nil, paymode=nil, timeunit=nil, renewflag=nil)
8660
+ @DataEngineName = dataenginename
8661
+ @TimeSpan = timespan
8662
+ @PayMode = paymode
8663
+ @TimeUnit = timeunit
8664
+ @RenewFlag = renewflag
8665
+ end
8666
+
8667
+ def deserialize(params)
8668
+ @DataEngineName = params['DataEngineName']
8669
+ @TimeSpan = params['TimeSpan']
8670
+ @PayMode = params['PayMode']
8671
+ @TimeUnit = params['TimeUnit']
8672
+ @RenewFlag = params['RenewFlag']
8673
+ end
8674
+ end
8675
+
8676
+ # RenewDataEngine返回参数结构体
8677
+ class RenewDataEngineResponse < TencentCloud::Common::AbstractModel
8678
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8679
+ # @type RequestId: String
8680
+
8681
+ attr_accessor :RequestId
8682
+
8683
+ def initialize(requestid=nil)
8684
+ @RequestId = requestid
8685
+ end
8686
+
8687
+ def deserialize(params)
8688
+ @RequestId = params['RequestId']
8689
+ end
8690
+ end
8691
+
7828
8692
  # ReportHeartbeatMetaData请求参数结构体
7829
8693
  class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
7830
8694
  # @param DatasourceConnectionName: 数据源名称
@@ -7865,6 +8729,109 @@ module TencentCloud
7865
8729
  end
7866
8730
  end
7867
8731
 
8732
+ # ResourceInfo
8733
+ class ResourceInfo < TencentCloud::Common::AbstractModel
8734
+ # @param AttributionType: 归属类型
8735
+ # 注意:此字段可能返回 null,表示取不到有效值。
8736
+ # @type AttributionType: String
8737
+ # @param ResourceType: 资源类型
8738
+ # 注意:此字段可能返回 null,表示取不到有效值。
8739
+ # @type ResourceType: String
8740
+ # @param Name: 引擎名称
8741
+ # 注意:此字段可能返回 null,表示取不到有效值。
8742
+ # @type Name: String
8743
+ # @param Instance: 如资源类型为spark-sql 取值为Name, 如为spark-batch 取值为session app_name
8744
+ # 注意:此字段可能返回 null,表示取不到有效值。
8745
+ # @type Instance: String
8746
+ # @param Favor: 亲和性
8747
+ # 注意:此字段可能返回 null,表示取不到有效值。
8748
+ # @type Favor: Array
8749
+ # @param Status: 状态
8750
+ # 注意:此字段可能返回 null,表示取不到有效值。
8751
+ # @type Status: Integer
8752
+
8753
+ attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status
8754
+
8755
+ def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil)
8756
+ @AttributionType = attributiontype
8757
+ @ResourceType = resourcetype
8758
+ @Name = name
8759
+ @Instance = instance
8760
+ @Favor = favor
8761
+ @Status = status
8762
+ end
8763
+
8764
+ def deserialize(params)
8765
+ @AttributionType = params['AttributionType']
8766
+ @ResourceType = params['ResourceType']
8767
+ @Name = params['Name']
8768
+ @Instance = params['Instance']
8769
+ unless params['Favor'].nil?
8770
+ @Favor = []
8771
+ params['Favor'].each do |i|
8772
+ favorinfo_tmp = FavorInfo.new
8773
+ favorinfo_tmp.deserialize(i)
8774
+ @Favor << favorinfo_tmp
8775
+ end
8776
+ end
8777
+ @Status = params['Status']
8778
+ end
8779
+ end
8780
+
8781
+ # RestartDataEngine请求参数结构体
8782
+ class RestartDataEngineRequest < TencentCloud::Common::AbstractModel
8783
+
8784
+
8785
+ def initialize()
8786
+ end
8787
+
8788
+ def deserialize(params)
8789
+ end
8790
+ end
8791
+
8792
+ # RestartDataEngine返回参数结构体
8793
+ class RestartDataEngineResponse < TencentCloud::Common::AbstractModel
8794
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8795
+ # @type RequestId: String
8796
+
8797
+ attr_accessor :RequestId
8798
+
8799
+ def initialize(requestid=nil)
8800
+ @RequestId = requestid
8801
+ end
8802
+
8803
+ def deserialize(params)
8804
+ @RequestId = params['RequestId']
8805
+ end
8806
+ end
8807
+
8808
+ # RollbackDataEngineImage请求参数结构体
8809
+ class RollbackDataEngineImageRequest < TencentCloud::Common::AbstractModel
8810
+
8811
+
8812
+ def initialize()
8813
+ end
8814
+
8815
+ def deserialize(params)
8816
+ end
8817
+ end
8818
+
8819
+ # RollbackDataEngineImage返回参数结构体
8820
+ class RollbackDataEngineImageResponse < TencentCloud::Common::AbstractModel
8821
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8822
+ # @type RequestId: String
8823
+
8824
+ attr_accessor :RequestId
8825
+
8826
+ def initialize(requestid=nil)
8827
+ @RequestId = requestid
8828
+ end
8829
+
8830
+ def deserialize(params)
8831
+ @RequestId = params['RequestId']
8832
+ end
8833
+ end
8834
+
7868
8835
  # SQL查询任务
7869
8836
  class SQLTask < TencentCloud::Common::AbstractModel
7870
8837
  # @param SQL: base64加密后的SQL语句
@@ -7966,47 +8933,225 @@ module TencentCloud
7966
8933
  end
7967
8934
  end
7968
8935
 
7969
- # spark作业详情。
7970
- class SparkJobInfo < TencentCloud::Common::AbstractModel
7971
- # @param JobId: spark作业ID
7972
- # @type JobId: String
7973
- # @param JobName: spark作业名
7974
- # @type JobName: String
7975
- # @param JobType: spark作业类型,可去1或者2,1表示batch作业, 2表示streaming作业
7976
- # @type JobType: Integer
7977
- # @param DataEngine: 引擎名
7978
- # @type DataEngine: String
7979
- # @param Eni: 该字段已下线,请使用字段Datasource
7980
- # @type Eni: String
7981
- # @param IsLocal: 程序包是否本地上传,cos或者lakefs
7982
- # @type IsLocal: String
7983
- # @param JobFile: 程序包路径
7984
- # @type JobFile: String
7985
- # @param RoleArn: 角色ID
7986
- # @type RoleArn: Integer
7987
- # @param MainClass: spark作业运行主类
7988
- # @type MainClass: String
7989
- # @param CmdArgs: 命令行参数,spark作业命令行参数,空格分隔
7990
- # @type CmdArgs: String
7991
- # @param JobConf: spark原生配置,换行符分隔
7992
- # @type JobConf: String
7993
- # @param IsLocalJars: 依赖jars是否本地上传,cos或者lakefs
7994
- # @type IsLocalJars: String
7995
- # @param JobJars: spark作业依赖jars,逗号分隔
7996
- # @type JobJars: String
7997
- # @param IsLocalFiles: 依赖文件是否本地上传,cos或者lakefs
7998
- # @type IsLocalFiles: String
7999
- # @param JobFiles: spark作业依赖文件,逗号分隔
8000
- # @type JobFiles: String
8001
- # @param JobDriverSize: spark作业driver资源大小
8002
- # @type JobDriverSize: String
8003
- # @param JobExecutorSize: spark作业executor资源大小
8004
- # @type JobExecutorSize: String
8005
- # @param JobExecutorNums: spark作业executor个数
8006
- # @type JobExecutorNums: Integer
8007
- # @param JobMaxAttempts: spark流任务最大重试次数
8008
- # @type JobMaxAttempts: Integer
8009
- # @param JobCreator: spark作业创建者
8936
+ # SmartOptimizerIndexPolicy
8937
+ class SmartOptimizerIndexPolicy < TencentCloud::Common::AbstractModel
8938
+ # @param IndexEnable: 开启索引
8939
+ # 注意:此字段可能返回 null,表示取不到有效值。
8940
+ # @type IndexEnable: String
8941
+
8942
+ attr_accessor :IndexEnable
8943
+
8944
+ def initialize(indexenable=nil)
8945
+ @IndexEnable = indexenable
8946
+ end
8947
+
8948
+ def deserialize(params)
8949
+ @IndexEnable = params['IndexEnable']
8950
+ end
8951
+ end
8952
+
8953
+ # SmartOptimizerLifecyclePolicy
8954
+ class SmartOptimizerLifecyclePolicy < TencentCloud::Common::AbstractModel
8955
+ # @param LifecycleEnable: 生命周期启用
8956
+ # 注意:此字段可能返回 null,表示取不到有效值。
8957
+ # @type LifecycleEnable: String
8958
+ # @param Expiration: 过期时间
8959
+ # 注意:此字段可能返回 null,表示取不到有效值。
8960
+ # @type Expiration: Integer
8961
+ # @param DropTable: 是否删表
8962
+ # 注意:此字段可能返回 null,表示取不到有效值。
8963
+ # @type DropTable: Boolean
8964
+
8965
+ attr_accessor :LifecycleEnable, :Expiration, :DropTable
8966
+
8967
+ def initialize(lifecycleenable=nil, expiration=nil, droptable=nil)
8968
+ @LifecycleEnable = lifecycleenable
8969
+ @Expiration = expiration
8970
+ @DropTable = droptable
8971
+ end
8972
+
8973
+ def deserialize(params)
8974
+ @LifecycleEnable = params['LifecycleEnable']
8975
+ @Expiration = params['Expiration']
8976
+ @DropTable = params['DropTable']
8977
+ end
8978
+ end
8979
+
8980
+ # SmartOptimizerPolicy
8981
+ class SmartOptimizerPolicy < TencentCloud::Common::AbstractModel
8982
+ # @param Inherit: 是否继承
8983
+ # 注意:此字段可能返回 null,表示取不到有效值。
8984
+ # @type Inherit: String
8985
+ # @param Resources: ResourceInfo
8986
+ # 注意:此字段可能返回 null,表示取不到有效值。
8987
+ # @type Resources: Array
8988
+ # @param Written: SmartOptimizerWrittenPolicy
8989
+ # 注意:此字段可能返回 null,表示取不到有效值。
8990
+ # @type Written: :class:`Tencentcloud::Dlc.v20210125.models.SmartOptimizerWrittenPolicy`
8991
+ # @param Lifecycle: SmartOptimizerLifecyclePolicy
8992
+ # 注意:此字段可能返回 null,表示取不到有效值。
8993
+ # @type Lifecycle: :class:`Tencentcloud::Dlc.v20210125.models.SmartOptimizerLifecyclePolicy`
8994
+ # @param Index: SmartOptimizerIndexPolicy
8995
+ # 注意:此字段可能返回 null,表示取不到有效值。
8996
+ # @type Index: :class:`Tencentcloud::Dlc.v20210125.models.SmartOptimizerIndexPolicy`
8997
+
8998
+ attr_accessor :Inherit, :Resources, :Written, :Lifecycle, :Index
8999
+
9000
+ def initialize(inherit=nil, resources=nil, written=nil, lifecycle=nil, index=nil)
9001
+ @Inherit = inherit
9002
+ @Resources = resources
9003
+ @Written = written
9004
+ @Lifecycle = lifecycle
9005
+ @Index = index
9006
+ end
9007
+
9008
+ def deserialize(params)
9009
+ @Inherit = params['Inherit']
9010
+ unless params['Resources'].nil?
9011
+ @Resources = []
9012
+ params['Resources'].each do |i|
9013
+ resourceinfo_tmp = ResourceInfo.new
9014
+ resourceinfo_tmp.deserialize(i)
9015
+ @Resources << resourceinfo_tmp
9016
+ end
9017
+ end
9018
+ unless params['Written'].nil?
9019
+ @Written = SmartOptimizerWrittenPolicy.new
9020
+ @Written.deserialize(params['Written'])
9021
+ end
9022
+ unless params['Lifecycle'].nil?
9023
+ @Lifecycle = SmartOptimizerLifecyclePolicy.new
9024
+ @Lifecycle.deserialize(params['Lifecycle'])
9025
+ end
9026
+ unless params['Index'].nil?
9027
+ @Index = SmartOptimizerIndexPolicy.new
9028
+ @Index.deserialize(params['Index'])
9029
+ end
9030
+ end
9031
+ end
9032
+
9033
+ # SmartOptimizerWrittenPolicy
9034
+ class SmartOptimizerWrittenPolicy < TencentCloud::Common::AbstractModel
9035
+
9036
+
9037
+ def initialize()
9038
+ end
9039
+
9040
+ def deserialize(params)
9041
+ end
9042
+ end
9043
+
9044
+ # SmartPolicyRequest
9045
+ class SmartPolicy < TencentCloud::Common::AbstractModel
9046
+ # @param BaseInfo: 基础信息
9047
+ # 注意:此字段可能返回 null,表示取不到有效值。
9048
+ # @type BaseInfo: :class:`Tencentcloud::Dlc.v20210125.models.SmartPolicyBaseInfo`
9049
+ # @param Policy: 策略描述
9050
+ # 注意:此字段可能返回 null,表示取不到有效值。
9051
+ # @type Policy: :class:`Tencentcloud::Dlc.v20210125.models.SmartOptimizerPolicy`
9052
+
9053
+ attr_accessor :BaseInfo, :Policy
9054
+
9055
+ def initialize(baseinfo=nil, policy=nil)
9056
+ @BaseInfo = baseinfo
9057
+ @Policy = policy
9058
+ end
9059
+
9060
+ def deserialize(params)
9061
+ unless params['BaseInfo'].nil?
9062
+ @BaseInfo = SmartPolicyBaseInfo.new
9063
+ @BaseInfo.deserialize(params['BaseInfo'])
9064
+ end
9065
+ unless params['Policy'].nil?
9066
+ @Policy = SmartOptimizerPolicy.new
9067
+ @Policy.deserialize(params['Policy'])
9068
+ end
9069
+ end
9070
+ end
9071
+
9072
+ # SmartPolicyBaseInfo
9073
+ class SmartPolicyBaseInfo < TencentCloud::Common::AbstractModel
9074
+ # @param Uin: 用户uin
9075
+ # 注意:此字段可能返回 null,表示取不到有效值。
9076
+ # @type Uin: String
9077
+ # @param PolicyType: Catalog/Database/Table
9078
+ # 注意:此字段可能返回 null,表示取不到有效值。
9079
+ # @type PolicyType: String
9080
+ # @param Catalog: Catalog名称
9081
+ # 注意:此字段可能返回 null,表示取不到有效值。
9082
+ # @type Catalog: String
9083
+ # @param Database: 数据库名称
9084
+ # 注意:此字段可能返回 null,表示取不到有效值。
9085
+ # @type Database: String
9086
+ # @param Table: 表名称
9087
+ # 注意:此字段可能返回 null,表示取不到有效值。
9088
+ # @type Table: String
9089
+ # @param AppId: 用户appid
9090
+ # 注意:此字段可能返回 null,表示取不到有效值。
9091
+ # @type AppId: String
9092
+
9093
+ attr_accessor :Uin, :PolicyType, :Catalog, :Database, :Table, :AppId
9094
+
9095
+ def initialize(uin=nil, policytype=nil, catalog=nil, database=nil, table=nil, appid=nil)
9096
+ @Uin = uin
9097
+ @PolicyType = policytype
9098
+ @Catalog = catalog
9099
+ @Database = database
9100
+ @Table = table
9101
+ @AppId = appid
9102
+ end
9103
+
9104
+ def deserialize(params)
9105
+ @Uin = params['Uin']
9106
+ @PolicyType = params['PolicyType']
9107
+ @Catalog = params['Catalog']
9108
+ @Database = params['Database']
9109
+ @Table = params['Table']
9110
+ @AppId = params['AppId']
9111
+ end
9112
+ end
9113
+
9114
+ # spark作业详情。
9115
+ class SparkJobInfo < TencentCloud::Common::AbstractModel
9116
+ # @param JobId: spark作业ID
9117
+ # @type JobId: String
9118
+ # @param JobName: spark作业名
9119
+ # @type JobName: String
9120
+ # @param JobType: spark作业类型,可去1或者2,1表示batch作业, 2表示streaming作业
9121
+ # @type JobType: Integer
9122
+ # @param DataEngine: 引擎名
9123
+ # @type DataEngine: String
9124
+ # @param Eni: 该字段已下线,请使用字段Datasource
9125
+ # @type Eni: String
9126
+ # @param IsLocal: 程序包是否本地上传,cos或者lakefs
9127
+ # @type IsLocal: String
9128
+ # @param JobFile: 程序包路径
9129
+ # @type JobFile: String
9130
+ # @param RoleArn: 角色ID
9131
+ # @type RoleArn: Integer
9132
+ # @param MainClass: spark作业运行主类
9133
+ # @type MainClass: String
9134
+ # @param CmdArgs: 命令行参数,spark作业命令行参数,空格分隔
9135
+ # @type CmdArgs: String
9136
+ # @param JobConf: spark原生配置,换行符分隔
9137
+ # @type JobConf: String
9138
+ # @param IsLocalJars: 依赖jars是否本地上传,cos或者lakefs
9139
+ # @type IsLocalJars: String
9140
+ # @param JobJars: spark作业依赖jars,逗号分隔
9141
+ # @type JobJars: String
9142
+ # @param IsLocalFiles: 依赖文件是否本地上传,cos或者lakefs
9143
+ # @type IsLocalFiles: String
9144
+ # @param JobFiles: spark作业依赖文件,逗号分隔
9145
+ # @type JobFiles: String
9146
+ # @param JobDriverSize: spark作业driver资源大小
9147
+ # @type JobDriverSize: String
9148
+ # @param JobExecutorSize: spark作业executor资源大小
9149
+ # @type JobExecutorSize: String
9150
+ # @param JobExecutorNums: spark作业executor个数
9151
+ # @type JobExecutorNums: Integer
9152
+ # @param JobMaxAttempts: spark流任务最大重试次数
9153
+ # @type JobMaxAttempts: Integer
9154
+ # @param JobCreator: spark作业创建者
8010
9155
  # @type JobCreator: String
8011
9156
  # @param JobCreateTime: spark作业创建时间
8012
9157
  # @type JobCreateTime: Integer
@@ -8407,6 +9552,33 @@ module TencentCloud
8407
9552
  end
8408
9553
  end
8409
9554
 
9555
+ # SwitchDataEngineImage请求参数结构体
9556
+ class SwitchDataEngineImageRequest < TencentCloud::Common::AbstractModel
9557
+
9558
+
9559
+ def initialize()
9560
+ end
9561
+
9562
+ def deserialize(params)
9563
+ end
9564
+ end
9565
+
9566
+ # SwitchDataEngineImage返回参数结构体
9567
+ class SwitchDataEngineImageResponse < TencentCloud::Common::AbstractModel
9568
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9569
+ # @type RequestId: String
9570
+
9571
+ attr_accessor :RequestId
9572
+
9573
+ def initialize(requestid=nil)
9574
+ @RequestId = requestid
9575
+ end
9576
+
9577
+ def deserialize(params)
9578
+ @RequestId = params['RequestId']
9579
+ end
9580
+ end
9581
+
8410
9582
  # SwitchDataEngine请求参数结构体
8411
9583
  class SwitchDataEngineRequest < TencentCloud::Common::AbstractModel
8412
9584
  # @param DataEngineName: 主集群名称
@@ -8549,10 +9721,13 @@ module TencentCloud
8549
9721
  # @param DbGovernPolicyIsDisable: 库数据治理是否关闭,关闭:true,开启:false
8550
9722
  # 注意:此字段可能返回 null,表示取不到有效值。
8551
9723
  # @type DbGovernPolicyIsDisable: String
9724
+ # @param SmartPolicy: 智能数据治理配置项
9725
+ # 注意:此字段可能返回 null,表示取不到有效值。
9726
+ # @type SmartPolicy: :class:`Tencentcloud::Dlc.v20210125.models.SmartPolicy`
8552
9727
 
8553
- attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable
9728
+ attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy
8554
9729
 
8555
- def initialize(databasename=nil, tablename=nil, datasourceconnectionname=nil, tablecomment=nil, type=nil, tableformat=nil, useralias=nil, usersubuin=nil, governpolicy=nil, dbgovernpolicyisdisable=nil)
9730
+ def initialize(databasename=nil, tablename=nil, datasourceconnectionname=nil, tablecomment=nil, type=nil, tableformat=nil, useralias=nil, usersubuin=nil, governpolicy=nil, dbgovernpolicyisdisable=nil, smartpolicy=nil)
8556
9731
  @DatabaseName = databasename
8557
9732
  @TableName = tablename
8558
9733
  @DatasourceConnectionName = datasourceconnectionname
@@ -8563,6 +9738,7 @@ module TencentCloud
8563
9738
  @UserSubUin = usersubuin
8564
9739
  @GovernPolicy = governpolicy
8565
9740
  @DbGovernPolicyIsDisable = dbgovernpolicyisdisable
9741
+ @SmartPolicy = smartpolicy
8566
9742
  end
8567
9743
 
8568
9744
  def deserialize(params)
@@ -8579,6 +9755,10 @@ module TencentCloud
8579
9755
  @GovernPolicy.deserialize(params['GovernPolicy'])
8580
9756
  end
8581
9757
  @DbGovernPolicyIsDisable = params['DbGovernPolicyIsDisable']
9758
+ unless params['SmartPolicy'].nil?
9759
+ @SmartPolicy = SmartPolicy.new
9760
+ @SmartPolicy.deserialize(params['SmartPolicy'])
9761
+ end
8582
9762
  end
8583
9763
  end
8584
9764
 
@@ -9243,6 +10423,127 @@ module TencentCloud
9243
10423
  end
9244
10424
  end
9245
10425
 
10426
+ # UpdateDataEngineConfig请求参数结构体
10427
+ class UpdateDataEngineConfigRequest < TencentCloud::Common::AbstractModel
10428
+
10429
+
10430
+ def initialize()
10431
+ end
10432
+
10433
+ def deserialize(params)
10434
+ end
10435
+ end
10436
+
10437
+ # UpdateDataEngineConfig返回参数结构体
10438
+ class UpdateDataEngineConfigResponse < TencentCloud::Common::AbstractModel
10439
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10440
+ # @type RequestId: String
10441
+
10442
+ attr_accessor :RequestId
10443
+
10444
+ def initialize(requestid=nil)
10445
+ @RequestId = requestid
10446
+ end
10447
+
10448
+ def deserialize(params)
10449
+ @RequestId = params['RequestId']
10450
+ end
10451
+ end
10452
+
10453
+ # UpdateDataEngine请求参数结构体
10454
+ class UpdateDataEngineRequest < TencentCloud::Common::AbstractModel
10455
+ # @param Size: 资源大小
10456
+ # @type Size: Integer
10457
+ # @param MinClusters: 最小资源
10458
+ # @type MinClusters: Integer
10459
+ # @param MaxClusters: 最大资源
10460
+ # @type MaxClusters: Integer
10461
+ # @param AutoResume: 开启自动刷新:true:开启、false(默认):关闭
10462
+ # @type AutoResume: Boolean
10463
+ # @param DataEngineName: 数据引擎名称
10464
+ # @type DataEngineName: String
10465
+ # @param Message: 相关信息
10466
+ # @type Message: String
10467
+ # @param AutoSuspend: 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
10468
+ # @type AutoSuspend: Boolean
10469
+ # @param CrontabResumeSuspend: 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
10470
+ # @type CrontabResumeSuspend: Integer
10471
+ # @param CrontabResumeSuspendStrategy: 定时启停策略,复杂类型:包含启停时间、挂起集群策略
10472
+ # @type CrontabResumeSuspendStrategy: :class:`Tencentcloud::Dlc.v20210125.models.CrontabResumeSuspendStrategy`
10473
+ # @param MaxConcurrency: 单个集群最大并发任务数,默认5
10474
+ # @type MaxConcurrency: Integer
10475
+ # @param TolerableQueueTime: 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
10476
+ # @type TolerableQueueTime: Integer
10477
+ # @param AutoSuspendTime: 集群自动挂起时间
10478
+ # @type AutoSuspendTime: Integer
10479
+ # @param ElasticSwitch: spark jar 包年包月集群是否开启弹性
10480
+ # @type ElasticSwitch: Boolean
10481
+ # @param ElasticLimit: spark jar 包年包月集群弹性上限
10482
+ # @type ElasticLimit: Integer
10483
+ # @param SessionResourceTemplate: Spark批作业集群Session资源配置模板
10484
+ # @type SessionResourceTemplate: :class:`Tencentcloud::Dlc.v20210125.models.SessionResourceTemplate`
10485
+
10486
+ attr_accessor :Size, :MinClusters, :MaxClusters, :AutoResume, :DataEngineName, :Message, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate
10487
+
10488
+ def initialize(size=nil, minclusters=nil, maxclusters=nil, autoresume=nil, dataenginename=nil, message=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil)
10489
+ @Size = size
10490
+ @MinClusters = minclusters
10491
+ @MaxClusters = maxclusters
10492
+ @AutoResume = autoresume
10493
+ @DataEngineName = dataenginename
10494
+ @Message = message
10495
+ @AutoSuspend = autosuspend
10496
+ @CrontabResumeSuspend = crontabresumesuspend
10497
+ @CrontabResumeSuspendStrategy = crontabresumesuspendstrategy
10498
+ @MaxConcurrency = maxconcurrency
10499
+ @TolerableQueueTime = tolerablequeuetime
10500
+ @AutoSuspendTime = autosuspendtime
10501
+ @ElasticSwitch = elasticswitch
10502
+ @ElasticLimit = elasticlimit
10503
+ @SessionResourceTemplate = sessionresourcetemplate
10504
+ end
10505
+
10506
+ def deserialize(params)
10507
+ @Size = params['Size']
10508
+ @MinClusters = params['MinClusters']
10509
+ @MaxClusters = params['MaxClusters']
10510
+ @AutoResume = params['AutoResume']
10511
+ @DataEngineName = params['DataEngineName']
10512
+ @Message = params['Message']
10513
+ @AutoSuspend = params['AutoSuspend']
10514
+ @CrontabResumeSuspend = params['CrontabResumeSuspend']
10515
+ unless params['CrontabResumeSuspendStrategy'].nil?
10516
+ @CrontabResumeSuspendStrategy = CrontabResumeSuspendStrategy.new
10517
+ @CrontabResumeSuspendStrategy.deserialize(params['CrontabResumeSuspendStrategy'])
10518
+ end
10519
+ @MaxConcurrency = params['MaxConcurrency']
10520
+ @TolerableQueueTime = params['TolerableQueueTime']
10521
+ @AutoSuspendTime = params['AutoSuspendTime']
10522
+ @ElasticSwitch = params['ElasticSwitch']
10523
+ @ElasticLimit = params['ElasticLimit']
10524
+ unless params['SessionResourceTemplate'].nil?
10525
+ @SessionResourceTemplate = SessionResourceTemplate.new
10526
+ @SessionResourceTemplate.deserialize(params['SessionResourceTemplate'])
10527
+ end
10528
+ end
10529
+ end
10530
+
10531
+ # UpdateDataEngine返回参数结构体
10532
+ class UpdateDataEngineResponse < TencentCloud::Common::AbstractModel
10533
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10534
+ # @type RequestId: String
10535
+
10536
+ attr_accessor :RequestId
10537
+
10538
+ def initialize(requestid=nil)
10539
+ @RequestId = requestid
10540
+ end
10541
+
10542
+ def deserialize(params)
10543
+ @RequestId = params['RequestId']
10544
+ end
10545
+ end
10546
+
9246
10547
  # UpdateRowFilter请求参数结构体
9247
10548
  class UpdateRowFilterRequest < TencentCloud::Common::AbstractModel
9248
10549
  # @param PolicyId: 行过滤策略的id,此值可以通过DescribeUserInfo或者DescribeWorkGroupInfo接口获取
@@ -9282,6 +10583,129 @@ module TencentCloud
9282
10583
  end
9283
10584
  end
9284
10585
 
10586
+ # UpdateUserDataEngineConfig请求参数结构体
10587
+ class UpdateUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
10588
+
10589
+
10590
+ def initialize()
10591
+ end
10592
+
10593
+ def deserialize(params)
10594
+ end
10595
+ end
10596
+
10597
+ # UpdateUserDataEngineConfig返回参数结构体
10598
+ class UpdateUserDataEngineConfigResponse < TencentCloud::Common::AbstractModel
10599
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10600
+ # @type RequestId: String
10601
+
10602
+ attr_accessor :RequestId
10603
+
10604
+ def initialize(requestid=nil)
10605
+ @RequestId = requestid
10606
+ end
10607
+
10608
+ def deserialize(params)
10609
+ @RequestId = params['RequestId']
10610
+ end
10611
+ end
10612
+
10613
+ # UpgradeDataEngineImage请求参数结构体
10614
+ class UpgradeDataEngineImageRequest < TencentCloud::Common::AbstractModel
10615
+
10616
+
10617
+ def initialize()
10618
+ end
10619
+
10620
+ def deserialize(params)
10621
+ end
10622
+ end
10623
+
10624
+ # UpgradeDataEngineImage返回参数结构体
10625
+ class UpgradeDataEngineImageResponse < TencentCloud::Common::AbstractModel
10626
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10627
+ # @type RequestId: String
10628
+
10629
+ attr_accessor :RequestId
10630
+
10631
+ def initialize(requestid=nil)
10632
+ @RequestId = requestid
10633
+ end
10634
+
10635
+ def deserialize(params)
10636
+ @RequestId = params['RequestId']
10637
+ end
10638
+ end
10639
+
10640
+ # 用户详细信息
10641
+ class UserDetailInfo < TencentCloud::Common::AbstractModel
10642
+ # @param UserId: 用户Id
10643
+ # 注意:此字段可能返回 null,表示取不到有效值。
10644
+ # @type UserId: String
10645
+ # @param Type: 返回的信息类型,Group:返回的当前用户的工作组信息;DataAuth:返回的当前用户的数据权限信息;EngineAuth:返回的当前用户的引擎权限信息
10646
+ # 注意:此字段可能返回 null,表示取不到有效值。
10647
+ # @type Type: String
10648
+ # @param UserType: 用户类型:ADMIN:管理员 COMMON:一般用户
10649
+ # 注意:此字段可能返回 null,表示取不到有效值。
10650
+ # @type UserType: String
10651
+ # @param UserDescription: 用户描述信息
10652
+ # 注意:此字段可能返回 null,表示取不到有效值。
10653
+ # @type UserDescription: String
10654
+ # @param DataPolicyInfo: 数据权限信息集合
10655
+ # 注意:此字段可能返回 null,表示取不到有效值。
10656
+ # @type DataPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
10657
+ # @param EnginePolicyInfo: 引擎权限集合
10658
+ # 注意:此字段可能返回 null,表示取不到有效值。
10659
+ # @type EnginePolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
10660
+ # @param WorkGroupInfo: 绑定到该用户的工作组集合信息
10661
+ # 注意:此字段可能返回 null,表示取不到有效值。
10662
+ # @type WorkGroupInfo: :class:`Tencentcloud::Dlc.v20210125.models.WorkGroups`
10663
+ # @param UserAlias: 用户别名
10664
+ # 注意:此字段可能返回 null,表示取不到有效值。
10665
+ # @type UserAlias: String
10666
+ # @param RowFilterInfo: 行过滤集合
10667
+ # 注意:此字段可能返回 null,表示取不到有效值。
10668
+ # @type RowFilterInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
10669
+
10670
+ attr_accessor :UserId, :Type, :UserType, :UserDescription, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupInfo, :UserAlias, :RowFilterInfo
10671
+
10672
+ def initialize(userid=nil, type=nil, usertype=nil, userdescription=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupinfo=nil, useralias=nil, rowfilterinfo=nil)
10673
+ @UserId = userid
10674
+ @Type = type
10675
+ @UserType = usertype
10676
+ @UserDescription = userdescription
10677
+ @DataPolicyInfo = datapolicyinfo
10678
+ @EnginePolicyInfo = enginepolicyinfo
10679
+ @WorkGroupInfo = workgroupinfo
10680
+ @UserAlias = useralias
10681
+ @RowFilterInfo = rowfilterinfo
10682
+ end
10683
+
10684
+ def deserialize(params)
10685
+ @UserId = params['UserId']
10686
+ @Type = params['Type']
10687
+ @UserType = params['UserType']
10688
+ @UserDescription = params['UserDescription']
10689
+ unless params['DataPolicyInfo'].nil?
10690
+ @DataPolicyInfo = Policys.new
10691
+ @DataPolicyInfo.deserialize(params['DataPolicyInfo'])
10692
+ end
10693
+ unless params['EnginePolicyInfo'].nil?
10694
+ @EnginePolicyInfo = Policys.new
10695
+ @EnginePolicyInfo.deserialize(params['EnginePolicyInfo'])
10696
+ end
10697
+ unless params['WorkGroupInfo'].nil?
10698
+ @WorkGroupInfo = WorkGroups.new
10699
+ @WorkGroupInfo.deserialize(params['WorkGroupInfo'])
10700
+ end
10701
+ @UserAlias = params['UserAlias']
10702
+ unless params['RowFilterInfo'].nil?
10703
+ @RowFilterInfo = Policys.new
10704
+ @RowFilterInfo.deserialize(params['RowFilterInfo'])
10705
+ end
10706
+ end
10707
+ end
10708
+
9285
10709
  # 绑定到同一个工作组的用户Id的集合
9286
10710
  class UserIdSetOfWorkGroupId < TencentCloud::Common::AbstractModel
9287
10711
  # @param WorkGroupId: 工作组Id
@@ -9466,6 +10890,35 @@ module TencentCloud
9466
10890
  end
9467
10891
  end
9468
10892
 
10893
+ # 用户信息集合
10894
+ class Users < TencentCloud::Common::AbstractModel
10895
+ # @param UserSet: 用户信息集合
10896
+ # 注意:此字段可能返回 null,表示取不到有效值。
10897
+ # @type UserSet: Array
10898
+ # @param TotalCount: 用户总数
10899
+ # 注意:此字段可能返回 null,表示取不到有效值。
10900
+ # @type TotalCount: Integer
10901
+
10902
+ attr_accessor :UserSet, :TotalCount
10903
+
10904
+ def initialize(userset=nil, totalcount=nil)
10905
+ @UserSet = userset
10906
+ @TotalCount = totalcount
10907
+ end
10908
+
10909
+ def deserialize(params)
10910
+ unless params['UserSet'].nil?
10911
+ @UserSet = []
10912
+ params['UserSet'].each do |i|
10913
+ usermessage_tmp = UserMessage.new
10914
+ usermessage_tmp.deserialize(i)
10915
+ @UserSet << usermessage_tmp
10916
+ end
10917
+ end
10918
+ @TotalCount = params['TotalCount']
10919
+ end
10920
+ end
10921
+
9469
10922
  # 视图基本配置信息
9470
10923
  class ViewBaseInfo < TencentCloud::Common::AbstractModel
9471
10924
  # @param DatabaseName: 该视图所属数据库名字
@@ -9545,6 +10998,70 @@ module TencentCloud
9545
10998
  end
9546
10999
  end
9547
11000
 
11001
+ # 工作组详细信息
11002
+ class WorkGroupDetailInfo < TencentCloud::Common::AbstractModel
11003
+ # @param WorkGroupId: 工作组Id
11004
+ # 注意:此字段可能返回 null,表示取不到有效值。
11005
+ # @type WorkGroupId: Integer
11006
+ # @param WorkGroupName: 工作组名称
11007
+ # 注意:此字段可能返回 null,表示取不到有效值。
11008
+ # @type WorkGroupName: String
11009
+ # @param Type: 包含的信息类型。User:用户信息;DataAuth:数据权限;EngineAuth:引擎权限
11010
+ # 注意:此字段可能返回 null,表示取不到有效值。
11011
+ # @type Type: String
11012
+ # @param UserInfo: 工作组上绑定的用户集合
11013
+ # 注意:此字段可能返回 null,表示取不到有效值。
11014
+ # @type UserInfo: :class:`Tencentcloud::Dlc.v20210125.models.Users`
11015
+ # @param DataPolicyInfo: 数据权限集合
11016
+ # 注意:此字段可能返回 null,表示取不到有效值。
11017
+ # @type DataPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
11018
+ # @param EnginePolicyInfo: 引擎权限集合
11019
+ # 注意:此字段可能返回 null,表示取不到有效值。
11020
+ # @type EnginePolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
11021
+ # @param WorkGroupDescription: 工作组描述信息
11022
+ # 注意:此字段可能返回 null,表示取不到有效值。
11023
+ # @type WorkGroupDescription: String
11024
+ # @param RowFilterInfo: 行过滤信息集合
11025
+ # 注意:此字段可能返回 null,表示取不到有效值。
11026
+ # @type RowFilterInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
11027
+
11028
+ attr_accessor :WorkGroupId, :WorkGroupName, :Type, :UserInfo, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupDescription, :RowFilterInfo
11029
+
11030
+ def initialize(workgroupid=nil, workgroupname=nil, type=nil, userinfo=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupdescription=nil, rowfilterinfo=nil)
11031
+ @WorkGroupId = workgroupid
11032
+ @WorkGroupName = workgroupname
11033
+ @Type = type
11034
+ @UserInfo = userinfo
11035
+ @DataPolicyInfo = datapolicyinfo
11036
+ @EnginePolicyInfo = enginepolicyinfo
11037
+ @WorkGroupDescription = workgroupdescription
11038
+ @RowFilterInfo = rowfilterinfo
11039
+ end
11040
+
11041
+ def deserialize(params)
11042
+ @WorkGroupId = params['WorkGroupId']
11043
+ @WorkGroupName = params['WorkGroupName']
11044
+ @Type = params['Type']
11045
+ unless params['UserInfo'].nil?
11046
+ @UserInfo = Users.new
11047
+ @UserInfo.deserialize(params['UserInfo'])
11048
+ end
11049
+ unless params['DataPolicyInfo'].nil?
11050
+ @DataPolicyInfo = Policys.new
11051
+ @DataPolicyInfo.deserialize(params['DataPolicyInfo'])
11052
+ end
11053
+ unless params['EnginePolicyInfo'].nil?
11054
+ @EnginePolicyInfo = Policys.new
11055
+ @EnginePolicyInfo.deserialize(params['EnginePolicyInfo'])
11056
+ end
11057
+ @WorkGroupDescription = params['WorkGroupDescription']
11058
+ unless params['RowFilterInfo'].nil?
11059
+ @RowFilterInfo = Policys.new
11060
+ @RowFilterInfo.deserialize(params['RowFilterInfo'])
11061
+ end
11062
+ end
11063
+ end
11064
+
9548
11065
  # 同一个用户绑定的工作组集合
9549
11066
  class WorkGroupIdSetOfUserId < TencentCloud::Common::AbstractModel
9550
11067
  # @param UserId: 用户Id,和CAM侧Uin匹配
@@ -9659,6 +11176,35 @@ module TencentCloud
9659
11176
  end
9660
11177
  end
9661
11178
 
11179
+ # 工作组集合
11180
+ class WorkGroups < TencentCloud::Common::AbstractModel
11181
+ # @param WorkGroupSet: 工作组信息集合
11182
+ # 注意:此字段可能返回 null,表示取不到有效值。
11183
+ # @type WorkGroupSet: Array
11184
+ # @param TotalCount: 工作组总数
11185
+ # 注意:此字段可能返回 null,表示取不到有效值。
11186
+ # @type TotalCount: Integer
11187
+
11188
+ attr_accessor :WorkGroupSet, :TotalCount
11189
+
11190
+ def initialize(workgroupset=nil, totalcount=nil)
11191
+ @WorkGroupSet = workgroupset
11192
+ @TotalCount = totalcount
11193
+ end
11194
+
11195
+ def deserialize(params)
11196
+ unless params['WorkGroupSet'].nil?
11197
+ @WorkGroupSet = []
11198
+ params['WorkGroupSet'].each do |i|
11199
+ workgroupmessage_tmp = WorkGroupMessage.new
11200
+ workgroupmessage_tmp.deserialize(i)
11201
+ @WorkGroupSet << workgroupmessage_tmp
11202
+ end
11203
+ end
11204
+ @TotalCount = params['TotalCount']
11205
+ end
11206
+ end
11207
+
9662
11208
  end
9663
11209
  end
9664
11210
  end