tencentcloud-sdk-tcb 3.0.534 → 3.0.536

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9afbf9643d5b3080a792aa27e79223e8693f92d
4
- data.tar.gz: 2be9a557acb69b99900b56e608b20153f610e1fb
3
+ metadata.gz: 210833bf6624c49b10fc2e2977f80d0bf0967050
4
+ data.tar.gz: 1a12defd161f39d725f1cb4834291638ecdc93bb
5
5
  SHA512:
6
- metadata.gz: ea6efbb58f35d6d1b5503969503accae33775cf35463065145b49765528f386d3947f2496e804b3733dcc4399846fba65285899dd890779aebb38e6903aac940
7
- data.tar.gz: f2e0c8557ab7279c885a45d3adf01140617ea1461f36079f6d72ebb4258cafc8fe6ca9457246b387812ca8e8dd34065db31cec746da983337633ed65fb32c432
6
+ metadata.gz: da1a83a4ff11c0cb635217ec3f4a2ba36e198942c4794d8a290584a396f79573b7ff1af2887facccbe3cc9d3b561652d56b79e6cdc3f9a3c733f4c8013c72afd
7
+ data.tar.gz: 0d89e8ae815d3112fe63dfbd32617832c3396f05904d32f86ad0bed81ea41ea98a11bc85e4b512f1a415b59e209da761e21394003f0de93d059fd963a885da12
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.534
1
+ 3.0.536
@@ -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.
@@ -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.534
4
+ version: 3.0.536
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-21 00:00:00.000000000 Z
11
+ date: 2023-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common