tencentcloud-sdk-dts 3.0.847 → 3.0.848
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/v20180330/client.rb +0 -26
- data/lib/v20180330/models.rb +0 -79
- 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: f3fa5572425d0e0629a4a8f5755c9d3387c36d17
|
4
|
+
data.tar.gz: b31cc81f6bf8431eb99179daf5b67215e84fe36d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39eb50b655b4f44878638aabf19d079d4b99848b01b3a5426cd56bfec8abfc5abbad3dd4e170e0d792008f6e90684aaca17032c095cb4651e1fece2bf763f07b
|
7
|
+
data.tar.gz: e42eb99589264ffbdada82875e34bb4bb6bc19ea123679edf11588a96b678ba7e59e063f220d9b5c06e4c7dd53ec3f2f8470f6495f3f9d24e00edaf475599b87
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.848
|
data/lib/v20180330/client.rb
CHANGED
@@ -256,32 +256,6 @@ module TencentCloud
|
|
256
256
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
257
257
|
end
|
258
258
|
|
259
|
-
# 接口不再使用
|
260
|
-
|
261
|
-
# 本接口(DescribeRegionConf)用于查询可售卖订阅实例的地域
|
262
|
-
|
263
|
-
# @param request: Request instance for DescribeRegionConf.
|
264
|
-
# @type request: :class:`Tencentcloud::dts::V20180330::DescribeRegionConfRequest`
|
265
|
-
# @rtype: :class:`Tencentcloud::dts::V20180330::DescribeRegionConfResponse`
|
266
|
-
def DescribeRegionConf(request)
|
267
|
-
body = send_request('DescribeRegionConf', request.serialize)
|
268
|
-
response = JSON.parse(body)
|
269
|
-
if response['Response'].key?('Error') == false
|
270
|
-
model = DescribeRegionConfResponse.new
|
271
|
-
model.deserialize(response['Response'])
|
272
|
-
model
|
273
|
-
else
|
274
|
-
code = response['Response']['Error']['Code']
|
275
|
-
message = response['Response']['Error']['Message']
|
276
|
-
reqid = response['Response']['RequestId']
|
277
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
278
|
-
end
|
279
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
280
|
-
raise e
|
281
|
-
rescue StandardError => e
|
282
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
283
|
-
end
|
284
|
-
|
285
259
|
# 本接口(DescribeSubscribeConf)用于查询订阅实例配置
|
286
260
|
|
287
261
|
# @param request: Request instance for DescribeSubscribeConf.
|
data/lib/v20180330/models.rb
CHANGED
@@ -545,48 +545,6 @@ module TencentCloud
|
|
545
545
|
end
|
546
546
|
end
|
547
547
|
|
548
|
-
# DescribeRegionConf请求参数结构体
|
549
|
-
class DescribeRegionConfRequest < TencentCloud::Common::AbstractModel
|
550
|
-
|
551
|
-
|
552
|
-
def initialize()
|
553
|
-
end
|
554
|
-
|
555
|
-
def deserialize(params)
|
556
|
-
end
|
557
|
-
end
|
558
|
-
|
559
|
-
# DescribeRegionConf返回参数结构体
|
560
|
-
class DescribeRegionConfResponse < TencentCloud::Common::AbstractModel
|
561
|
-
# @param TotalCount: 可售卖地域的数量
|
562
|
-
# @type TotalCount: Integer
|
563
|
-
# @param Items: 可售卖地域详情
|
564
|
-
# @type Items: Array
|
565
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
566
|
-
# @type RequestId: String
|
567
|
-
|
568
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
569
|
-
|
570
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
571
|
-
@TotalCount = totalcount
|
572
|
-
@Items = items
|
573
|
-
@RequestId = requestid
|
574
|
-
end
|
575
|
-
|
576
|
-
def deserialize(params)
|
577
|
-
@TotalCount = params['TotalCount']
|
578
|
-
unless params['Items'].nil?
|
579
|
-
@Items = []
|
580
|
-
params['Items'].each do |i|
|
581
|
-
subscriberegionconf_tmp = SubscribeRegionConf.new
|
582
|
-
subscriberegionconf_tmp.deserialize(i)
|
583
|
-
@Items << subscriberegionconf_tmp
|
584
|
-
end
|
585
|
-
end
|
586
|
-
@RequestId = params['RequestId']
|
587
|
-
end
|
588
|
-
end
|
589
|
-
|
590
548
|
# DescribeSubscribeConf请求参数结构体
|
591
549
|
class DescribeSubscribeConfRequest < TencentCloud::Common::AbstractModel
|
592
550
|
# @param SubscribeId: 订阅实例ID
|
@@ -1871,43 +1829,6 @@ module TencentCloud
|
|
1871
1829
|
end
|
1872
1830
|
end
|
1873
1831
|
|
1874
|
-
# 数据订阅地域售卖信息
|
1875
|
-
class SubscribeRegionConf < TencentCloud::Common::AbstractModel
|
1876
|
-
# @param RegionName: 地域名称,如广州
|
1877
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1878
|
-
# @type RegionName: String
|
1879
|
-
# @param Region: 地区标识,如ap-guangzhou
|
1880
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1881
|
-
# @type Region: String
|
1882
|
-
# @param Area: 地域名称,如华南地区
|
1883
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1884
|
-
# @type Area: String
|
1885
|
-
# @param IsDefaultRegion: 是否为默认地域,0 - 不是,1 - 是的
|
1886
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1887
|
-
# @type IsDefaultRegion: Integer
|
1888
|
-
# @param Status: 当前地域的售卖情况,1 - 正常, 2-灰度,3 - 停售
|
1889
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1890
|
-
# @type Status: Integer
|
1891
|
-
|
1892
|
-
attr_accessor :RegionName, :Region, :Area, :IsDefaultRegion, :Status
|
1893
|
-
|
1894
|
-
def initialize(regionname=nil, region=nil, area=nil, isdefaultregion=nil, status=nil)
|
1895
|
-
@RegionName = regionname
|
1896
|
-
@Region = region
|
1897
|
-
@Area = area
|
1898
|
-
@IsDefaultRegion = isdefaultregion
|
1899
|
-
@Status = status
|
1900
|
-
end
|
1901
|
-
|
1902
|
-
def deserialize(params)
|
1903
|
-
@RegionName = params['RegionName']
|
1904
|
-
@Region = params['Region']
|
1905
|
-
@Area = params['Area']
|
1906
|
-
@IsDefaultRegion = params['IsDefaultRegion']
|
1907
|
-
@Status = params['Status']
|
1908
|
-
end
|
1909
|
-
end
|
1910
|
-
|
1911
1832
|
# 标签过滤
|
1912
1833
|
class TagFilter < TencentCloud::Common::AbstractModel
|
1913
1834
|
# @param TagKey: 标签键值
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.848
|
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-06-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|