tencentcloud-sdk-teo 3.0.456 → 3.0.457
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/v20220901/client.rb +0 -24
- data/lib/v20220901/models.rb +0 -115
- 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: 87d51ae6cf8f8983452058fb3ef6345f83de4244
|
4
|
+
data.tar.gz: cfdcccd04b1988c8b2e83abfd95fbe1aae0c459b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2032cce93554928a9dc7487ec6ef913afb91484bc5e8af24efcc11eff34fdeb44241177a30e45ea62cb95976541e85ef9089be777f591cabcc3f70131abf705
|
7
|
+
data.tar.gz: 3e9335d883e4b33bee063851844c0dd830120eaaacc4810d90f03f5e24b57d0eab0b34ee735cd00b449c7867201cf0a79d805f35033287831659eb5f45527e07
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.457
|
data/lib/v20220901/client.rb
CHANGED
@@ -845,30 +845,6 @@ module TencentCloud
|
|
845
845
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
846
|
end
|
847
847
|
|
848
|
-
# 获取计费数据。
|
849
|
-
|
850
|
-
# @param request: Request instance for DescribeBillingData.
|
851
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeBillingDataRequest`
|
852
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBillingDataResponse`
|
853
|
-
def DescribeBillingData(request)
|
854
|
-
body = send_request('DescribeBillingData', request.serialize)
|
855
|
-
response = JSON.parse(body)
|
856
|
-
if response['Response'].key?('Error') == false
|
857
|
-
model = DescribeBillingDataResponse.new
|
858
|
-
model.deserialize(response['Response'])
|
859
|
-
model
|
860
|
-
else
|
861
|
-
code = response['Response']['Error']['Code']
|
862
|
-
message = response['Response']['Error']['Message']
|
863
|
-
reqid = response['Response']['RequestId']
|
864
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
865
|
-
end
|
866
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
867
|
-
raise e
|
868
|
-
rescue StandardError => e
|
869
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
|
-
end
|
871
|
-
|
872
848
|
# 本接口(DescribeBotClientIpList)用于查询Bot攻击客户端Ip信息列表。
|
873
849
|
|
874
850
|
# @param request: Request instance for DescribeBotClientIpList.
|
data/lib/v20220901/models.rb
CHANGED
@@ -603,30 +603,6 @@ module TencentCloud
|
|
603
603
|
end
|
604
604
|
end
|
605
605
|
|
606
|
-
# Dns数据曲线过滤参数
|
607
|
-
class BillingDataFilter < TencentCloud::Common::AbstractModel
|
608
|
-
# @param Type: 参数名称,取值范围:
|
609
|
-
# zone:站点名
|
610
|
-
# host:域名
|
611
|
-
# proxy: 四层实例
|
612
|
-
# plan: 套餐
|
613
|
-
# @type Type: String
|
614
|
-
# @param Value: 参数值
|
615
|
-
# @type Value: String
|
616
|
-
|
617
|
-
attr_accessor :Type, :Value
|
618
|
-
|
619
|
-
def initialize(type=nil, value=nil)
|
620
|
-
@Type = type
|
621
|
-
@Value = value
|
622
|
-
end
|
623
|
-
|
624
|
-
def deserialize(params)
|
625
|
-
@Type = params['Type']
|
626
|
-
@Value = params['Value']
|
627
|
-
end
|
628
|
-
end
|
629
|
-
|
630
606
|
# BindZoneToPlan请求参数结构体
|
631
607
|
class BindZoneToPlanRequest < TencentCloud::Common::AbstractModel
|
632
608
|
# @param ZoneId: 未绑定套餐的站点ID。
|
@@ -3832,97 +3808,6 @@ module TencentCloud
|
|
3832
3808
|
end
|
3833
3809
|
end
|
3834
3810
|
|
3835
|
-
# DescribeBillingData请求参数结构体
|
3836
|
-
class DescribeBillingDataRequest < TencentCloud::Common::AbstractModel
|
3837
|
-
# @param StartTime: 起始时间。
|
3838
|
-
# @type StartTime: String
|
3839
|
-
# @param EndTime: 结束时间。
|
3840
|
-
# @type EndTime: String
|
3841
|
-
# @param Interval: 时间粒度, 支持指定以下几种粒度:
|
3842
|
-
# <ul>
|
3843
|
-
# <li>min:1分钟粒度;</li>
|
3844
|
-
# <li>5min:5分钟粒度;</li>
|
3845
|
-
# <li>hour:1小时粒度;</li>
|
3846
|
-
# <li>day:天粒度;</li>
|
3847
|
-
# </ul>
|
3848
|
-
# @type Interval: String
|
3849
|
-
# @param MetricName: 指标名,支持:
|
3850
|
-
# <ul>
|
3851
|
-
# <li>acc_flux: 内容加速流量用量;</li>
|
3852
|
-
# <li>quic_request: QUIC 请求数用量;</li>
|
3853
|
-
# <li>sec_flux: 安全流量用量;</li>
|
3854
|
-
# <li>sec_request_clean: 安全干净流量请求数;</li>
|
3855
|
-
# </ul>
|
3856
|
-
# @type MetricName: String
|
3857
|
-
# @param Filters: 筛选条件. 支持:
|
3858
|
-
# <ul>
|
3859
|
-
# <li>zone: 站点级数据;</li>
|
3860
|
-
# <li>plan: 套餐级数据;</li>
|
3861
|
-
# <li>service: l4 / l7分别筛选四七层数据;</li>
|
3862
|
-
# <li>tagKey: 标签Key;</li>
|
3863
|
-
# <li>tagValue: 标签Value。</li>
|
3864
|
-
# </ul>
|
3865
|
-
# @type Filters: Array
|
3866
|
-
|
3867
|
-
attr_accessor :StartTime, :EndTime, :Interval, :MetricName, :Filters
|
3868
|
-
|
3869
|
-
def initialize(starttime=nil, endtime=nil, interval=nil, metricname=nil, filters=nil)
|
3870
|
-
@StartTime = starttime
|
3871
|
-
@EndTime = endtime
|
3872
|
-
@Interval = interval
|
3873
|
-
@MetricName = metricname
|
3874
|
-
@Filters = filters
|
3875
|
-
end
|
3876
|
-
|
3877
|
-
def deserialize(params)
|
3878
|
-
@StartTime = params['StartTime']
|
3879
|
-
@EndTime = params['EndTime']
|
3880
|
-
@Interval = params['Interval']
|
3881
|
-
@MetricName = params['MetricName']
|
3882
|
-
unless params['Filters'].nil?
|
3883
|
-
@Filters = []
|
3884
|
-
params['Filters'].each do |i|
|
3885
|
-
billingdatafilter_tmp = BillingDataFilter.new
|
3886
|
-
billingdatafilter_tmp.deserialize(i)
|
3887
|
-
@Filters << billingdatafilter_tmp
|
3888
|
-
end
|
3889
|
-
end
|
3890
|
-
end
|
3891
|
-
end
|
3892
|
-
|
3893
|
-
# DescribeBillingData返回参数结构体
|
3894
|
-
class DescribeBillingDataResponse < TencentCloud::Common::AbstractModel
|
3895
|
-
# @param Data: 统计曲线数据
|
3896
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3897
|
-
# @type Data: Array
|
3898
|
-
# @param Interval: 时间粒度
|
3899
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3900
|
-
# @type Interval: String
|
3901
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3902
|
-
# @type RequestId: String
|
3903
|
-
|
3904
|
-
attr_accessor :Data, :Interval, :RequestId
|
3905
|
-
|
3906
|
-
def initialize(data=nil, interval=nil, requestid=nil)
|
3907
|
-
@Data = data
|
3908
|
-
@Interval = interval
|
3909
|
-
@RequestId = requestid
|
3910
|
-
end
|
3911
|
-
|
3912
|
-
def deserialize(params)
|
3913
|
-
unless params['Data'].nil?
|
3914
|
-
@Data = []
|
3915
|
-
params['Data'].each do |i|
|
3916
|
-
dnsdata_tmp = DnsData.new
|
3917
|
-
dnsdata_tmp.deserialize(i)
|
3918
|
-
@Data << dnsdata_tmp
|
3919
|
-
end
|
3920
|
-
end
|
3921
|
-
@Interval = params['Interval']
|
3922
|
-
@RequestId = params['RequestId']
|
3923
|
-
end
|
3924
|
-
end
|
3925
|
-
|
3926
3811
|
# DescribeBotClientIpList请求参数结构体
|
3927
3812
|
class DescribeBotClientIpListRequest < TencentCloud::Common::AbstractModel
|
3928
3813
|
# @param StartTime: 开始时间。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.457
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|