tencentcloud-sdk-dlc 3.0.673 → 3.0.675

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210125/models.rb +181 -12
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffe5566671e94209b7f3adb5f7a0fd16439314d1
4
- data.tar.gz: bac1d816089a2b346e46171f08e8e6b198760fdb
3
+ metadata.gz: e0e6dcdad90720cfe103aeb5c66efb9c20e04f58
4
+ data.tar.gz: 2c15239c4998e9a0756049811477fd778b1e8ce0
5
5
  SHA512:
6
- metadata.gz: fe44d4d59c399ccd5f7c2637d2e696721191ac4b8c33742667c574c4611e79772d5cbc1f053a5f9d24dc69882a0c96d7234c848c8710739121629f8e1ed0eb9e
7
- data.tar.gz: 7eace573295a5643701ac1d719ab6c5c7be4cc5091f4f8ff4b7d634d7aebc1be1ddf68954016eed363061b7323acaee44d6a7bde463a1ba38a609b2073f360f4
6
+ metadata.gz: d8cee596c36a92fa4ae32b9b5d12be2bbac00b13a0f1bf1a6f13c46aada080ee7822ef157a838847d61bb65042d41a5ce072d242969489ebe75393c655d19490
7
+ data.tar.gz: 5593832813a24b2f4d9fdaccaf867a800e4a911bf551296e6991a0dc0440e2f96c954c2dd92acb7b612cf8883aa36efd71377d970ad69c30a4c47b116c374c52
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.673
1
+ 3.0.675
@@ -3055,14 +3055,60 @@ module TencentCloud
3055
3055
  end
3056
3056
  end
3057
3057
 
3058
+ # 引擎配置信息
3059
+ class DataEngineConfigInstanceInfo < TencentCloud::Common::AbstractModel
3060
+ # @param DataEngineId: 引擎ID
3061
+ # 注意:此字段可能返回 null,表示取不到有效值。
3062
+ # @type DataEngineId: String
3063
+ # @param DataEngineConfigPairs: 用户自定义配置项集合
3064
+ # @type DataEngineConfigPairs: Array
3065
+ # @param SessionResourceTemplate: 作业集群资源参数配置模版
3066
+ # @type SessionResourceTemplate: :class:`Tencentcloud::Dlc.v20210125.models.SessionResourceTemplate`
3067
+
3068
+ attr_accessor :DataEngineId, :DataEngineConfigPairs, :SessionResourceTemplate
3069
+
3070
+ def initialize(dataengineid=nil, dataengineconfigpairs=nil, sessionresourcetemplate=nil)
3071
+ @DataEngineId = dataengineid
3072
+ @DataEngineConfigPairs = dataengineconfigpairs
3073
+ @SessionResourceTemplate = sessionresourcetemplate
3074
+ end
3075
+
3076
+ def deserialize(params)
3077
+ @DataEngineId = params['DataEngineId']
3078
+ unless params['DataEngineConfigPairs'].nil?
3079
+ @DataEngineConfigPairs = []
3080
+ params['DataEngineConfigPairs'].each do |i|
3081
+ dataengineconfigpair_tmp = DataEngineConfigPair.new
3082
+ dataengineconfigpair_tmp.deserialize(i)
3083
+ @DataEngineConfigPairs << dataengineconfigpair_tmp
3084
+ end
3085
+ end
3086
+ unless params['SessionResourceTemplate'].nil?
3087
+ @SessionResourceTemplate = SessionResourceTemplate.new
3088
+ @SessionResourceTemplate.deserialize(params['SessionResourceTemplate'])
3089
+ end
3090
+ end
3091
+ end
3092
+
3058
3093
  # 引擎配置
3059
3094
  class DataEngineConfigPair < TencentCloud::Common::AbstractModel
3095
+ # @param ConfigItem: 配置项
3096
+ # 注意:此字段可能返回 null,表示取不到有效值。
3097
+ # @type ConfigItem: String
3098
+ # @param ConfigValue: 配置值
3099
+ # 注意:此字段可能返回 null,表示取不到有效值。
3100
+ # @type ConfigValue: String
3060
3101
 
3102
+ attr_accessor :ConfigItem, :ConfigValue
3061
3103
 
3062
- def initialize()
3104
+ def initialize(configitem=nil, configvalue=nil)
3105
+ @ConfigItem = configitem
3106
+ @ConfigValue = configvalue
3063
3107
  end
3064
3108
 
3065
3109
  def deserialize(params)
3110
+ @ConfigItem = params['ConfigItem']
3111
+ @ConfigValue = params['ConfigValue']
3066
3112
  end
3067
3113
  end
3068
3114
 
@@ -6074,27 +6120,73 @@ module TencentCloud
6074
6120
 
6075
6121
  # DescribeUserDataEngineConfig请求参数结构体
6076
6122
  class DescribeUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
6123
+ # @param Sorting: 排序方式,desc表示倒序,asc表示正序
6124
+ # @type Sorting: String
6125
+ # @param Limit: 返回数量,默认为10,最大值为100。
6126
+ # @type Limit: Integer
6127
+ # @param Offset: 偏移量,默认为0。
6128
+ # @type Offset: Integer
6129
+ # @param SortBy: 排序字段,支持如下字段类型,create-time
6130
+ # @type SortBy: String
6131
+ # @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,每种过滤参数支持的过滤值不超过5个。
6132
+ # app-id - String - (appid过滤)
6133
+ # engine-id - String - (引擎ID过滤)
6134
+ # @type Filters: Array
6077
6135
 
6136
+ attr_accessor :Sorting, :Limit, :Offset, :SortBy, :Filters
6078
6137
 
6079
- def initialize()
6138
+ def initialize(sorting=nil, limit=nil, offset=nil, sortby=nil, filters=nil)
6139
+ @Sorting = sorting
6140
+ @Limit = limit
6141
+ @Offset = offset
6142
+ @SortBy = sortby
6143
+ @Filters = filters
6080
6144
  end
6081
6145
 
6082
6146
  def deserialize(params)
6147
+ @Sorting = params['Sorting']
6148
+ @Limit = params['Limit']
6149
+ @Offset = params['Offset']
6150
+ @SortBy = params['SortBy']
6151
+ unless params['Filters'].nil?
6152
+ @Filters = []
6153
+ params['Filters'].each do |i|
6154
+ filter_tmp = Filter.new
6155
+ filter_tmp.deserialize(i)
6156
+ @Filters << filter_tmp
6157
+ end
6158
+ end
6083
6159
  end
6084
6160
  end
6085
6161
 
6086
6162
  # DescribeUserDataEngineConfig返回参数结构体
6087
6163
  class DescribeUserDataEngineConfigResponse < TencentCloud::Common::AbstractModel
6164
+ # @param DataEngineConfigInstanceInfos: 用户引擎自定义配置项列表。
6165
+ # 注意:此字段可能返回 null,表示取不到有效值。
6166
+ # @type DataEngineConfigInstanceInfos: Array
6167
+ # @param TotalCount: 配置项总数。
6168
+ # @type TotalCount: Integer
6088
6169
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6089
6170
  # @type RequestId: String
6090
6171
 
6091
- attr_accessor :RequestId
6172
+ attr_accessor :DataEngineConfigInstanceInfos, :TotalCount, :RequestId
6092
6173
 
6093
- def initialize(requestid=nil)
6174
+ def initialize(dataengineconfiginstanceinfos=nil, totalcount=nil, requestid=nil)
6175
+ @DataEngineConfigInstanceInfos = dataengineconfiginstanceinfos
6176
+ @TotalCount = totalcount
6094
6177
  @RequestId = requestid
6095
6178
  end
6096
6179
 
6097
6180
  def deserialize(params)
6181
+ unless params['DataEngineConfigInstanceInfos'].nil?
6182
+ @DataEngineConfigInstanceInfos = []
6183
+ params['DataEngineConfigInstanceInfos'].each do |i|
6184
+ dataengineconfiginstanceinfo_tmp = DataEngineConfigInstanceInfo.new
6185
+ dataengineconfiginstanceinfo_tmp.deserialize(i)
6186
+ @DataEngineConfigInstanceInfos << dataengineconfiginstanceinfo_tmp
6187
+ end
6188
+ end
6189
+ @TotalCount = params['TotalCount']
6098
6190
  @RequestId = params['RequestId']
6099
6191
  end
6100
6192
  end
@@ -8780,12 +8872,21 @@ module TencentCloud
8780
8872
 
8781
8873
  # RestartDataEngine请求参数结构体
8782
8874
  class RestartDataEngineRequest < TencentCloud::Common::AbstractModel
8875
+ # @param DataEngineId: 引擎ID
8876
+ # @type DataEngineId: String
8877
+ # @param ForcedOperation: 是否强制重启,忽略任务
8878
+ # @type ForcedOperation: Boolean
8783
8879
 
8880
+ attr_accessor :DataEngineId, :ForcedOperation
8784
8881
 
8785
- def initialize()
8882
+ def initialize(dataengineid=nil, forcedoperation=nil)
8883
+ @DataEngineId = dataengineid
8884
+ @ForcedOperation = forcedoperation
8786
8885
  end
8787
8886
 
8788
8887
  def deserialize(params)
8888
+ @DataEngineId = params['DataEngineId']
8889
+ @ForcedOperation = params['ForcedOperation']
8789
8890
  end
8790
8891
  end
8791
8892
 
@@ -8807,12 +8908,25 @@ module TencentCloud
8807
8908
 
8808
8909
  # RollbackDataEngineImage请求参数结构体
8809
8910
  class RollbackDataEngineImageRequest < TencentCloud::Common::AbstractModel
8911
+ # @param DataEngineId: 引擎ID
8912
+ # @type DataEngineId: String
8913
+ # @param FromRecordId: 检查是否能回滚的接口返回的FromRecordId参数
8914
+ # @type FromRecordId: String
8915
+ # @param ToRecordId: 检查是否能回滚的接口返回的ToRecordId参数
8916
+ # @type ToRecordId: String
8810
8917
 
8918
+ attr_accessor :DataEngineId, :FromRecordId, :ToRecordId
8811
8919
 
8812
- def initialize()
8920
+ def initialize(dataengineid=nil, fromrecordid=nil, torecordid=nil)
8921
+ @DataEngineId = dataengineid
8922
+ @FromRecordId = fromrecordid
8923
+ @ToRecordId = torecordid
8813
8924
  end
8814
8925
 
8815
8926
  def deserialize(params)
8927
+ @DataEngineId = params['DataEngineId']
8928
+ @FromRecordId = params['FromRecordId']
8929
+ @ToRecordId = params['ToRecordId']
8816
8930
  end
8817
8931
  end
8818
8932
 
@@ -9554,12 +9668,21 @@ module TencentCloud
9554
9668
 
9555
9669
  # SwitchDataEngineImage请求参数结构体
9556
9670
  class SwitchDataEngineImageRequest < TencentCloud::Common::AbstractModel
9671
+ # @param DataEngineId: 引擎ID
9672
+ # @type DataEngineId: String
9673
+ # @param NewImageVersionId: 新镜像版本ID
9674
+ # @type NewImageVersionId: String
9557
9675
 
9676
+ attr_accessor :DataEngineId, :NewImageVersionId
9558
9677
 
9559
- def initialize()
9678
+ def initialize(dataengineid=nil, newimageversionid=nil)
9679
+ @DataEngineId = dataengineid
9680
+ @NewImageVersionId = newimageversionid
9560
9681
  end
9561
9682
 
9562
9683
  def deserialize(params)
9684
+ @DataEngineId = params['DataEngineId']
9685
+ @NewImageVersionId = params['NewImageVersionId']
9563
9686
  end
9564
9687
  end
9565
9688
 
@@ -9627,15 +9750,22 @@ module TencentCloud
9627
9750
  # @type Default: String
9628
9751
  # @param NotNull: 字段是否是非空
9629
9752
  # @type NotNull: Boolean
9753
+ # @param Precision: 表示整个 numeric 的长度,取值1-38
9754
+ # @type Precision: Integer
9755
+ # @param Scale: 表示小数部分的长度
9756
+ # Scale小于Precision
9757
+ # @type Scale: Integer
9630
9758
 
9631
- attr_accessor :Name, :Type, :Comment, :Default, :NotNull
9759
+ attr_accessor :Name, :Type, :Comment, :Default, :NotNull, :Precision, :Scale
9632
9760
 
9633
- def initialize(name=nil, type=nil, comment=nil, default=nil, notnull=nil)
9761
+ def initialize(name=nil, type=nil, comment=nil, default=nil, notnull=nil, precision=nil, scale=nil)
9634
9762
  @Name = name
9635
9763
  @Type = type
9636
9764
  @Comment = comment
9637
9765
  @Default = default
9638
9766
  @NotNull = notnull
9767
+ @Precision = precision
9768
+ @Scale = scale
9639
9769
  end
9640
9770
 
9641
9771
  def deserialize(params)
@@ -9644,6 +9774,8 @@ module TencentCloud
9644
9774
  @Comment = params['Comment']
9645
9775
  @Default = params['Default']
9646
9776
  @NotNull = params['NotNull']
9777
+ @Precision = params['Precision']
9778
+ @Scale = params['Scale']
9647
9779
  end
9648
9780
  end
9649
9781
 
@@ -10425,12 +10557,21 @@ module TencentCloud
10425
10557
 
10426
10558
  # UpdateDataEngineConfig请求参数结构体
10427
10559
  class UpdateDataEngineConfigRequest < TencentCloud::Common::AbstractModel
10560
+ # @param DataEngineIds: 引擎ID
10561
+ # @type DataEngineIds: Array
10562
+ # @param DataEngineConfigCommand: 引擎配置命令,支持UpdateSparkSQLLakefsPath(更新原生表配置)、UpdateSparkSQLResultPath(更新结果路径配置)
10563
+ # @type DataEngineConfigCommand: String
10428
10564
 
10565
+ attr_accessor :DataEngineIds, :DataEngineConfigCommand
10429
10566
 
10430
- def initialize()
10567
+ def initialize(dataengineids=nil, dataengineconfigcommand=nil)
10568
+ @DataEngineIds = dataengineids
10569
+ @DataEngineConfigCommand = dataengineconfigcommand
10431
10570
  end
10432
10571
 
10433
10572
  def deserialize(params)
10573
+ @DataEngineIds = params['DataEngineIds']
10574
+ @DataEngineConfigCommand = params['DataEngineConfigCommand']
10434
10575
  end
10435
10576
  end
10436
10577
 
@@ -10585,12 +10726,35 @@ module TencentCloud
10585
10726
 
10586
10727
  # UpdateUserDataEngineConfig请求参数结构体
10587
10728
  class UpdateUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
10729
+ # @param DataEngineId: 引擎ID
10730
+ # @type DataEngineId: String
10731
+ # @param DataEngineConfigPairs: 引擎配置项
10732
+ # @type DataEngineConfigPairs: Array
10733
+ # @param SessionResourceTemplate: 作业引擎资源配置模版
10734
+ # @type SessionResourceTemplate: :class:`Tencentcloud::Dlc.v20210125.models.SessionResourceTemplate`
10588
10735
 
10736
+ attr_accessor :DataEngineId, :DataEngineConfigPairs, :SessionResourceTemplate
10589
10737
 
10590
- def initialize()
10738
+ def initialize(dataengineid=nil, dataengineconfigpairs=nil, sessionresourcetemplate=nil)
10739
+ @DataEngineId = dataengineid
10740
+ @DataEngineConfigPairs = dataengineconfigpairs
10741
+ @SessionResourceTemplate = sessionresourcetemplate
10591
10742
  end
10592
10743
 
10593
10744
  def deserialize(params)
10745
+ @DataEngineId = params['DataEngineId']
10746
+ unless params['DataEngineConfigPairs'].nil?
10747
+ @DataEngineConfigPairs = []
10748
+ params['DataEngineConfigPairs'].each do |i|
10749
+ dataengineconfigpair_tmp = DataEngineConfigPair.new
10750
+ dataengineconfigpair_tmp.deserialize(i)
10751
+ @DataEngineConfigPairs << dataengineconfigpair_tmp
10752
+ end
10753
+ end
10754
+ unless params['SessionResourceTemplate'].nil?
10755
+ @SessionResourceTemplate = SessionResourceTemplate.new
10756
+ @SessionResourceTemplate.deserialize(params['SessionResourceTemplate'])
10757
+ end
10594
10758
  end
10595
10759
  end
10596
10760
 
@@ -10612,12 +10776,17 @@ module TencentCloud
10612
10776
 
10613
10777
  # UpgradeDataEngineImage请求参数结构体
10614
10778
  class UpgradeDataEngineImageRequest < TencentCloud::Common::AbstractModel
10779
+ # @param DataEngineId: 引擎ID
10780
+ # @type DataEngineId: String
10615
10781
 
10782
+ attr_accessor :DataEngineId
10616
10783
 
10617
- def initialize()
10784
+ def initialize(dataengineid=nil)
10785
+ @DataEngineId = dataengineid
10618
10786
  end
10619
10787
 
10620
10788
  def deserialize(params)
10789
+ @DataEngineId = params['DataEngineId']
10621
10790
  end
10622
10791
  end
10623
10792
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.673
4
+ version: 3.0.675
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-10 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-dlc.rb
37
- - lib/v20210125/models.rb
38
37
  - lib/v20210125/client.rb
38
+ - lib/v20210125/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: