tencentcloud-sdk-tcb 3.0.534 → 3.0.535
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/v20180608/client.rb +24 -0
- data/lib/v20180608/models.rb +80 -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: 1f6c367ff505b2b98f66f4038bb60ad9ce10f926
|
4
|
+
data.tar.gz: 2b28b394104dd8795f80c5a6363e78cb65c78afb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79fa84c434fc38a0a4ded37db2b64768d47968c3a377289052c5094d3ed204fad25be6743d8b426937979845ed980abd7075af5d8f6309eddf92e4e82f70ee65
|
7
|
+
data.tar.gz: fcf3e587b7aa788c61f85a72f240f50ba523c2f886e41dda565c55c532775fea8cafacf2bbe978b996f858a324806f48c5bd83ac34bbcd280ef5a2ad82c35477
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.535
|
data/lib/v20180608/client.rb
CHANGED
@@ -1229,6 +1229,30 @@ module TencentCloud
|
|
1229
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
1230
|
end
|
1231
1231
|
|
1232
|
+
# 查询网关监控数据
|
1233
|
+
|
1234
|
+
# @param request: Request instance for DescribeGatewayCurveData.
|
1235
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeGatewayCurveDataRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeGatewayCurveDataResponse`
|
1237
|
+
def DescribeGatewayCurveData(request)
|
1238
|
+
body = send_request('DescribeGatewayCurveData', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = DescribeGatewayCurveDataResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
1232
1256
|
# 查询静态托管域名任务状态
|
1233
1257
|
|
1234
1258
|
# @param request: Request instance for DescribeHostingDomainTask.
|
data/lib/v20180608/models.rb
CHANGED
@@ -4785,6 +4785,86 @@ module TencentCloud
|
|
4785
4785
|
end
|
4786
4786
|
end
|
4787
4787
|
|
4788
|
+
# DescribeGatewayCurveData请求参数结构体
|
4789
|
+
class DescribeGatewayCurveDataRequest < TencentCloud::Common::AbstractModel
|
4790
|
+
# @param EnvId: 环境id
|
4791
|
+
# @type EnvId: String
|
4792
|
+
# @param GatewayId: 网关id
|
4793
|
+
# @type GatewayId: String
|
4794
|
+
# @param MetricName: 监控类型 GWQps GWBandwidth GwHttpError GwHttp404 GwHttp502
|
4795
|
+
# @type MetricName: String
|
4796
|
+
# @param StartTime: 监控起始时间
|
4797
|
+
# @type StartTime: String
|
4798
|
+
# @param EndTime: 监控结束时间
|
4799
|
+
# @type EndTime: String
|
4800
|
+
# @param GatewayVersion: 网关版本
|
4801
|
+
# @type GatewayVersion: String
|
4802
|
+
# @param GatewayRoute: 网关路由名称
|
4803
|
+
# @type GatewayRoute: String
|
4804
|
+
|
4805
|
+
attr_accessor :EnvId, :GatewayId, :MetricName, :StartTime, :EndTime, :GatewayVersion, :GatewayRoute
|
4806
|
+
|
4807
|
+
def initialize(envid=nil, gatewayid=nil, metricname=nil, starttime=nil, endtime=nil, gatewayversion=nil, gatewayroute=nil)
|
4808
|
+
@EnvId = envid
|
4809
|
+
@GatewayId = gatewayid
|
4810
|
+
@MetricName = metricname
|
4811
|
+
@StartTime = starttime
|
4812
|
+
@EndTime = endtime
|
4813
|
+
@GatewayVersion = gatewayversion
|
4814
|
+
@GatewayRoute = gatewayroute
|
4815
|
+
end
|
4816
|
+
|
4817
|
+
def deserialize(params)
|
4818
|
+
@EnvId = params['EnvId']
|
4819
|
+
@GatewayId = params['GatewayId']
|
4820
|
+
@MetricName = params['MetricName']
|
4821
|
+
@StartTime = params['StartTime']
|
4822
|
+
@EndTime = params['EndTime']
|
4823
|
+
@GatewayVersion = params['GatewayVersion']
|
4824
|
+
@GatewayRoute = params['GatewayRoute']
|
4825
|
+
end
|
4826
|
+
end
|
4827
|
+
|
4828
|
+
# DescribeGatewayCurveData返回参数结构体
|
4829
|
+
class DescribeGatewayCurveDataResponse < TencentCloud::Common::AbstractModel
|
4830
|
+
# @param MetricName: 监控类型
|
4831
|
+
# @type MetricName: String
|
4832
|
+
# @param StartTime: 监控起始时间
|
4833
|
+
# @type StartTime: String
|
4834
|
+
# @param EndTime: 监控结束时间
|
4835
|
+
# @type EndTime: String
|
4836
|
+
# @param Period: 监控数据间隔
|
4837
|
+
# @type Period: Integer
|
4838
|
+
# @param Values: 监控值
|
4839
|
+
# @type Values: Array
|
4840
|
+
# @param Time: 监控时间
|
4841
|
+
# @type Time: Array
|
4842
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4843
|
+
# @type RequestId: String
|
4844
|
+
|
4845
|
+
attr_accessor :MetricName, :StartTime, :EndTime, :Period, :Values, :Time, :RequestId
|
4846
|
+
|
4847
|
+
def initialize(metricname=nil, starttime=nil, endtime=nil, period=nil, values=nil, time=nil, requestid=nil)
|
4848
|
+
@MetricName = metricname
|
4849
|
+
@StartTime = starttime
|
4850
|
+
@EndTime = endtime
|
4851
|
+
@Period = period
|
4852
|
+
@Values = values
|
4853
|
+
@Time = time
|
4854
|
+
@RequestId = requestid
|
4855
|
+
end
|
4856
|
+
|
4857
|
+
def deserialize(params)
|
4858
|
+
@MetricName = params['MetricName']
|
4859
|
+
@StartTime = params['StartTime']
|
4860
|
+
@EndTime = params['EndTime']
|
4861
|
+
@Period = params['Period']
|
4862
|
+
@Values = params['Values']
|
4863
|
+
@Time = params['Time']
|
4864
|
+
@RequestId = params['RequestId']
|
4865
|
+
end
|
4866
|
+
end
|
4867
|
+
|
4788
4868
|
# DescribeHostingDomainTask请求参数结构体
|
4789
4869
|
class DescribeHostingDomainTaskRequest < TencentCloud::Common::AbstractModel
|
4790
4870
|
# @param EnvId: 环境ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.535
|
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-03-
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|