tencentcloud-sdk-rce 3.0.942 → 3.0.943
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201103/client.rb +24 -0
- data/lib/v20201103/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: 3c9d459800533c1e8feb5e6795bd723930281294
|
4
|
+
data.tar.gz: dd63b1716d2bddf9072ae8a152a1d42ea70d1a00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb407870d14a003363e8376d94f075a23edb3907bfd1b871b0b0ace9fcd39750f30ac5f1c6b8df794703245bf2b8ac8358a915d8cf5abb0d69ef3b70c362883
|
7
|
+
data.tar.gz: ae937ab3755d8a120136248609a82299167c55745a9ed21c50f32477fdd3e6f105ae965a53e8a1cee4337d99ed63e1421f7c37d7248fa384ebb9880e32de6f0c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.943
|
data/lib/v20201103/client.rb
CHANGED
@@ -173,6 +173,30 @@ module TencentCloud
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
174
|
end
|
175
175
|
|
176
|
+
# RCE控制台预付费和后付费次数展示
|
177
|
+
|
178
|
+
# @param request: Request instance for DescribeUserUsageCnt.
|
179
|
+
# @type request: :class:`Tencentcloud::rce::V20201103::DescribeUserUsageCntRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::rce::V20201103::DescribeUserUsageCntResponse`
|
181
|
+
def DescribeUserUsageCnt(request)
|
182
|
+
body = send_request('DescribeUserUsageCnt', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = DescribeUserUsageCntResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
176
200
|
# 新增黑白名单数据,所有黑白名单数据总量上限为10000
|
177
201
|
|
178
202
|
# @param request: Request instance for ImportNameListData.
|
data/lib/v20201103/models.rb
CHANGED
@@ -414,6 +414,40 @@ module TencentCloud
|
|
414
414
|
end
|
415
415
|
end
|
416
416
|
|
417
|
+
# DescribeUserUsageCnt请求参数结构体
|
418
|
+
class DescribeUserUsageCntRequest < TencentCloud::Common::AbstractModel
|
419
|
+
|
420
|
+
|
421
|
+
def initialize()
|
422
|
+
end
|
423
|
+
|
424
|
+
def deserialize(params)
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
# DescribeUserUsageCnt返回参数结构体
|
429
|
+
class DescribeUserUsageCntResponse < TencentCloud::Common::AbstractModel
|
430
|
+
# @param Data: 业务出参
|
431
|
+
# @type Data: :class:`Tencentcloud::Rce.v20201103.models.OutputDescribeUserUsageCntData`
|
432
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
433
|
+
# @type RequestId: String
|
434
|
+
|
435
|
+
attr_accessor :Data, :RequestId
|
436
|
+
|
437
|
+
def initialize(data=nil, requestid=nil)
|
438
|
+
@Data = data
|
439
|
+
@RequestId = requestid
|
440
|
+
end
|
441
|
+
|
442
|
+
def deserialize(params)
|
443
|
+
unless params['Data'].nil?
|
444
|
+
@Data = OutputDescribeUserUsageCntData.new
|
445
|
+
@Data.deserialize(params['Data'])
|
446
|
+
end
|
447
|
+
@RequestId = params['RequestId']
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
417
451
|
# ImportNameListData请求参数结构体
|
418
452
|
class ImportNameListDataRequest < TencentCloud::Common::AbstractModel
|
419
453
|
# @param BusinessSecurityData: 业务入参
|
@@ -1517,6 +1551,81 @@ module TencentCloud
|
|
1517
1551
|
end
|
1518
1552
|
end
|
1519
1553
|
|
1554
|
+
# 预付费 后付费 总数显示接口出参
|
1555
|
+
class OutputDescribeUserUsageCnt < TencentCloud::Common::AbstractModel
|
1556
|
+
# @param PayMode: 当前付费模式,0 后付费 1 预付费
|
1557
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1558
|
+
# @type PayMode: Integer
|
1559
|
+
# @param AfterPayModeThisMonthUsedCnt: 后付费本月使用量
|
1560
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1561
|
+
# @type AfterPayModeThisMonthUsedCnt: Integer
|
1562
|
+
# @param CreateTime: 创建时间
|
1563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1564
|
+
# @type CreateTime: String
|
1565
|
+
# @param ExpireTime: 超出时间
|
1566
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1567
|
+
# @type ExpireTime: String
|
1568
|
+
# @param AfterPayModeLastMonthUsedCnt: 后付费上月使用量
|
1569
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1570
|
+
# @type AfterPayModeLastMonthUsedCnt: Integer
|
1571
|
+
# @param BeforePayModeTotalUsedCnt: 预付费总量
|
1572
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1573
|
+
# @type BeforePayModeTotalUsedCnt: Integer
|
1574
|
+
# @param BeforePayModeRemainUsedCnt: 预付费剩余用量
|
1575
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1576
|
+
# @type BeforePayModeRemainUsedCnt: Integer
|
1577
|
+
|
1578
|
+
attr_accessor :PayMode, :AfterPayModeThisMonthUsedCnt, :CreateTime, :ExpireTime, :AfterPayModeLastMonthUsedCnt, :BeforePayModeTotalUsedCnt, :BeforePayModeRemainUsedCnt
|
1579
|
+
|
1580
|
+
def initialize(paymode=nil, afterpaymodethismonthusedcnt=nil, createtime=nil, expiretime=nil, afterpaymodelastmonthusedcnt=nil, beforepaymodetotalusedcnt=nil, beforepaymoderemainusedcnt=nil)
|
1581
|
+
@PayMode = paymode
|
1582
|
+
@AfterPayModeThisMonthUsedCnt = afterpaymodethismonthusedcnt
|
1583
|
+
@CreateTime = createtime
|
1584
|
+
@ExpireTime = expiretime
|
1585
|
+
@AfterPayModeLastMonthUsedCnt = afterpaymodelastmonthusedcnt
|
1586
|
+
@BeforePayModeTotalUsedCnt = beforepaymodetotalusedcnt
|
1587
|
+
@BeforePayModeRemainUsedCnt = beforepaymoderemainusedcnt
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
def deserialize(params)
|
1591
|
+
@PayMode = params['PayMode']
|
1592
|
+
@AfterPayModeThisMonthUsedCnt = params['AfterPayModeThisMonthUsedCnt']
|
1593
|
+
@CreateTime = params['CreateTime']
|
1594
|
+
@ExpireTime = params['ExpireTime']
|
1595
|
+
@AfterPayModeLastMonthUsedCnt = params['AfterPayModeLastMonthUsedCnt']
|
1596
|
+
@BeforePayModeTotalUsedCnt = params['BeforePayModeTotalUsedCnt']
|
1597
|
+
@BeforePayModeRemainUsedCnt = params['BeforePayModeRemainUsedCnt']
|
1598
|
+
end
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# RCE控制台预付费和后付费次数展示出参数据
|
1602
|
+
class OutputDescribeUserUsageCntData < TencentCloud::Common::AbstractModel
|
1603
|
+
# @param Code: 错误码,0 表示成功,非0表示失败错误码。 0:成功 4300:未开通服务
|
1604
|
+
# @type Code: Integer
|
1605
|
+
# @param Message: 错误信息
|
1606
|
+
# @type Message: String
|
1607
|
+
# @param Value: 业务详情
|
1608
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1609
|
+
# @type Value: :class:`Tencentcloud::Rce.v20201103.models.OutputDescribeUserUsageCnt`
|
1610
|
+
|
1611
|
+
attr_accessor :Code, :Message, :Value
|
1612
|
+
|
1613
|
+
def initialize(code=nil, message=nil, value=nil)
|
1614
|
+
@Code = code
|
1615
|
+
@Message = message
|
1616
|
+
@Value = value
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
def deserialize(params)
|
1620
|
+
@Code = params['Code']
|
1621
|
+
@Message = params['Message']
|
1622
|
+
unless params['Value'].nil?
|
1623
|
+
@Value = OutputDescribeUserUsageCnt.new
|
1624
|
+
@Value.deserialize(params['Value'])
|
1625
|
+
end
|
1626
|
+
end
|
1627
|
+
end
|
1628
|
+
|
1520
1629
|
# 添加黑白名单数据出参
|
1521
1630
|
class OutputImportNameListDataFront < TencentCloud::Common::AbstractModel
|
1522
1631
|
# @param Code: 错误码,0 表示成功,非0表示失败错误码。 0:成功 1002:参数错误 4300:未开通服务 6000:系统内部错误
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-rce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.943
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|