tencentcloud-sdk-tione 3.0.544 → 3.0.546

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/v20211111/models.rb +79 -21
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ed843eaa851043df817268f89ae86f22cbcac99
4
- data.tar.gz: b5ed093fe3b81efdd1dd5b33b65a4ea1b84f8a88
3
+ metadata.gz: cba55c74b56f0b0bc07e9ce075c7cc8ab91f1de2
4
+ data.tar.gz: 1fec4f8fc12cf18548de4c5d68b6fbe2f8f7c7ca
5
5
  SHA512:
6
- metadata.gz: 360192ebcde3107e1e6c7646d043eb4295725528c0e53310b09b2d0405307873144e767bf2c93522bd163ec406323b64cb3418cf54b3b2c73fee7e7136baacd9
7
- data.tar.gz: a0e7515d5af8a4ec2c19539e2504d51d3241fbbc25cba0b43280dad27ee73291ca263a465824823a29b16e8b167f8371258e79891dc087acfd62ff74897041b2
6
+ metadata.gz: 70084de101fef46f0e25319617c86b3edf4e9ed57d7428a661cdceb2359f15cd4cc83db67b1c7e3d74d720dedc24aac0d55c75a169e666e132ba9ba83f18c7d7
7
+ data.tar.gz: 91313ef1c2bfbc7bd349a82115467694e851c6f59e66eef5815b9690394701b606e721de40b41ffd0d8803e2988e01a99a9b0788c9a281c7541849aca7e1589c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.544
1
+ 3.0.546
@@ -109,10 +109,12 @@ module TencentCloud
109
109
  # @type ModelName: String
110
110
  # @param ModelSignature: SavedModel保存时配置的签名
111
111
  # @type ModelSignature: String
112
+ # @param FrameworkVersion: 加速引擎对应的框架版本
113
+ # @type FrameworkVersion: String
112
114
 
113
- attr_accessor :ModelId, :ModelVersion, :ModelSource, :ModelFormat, :TensorInfos, :AccEngineVersion, :ModelInputPath, :ModelName, :ModelSignature
115
+ attr_accessor :ModelId, :ModelVersion, :ModelSource, :ModelFormat, :TensorInfos, :AccEngineVersion, :ModelInputPath, :ModelName, :ModelSignature, :FrameworkVersion
114
116
 
115
- def initialize(modelid=nil, modelversion=nil, modelsource=nil, modelformat=nil, tensorinfos=nil, accengineversion=nil, modelinputpath=nil, modelname=nil, modelsignature=nil)
117
+ def initialize(modelid=nil, modelversion=nil, modelsource=nil, modelformat=nil, tensorinfos=nil, accengineversion=nil, modelinputpath=nil, modelname=nil, modelsignature=nil, frameworkversion=nil)
116
118
  @ModelId = modelid
117
119
  @ModelVersion = modelversion
118
120
  @ModelSource = modelsource
@@ -122,6 +124,7 @@ module TencentCloud
122
124
  @ModelInputPath = modelinputpath
123
125
  @ModelName = modelname
124
126
  @ModelSignature = modelsignature
127
+ @FrameworkVersion = frameworkversion
125
128
  end
126
129
 
127
130
  def deserialize(params)
@@ -137,6 +140,7 @@ module TencentCloud
137
140
  end
138
141
  @ModelName = params['ModelName']
139
142
  @ModelSignature = params['ModelSignature']
143
+ @FrameworkVersion = params['FrameworkVersion']
140
144
  end
141
145
  end
142
146
 
@@ -4013,11 +4017,11 @@ module TencentCloud
4013
4017
  class DescribeTrainingModelsRequest < TencentCloud::Common::AbstractModel
4014
4018
  # @param Filters: 过滤器
4015
4019
  # Filter.Name: 枚举值:
4016
- # keyword (模型名称)
4017
- # TrainingModelId (模型ID)
4018
- # ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
4019
- # TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS
4020
- # ModelFormat(模型格式)其值Filter.Values支持:
4020
+ # keyword (模型名称)
4021
+ # TrainingModelId (模型ID)
4022
+ # ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
4023
+ # TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS
4024
+ # ModelFormat(模型格式)其值Filter.Values支持:
4021
4025
  # PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE
4022
4026
  # Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
4023
4027
  # 每次请求的Filters的上限为10,Filter.Values的上限为100
@@ -4033,16 +4037,19 @@ module TencentCloud
4033
4037
  # @type Limit: Integer
4034
4038
  # @param TagFilters: 标签过滤
4035
4039
  # @type TagFilters: Array
4040
+ # @param WithModelVersions: 是否同时返回模型版本列表
4041
+ # @type WithModelVersions: Boolean
4036
4042
 
4037
- attr_accessor :Filters, :OrderField, :Order, :Offset, :Limit, :TagFilters
4043
+ attr_accessor :Filters, :OrderField, :Order, :Offset, :Limit, :TagFilters, :WithModelVersions
4038
4044
 
4039
- def initialize(filters=nil, orderfield=nil, order=nil, offset=nil, limit=nil, tagfilters=nil)
4045
+ def initialize(filters=nil, orderfield=nil, order=nil, offset=nil, limit=nil, tagfilters=nil, withmodelversions=nil)
4040
4046
  @Filters = filters
4041
4047
  @OrderField = orderfield
4042
4048
  @Order = order
4043
4049
  @Offset = offset
4044
4050
  @Limit = limit
4045
4051
  @TagFilters = tagfilters
4052
+ @WithModelVersions = withmodelversions
4046
4053
  end
4047
4054
 
4048
4055
  def deserialize(params)
@@ -4066,6 +4073,7 @@ module TencentCloud
4066
4073
  @TagFilters << tagfilter_tmp
4067
4074
  end
4068
4075
  end
4076
+ @WithModelVersions = params['WithModelVersions']
4069
4077
  end
4070
4078
  end
4071
4079
 
@@ -4312,19 +4320,24 @@ module TencentCloud
4312
4320
  # @param IsSupportIntEightQuantization: 是否支持int8量化
4313
4321
  # 注意:此字段可能返回 null,表示取不到有效值。
4314
4322
  # @type IsSupportIntEightQuantization: Boolean
4323
+ # @param FrameworkVersion: 框架版本
4324
+ # 注意:此字段可能返回 null,表示取不到有效值。
4325
+ # @type FrameworkVersion: String
4315
4326
 
4316
- attr_accessor :Version, :Image, :IsSupportIntEightQuantization
4327
+ attr_accessor :Version, :Image, :IsSupportIntEightQuantization, :FrameworkVersion
4317
4328
 
4318
- def initialize(version=nil, image=nil, issupportinteightquantization=nil)
4329
+ def initialize(version=nil, image=nil, issupportinteightquantization=nil, frameworkversion=nil)
4319
4330
  @Version = version
4320
4331
  @Image = image
4321
4332
  @IsSupportIntEightQuantization = issupportinteightquantization
4333
+ @FrameworkVersion = frameworkversion
4322
4334
  end
4323
4335
 
4324
4336
  def deserialize(params)
4325
4337
  @Version = params['Version']
4326
4338
  @Image = params['Image']
4327
4339
  @IsSupportIntEightQuantization = params['IsSupportIntEightQuantization']
4340
+ @FrameworkVersion = params['FrameworkVersion']
4328
4341
  end
4329
4342
  end
4330
4343
 
@@ -5133,10 +5146,13 @@ module TencentCloud
5133
5146
  # @param QATModel: 是否是QAT模型
5134
5147
  # 注意:此字段可能返回 null,表示取不到有效值。
5135
5148
  # @type QATModel: Boolean
5149
+ # @param FrameworkVersion: 加速引擎对应的框架版本
5150
+ # 注意:此字段可能返回 null,表示取不到有效值。
5151
+ # @type FrameworkVersion: String
5136
5152
 
5137
- attr_accessor :ModelAccTaskId, :ModelAccTaskName, :ModelId, :ModelName, :ModelVersion, :ModelSource, :OptimizationLevel, :TaskStatus, :ModelInputNum, :ModelInputInfos, :GPUType, :ChargeType, :Speedup, :ModelInputPath, :ModelOutputPath, :ErrorMsg, :AlgorithmFramework, :WaitNumber, :CreateTime, :TaskProgress, :ModelFormat, :TensorInfos, :HyperParameter, :AccEngineVersion, :Tags, :IsSaved, :ModelSignature, :QATModel
5153
+ attr_accessor :ModelAccTaskId, :ModelAccTaskName, :ModelId, :ModelName, :ModelVersion, :ModelSource, :OptimizationLevel, :TaskStatus, :ModelInputNum, :ModelInputInfos, :GPUType, :ChargeType, :Speedup, :ModelInputPath, :ModelOutputPath, :ErrorMsg, :AlgorithmFramework, :WaitNumber, :CreateTime, :TaskProgress, :ModelFormat, :TensorInfos, :HyperParameter, :AccEngineVersion, :Tags, :IsSaved, :ModelSignature, :QATModel, :FrameworkVersion
5138
5154
 
5139
- def initialize(modelacctaskid=nil, modelacctaskname=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, optimizationlevel=nil, taskstatus=nil, modelinputnum=nil, modelinputinfos=nil, gputype=nil, chargetype=nil, speedup=nil, modelinputpath=nil, modeloutputpath=nil, errormsg=nil, algorithmframework=nil, waitnumber=nil, createtime=nil, taskprogress=nil, modelformat=nil, tensorinfos=nil, hyperparameter=nil, accengineversion=nil, tags=nil, issaved=nil, modelsignature=nil, qatmodel=nil)
5155
+ def initialize(modelacctaskid=nil, modelacctaskname=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, optimizationlevel=nil, taskstatus=nil, modelinputnum=nil, modelinputinfos=nil, gputype=nil, chargetype=nil, speedup=nil, modelinputpath=nil, modeloutputpath=nil, errormsg=nil, algorithmframework=nil, waitnumber=nil, createtime=nil, taskprogress=nil, modelformat=nil, tensorinfos=nil, hyperparameter=nil, accengineversion=nil, tags=nil, issaved=nil, modelsignature=nil, qatmodel=nil, frameworkversion=nil)
5140
5156
  @ModelAccTaskId = modelacctaskid
5141
5157
  @ModelAccTaskName = modelacctaskname
5142
5158
  @ModelId = modelid
@@ -5165,6 +5181,7 @@ module TencentCloud
5165
5181
  @IsSaved = issaved
5166
5182
  @ModelSignature = modelsignature
5167
5183
  @QATModel = qatmodel
5184
+ @FrameworkVersion = frameworkversion
5168
5185
  end
5169
5186
 
5170
5187
  def deserialize(params)
@@ -5219,6 +5236,7 @@ module TencentCloud
5219
5236
  @IsSaved = params['IsSaved']
5220
5237
  @ModelSignature = params['ModelSignature']
5221
5238
  @QATModel = params['QATModel']
5239
+ @FrameworkVersion = params['FrameworkVersion']
5222
5240
  end
5223
5241
  end
5224
5242
 
@@ -5679,10 +5697,13 @@ module TencentCloud
5679
5697
  # @param Containers: 容器列表
5680
5698
  # 注意:此字段可能返回 null,表示取不到有效值。
5681
5699
  # @type Containers: :class:`Tencentcloud::Tione.v20211111.models.Container`
5700
+ # @param ContainerInfos: 容器列表
5701
+ # 注意:此字段可能返回 null,表示取不到有效值。
5702
+ # @type ContainerInfos: Array
5682
5703
 
5683
- attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers
5704
+ attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos
5684
5705
 
5685
- def initialize(name=nil, uid=nil, chargetype=nil, phase=nil, ip=nil, createtime=nil, containers=nil)
5706
+ def initialize(name=nil, uid=nil, chargetype=nil, phase=nil, ip=nil, createtime=nil, containers=nil, containerinfos=nil)
5686
5707
  @Name = name
5687
5708
  @Uid = uid
5688
5709
  @ChargeType = chargetype
@@ -5690,6 +5711,7 @@ module TencentCloud
5690
5711
  @IP = ip
5691
5712
  @CreateTime = createtime
5692
5713
  @Containers = containers
5714
+ @ContainerInfos = containerinfos
5693
5715
  end
5694
5716
 
5695
5717
  def deserialize(params)
@@ -5703,6 +5725,14 @@ module TencentCloud
5703
5725
  @Containers = Container.new
5704
5726
  @Containers.deserialize(params['Containers'])
5705
5727
  end
5728
+ unless params['ContainerInfos'].nil?
5729
+ @ContainerInfos = []
5730
+ params['ContainerInfos'].each do |i|
5731
+ container_tmp = Container.new
5732
+ container_tmp.deserialize(i)
5733
+ @ContainerInfos << container_tmp
5734
+ end
5735
+ end
5706
5736
  end
5707
5737
  end
5708
5738
 
@@ -6007,10 +6037,12 @@ module TencentCloud
6007
6037
  # @type Tags: Array
6008
6038
  # @param ModelSignature: SavedModel保存时配置的签名
6009
6039
  # @type ModelSignature: String
6040
+ # @param FrameworkVersion: 加速引擎对应的框架版本
6041
+ # @type FrameworkVersion: String
6010
6042
 
6011
- attr_accessor :ModelAccTaskId, :ModelAccTaskName, :ModelSource, :AlgorithmFramework, :ModelId, :ModelName, :ModelVersion, :ModelInputPath, :OptimizationLevel, :ModelInputNum, :ModelInputInfos, :ModelOutputPath, :ModelFormat, :TensorInfos, :GPUType, :HyperParameter, :AccEngineVersion, :Tags, :ModelSignature
6043
+ attr_accessor :ModelAccTaskId, :ModelAccTaskName, :ModelSource, :AlgorithmFramework, :ModelId, :ModelName, :ModelVersion, :ModelInputPath, :OptimizationLevel, :ModelInputNum, :ModelInputInfos, :ModelOutputPath, :ModelFormat, :TensorInfos, :GPUType, :HyperParameter, :AccEngineVersion, :Tags, :ModelSignature, :FrameworkVersion
6012
6044
 
6013
- def initialize(modelacctaskid=nil, modelacctaskname=nil, modelsource=nil, algorithmframework=nil, modelid=nil, modelname=nil, modelversion=nil, modelinputpath=nil, optimizationlevel=nil, modelinputnum=nil, modelinputinfos=nil, modeloutputpath=nil, modelformat=nil, tensorinfos=nil, gputype=nil, hyperparameter=nil, accengineversion=nil, tags=nil, modelsignature=nil)
6045
+ def initialize(modelacctaskid=nil, modelacctaskname=nil, modelsource=nil, algorithmframework=nil, modelid=nil, modelname=nil, modelversion=nil, modelinputpath=nil, optimizationlevel=nil, modelinputnum=nil, modelinputinfos=nil, modeloutputpath=nil, modelformat=nil, tensorinfos=nil, gputype=nil, hyperparameter=nil, accengineversion=nil, tags=nil, modelsignature=nil, frameworkversion=nil)
6014
6046
  @ModelAccTaskId = modelacctaskid
6015
6047
  @ModelAccTaskName = modelacctaskname
6016
6048
  @ModelSource = modelsource
@@ -6030,6 +6062,7 @@ module TencentCloud
6030
6062
  @AccEngineVersion = accengineversion
6031
6063
  @Tags = tags
6032
6064
  @ModelSignature = modelsignature
6065
+ @FrameworkVersion = frameworkversion
6033
6066
  end
6034
6067
 
6035
6068
  def deserialize(params)
@@ -6075,6 +6108,7 @@ module TencentCloud
6075
6108
  end
6076
6109
  end
6077
6110
  @ModelSignature = params['ModelSignature']
6111
+ @FrameworkVersion = params['FrameworkVersion']
6078
6112
  end
6079
6113
  end
6080
6114
 
@@ -6665,10 +6699,13 @@ module TencentCloud
6665
6699
  # @param Pods: Pod列表信息
6666
6700
  # 注意:此字段可能返回 null,表示取不到有效值。
6667
6701
  # @type Pods: :class:`Tencentcloud::Tione.v20211111.models.Pod`
6702
+ # @param PodInfos: Pod列表信息
6703
+ # 注意:此字段可能返回 null,表示取不到有效值。
6704
+ # @type PodInfos: Array
6668
6705
 
6669
- attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :PodList, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :Pods
6706
+ attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :PodList, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :Pods, :PodInfos
6670
6707
 
6671
- def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, podlist=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, pods=nil)
6708
+ def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, podlist=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, pods=nil, podinfos=nil)
6672
6709
  @Replicas = replicas
6673
6710
  @ImageInfo = imageinfo
6674
6711
  @Env = env
@@ -6688,6 +6725,7 @@ module TencentCloud
6688
6725
  @OldHybridBillingPrepaidReplicas = oldhybridbillingprepaidreplicas
6689
6726
  @ModelHotUpdateEnable = modelhotupdateenable
6690
6727
  @Pods = pods
6728
+ @PodInfos = podinfos
6691
6729
  end
6692
6730
 
6693
6731
  def deserialize(params)
@@ -6741,6 +6779,14 @@ module TencentCloud
6741
6779
  @Pods = Pod.new
6742
6780
  @Pods.deserialize(params['Pods'])
6743
6781
  end
6782
+ unless params['PodInfos'].nil?
6783
+ @PodInfos = []
6784
+ params['PodInfos'].each do |i|
6785
+ pod_tmp = Pod.new
6786
+ pod_tmp.deserialize(i)
6787
+ @PodInfos << pod_tmp
6788
+ end
6789
+ end
6744
6790
  end
6745
6791
  end
6746
6792
 
@@ -7384,14 +7430,18 @@ module TencentCloud
7384
7430
  # @param CreateTime: 模型创建时间
7385
7431
  # 注意:此字段可能返回 null,表示取不到有效值。
7386
7432
  # @type CreateTime: String
7433
+ # @param TrainingModelVersions: 模型版本列表。默认不返回,仅在指定请求参数开启时返回。
7434
+ # 注意:此字段可能返回 null,表示取不到有效值。
7435
+ # @type TrainingModelVersions: Array
7387
7436
 
7388
- attr_accessor :TrainingModelId, :TrainingModelName, :Tags, :CreateTime
7437
+ attr_accessor :TrainingModelId, :TrainingModelName, :Tags, :CreateTime, :TrainingModelVersions
7389
7438
 
7390
- def initialize(trainingmodelid=nil, trainingmodelname=nil, tags=nil, createtime=nil)
7439
+ def initialize(trainingmodelid=nil, trainingmodelname=nil, tags=nil, createtime=nil, trainingmodelversions=nil)
7391
7440
  @TrainingModelId = trainingmodelid
7392
7441
  @TrainingModelName = trainingmodelname
7393
7442
  @Tags = tags
7394
7443
  @CreateTime = createtime
7444
+ @TrainingModelVersions = trainingmodelversions
7395
7445
  end
7396
7446
 
7397
7447
  def deserialize(params)
@@ -7406,6 +7456,14 @@ module TencentCloud
7406
7456
  end
7407
7457
  end
7408
7458
  @CreateTime = params['CreateTime']
7459
+ unless params['TrainingModelVersions'].nil?
7460
+ @TrainingModelVersions = []
7461
+ params['TrainingModelVersions'].each do |i|
7462
+ trainingmodelversiondto_tmp = TrainingModelVersionDTO.new
7463
+ trainingmodelversiondto_tmp.deserialize(i)
7464
+ @TrainingModelVersions << trainingmodelversiondto_tmp
7465
+ end
7466
+ end
7409
7467
  end
7410
7468
  end
7411
7469
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tione
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.544
4
+ version: 3.0.546
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-04-04 00:00:00.000000000 Z
11
+ date: 2023-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20211111/models.rb
37
- - lib/v20211111/client.rb
38
36
  - lib/tencentcloud-sdk-tione.rb
39
- - lib/v20191022/models.rb
40
37
  - lib/v20191022/client.rb
38
+ - lib/v20191022/models.rb
39
+ - lib/v20211111/client.rb
40
+ - lib/v20211111/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: