tencentcloud-sdk-dts 3.0.847 → 3.0.849
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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b55496775a4787a50b6849c22ff5b9d5c72312e
|
4
|
+
data.tar.gz: 5ba303e02f4300c39b0d570dc0fca0feebf82794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e65049795a5057d5d8b55aabf200f2e4e85e43b50a4cd773b6eaa4f088fcebf6d946a394e3f6fadec8f6fa514d226279f1205262e988d1cb508dc9920564b322
|
7
|
+
data.tar.gz: 00315147a725edaafcfacb41566fe99a9b66d38f83900323f8ded562cc1c18898ce6de8d7741abed60321f9f450453af6d7f776475c8d4bb58e1e9a2f0c79fd7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.849
|
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.849
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20180330/models.rb
|
37
|
-
- lib/v20180330/client.rb
|
38
|
-
- lib/tencentcloud-sdk-dts.rb
|
39
36
|
- lib/v20211206/models.rb
|
40
37
|
- lib/v20211206/client.rb
|
38
|
+
- lib/tencentcloud-sdk-dts.rb
|
39
|
+
- lib/v20180330/models.rb
|
40
|
+
- lib/v20180330/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|