tencentcloud-sdk-tione 3.0.1201 → 3.0.1205
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/v20211111/client.rb +72 -0
- data/lib/v20211111/models.rb +180 -0
- 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: 961ab000b6a9398c3aeb8cf5f65edc0273279604
|
|
4
|
+
data.tar.gz: ffd8c85e60bf828396280d7a818bfc7b989e1865
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 627027e51370d0a04099d121fa2f214b377a741f50b19deca9b2777021f54f5126ee426d57538b24111f1d8d82a47017b0c104d7a72b661a55e1033dc4b56a38
|
|
7
|
+
data.tar.gz: b1685b123593e38159c16fd622897d19d1d7c49a0cce6a6469bf496095d2c13d4da678e861bbd3caa680e259a6617f13a178d4ce787f40fff8928fc81f050ad9
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1205
|
data/lib/v20211111/client.rb
CHANGED
|
@@ -970,6 +970,30 @@ module TencentCloud
|
|
|
970
970
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
971
971
|
end
|
|
972
972
|
|
|
973
|
+
# 批量查询子账号Linux用户信息
|
|
974
|
+
|
|
975
|
+
# @param request: Request instance for DescribeSubAccountLinuxUserInfos.
|
|
976
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeSubAccountLinuxUserInfosRequest`
|
|
977
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribeSubAccountLinuxUserInfosResponse`
|
|
978
|
+
def DescribeSubAccountLinuxUserInfos(request)
|
|
979
|
+
body = send_request('DescribeSubAccountLinuxUserInfos', request.serialize)
|
|
980
|
+
response = JSON.parse(body)
|
|
981
|
+
if response['Response'].key?('Error') == false
|
|
982
|
+
model = DescribeSubAccountLinuxUserInfosResponse.new
|
|
983
|
+
model.deserialize(response['Response'])
|
|
984
|
+
model
|
|
985
|
+
else
|
|
986
|
+
code = response['Response']['Error']['Code']
|
|
987
|
+
message = response['Response']['Error']['Message']
|
|
988
|
+
reqid = response['Response']['RequestId']
|
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
990
|
+
end
|
|
991
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
992
|
+
raise e
|
|
993
|
+
rescue StandardError => e
|
|
994
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
995
|
+
end
|
|
996
|
+
|
|
973
997
|
# 查询模型版本
|
|
974
998
|
|
|
975
999
|
# @param request: Request instance for DescribeTrainingModelVersion.
|
|
@@ -1210,6 +1234,30 @@ module TencentCloud
|
|
|
1210
1234
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1211
1235
|
end
|
|
1212
1236
|
|
|
1237
|
+
# 更新推理服务组流量分配
|
|
1238
|
+
|
|
1239
|
+
# @param request: Request instance for ModifyServiceGroupWeights.
|
|
1240
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::ModifyServiceGroupWeightsRequest`
|
|
1241
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::ModifyServiceGroupWeightsResponse`
|
|
1242
|
+
def ModifyServiceGroupWeights(request)
|
|
1243
|
+
body = send_request('ModifyServiceGroupWeights', request.serialize)
|
|
1244
|
+
response = JSON.parse(body)
|
|
1245
|
+
if response['Response'].key?('Error') == false
|
|
1246
|
+
model = ModifyServiceGroupWeightsResponse.new
|
|
1247
|
+
model.deserialize(response['Response'])
|
|
1248
|
+
model
|
|
1249
|
+
else
|
|
1250
|
+
code = response['Response']['Error']['Code']
|
|
1251
|
+
message = response['Response']['Error']['Message']
|
|
1252
|
+
reqid = response['Response']['RequestId']
|
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1254
|
+
end
|
|
1255
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1256
|
+
raise e
|
|
1257
|
+
rescue StandardError => e
|
|
1258
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1213
1261
|
# 上报训练自定义指标
|
|
1214
1262
|
|
|
1215
1263
|
# @param request: Request instance for PushTrainingMetrics.
|
|
@@ -1354,6 +1402,30 @@ module TencentCloud
|
|
|
1354
1402
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1355
1403
|
end
|
|
1356
1404
|
|
|
1405
|
+
# 更新子账号Linux用户信息
|
|
1406
|
+
|
|
1407
|
+
# @param request: Request instance for UpdateSubAccountLinuxUserInfo.
|
|
1408
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::UpdateSubAccountLinuxUserInfoRequest`
|
|
1409
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::UpdateSubAccountLinuxUserInfoResponse`
|
|
1410
|
+
def UpdateSubAccountLinuxUserInfo(request)
|
|
1411
|
+
body = send_request('UpdateSubAccountLinuxUserInfo', request.serialize)
|
|
1412
|
+
response = JSON.parse(body)
|
|
1413
|
+
if response['Response'].key?('Error') == false
|
|
1414
|
+
model = UpdateSubAccountLinuxUserInfoResponse.new
|
|
1415
|
+
model.deserialize(response['Response'])
|
|
1416
|
+
model
|
|
1417
|
+
else
|
|
1418
|
+
code = response['Response']['Error']['Code']
|
|
1419
|
+
message = response['Response']['Error']['Message']
|
|
1420
|
+
reqid = response['Response']['RequestId']
|
|
1421
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1422
|
+
end
|
|
1423
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1424
|
+
raise e
|
|
1425
|
+
rescue StandardError => e
|
|
1426
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1357
1429
|
|
|
1358
1430
|
end
|
|
1359
1431
|
end
|
data/lib/v20211111/models.rb
CHANGED
|
@@ -3915,6 +3915,44 @@ module TencentCloud
|
|
|
3915
3915
|
end
|
|
3916
3916
|
end
|
|
3917
3917
|
|
|
3918
|
+
# DescribeSubAccountLinuxUserInfos请求参数结构体
|
|
3919
|
+
class DescribeSubAccountLinuxUserInfosRequest < TencentCloud::Common::AbstractModel
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
def initialize()
|
|
3923
|
+
end
|
|
3924
|
+
|
|
3925
|
+
def deserialize(params)
|
|
3926
|
+
end
|
|
3927
|
+
end
|
|
3928
|
+
|
|
3929
|
+
# DescribeSubAccountLinuxUserInfos返回参数结构体
|
|
3930
|
+
class DescribeSubAccountLinuxUserInfosResponse < TencentCloud::Common::AbstractModel
|
|
3931
|
+
# @param SubAccountList: 子账号信息列表
|
|
3932
|
+
# @type SubAccountList: Array
|
|
3933
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3934
|
+
# @type RequestId: String
|
|
3935
|
+
|
|
3936
|
+
attr_accessor :SubAccountList, :RequestId
|
|
3937
|
+
|
|
3938
|
+
def initialize(subaccountlist=nil, requestid=nil)
|
|
3939
|
+
@SubAccountList = subaccountlist
|
|
3940
|
+
@RequestId = requestid
|
|
3941
|
+
end
|
|
3942
|
+
|
|
3943
|
+
def deserialize(params)
|
|
3944
|
+
unless params['SubAccountList'].nil?
|
|
3945
|
+
@SubAccountList = []
|
|
3946
|
+
params['SubAccountList'].each do |i|
|
|
3947
|
+
subaccountinfo_tmp = SubAccountInfo.new
|
|
3948
|
+
subaccountinfo_tmp.deserialize(i)
|
|
3949
|
+
@SubAccountList << subaccountinfo_tmp
|
|
3950
|
+
end
|
|
3951
|
+
end
|
|
3952
|
+
@RequestId = params['RequestId']
|
|
3953
|
+
end
|
|
3954
|
+
end
|
|
3955
|
+
|
|
3918
3956
|
# DescribeTrainingModelVersion请求参数结构体
|
|
3919
3957
|
class DescribeTrainingModelVersionRequest < TencentCloud::Common::AbstractModel
|
|
3920
3958
|
# @param TrainingModelVersionId: 模型版本ID
|
|
@@ -6240,6 +6278,57 @@ module TencentCloud
|
|
|
6240
6278
|
end
|
|
6241
6279
|
end
|
|
6242
6280
|
|
|
6281
|
+
# ModifyServiceGroupWeights请求参数结构体
|
|
6282
|
+
class ModifyServiceGroupWeightsRequest < TencentCloud::Common::AbstractModel
|
|
6283
|
+
# @param ServiceGroupId: 服务组id
|
|
6284
|
+
# @type ServiceGroupId: String
|
|
6285
|
+
# @param Weights: 权重设置
|
|
6286
|
+
# @type Weights: Array
|
|
6287
|
+
|
|
6288
|
+
attr_accessor :ServiceGroupId, :Weights
|
|
6289
|
+
|
|
6290
|
+
def initialize(servicegroupid=nil, weights=nil)
|
|
6291
|
+
@ServiceGroupId = servicegroupid
|
|
6292
|
+
@Weights = weights
|
|
6293
|
+
end
|
|
6294
|
+
|
|
6295
|
+
def deserialize(params)
|
|
6296
|
+
@ServiceGroupId = params['ServiceGroupId']
|
|
6297
|
+
unless params['Weights'].nil?
|
|
6298
|
+
@Weights = []
|
|
6299
|
+
params['Weights'].each do |i|
|
|
6300
|
+
weightentry_tmp = WeightEntry.new
|
|
6301
|
+
weightentry_tmp.deserialize(i)
|
|
6302
|
+
@Weights << weightentry_tmp
|
|
6303
|
+
end
|
|
6304
|
+
end
|
|
6305
|
+
end
|
|
6306
|
+
end
|
|
6307
|
+
|
|
6308
|
+
# ModifyServiceGroupWeights返回参数结构体
|
|
6309
|
+
class ModifyServiceGroupWeightsResponse < TencentCloud::Common::AbstractModel
|
|
6310
|
+
# @param ServiceGroup: 更新权重后的服务组信息
|
|
6311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6312
|
+
# @type ServiceGroup: :class:`Tencentcloud::Tione.v20211111.models.ServiceGroup`
|
|
6313
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6314
|
+
# @type RequestId: String
|
|
6315
|
+
|
|
6316
|
+
attr_accessor :ServiceGroup, :RequestId
|
|
6317
|
+
|
|
6318
|
+
def initialize(servicegroup=nil, requestid=nil)
|
|
6319
|
+
@ServiceGroup = servicegroup
|
|
6320
|
+
@RequestId = requestid
|
|
6321
|
+
end
|
|
6322
|
+
|
|
6323
|
+
def deserialize(params)
|
|
6324
|
+
unless params['ServiceGroup'].nil?
|
|
6325
|
+
@ServiceGroup = ServiceGroup.new
|
|
6326
|
+
@ServiceGroup.deserialize(params['ServiceGroup'])
|
|
6327
|
+
end
|
|
6328
|
+
@RequestId = params['RequestId']
|
|
6329
|
+
end
|
|
6330
|
+
end
|
|
6331
|
+
|
|
6243
6332
|
# 多模态对话内容,支持图片与文字信息
|
|
6244
6333
|
class MultiModalContent < TencentCloud::Common::AbstractModel
|
|
6245
6334
|
# @param Type: 对话类型,text表示文本对话内容,image_url表示图片对话内容
|
|
@@ -8872,6 +8961,38 @@ module TencentCloud
|
|
|
8872
8961
|
end
|
|
8873
8962
|
end
|
|
8874
8963
|
|
|
8964
|
+
# 子账号信息
|
|
8965
|
+
class SubAccountInfo < TencentCloud::Common::AbstractModel
|
|
8966
|
+
# @param Uin: 腾讯云主账号UIN
|
|
8967
|
+
# @type Uin: String
|
|
8968
|
+
# @param SubUin: 腾讯云子账号UIN
|
|
8969
|
+
# @type SubUin: String
|
|
8970
|
+
# @param SubUinName: 子账号名称
|
|
8971
|
+
# @type SubUinName: String
|
|
8972
|
+
# @param LinuxUid: 子账号在Linux下的UID
|
|
8973
|
+
# @type LinuxUid: Integer
|
|
8974
|
+
# @param LinuxGid: 子账号在Linux下的GID
|
|
8975
|
+
# @type LinuxGid: Integer
|
|
8976
|
+
|
|
8977
|
+
attr_accessor :Uin, :SubUin, :SubUinName, :LinuxUid, :LinuxGid
|
|
8978
|
+
|
|
8979
|
+
def initialize(uin=nil, subuin=nil, subuinname=nil, linuxuid=nil, linuxgid=nil)
|
|
8980
|
+
@Uin = uin
|
|
8981
|
+
@SubUin = subuin
|
|
8982
|
+
@SubUinName = subuinname
|
|
8983
|
+
@LinuxUid = linuxuid
|
|
8984
|
+
@LinuxGid = linuxgid
|
|
8985
|
+
end
|
|
8986
|
+
|
|
8987
|
+
def deserialize(params)
|
|
8988
|
+
@Uin = params['Uin']
|
|
8989
|
+
@SubUin = params['SubUin']
|
|
8990
|
+
@SubUinName = params['SubUinName']
|
|
8991
|
+
@LinuxUid = params['LinuxUid']
|
|
8992
|
+
@LinuxGid = params['LinuxGid']
|
|
8993
|
+
end
|
|
8994
|
+
end
|
|
8995
|
+
|
|
8875
8996
|
# tcp socket 健康探针检查行为
|
|
8876
8997
|
class TCPSocketAction < TencentCloud::Common::AbstractModel
|
|
8877
8998
|
# @param Port: 调用端口
|
|
@@ -9518,6 +9639,45 @@ module TencentCloud
|
|
|
9518
9639
|
end
|
|
9519
9640
|
end
|
|
9520
9641
|
|
|
9642
|
+
# UpdateSubAccountLinuxUserInfo请求参数结构体
|
|
9643
|
+
class UpdateSubAccountLinuxUserInfoRequest < TencentCloud::Common::AbstractModel
|
|
9644
|
+
# @param SubAccountList: 子账号信息列表
|
|
9645
|
+
# @type SubAccountList: Array
|
|
9646
|
+
|
|
9647
|
+
attr_accessor :SubAccountList
|
|
9648
|
+
|
|
9649
|
+
def initialize(subaccountlist=nil)
|
|
9650
|
+
@SubAccountList = subaccountlist
|
|
9651
|
+
end
|
|
9652
|
+
|
|
9653
|
+
def deserialize(params)
|
|
9654
|
+
unless params['SubAccountList'].nil?
|
|
9655
|
+
@SubAccountList = []
|
|
9656
|
+
params['SubAccountList'].each do |i|
|
|
9657
|
+
subaccountinfo_tmp = SubAccountInfo.new
|
|
9658
|
+
subaccountinfo_tmp.deserialize(i)
|
|
9659
|
+
@SubAccountList << subaccountinfo_tmp
|
|
9660
|
+
end
|
|
9661
|
+
end
|
|
9662
|
+
end
|
|
9663
|
+
end
|
|
9664
|
+
|
|
9665
|
+
# UpdateSubAccountLinuxUserInfo返回参数结构体
|
|
9666
|
+
class UpdateSubAccountLinuxUserInfoResponse < TencentCloud::Common::AbstractModel
|
|
9667
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9668
|
+
# @type RequestId: String
|
|
9669
|
+
|
|
9670
|
+
attr_accessor :RequestId
|
|
9671
|
+
|
|
9672
|
+
def initialize(requestid=nil)
|
|
9673
|
+
@RequestId = requestid
|
|
9674
|
+
end
|
|
9675
|
+
|
|
9676
|
+
def deserialize(params)
|
|
9677
|
+
@RequestId = params['RequestId']
|
|
9678
|
+
end
|
|
9679
|
+
end
|
|
9680
|
+
|
|
9521
9681
|
# 大模型生成Token统计
|
|
9522
9682
|
class Usage < TencentCloud::Common::AbstractModel
|
|
9523
9683
|
# @param CompletionTokens: 生成的token数目
|
|
@@ -9570,6 +9730,26 @@ module TencentCloud
|
|
|
9570
9730
|
end
|
|
9571
9731
|
end
|
|
9572
9732
|
|
|
9733
|
+
# 服务的权重
|
|
9734
|
+
class WeightEntry < TencentCloud::Common::AbstractModel
|
|
9735
|
+
# @param ServiceId: 服务id
|
|
9736
|
+
# @type ServiceId: String
|
|
9737
|
+
# @param Weight: 流量权重值,同 ServiceGroup 下 总和应为 100
|
|
9738
|
+
# @type Weight: Integer
|
|
9739
|
+
|
|
9740
|
+
attr_accessor :ServiceId, :Weight
|
|
9741
|
+
|
|
9742
|
+
def initialize(serviceid=nil, weight=nil)
|
|
9743
|
+
@ServiceId = serviceid
|
|
9744
|
+
@Weight = weight
|
|
9745
|
+
end
|
|
9746
|
+
|
|
9747
|
+
def deserialize(params)
|
|
9748
|
+
@ServiceId = params['ServiceId']
|
|
9749
|
+
@Weight = params['Weight']
|
|
9750
|
+
end
|
|
9751
|
+
end
|
|
9752
|
+
|
|
9573
9753
|
# 工作负载的状态
|
|
9574
9754
|
class WorkloadStatus < TencentCloud::Common::AbstractModel
|
|
9575
9755
|
# @param Replicas: 当前实例数
|
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.
|
|
4
|
+
version: 3.0.1205
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|