tencentcloud-sdk-dlc 3.0.1190 → 3.0.1193
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +227 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 982eec09d4afdf8429440e068af2c1e796e49b7b
|
|
4
|
+
data.tar.gz: ce6c0a36e971664602148296825e919af2f735b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7a10d70232027796bcd43102fe5b66cb3332abfd28a258ada05474f52918809556bf57cb054768fa0124b60593b48ba1f4928cb2045681b22a5e69d4fe2d270
|
|
7
|
+
data.tar.gz: e63252d9e735370708679896fd4b5381b9a664286af3b438f7fdb3bb138121d9c8b68e52937cf72141d9d3b7bcc98a7258eabf5542f266b902c9d3344d63eb03
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1193
|
data/lib/v20210125/client.rb
CHANGED
|
@@ -2335,6 +2335,30 @@ module TencentCloud
|
|
|
2335
2335
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2336
2336
|
end
|
|
2337
2337
|
|
|
2338
|
+
# 本接口根据资源组ID查询资源组CU使用情况
|
|
2339
|
+
|
|
2340
|
+
# @param request: Request instance for DescribeResourceGroupUsageInfo.
|
|
2341
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeResourceGroupUsageInfoRequest`
|
|
2342
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeResourceGroupUsageInfoResponse`
|
|
2343
|
+
def DescribeResourceGroupUsageInfo(request)
|
|
2344
|
+
body = send_request('DescribeResourceGroupUsageInfo', request.serialize)
|
|
2345
|
+
response = JSON.parse(body)
|
|
2346
|
+
if response['Response'].key?('Error') == false
|
|
2347
|
+
model = DescribeResourceGroupUsageInfoResponse.new
|
|
2348
|
+
model.deserialize(response['Response'])
|
|
2349
|
+
model
|
|
2350
|
+
else
|
|
2351
|
+
code = response['Response']['Error']['Code']
|
|
2352
|
+
message = response['Response']['Error']['Message']
|
|
2353
|
+
reqid = response['Response']['RequestId']
|
|
2354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2355
|
+
end
|
|
2356
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2357
|
+
raise e
|
|
2358
|
+
rescue StandardError => e
|
|
2359
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2360
|
+
end
|
|
2361
|
+
|
|
2338
2362
|
# 查询结果下载任务
|
|
2339
2363
|
|
|
2340
2364
|
# @param request: Request instance for DescribeResultDownload.
|
data/lib/v20210125/models.rb
CHANGED
|
@@ -4603,10 +4603,24 @@ module TencentCloud
|
|
|
4603
4603
|
# @type IsAIEngine: Integer
|
|
4604
4604
|
# @param ScheduleElasticityConf: 引擎资源弹性伸缩策略
|
|
4605
4605
|
# @type ScheduleElasticityConf: :class:`Tencentcloud::Dlc.v20210125.models.ScheduleElasticityConf`
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4606
|
+
# @param GPUInfo: GPU 信息
|
|
4607
|
+
# @type GPUInfo: :class:`Tencentcloud::Dlc.v20210125.models.GPUInfo`
|
|
4608
|
+
# @param EngineResourceUsedGPU: GPU 使用量
|
|
4609
|
+
# @type EngineResourceUsedGPU: Integer
|
|
4610
|
+
# @param GPUTotalSize: GPU 总规格
|
|
4611
|
+
# @type GPUTotalSize: Integer
|
|
4612
|
+
# @param InstanceModel: GPU 机型
|
|
4613
|
+
# @type InstanceModel: String
|
|
4614
|
+
# @param NodeNum: 节点数量
|
|
4615
|
+
# @type NodeNum: Integer
|
|
4616
|
+
# @param SizeWithElastic: 引擎规格,包含负载弹性或分时弹性
|
|
4617
|
+
# @type SizeWithElastic: Integer
|
|
4618
|
+
# @param MaxElasticSize: 最大弹性值,包含负载弹性或分时弹性
|
|
4619
|
+
# @type MaxElasticSize: Integer
|
|
4620
|
+
|
|
4621
|
+
attr_accessor :DataEngineName, :EngineType, :ClusterType, :QuotaId, :State, :CreateTime, :UpdateTime, :Size, :Mode, :MinClusters, :MaxClusters, :AutoResume, :SpendAfter, :CidrBlock, :DefaultDataEngine, :Message, :DataEngineId, :SubAccountUin, :ExpireTime, :IsolatedTime, :ReversalTime, :UserAlias, :TagList, :Permissions, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :RenewFlag, :AutoSuspendTime, :NetworkConnectionSet, :UiURL, :ResourceType, :ImageVersionId, :ChildImageVersionId, :ImageVersionName, :StartStandbyCluster, :ElasticSwitch, :ElasticLimit, :DefaultHouse, :MaxConcurrency, :TolerableQueueTime, :UserAppId, :UserUin, :SessionResourceTemplate, :AutoAuthorization, :EngineGeneration, :EngineTypeDetail, :EngineNetworkId, :EngineResourceGroupCount, :EngineResourceUsedCU, :AccessInfos, :EngineNetworkName, :IsPoolMode, :IsSupportAI, :GatewayId, :GatewayState, :IsAIGateway, :IsAIEngine, :ScheduleElasticityConf, :GPUInfo, :EngineResourceUsedGPU, :GPUTotalSize, :InstanceModel, :NodeNum, :SizeWithElastic, :MaxElasticSize
|
|
4622
|
+
|
|
4623
|
+
def initialize(dataenginename=nil, enginetype=nil, clustertype=nil, quotaid=nil, state=nil, createtime=nil, updatetime=nil, size=nil, mode=nil, minclusters=nil, maxclusters=nil, autoresume=nil, spendafter=nil, cidrblock=nil, defaultdataengine=nil, message=nil, dataengineid=nil, subaccountuin=nil, expiretime=nil, isolatedtime=nil, reversaltime=nil, useralias=nil, taglist=nil, permissions=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, renewflag=nil, autosuspendtime=nil, networkconnectionset=nil, uiurl=nil, resourcetype=nil, imageversionid=nil, childimageversionid=nil, imageversionname=nil, startstandbycluster=nil, elasticswitch=nil, elasticlimit=nil, defaulthouse=nil, maxconcurrency=nil, tolerablequeuetime=nil, userappid=nil, useruin=nil, sessionresourcetemplate=nil, autoauthorization=nil, enginegeneration=nil, enginetypedetail=nil, enginenetworkid=nil, engineresourcegroupcount=nil, engineresourceusedcu=nil, accessinfos=nil, enginenetworkname=nil, ispoolmode=nil, issupportai=nil, gatewayid=nil, gatewaystate=nil, isaigateway=nil, isaiengine=nil, scheduleelasticityconf=nil, gpuinfo=nil, engineresourceusedgpu=nil, gputotalsize=nil, instancemodel=nil, nodenum=nil, sizewithelastic=nil, maxelasticsize=nil)
|
|
4610
4624
|
@DataEngineName = dataenginename
|
|
4611
4625
|
@EngineType = enginetype
|
|
4612
4626
|
@ClusterType = clustertype
|
|
@@ -4667,6 +4681,13 @@ module TencentCloud
|
|
|
4667
4681
|
@IsAIGateway = isaigateway
|
|
4668
4682
|
@IsAIEngine = isaiengine
|
|
4669
4683
|
@ScheduleElasticityConf = scheduleelasticityconf
|
|
4684
|
+
@GPUInfo = gpuinfo
|
|
4685
|
+
@EngineResourceUsedGPU = engineresourceusedgpu
|
|
4686
|
+
@GPUTotalSize = gputotalsize
|
|
4687
|
+
@InstanceModel = instancemodel
|
|
4688
|
+
@NodeNum = nodenum
|
|
4689
|
+
@SizeWithElastic = sizewithelastic
|
|
4690
|
+
@MaxElasticSize = maxelasticsize
|
|
4670
4691
|
end
|
|
4671
4692
|
|
|
4672
4693
|
def deserialize(params)
|
|
@@ -4760,6 +4781,16 @@ module TencentCloud
|
|
|
4760
4781
|
@ScheduleElasticityConf = ScheduleElasticityConf.new
|
|
4761
4782
|
@ScheduleElasticityConf.deserialize(params['ScheduleElasticityConf'])
|
|
4762
4783
|
end
|
|
4784
|
+
unless params['GPUInfo'].nil?
|
|
4785
|
+
@GPUInfo = GPUInfo.new
|
|
4786
|
+
@GPUInfo.deserialize(params['GPUInfo'])
|
|
4787
|
+
end
|
|
4788
|
+
@EngineResourceUsedGPU = params['EngineResourceUsedGPU']
|
|
4789
|
+
@GPUTotalSize = params['GPUTotalSize']
|
|
4790
|
+
@InstanceModel = params['InstanceModel']
|
|
4791
|
+
@NodeNum = params['NodeNum']
|
|
4792
|
+
@SizeWithElastic = params['SizeWithElastic']
|
|
4793
|
+
@MaxElasticSize = params['MaxElasticSize']
|
|
4763
4794
|
end
|
|
4764
4795
|
end
|
|
4765
4796
|
|
|
@@ -8059,6 +8090,50 @@ module TencentCloud
|
|
|
8059
8090
|
end
|
|
8060
8091
|
end
|
|
8061
8092
|
|
|
8093
|
+
# DescribeResourceGroupUsageInfo请求参数结构体
|
|
8094
|
+
class DescribeResourceGroupUsageInfoRequest < TencentCloud::Common::AbstractModel
|
|
8095
|
+
# @param SessionId: 资源组ID
|
|
8096
|
+
# @type SessionId: String
|
|
8097
|
+
|
|
8098
|
+
attr_accessor :SessionId
|
|
8099
|
+
|
|
8100
|
+
def initialize(sessionid=nil)
|
|
8101
|
+
@SessionId = sessionid
|
|
8102
|
+
end
|
|
8103
|
+
|
|
8104
|
+
def deserialize(params)
|
|
8105
|
+
@SessionId = params['SessionId']
|
|
8106
|
+
end
|
|
8107
|
+
end
|
|
8108
|
+
|
|
8109
|
+
# DescribeResourceGroupUsageInfo返回参数结构体
|
|
8110
|
+
class DescribeResourceGroupUsageInfoResponse < TencentCloud::Common::AbstractModel
|
|
8111
|
+
# @param Total: 资源上限
|
|
8112
|
+
# @type Total: Integer
|
|
8113
|
+
# @param Used: 已占用资源
|
|
8114
|
+
# @type Used: Integer
|
|
8115
|
+
# @param Available: 剩余可用资源
|
|
8116
|
+
# @type Available: Integer
|
|
8117
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8118
|
+
# @type RequestId: String
|
|
8119
|
+
|
|
8120
|
+
attr_accessor :Total, :Used, :Available, :RequestId
|
|
8121
|
+
|
|
8122
|
+
def initialize(total=nil, used=nil, available=nil, requestid=nil)
|
|
8123
|
+
@Total = total
|
|
8124
|
+
@Used = used
|
|
8125
|
+
@Available = available
|
|
8126
|
+
@RequestId = requestid
|
|
8127
|
+
end
|
|
8128
|
+
|
|
8129
|
+
def deserialize(params)
|
|
8130
|
+
@Total = params['Total']
|
|
8131
|
+
@Used = params['Used']
|
|
8132
|
+
@Available = params['Available']
|
|
8133
|
+
@RequestId = params['RequestId']
|
|
8134
|
+
end
|
|
8135
|
+
end
|
|
8136
|
+
|
|
8062
8137
|
# DescribeResultDownload请求参数结构体
|
|
8063
8138
|
class DescribeResultDownloadRequest < TencentCloud::Common::AbstractModel
|
|
8064
8139
|
# @param DownloadId: 查询任务Id
|
|
@@ -10877,15 +10952,18 @@ module TencentCloud
|
|
|
10877
10952
|
# @type StartTime: String
|
|
10878
10953
|
# @param EndTime: 结束时间,Once格式:yyyy-MM-dd HH:mm:ss; 非Once格式: HH:mm:ss
|
|
10879
10954
|
# @type EndTime: String
|
|
10955
|
+
# @param ElasticLimit: 分时弹性上限
|
|
10956
|
+
# @type ElasticLimit: Integer
|
|
10880
10957
|
|
|
10881
|
-
attr_accessor :MinElasticClusters, :MaxElasticClusters, :TolerableQueueTime, :StartTime, :EndTime
|
|
10958
|
+
attr_accessor :MinElasticClusters, :MaxElasticClusters, :TolerableQueueTime, :StartTime, :EndTime, :ElasticLimit
|
|
10882
10959
|
|
|
10883
|
-
def initialize(minelasticclusters=nil, maxelasticclusters=nil, tolerablequeuetime=nil, starttime=nil, endtime=nil)
|
|
10960
|
+
def initialize(minelasticclusters=nil, maxelasticclusters=nil, tolerablequeuetime=nil, starttime=nil, endtime=nil, elasticlimit=nil)
|
|
10884
10961
|
@MinElasticClusters = minelasticclusters
|
|
10885
10962
|
@MaxElasticClusters = maxelasticclusters
|
|
10886
10963
|
@TolerableQueueTime = tolerablequeuetime
|
|
10887
10964
|
@StartTime = starttime
|
|
10888
10965
|
@EndTime = endtime
|
|
10966
|
+
@ElasticLimit = elasticlimit
|
|
10889
10967
|
end
|
|
10890
10968
|
|
|
10891
10969
|
def deserialize(params)
|
|
@@ -10894,6 +10972,7 @@ module TencentCloud
|
|
|
10894
10972
|
@TolerableQueueTime = params['TolerableQueueTime']
|
|
10895
10973
|
@StartTime = params['StartTime']
|
|
10896
10974
|
@EndTime = params['EndTime']
|
|
10975
|
+
@ElasticLimit = params['ElasticLimit']
|
|
10897
10976
|
end
|
|
10898
10977
|
end
|
|
10899
10978
|
|
|
@@ -11137,6 +11216,50 @@ module TencentCloud
|
|
|
11137
11216
|
end
|
|
11138
11217
|
end
|
|
11139
11218
|
|
|
11219
|
+
# GPU 机型
|
|
11220
|
+
class GPUInfo < TencentCloud::Common::AbstractModel
|
|
11221
|
+
# @param BillingItem: 计费项
|
|
11222
|
+
# @type BillingItem: String
|
|
11223
|
+
# @param Model: 机型
|
|
11224
|
+
# @type Model: String
|
|
11225
|
+
# @param CU: cu
|
|
11226
|
+
# @type CU: Integer
|
|
11227
|
+
# @param Type: gpu 机型
|
|
11228
|
+
# @type Type: String
|
|
11229
|
+
# @param Num: 数量
|
|
11230
|
+
# @type Num: Integer
|
|
11231
|
+
# @param GPUMemory: 显存
|
|
11232
|
+
# @type GPUMemory: Integer
|
|
11233
|
+
# @param InstanceType: 机型
|
|
11234
|
+
# @type InstanceType: String
|
|
11235
|
+
# @param SaleStatus: 售卖情况(1-缺货,2-低库存,3-充足)
|
|
11236
|
+
# @type SaleStatus: Integer
|
|
11237
|
+
|
|
11238
|
+
attr_accessor :BillingItem, :Model, :CU, :Type, :Num, :GPUMemory, :InstanceType, :SaleStatus
|
|
11239
|
+
|
|
11240
|
+
def initialize(billingitem=nil, model=nil, cu=nil, type=nil, num=nil, gpumemory=nil, instancetype=nil, salestatus=nil)
|
|
11241
|
+
@BillingItem = billingitem
|
|
11242
|
+
@Model = model
|
|
11243
|
+
@CU = cu
|
|
11244
|
+
@Type = type
|
|
11245
|
+
@Num = num
|
|
11246
|
+
@GPUMemory = gpumemory
|
|
11247
|
+
@InstanceType = instancetype
|
|
11248
|
+
@SaleStatus = salestatus
|
|
11249
|
+
end
|
|
11250
|
+
|
|
11251
|
+
def deserialize(params)
|
|
11252
|
+
@BillingItem = params['BillingItem']
|
|
11253
|
+
@Model = params['Model']
|
|
11254
|
+
@CU = params['CU']
|
|
11255
|
+
@Type = params['Type']
|
|
11256
|
+
@Num = params['Num']
|
|
11257
|
+
@GPUMemory = params['GPUMemory']
|
|
11258
|
+
@InstanceType = params['InstanceType']
|
|
11259
|
+
@SaleStatus = params['SaleStatus']
|
|
11260
|
+
end
|
|
11261
|
+
end
|
|
11262
|
+
|
|
11140
11263
|
# 网关基础信息,包括id,名称,规格和状态
|
|
11141
11264
|
class GatewayInfo < TencentCloud::Common::AbstractModel
|
|
11142
11265
|
# @param GatewayId: 网关ID,
|
|
@@ -14280,15 +14403,23 @@ module TencentCloud
|
|
|
14280
14403
|
class SmartOptimizerWrittenPolicy < TencentCloud::Common::AbstractModel
|
|
14281
14404
|
# @param WrittenEnable: none/enable/disable/default
|
|
14282
14405
|
# @type WrittenEnable: String
|
|
14406
|
+
# @param AdvancePolicy: 用户自定义高级参数
|
|
14407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
14408
|
+
# @type AdvancePolicy: :class:`Tencentcloud::Dlc.v20210125.models.WrittenAdvancePolicy`
|
|
14283
14409
|
|
|
14284
|
-
attr_accessor :WrittenEnable
|
|
14410
|
+
attr_accessor :WrittenEnable, :AdvancePolicy
|
|
14285
14411
|
|
|
14286
|
-
def initialize(writtenenable=nil)
|
|
14412
|
+
def initialize(writtenenable=nil, advancepolicy=nil)
|
|
14287
14413
|
@WrittenEnable = writtenenable
|
|
14414
|
+
@AdvancePolicy = advancepolicy
|
|
14288
14415
|
end
|
|
14289
14416
|
|
|
14290
14417
|
def deserialize(params)
|
|
14291
14418
|
@WrittenEnable = params['WrittenEnable']
|
|
14419
|
+
unless params['AdvancePolicy'].nil?
|
|
14420
|
+
@AdvancePolicy = WrittenAdvancePolicy.new
|
|
14421
|
+
@AdvancePolicy.deserialize(params['AdvancePolicy'])
|
|
14422
|
+
end
|
|
14292
14423
|
end
|
|
14293
14424
|
end
|
|
14294
14425
|
|
|
@@ -14376,6 +14507,30 @@ module TencentCloud
|
|
|
14376
14507
|
end
|
|
14377
14508
|
end
|
|
14378
14509
|
|
|
14510
|
+
# 合并策略sort类型的规则定义
|
|
14511
|
+
class SortOrder < TencentCloud::Common::AbstractModel
|
|
14512
|
+
# @param Column: sort的数据表列名称
|
|
14513
|
+
# @type Column: String
|
|
14514
|
+
# @param SortDirection: 按照升序或者降序进行排序
|
|
14515
|
+
# @type SortDirection: String
|
|
14516
|
+
# @param NullOrder: null值放在开头或者末尾
|
|
14517
|
+
# @type NullOrder: String
|
|
14518
|
+
|
|
14519
|
+
attr_accessor :Column, :SortDirection, :NullOrder
|
|
14520
|
+
|
|
14521
|
+
def initialize(column=nil, sortdirection=nil, nullorder=nil)
|
|
14522
|
+
@Column = column
|
|
14523
|
+
@SortDirection = sortdirection
|
|
14524
|
+
@NullOrder = nullorder
|
|
14525
|
+
end
|
|
14526
|
+
|
|
14527
|
+
def deserialize(params)
|
|
14528
|
+
@Column = params['Column']
|
|
14529
|
+
@SortDirection = params['SortDirection']
|
|
14530
|
+
@NullOrder = params['NullOrder']
|
|
14531
|
+
end
|
|
14532
|
+
end
|
|
14533
|
+
|
|
14379
14534
|
# spark作业详情。
|
|
14380
14535
|
class SparkJobInfo < TencentCloud::Common::AbstractModel
|
|
14381
14536
|
# @param JobId: spark作业ID
|
|
@@ -17923,6 +18078,70 @@ module TencentCloud
|
|
|
17923
18078
|
end
|
|
17924
18079
|
end
|
|
17925
18080
|
|
|
18081
|
+
# Smart Optimizer高级参数配置数据结构
|
|
18082
|
+
class WrittenAdvancePolicy < TencentCloud::Common::AbstractModel
|
|
18083
|
+
# @param CompactEnable: 是否启用合并
|
|
18084
|
+
# @type CompactEnable: String
|
|
18085
|
+
# @param DeleteEnable: 是否启用历史数据清理
|
|
18086
|
+
# @type DeleteEnable: String
|
|
18087
|
+
# @param MinInputFiles: 合并最新文件数量
|
|
18088
|
+
# @type MinInputFiles: Integer
|
|
18089
|
+
# @param TargetFileSizeBytes: 合并文件目录文件大小
|
|
18090
|
+
# @type TargetFileSizeBytes: Integer
|
|
18091
|
+
# @param RetainLast: 保留过期时间的快照数量
|
|
18092
|
+
# @type RetainLast: Integer
|
|
18093
|
+
# @param BeforeDays: 快照过期时间
|
|
18094
|
+
# @type BeforeDays: Integer
|
|
18095
|
+
# @param ExpiredSnapshotsIntervalMin: 快照过期执行周期
|
|
18096
|
+
# @type ExpiredSnapshotsIntervalMin: Integer
|
|
18097
|
+
# @param RemoveOrphanIntervalMin: 移除孤立文件执行周期
|
|
18098
|
+
# @type RemoveOrphanIntervalMin: Integer
|
|
18099
|
+
# @param CowCompactEnable: 是否开启COW表合并
|
|
18100
|
+
# @type CowCompactEnable: String
|
|
18101
|
+
# @param CompactStrategy: 文件合并策略
|
|
18102
|
+
# @type CompactStrategy: String
|
|
18103
|
+
# @param SortOrders: sort合并策略的规则定义
|
|
18104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
18105
|
+
# @type SortOrders: Array
|
|
18106
|
+
|
|
18107
|
+
attr_accessor :CompactEnable, :DeleteEnable, :MinInputFiles, :TargetFileSizeBytes, :RetainLast, :BeforeDays, :ExpiredSnapshotsIntervalMin, :RemoveOrphanIntervalMin, :CowCompactEnable, :CompactStrategy, :SortOrders
|
|
18108
|
+
|
|
18109
|
+
def initialize(compactenable=nil, deleteenable=nil, mininputfiles=nil, targetfilesizebytes=nil, retainlast=nil, beforedays=nil, expiredsnapshotsintervalmin=nil, removeorphanintervalmin=nil, cowcompactenable=nil, compactstrategy=nil, sortorders=nil)
|
|
18110
|
+
@CompactEnable = compactenable
|
|
18111
|
+
@DeleteEnable = deleteenable
|
|
18112
|
+
@MinInputFiles = mininputfiles
|
|
18113
|
+
@TargetFileSizeBytes = targetfilesizebytes
|
|
18114
|
+
@RetainLast = retainlast
|
|
18115
|
+
@BeforeDays = beforedays
|
|
18116
|
+
@ExpiredSnapshotsIntervalMin = expiredsnapshotsintervalmin
|
|
18117
|
+
@RemoveOrphanIntervalMin = removeorphanintervalmin
|
|
18118
|
+
@CowCompactEnable = cowcompactenable
|
|
18119
|
+
@CompactStrategy = compactstrategy
|
|
18120
|
+
@SortOrders = sortorders
|
|
18121
|
+
end
|
|
18122
|
+
|
|
18123
|
+
def deserialize(params)
|
|
18124
|
+
@CompactEnable = params['CompactEnable']
|
|
18125
|
+
@DeleteEnable = params['DeleteEnable']
|
|
18126
|
+
@MinInputFiles = params['MinInputFiles']
|
|
18127
|
+
@TargetFileSizeBytes = params['TargetFileSizeBytes']
|
|
18128
|
+
@RetainLast = params['RetainLast']
|
|
18129
|
+
@BeforeDays = params['BeforeDays']
|
|
18130
|
+
@ExpiredSnapshotsIntervalMin = params['ExpiredSnapshotsIntervalMin']
|
|
18131
|
+
@RemoveOrphanIntervalMin = params['RemoveOrphanIntervalMin']
|
|
18132
|
+
@CowCompactEnable = params['CowCompactEnable']
|
|
18133
|
+
@CompactStrategy = params['CompactStrategy']
|
|
18134
|
+
unless params['SortOrders'].nil?
|
|
18135
|
+
@SortOrders = []
|
|
18136
|
+
params['SortOrders'].each do |i|
|
|
18137
|
+
sortorder_tmp = SortOrder.new
|
|
18138
|
+
sortorder_tmp.deserialize(i)
|
|
18139
|
+
@SortOrders << sortorder_tmp
|
|
18140
|
+
end
|
|
18141
|
+
end
|
|
18142
|
+
end
|
|
18143
|
+
end
|
|
18144
|
+
|
|
17926
18145
|
end
|
|
17927
18146
|
end
|
|
17928
18147
|
end
|
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.
|
|
4
|
+
version: 3.0.1193
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|