tencentcloud-sdk-tione 3.0.1201 → 3.0.1203
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 +48 -0
- data/lib/v20211111/models.rb +109 -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: b8383c460f4ccbfa4dc3e60e296f0fa622aead19
|
|
4
|
+
data.tar.gz: 01499ceabcfefce6f69abccc028dea41cbd3c74f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b97eee8c8e6e2111659d15a53718318a5da7753b1cc421056fb1126e206274249beecf076b8624ad32f5c30376731bc7db5dc7ca0177c441514c838469f9233
|
|
7
|
+
data.tar.gz: 487b3b90d96e04b7ace30bfe319598ab77121b54fbd55f0ce1e2ecd2f1eb55efc1065a8b92ed1546a23afea7f36d59acc1cd8071b4289dd3b385f12549a11d4c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1203
|
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.
|
|
@@ -1354,6 +1378,30 @@ module TencentCloud
|
|
|
1354
1378
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1355
1379
|
end
|
|
1356
1380
|
|
|
1381
|
+
# 更新子账号Linux用户信息
|
|
1382
|
+
|
|
1383
|
+
# @param request: Request instance for UpdateSubAccountLinuxUserInfo.
|
|
1384
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::UpdateSubAccountLinuxUserInfoRequest`
|
|
1385
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::UpdateSubAccountLinuxUserInfoResponse`
|
|
1386
|
+
def UpdateSubAccountLinuxUserInfo(request)
|
|
1387
|
+
body = send_request('UpdateSubAccountLinuxUserInfo', request.serialize)
|
|
1388
|
+
response = JSON.parse(body)
|
|
1389
|
+
if response['Response'].key?('Error') == false
|
|
1390
|
+
model = UpdateSubAccountLinuxUserInfoResponse.new
|
|
1391
|
+
model.deserialize(response['Response'])
|
|
1392
|
+
model
|
|
1393
|
+
else
|
|
1394
|
+
code = response['Response']['Error']['Code']
|
|
1395
|
+
message = response['Response']['Error']['Message']
|
|
1396
|
+
reqid = response['Response']['RequestId']
|
|
1397
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1398
|
+
end
|
|
1399
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1400
|
+
raise e
|
|
1401
|
+
rescue StandardError => e
|
|
1402
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1357
1405
|
|
|
1358
1406
|
end
|
|
1359
1407
|
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
|
|
@@ -8872,6 +8910,38 @@ module TencentCloud
|
|
|
8872
8910
|
end
|
|
8873
8911
|
end
|
|
8874
8912
|
|
|
8913
|
+
# 子账号信息
|
|
8914
|
+
class SubAccountInfo < TencentCloud::Common::AbstractModel
|
|
8915
|
+
# @param Uin: 腾讯云主账号UIN
|
|
8916
|
+
# @type Uin: String
|
|
8917
|
+
# @param SubUin: 腾讯云子账号UIN
|
|
8918
|
+
# @type SubUin: String
|
|
8919
|
+
# @param SubUinName: 子账号名称
|
|
8920
|
+
# @type SubUinName: String
|
|
8921
|
+
# @param LinuxUid: 子账号在Linux下的UID
|
|
8922
|
+
# @type LinuxUid: Integer
|
|
8923
|
+
# @param LinuxGid: 子账号在Linux下的GID
|
|
8924
|
+
# @type LinuxGid: Integer
|
|
8925
|
+
|
|
8926
|
+
attr_accessor :Uin, :SubUin, :SubUinName, :LinuxUid, :LinuxGid
|
|
8927
|
+
|
|
8928
|
+
def initialize(uin=nil, subuin=nil, subuinname=nil, linuxuid=nil, linuxgid=nil)
|
|
8929
|
+
@Uin = uin
|
|
8930
|
+
@SubUin = subuin
|
|
8931
|
+
@SubUinName = subuinname
|
|
8932
|
+
@LinuxUid = linuxuid
|
|
8933
|
+
@LinuxGid = linuxgid
|
|
8934
|
+
end
|
|
8935
|
+
|
|
8936
|
+
def deserialize(params)
|
|
8937
|
+
@Uin = params['Uin']
|
|
8938
|
+
@SubUin = params['SubUin']
|
|
8939
|
+
@SubUinName = params['SubUinName']
|
|
8940
|
+
@LinuxUid = params['LinuxUid']
|
|
8941
|
+
@LinuxGid = params['LinuxGid']
|
|
8942
|
+
end
|
|
8943
|
+
end
|
|
8944
|
+
|
|
8875
8945
|
# tcp socket 健康探针检查行为
|
|
8876
8946
|
class TCPSocketAction < TencentCloud::Common::AbstractModel
|
|
8877
8947
|
# @param Port: 调用端口
|
|
@@ -9518,6 +9588,45 @@ module TencentCloud
|
|
|
9518
9588
|
end
|
|
9519
9589
|
end
|
|
9520
9590
|
|
|
9591
|
+
# UpdateSubAccountLinuxUserInfo请求参数结构体
|
|
9592
|
+
class UpdateSubAccountLinuxUserInfoRequest < TencentCloud::Common::AbstractModel
|
|
9593
|
+
# @param SubAccountList: 子账号信息列表
|
|
9594
|
+
# @type SubAccountList: Array
|
|
9595
|
+
|
|
9596
|
+
attr_accessor :SubAccountList
|
|
9597
|
+
|
|
9598
|
+
def initialize(subaccountlist=nil)
|
|
9599
|
+
@SubAccountList = subaccountlist
|
|
9600
|
+
end
|
|
9601
|
+
|
|
9602
|
+
def deserialize(params)
|
|
9603
|
+
unless params['SubAccountList'].nil?
|
|
9604
|
+
@SubAccountList = []
|
|
9605
|
+
params['SubAccountList'].each do |i|
|
|
9606
|
+
subaccountinfo_tmp = SubAccountInfo.new
|
|
9607
|
+
subaccountinfo_tmp.deserialize(i)
|
|
9608
|
+
@SubAccountList << subaccountinfo_tmp
|
|
9609
|
+
end
|
|
9610
|
+
end
|
|
9611
|
+
end
|
|
9612
|
+
end
|
|
9613
|
+
|
|
9614
|
+
# UpdateSubAccountLinuxUserInfo返回参数结构体
|
|
9615
|
+
class UpdateSubAccountLinuxUserInfoResponse < TencentCloud::Common::AbstractModel
|
|
9616
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9617
|
+
# @type RequestId: String
|
|
9618
|
+
|
|
9619
|
+
attr_accessor :RequestId
|
|
9620
|
+
|
|
9621
|
+
def initialize(requestid=nil)
|
|
9622
|
+
@RequestId = requestid
|
|
9623
|
+
end
|
|
9624
|
+
|
|
9625
|
+
def deserialize(params)
|
|
9626
|
+
@RequestId = params['RequestId']
|
|
9627
|
+
end
|
|
9628
|
+
end
|
|
9629
|
+
|
|
9521
9630
|
# 大模型生成Token统计
|
|
9522
9631
|
class Usage < TencentCloud::Common::AbstractModel
|
|
9523
9632
|
# @param CompletionTokens: 生成的token数目
|
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.1203
|
|
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-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|