tencentcloud-sdk-mqtt 3.0.1013 → 3.0.1014
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/v20240516/client.rb +24 -0
- data/lib/v20240516/models.rb +43 -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: 104e6defb365619cd19dcf58738991ffce17da29
|
4
|
+
data.tar.gz: 31e22d73a3a5d7d1c1d9ba65a732949ff1833082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce64f20a95fff4a3674d4fae67f062fcafa095d44fcbc87855bc600797e6557ab0b9ff0b0cf66735f0a376451196da41be6e9cae0d8517cf6a98cf543ee17835
|
7
|
+
data.tar.gz: 5121ad2bc15a71603286124e90c4759e07ea95887e9827981b463b00206d5644693cc46f3ed7a36cf690663bdd1df3b940186a6d16be26a830552e0ac74c7938
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1014
|
data/lib/v20240516/client.rb
CHANGED
@@ -677,6 +677,30 @@ module TencentCloud
|
|
677
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
678
|
end
|
679
679
|
|
680
|
+
# 查询MQTT实例公网接入点
|
681
|
+
|
682
|
+
# @param request: Request instance for DescribeInsVPCEndpoints.
|
683
|
+
# @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeInsVPCEndpointsRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeInsVPCEndpointsResponse`
|
685
|
+
def DescribeInsVPCEndpoints(request)
|
686
|
+
body = send_request('DescribeInsVPCEndpoints', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = DescribeInsVPCEndpointsResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
680
704
|
# 查询实例信息
|
681
705
|
|
682
706
|
# @param request: Request instance for DescribeInstance.
|
data/lib/v20240516/models.rb
CHANGED
@@ -1560,6 +1560,49 @@ module TencentCloud
|
|
1560
1560
|
end
|
1561
1561
|
end
|
1562
1562
|
|
1563
|
+
# DescribeInsVPCEndpoints请求参数结构体
|
1564
|
+
class DescribeInsVPCEndpointsRequest < TencentCloud::Common::AbstractModel
|
1565
|
+
# @param InstanceId: 实例ID
|
1566
|
+
# @type InstanceId: String
|
1567
|
+
|
1568
|
+
attr_accessor :InstanceId
|
1569
|
+
|
1570
|
+
def initialize(instanceid=nil)
|
1571
|
+
@InstanceId = instanceid
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
def deserialize(params)
|
1575
|
+
@InstanceId = params['InstanceId']
|
1576
|
+
end
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
# DescribeInsVPCEndpoints返回参数结构体
|
1580
|
+
class DescribeInsVPCEndpointsResponse < TencentCloud::Common::AbstractModel
|
1581
|
+
# @param Endpoints: 接入点
|
1582
|
+
# @type Endpoints: Array
|
1583
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1584
|
+
# @type RequestId: String
|
1585
|
+
|
1586
|
+
attr_accessor :Endpoints, :RequestId
|
1587
|
+
|
1588
|
+
def initialize(endpoints=nil, requestid=nil)
|
1589
|
+
@Endpoints = endpoints
|
1590
|
+
@RequestId = requestid
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
def deserialize(params)
|
1594
|
+
unless params['Endpoints'].nil?
|
1595
|
+
@Endpoints = []
|
1596
|
+
params['Endpoints'].each do |i|
|
1597
|
+
mqttendpointitem_tmp = MQTTEndpointItem.new
|
1598
|
+
mqttendpointitem_tmp.deserialize(i)
|
1599
|
+
@Endpoints << mqttendpointitem_tmp
|
1600
|
+
end
|
1601
|
+
end
|
1602
|
+
@RequestId = params['RequestId']
|
1603
|
+
end
|
1604
|
+
end
|
1605
|
+
|
1563
1606
|
# DescribeInstanceList请求参数结构体
|
1564
1607
|
class DescribeInstanceListRequest < TencentCloud::Common::AbstractModel
|
1565
1608
|
# @param Filters: 查询条件列表,支持以下子弹
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mqtt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1014
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|