tencentcloud-sdk-mqtt 3.0.1094 → 3.0.1127

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01c7c8e008b8ec66ef76bbec01a1c38de835f4a9
4
- data.tar.gz: 26925febda372be71adc0f4ebe9b1d75549be972
3
+ metadata.gz: 5b200fef1f67243fa132aebfe64db8bf1c9b4a32
4
+ data.tar.gz: 2ae7ce5b07578b6cb97c405bec055538dc820d69
5
5
  SHA512:
6
- metadata.gz: 80276fbf1e86ecb6d41536906089b41fb96c3ea4de40a8e0fba68e2005ef127cb1f728e2141a9eaf507f1defafae21c22317fd5319f89176d4c28464e2ad09e5
7
- data.tar.gz: 2251b535eabd9609e1674cff58f8972edaf84cb9346801937a628bfe4ba5859fd8722ff4612a424a69dfde976d85146e3dad1126dfdf4e40416042f5cf0c5a64
6
+ metadata.gz: 0fd8d244029692b710432349649b3b8855723bb8eeba1829ef833dbd41b362f21072b22faf51680ee43f23eeb7f92b2e4dabdca0732861dbfc89294062144529
7
+ data.tar.gz: e9354a61f18545508d6ed2e81ef8414e8f708ca1c4067bb9e1881587df21042135565f1978887f71d27f9815f675b9c1c07b94b04c161ecfedceb44962ca01f7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1127
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建一机一密设备签名
129
+
130
+ # @param request: Request instance for CreateDeviceIdentity.
131
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::CreateDeviceIdentityRequest`
132
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::CreateDeviceIdentityResponse`
133
+ def CreateDeviceIdentity(request)
134
+ body = send_request('CreateDeviceIdentity', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateDeviceIdentityResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 创建一个HTTP的认证器
129
153
 
130
154
  # @param request: Request instance for CreateHttpAuthenticator.
@@ -437,6 +461,30 @@ module TencentCloud
437
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
462
  end
439
463
 
464
+ # 删除一机一密设备签名
465
+
466
+ # @param request: Request instance for DeleteDeviceIdentity.
467
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::DeleteDeviceIdentityRequest`
468
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::DeleteDeviceIdentityResponse`
469
+ def DeleteDeviceIdentity(request)
470
+ body = send_request('DeleteDeviceIdentity', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = DeleteDeviceIdentityResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
440
488
  # 删除MQTT实例的公网接入点
441
489
 
442
490
  # @param request: Request instance for DeleteInsPublicEndpoint.
@@ -701,6 +749,54 @@ module TencentCloud
701
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
750
  end
703
751
 
752
+ # 查询集群下设备标识列表
753
+
754
+ # @param request: Request instance for DescribeDeviceIdentities.
755
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeDeviceIdentitiesRequest`
756
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeDeviceIdentitiesResponse`
757
+ def DescribeDeviceIdentities(request)
758
+ body = send_request('DescribeDeviceIdentities', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DescribeDeviceIdentitiesResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
776
+ # 查询设备一机一密标识
777
+
778
+ # @param request: Request instance for DescribeDeviceIdentity.
779
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeDeviceIdentityRequest`
780
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeDeviceIdentityResponse`
781
+ def DescribeDeviceIdentity(request)
782
+ body = send_request('DescribeDeviceIdentity', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeDeviceIdentityResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
704
800
  # 查询MQTT实例公网接入点
705
801
 
706
802
  # @param request: Request instance for DescribeInsPublicEndpoints.
@@ -1023,6 +1119,30 @@ module TencentCloud
1023
1119
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1024
1120
  end
1025
1121
 
1122
+ # 修改一机一密设备签名
1123
+
1124
+ # @param request: Request instance for ModifyDeviceIdentity.
1125
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::ModifyDeviceIdentityRequest`
1126
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::ModifyDeviceIdentityResponse`
1127
+ def ModifyDeviceIdentity(request)
1128
+ body = send_request('ModifyDeviceIdentity', request.serialize)
1129
+ response = JSON.parse(body)
1130
+ if response['Response'].key?('Error') == false
1131
+ model = ModifyDeviceIdentityResponse.new
1132
+ model.deserialize(response['Response'])
1133
+ model
1134
+ else
1135
+ code = response['Response']['Error']['Code']
1136
+ message = response['Response']['Error']['Message']
1137
+ reqid = response['Response']['RequestId']
1138
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1139
+ end
1140
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1141
+ raise e
1142
+ rescue StandardError => e
1143
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1144
+ end
1145
+
1026
1146
  # 修改MQTT HTTP 认证器
1027
1147
 
1028
1148
  # @param request: Request instance for ModifyHttpAuthenticator.
@@ -424,6 +424,66 @@ module TencentCloud
424
424
  end
425
425
  end
426
426
 
427
+ # CreateDeviceIdentity请求参数结构体
428
+ class CreateDeviceIdentityRequest < TencentCloud::Common::AbstractModel
429
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
430
+ # @type InstanceId: String
431
+ # @param DeviceId: 设备id
432
+ # @type DeviceId: String
433
+ # @param Status: 1:ENABLED-可用(默认)
434
+ # 2:DISABLE-不可用
435
+ # @type Status: String
436
+ # @param PrimaryKey: 主要签名key,不传则由系统自动生成,需要base64编码。
437
+ # @type PrimaryKey: String
438
+ # @param SecondaryKey: 次要签名key,不传则油系统自动生成,需要base64编码。
439
+ # @type SecondaryKey: String
440
+ # @param PropagatingProperties: 该设备id的传播属性设置
441
+ # @type PropagatingProperties: Array
442
+
443
+ attr_accessor :InstanceId, :DeviceId, :Status, :PrimaryKey, :SecondaryKey, :PropagatingProperties
444
+
445
+ def initialize(instanceid=nil, deviceid=nil, status=nil, primarykey=nil, secondarykey=nil, propagatingproperties=nil)
446
+ @InstanceId = instanceid
447
+ @DeviceId = deviceid
448
+ @Status = status
449
+ @PrimaryKey = primarykey
450
+ @SecondaryKey = secondarykey
451
+ @PropagatingProperties = propagatingproperties
452
+ end
453
+
454
+ def deserialize(params)
455
+ @InstanceId = params['InstanceId']
456
+ @DeviceId = params['DeviceId']
457
+ @Status = params['Status']
458
+ @PrimaryKey = params['PrimaryKey']
459
+ @SecondaryKey = params['SecondaryKey']
460
+ unless params['PropagatingProperties'].nil?
461
+ @PropagatingProperties = []
462
+ params['PropagatingProperties'].each do |i|
463
+ propagatingproperty_tmp = PropagatingProperty.new
464
+ propagatingproperty_tmp.deserialize(i)
465
+ @PropagatingProperties << propagatingproperty_tmp
466
+ end
467
+ end
468
+ end
469
+ end
470
+
471
+ # CreateDeviceIdentity返回参数结构体
472
+ class CreateDeviceIdentityResponse < TencentCloud::Common::AbstractModel
473
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
474
+ # @type RequestId: String
475
+
476
+ attr_accessor :RequestId
477
+
478
+ def initialize(requestid=nil)
479
+ @RequestId = requestid
480
+ end
481
+
482
+ def deserialize(params)
483
+ @RequestId = params['RequestId']
484
+ end
485
+ end
486
+
427
487
  # CreateHttpAuthenticator请求参数结构体
428
488
  class CreateHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
429
489
  # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
@@ -1087,6 +1147,42 @@ module TencentCloud
1087
1147
  end
1088
1148
  end
1089
1149
 
1150
+ # DeleteDeviceIdentity请求参数结构体
1151
+ class DeleteDeviceIdentityRequest < TencentCloud::Common::AbstractModel
1152
+ # @param InstanceId: 集群id
1153
+ # @type InstanceId: String
1154
+ # @param DeviceId: 设备id
1155
+ # @type DeviceId: String
1156
+
1157
+ attr_accessor :InstanceId, :DeviceId
1158
+
1159
+ def initialize(instanceid=nil, deviceid=nil)
1160
+ @InstanceId = instanceid
1161
+ @DeviceId = deviceid
1162
+ end
1163
+
1164
+ def deserialize(params)
1165
+ @InstanceId = params['InstanceId']
1166
+ @DeviceId = params['DeviceId']
1167
+ end
1168
+ end
1169
+
1170
+ # DeleteDeviceIdentity返回参数结构体
1171
+ class DeleteDeviceIdentityResponse < TencentCloud::Common::AbstractModel
1172
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1173
+ # @type RequestId: String
1174
+
1175
+ attr_accessor :RequestId
1176
+
1177
+ def initialize(requestid=nil)
1178
+ @RequestId = requestid
1179
+ end
1180
+
1181
+ def deserialize(params)
1182
+ @RequestId = params['RequestId']
1183
+ end
1184
+ end
1185
+
1090
1186
  # DeleteInsPublicEndpoint请求参数结构体
1091
1187
  class DeleteInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
1092
1188
  # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
@@ -1680,6 +1776,129 @@ module TencentCloud
1680
1776
  end
1681
1777
  end
1682
1778
 
1779
+ # DescribeDeviceIdentities请求参数结构体
1780
+ class DescribeDeviceIdentitiesRequest < TencentCloud::Common::AbstractModel
1781
+ # @param InstanceId: 集群id
1782
+ # @type InstanceId: String
1783
+ # @param Offset: 查询起始位置
1784
+ # @type Offset: Integer
1785
+ # @param Limit: 查询结果限制数量
1786
+ # @type Limit: Integer
1787
+
1788
+ attr_accessor :InstanceId, :Offset, :Limit
1789
+
1790
+ def initialize(instanceid=nil, offset=nil, limit=nil)
1791
+ @InstanceId = instanceid
1792
+ @Offset = offset
1793
+ @Limit = limit
1794
+ end
1795
+
1796
+ def deserialize(params)
1797
+ @InstanceId = params['InstanceId']
1798
+ @Offset = params['Offset']
1799
+ @Limit = params['Limit']
1800
+ end
1801
+ end
1802
+
1803
+ # DescribeDeviceIdentities返回参数结构体
1804
+ class DescribeDeviceIdentitiesResponse < TencentCloud::Common::AbstractModel
1805
+ # @param Data: 返回的设备标识列表
1806
+ # @type Data: Array
1807
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1808
+ # @type RequestId: String
1809
+
1810
+ attr_accessor :Data, :RequestId
1811
+
1812
+ def initialize(data=nil, requestid=nil)
1813
+ @Data = data
1814
+ @RequestId = requestid
1815
+ end
1816
+
1817
+ def deserialize(params)
1818
+ unless params['Data'].nil?
1819
+ @Data = []
1820
+ params['Data'].each do |i|
1821
+ deviceidentityitem_tmp = DeviceIdentityItem.new
1822
+ deviceidentityitem_tmp.deserialize(i)
1823
+ @Data << deviceidentityitem_tmp
1824
+ end
1825
+ end
1826
+ @RequestId = params['RequestId']
1827
+ end
1828
+ end
1829
+
1830
+ # DescribeDeviceIdentity请求参数结构体
1831
+ class DescribeDeviceIdentityRequest < TencentCloud::Common::AbstractModel
1832
+ # @param InstanceId: 集群id
1833
+ # @type InstanceId: String
1834
+ # @param DeviceId: 设备id
1835
+ # @type DeviceId: String
1836
+
1837
+ attr_accessor :InstanceId, :DeviceId
1838
+
1839
+ def initialize(instanceid=nil, deviceid=nil)
1840
+ @InstanceId = instanceid
1841
+ @DeviceId = deviceid
1842
+ end
1843
+
1844
+ def deserialize(params)
1845
+ @InstanceId = params['InstanceId']
1846
+ @DeviceId = params['DeviceId']
1847
+ end
1848
+ end
1849
+
1850
+ # DescribeDeviceIdentity返回参数结构体
1851
+ class DescribeDeviceIdentityResponse < TencentCloud::Common::AbstractModel
1852
+ # @param InstanceId: 集群id
1853
+ # @type InstanceId: String
1854
+ # @param DeviceId: 设备id
1855
+ # @type DeviceId: String
1856
+ # @param Status: 1:ENABLED-可用
1857
+ # 2:DISABLE-不可用
1858
+ # @type Status: Integer
1859
+ # @param PrimaryKey: 主要签名key
1860
+ # @type PrimaryKey: String
1861
+ # @param SecondaryKey: 次要签名key
1862
+ # @type SecondaryKey: String
1863
+ # @param CreatedTime: 创建时间
1864
+ # @type CreatedTime: Integer
1865
+ # @param PropagatingProperties: 该设备id的传播属性
1866
+ # @type PropagatingProperties: Array
1867
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1868
+ # @type RequestId: String
1869
+
1870
+ attr_accessor :InstanceId, :DeviceId, :Status, :PrimaryKey, :SecondaryKey, :CreatedTime, :PropagatingProperties, :RequestId
1871
+
1872
+ def initialize(instanceid=nil, deviceid=nil, status=nil, primarykey=nil, secondarykey=nil, createdtime=nil, propagatingproperties=nil, requestid=nil)
1873
+ @InstanceId = instanceid
1874
+ @DeviceId = deviceid
1875
+ @Status = status
1876
+ @PrimaryKey = primarykey
1877
+ @SecondaryKey = secondarykey
1878
+ @CreatedTime = createdtime
1879
+ @PropagatingProperties = propagatingproperties
1880
+ @RequestId = requestid
1881
+ end
1882
+
1883
+ def deserialize(params)
1884
+ @InstanceId = params['InstanceId']
1885
+ @DeviceId = params['DeviceId']
1886
+ @Status = params['Status']
1887
+ @PrimaryKey = params['PrimaryKey']
1888
+ @SecondaryKey = params['SecondaryKey']
1889
+ @CreatedTime = params['CreatedTime']
1890
+ unless params['PropagatingProperties'].nil?
1891
+ @PropagatingProperties = []
1892
+ params['PropagatingProperties'].each do |i|
1893
+ propagatingproperty_tmp = PropagatingProperty.new
1894
+ propagatingproperty_tmp.deserialize(i)
1895
+ @PropagatingProperties << propagatingproperty_tmp
1896
+ end
1897
+ end
1898
+ @RequestId = params['RequestId']
1899
+ end
1900
+ end
1901
+
1683
1902
  # DescribeInsPublicEndpoints请求参数结构体
1684
1903
  class DescribeInsPublicEndpointsRequest < TencentCloud::Common::AbstractModel
1685
1904
  # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
@@ -1950,12 +2169,18 @@ module TencentCloud
1950
2169
  # @type AutoSubscriptionPolicyLimit: Integer
1951
2170
  # @param MaxTopicFilterPerAutoSubscriptionPolicy: 单条自动订阅规则TopicFilter数限制
1952
2171
  # @type MaxTopicFilterPerAutoSubscriptionPolicy: Integer
2172
+ # @param UseDefaultServerCert: 是否使用默认的服务端证书
2173
+ # @type UseDefaultServerCert: Boolean
2174
+ # @param TrustedCaLimit: 服务端CA最大数量
2175
+ # @type TrustedCaLimit: Integer
2176
+ # @param ServerCertLimit: 服务端证书最大数量
2177
+ # @type ServerCertLimit: Integer
1953
2178
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1954
2179
  # @type RequestId: String
1955
2180
 
1956
- attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :TpsLimit, :CreatedTime, :Remark, :InstanceStatus, :SkuCode, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :ClientNumLimit, :DeviceCertificateProvisionType, :AutomaticActivation, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :X509Mode, :MaxCaNum, :RegistrationCode, :MaxSubscription, :AuthorizationPolicy, :SharedSubscriptionGroupLimit, :MaxTopicFilterPerSharedSubscriptionGroup, :AutoSubscriptionPolicyLimit, :MaxTopicFilterPerAutoSubscriptionPolicy, :RequestId
2181
+ attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :TpsLimit, :CreatedTime, :Remark, :InstanceStatus, :SkuCode, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :ClientNumLimit, :DeviceCertificateProvisionType, :AutomaticActivation, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :X509Mode, :MaxCaNum, :RegistrationCode, :MaxSubscription, :AuthorizationPolicy, :SharedSubscriptionGroupLimit, :MaxTopicFilterPerSharedSubscriptionGroup, :AutoSubscriptionPolicyLimit, :MaxTopicFilterPerAutoSubscriptionPolicy, :UseDefaultServerCert, :TrustedCaLimit, :ServerCertLimit, :RequestId
1957
2182
 
1958
- def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, tpslimit=nil, createdtime=nil, remark=nil, instancestatus=nil, skucode=nil, maxsubscriptionperclient=nil, authorizationpolicylimit=nil, clientnumlimit=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, renewflag=nil, paymode=nil, expirytime=nil, destroytime=nil, x509mode=nil, maxcanum=nil, registrationcode=nil, maxsubscription=nil, authorizationpolicy=nil, sharedsubscriptiongrouplimit=nil, maxtopicfilterpersharedsubscriptiongroup=nil, autosubscriptionpolicylimit=nil, maxtopicfilterperautosubscriptionpolicy=nil, requestid=nil)
2183
+ def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, tpslimit=nil, createdtime=nil, remark=nil, instancestatus=nil, skucode=nil, maxsubscriptionperclient=nil, authorizationpolicylimit=nil, clientnumlimit=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, renewflag=nil, paymode=nil, expirytime=nil, destroytime=nil, x509mode=nil, maxcanum=nil, registrationcode=nil, maxsubscription=nil, authorizationpolicy=nil, sharedsubscriptiongrouplimit=nil, maxtopicfilterpersharedsubscriptiongroup=nil, autosubscriptionpolicylimit=nil, maxtopicfilterperautosubscriptionpolicy=nil, usedefaultservercert=nil, trustedcalimit=nil, servercertlimit=nil, requestid=nil)
1959
2184
  @InstanceType = instancetype
1960
2185
  @InstanceId = instanceid
1961
2186
  @InstanceName = instancename
@@ -1984,6 +2209,9 @@ module TencentCloud
1984
2209
  @MaxTopicFilterPerSharedSubscriptionGroup = maxtopicfilterpersharedsubscriptiongroup
1985
2210
  @AutoSubscriptionPolicyLimit = autosubscriptionpolicylimit
1986
2211
  @MaxTopicFilterPerAutoSubscriptionPolicy = maxtopicfilterperautosubscriptionpolicy
2212
+ @UseDefaultServerCert = usedefaultservercert
2213
+ @TrustedCaLimit = trustedcalimit
2214
+ @ServerCertLimit = servercertlimit
1987
2215
  @RequestId = requestid
1988
2216
  end
1989
2217
 
@@ -2016,6 +2244,9 @@ module TencentCloud
2016
2244
  @MaxTopicFilterPerSharedSubscriptionGroup = params['MaxTopicFilterPerSharedSubscriptionGroup']
2017
2245
  @AutoSubscriptionPolicyLimit = params['AutoSubscriptionPolicyLimit']
2018
2246
  @MaxTopicFilterPerAutoSubscriptionPolicy = params['MaxTopicFilterPerAutoSubscriptionPolicy']
2247
+ @UseDefaultServerCert = params['UseDefaultServerCert']
2248
+ @TrustedCaLimit = params['TrustedCaLimit']
2249
+ @ServerCertLimit = params['ServerCertLimit']
2019
2250
  @RequestId = params['RequestId']
2020
2251
  end
2021
2252
  end
@@ -2571,6 +2802,53 @@ module TencentCloud
2571
2802
  end
2572
2803
  end
2573
2804
 
2805
+ # 设备标识列表
2806
+ class DeviceIdentityItem < TencentCloud::Common::AbstractModel
2807
+ # @param InstanceId: 集群id
2808
+ # @type InstanceId: String
2809
+ # @param DeviceId: 设备id
2810
+ # @type DeviceId: String
2811
+ # @param Status: 1:ENABLED-可用2:DISABLE-不可用
2812
+ # @type Status: Integer
2813
+ # @param PrimaryKey: 主要签名key,不传则由系统自动生成
2814
+ # @type PrimaryKey: String
2815
+ # @param SecondaryKey: 次要签名key,不传则由系统自动生成
2816
+ # @type SecondaryKey: String
2817
+ # @param CreatedTime: 创建时间
2818
+ # @type CreatedTime: Integer
2819
+ # @param PropagatingProperties: 传播属性列表
2820
+ # @type PropagatingProperties: Array
2821
+
2822
+ attr_accessor :InstanceId, :DeviceId, :Status, :PrimaryKey, :SecondaryKey, :CreatedTime, :PropagatingProperties
2823
+
2824
+ def initialize(instanceid=nil, deviceid=nil, status=nil, primarykey=nil, secondarykey=nil, createdtime=nil, propagatingproperties=nil)
2825
+ @InstanceId = instanceid
2826
+ @DeviceId = deviceid
2827
+ @Status = status
2828
+ @PrimaryKey = primarykey
2829
+ @SecondaryKey = secondarykey
2830
+ @CreatedTime = createdtime
2831
+ @PropagatingProperties = propagatingproperties
2832
+ end
2833
+
2834
+ def deserialize(params)
2835
+ @InstanceId = params['InstanceId']
2836
+ @DeviceId = params['DeviceId']
2837
+ @Status = params['Status']
2838
+ @PrimaryKey = params['PrimaryKey']
2839
+ @SecondaryKey = params['SecondaryKey']
2840
+ @CreatedTime = params['CreatedTime']
2841
+ unless params['PropagatingProperties'].nil?
2842
+ @PropagatingProperties = []
2843
+ params['PropagatingProperties'].each do |i|
2844
+ propagatingproperty_tmp = PropagatingProperty.new
2845
+ propagatingproperty_tmp.deserialize(i)
2846
+ @PropagatingProperties << propagatingproperty_tmp
2847
+ end
2848
+ end
2849
+ end
2850
+ end
2851
+
2574
2852
  # 查询过滤器
2575
2853
  class Filter < TencentCloud::Common::AbstractModel
2576
2854
  # @param Name: 过滤条件名
@@ -2772,14 +3050,17 @@ module TencentCloud
2772
3050
  # @type Lag: Integer
2773
3051
  # @param Inflight: 投递未确认数量
2774
3052
  # @type Inflight: Integer
3053
+ # @param UserProperties: 用户属性
3054
+ # @type UserProperties: Array
2775
3055
 
2776
- attr_accessor :TopicFilter, :Qos, :Lag, :Inflight
3056
+ attr_accessor :TopicFilter, :Qos, :Lag, :Inflight, :UserProperties
2777
3057
 
2778
- def initialize(topicfilter=nil, qos=nil, lag=nil, inflight=nil)
3058
+ def initialize(topicfilter=nil, qos=nil, lag=nil, inflight=nil, userproperties=nil)
2779
3059
  @TopicFilter = topicfilter
2780
3060
  @Qos = qos
2781
3061
  @Lag = lag
2782
3062
  @Inflight = inflight
3063
+ @UserProperties = userproperties
2783
3064
  end
2784
3065
 
2785
3066
  def deserialize(params)
@@ -2787,6 +3068,14 @@ module TencentCloud
2787
3068
  @Qos = params['Qos']
2788
3069
  @Lag = params['Lag']
2789
3070
  @Inflight = params['Inflight']
3071
+ unless params['UserProperties'].nil?
3072
+ @UserProperties = []
3073
+ params['UserProperties'].each do |i|
3074
+ subscriptionuserproperty_tmp = SubscriptionUserProperty.new
3075
+ subscriptionuserproperty_tmp.deserialize(i)
3076
+ @UserProperties << subscriptionuserproperty_tmp
3077
+ end
3078
+ end
2790
3079
  end
2791
3080
  end
2792
3081
 
@@ -3010,12 +3299,12 @@ module TencentCloud
3010
3299
 
3011
3300
  attr_accessor :MsgId, :Tags, :Keys, :ProducerAddr, :ProduceTime, :DeadLetterResendTimes, :DeadLetterResendSuccessTimes, :SubTopic, :Qos
3012
3301
  extend Gem::Deprecate
3013
- deprecate :DeadLetterResendTimes, :none, 2025, 6
3014
- deprecate :DeadLetterResendTimes=, :none, 2025, 6
3015
- deprecate :DeadLetterResendSuccessTimes, :none, 2025, 6
3016
- deprecate :DeadLetterResendSuccessTimes=, :none, 2025, 6
3017
- deprecate :SubTopic, :none, 2025, 6
3018
- deprecate :SubTopic=, :none, 2025, 6
3302
+ deprecate :DeadLetterResendTimes, :none, 2025, 8
3303
+ deprecate :DeadLetterResendTimes=, :none, 2025, 8
3304
+ deprecate :DeadLetterResendSuccessTimes, :none, 2025, 8
3305
+ deprecate :DeadLetterResendSuccessTimes=, :none, 2025, 8
3306
+ deprecate :SubTopic, :none, 2025, 8
3307
+ deprecate :SubTopic=, :none, 2025, 8
3019
3308
 
3020
3309
  def initialize(msgid=nil, tags=nil, keys=nil, produceraddr=nil, producetime=nil, deadletterresendtimes=nil, deadletterresendsuccesstimes=nil, subtopic=nil, qos=nil)
3021
3310
  @MsgId = msgid
@@ -3193,6 +3482,66 @@ module TencentCloud
3193
3482
  end
3194
3483
  end
3195
3484
 
3485
+ # ModifyDeviceIdentity请求参数结构体
3486
+ class ModifyDeviceIdentityRequest < TencentCloud::Common::AbstractModel
3487
+ # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
3488
+ # @type InstanceId: String
3489
+ # @param DeviceId: 设备id
3490
+ # @type DeviceId: String
3491
+ # @param Status: 1:ENABLED-可用
3492
+ # 2:DISABLE-不可用
3493
+ # @type Status: String
3494
+ # @param PrimaryKey: 主要签名key,需要Base64编码。
3495
+ # @type PrimaryKey: String
3496
+ # @param SecondaryKey: 次要签名key,需要Base64编码。
3497
+ # @type SecondaryKey: String
3498
+ # @param PropagatingProperties: 该设备id的传播属性设置
3499
+ # @type PropagatingProperties: Array
3500
+
3501
+ attr_accessor :InstanceId, :DeviceId, :Status, :PrimaryKey, :SecondaryKey, :PropagatingProperties
3502
+
3503
+ def initialize(instanceid=nil, deviceid=nil, status=nil, primarykey=nil, secondarykey=nil, propagatingproperties=nil)
3504
+ @InstanceId = instanceid
3505
+ @DeviceId = deviceid
3506
+ @Status = status
3507
+ @PrimaryKey = primarykey
3508
+ @SecondaryKey = secondarykey
3509
+ @PropagatingProperties = propagatingproperties
3510
+ end
3511
+
3512
+ def deserialize(params)
3513
+ @InstanceId = params['InstanceId']
3514
+ @DeviceId = params['DeviceId']
3515
+ @Status = params['Status']
3516
+ @PrimaryKey = params['PrimaryKey']
3517
+ @SecondaryKey = params['SecondaryKey']
3518
+ unless params['PropagatingProperties'].nil?
3519
+ @PropagatingProperties = []
3520
+ params['PropagatingProperties'].each do |i|
3521
+ propagatingproperty_tmp = PropagatingProperty.new
3522
+ propagatingproperty_tmp.deserialize(i)
3523
+ @PropagatingProperties << propagatingproperty_tmp
3524
+ end
3525
+ end
3526
+ end
3527
+ end
3528
+
3529
+ # ModifyDeviceIdentity返回参数结构体
3530
+ class ModifyDeviceIdentityResponse < TencentCloud::Common::AbstractModel
3531
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3532
+ # @type RequestId: String
3533
+
3534
+ attr_accessor :RequestId
3535
+
3536
+ def initialize(requestid=nil)
3537
+ @RequestId = requestid
3538
+ end
3539
+
3540
+ def deserialize(params)
3541
+ @RequestId = params['RequestId']
3542
+ end
3543
+ end
3544
+
3196
3545
  # ModifyHttpAuthenticator请求参数结构体
3197
3546
  class ModifyHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
3198
3547
  # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
@@ -3399,15 +3748,21 @@ module TencentCloud
3399
3748
  # @type AutomaticActivation: Boolean
3400
3749
  # @param AuthorizationPolicy: 授权策略开关
3401
3750
  # @type AuthorizationPolicy: Boolean
3751
+ # @param UseDefaultServerCert: 是否使用默认的服务端证书
3752
+ # @type UseDefaultServerCert: Boolean
3753
+ # @param X509Mode: TLS:单向认证
3754
+ # mTLS;双向认证
3755
+ # BYOC:一机一证
3756
+ # @type X509Mode: String
3402
3757
 
3403
- attr_accessor :InstanceId, :Name, :Remark, :SkuCode, :DeviceCertificateProvisionType, :AutomaticActivation, :AuthorizationPolicy
3758
+ attr_accessor :InstanceId, :Name, :Remark, :SkuCode, :DeviceCertificateProvisionType, :AutomaticActivation, :AuthorizationPolicy, :UseDefaultServerCert, :X509Mode
3404
3759
  extend Gem::Deprecate
3405
- deprecate :DeviceCertificateProvisionType, :none, 2025, 6
3406
- deprecate :DeviceCertificateProvisionType=, :none, 2025, 6
3407
- deprecate :AutomaticActivation, :none, 2025, 6
3408
- deprecate :AutomaticActivation=, :none, 2025, 6
3760
+ deprecate :DeviceCertificateProvisionType, :none, 2025, 8
3761
+ deprecate :DeviceCertificateProvisionType=, :none, 2025, 8
3762
+ deprecate :AutomaticActivation, :none, 2025, 8
3763
+ deprecate :AutomaticActivation=, :none, 2025, 8
3409
3764
 
3410
- def initialize(instanceid=nil, name=nil, remark=nil, skucode=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, authorizationpolicy=nil)
3765
+ def initialize(instanceid=nil, name=nil, remark=nil, skucode=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, authorizationpolicy=nil, usedefaultservercert=nil, x509mode=nil)
3411
3766
  @InstanceId = instanceid
3412
3767
  @Name = name
3413
3768
  @Remark = remark
@@ -3415,6 +3770,8 @@ module TencentCloud
3415
3770
  @DeviceCertificateProvisionType = devicecertificateprovisiontype
3416
3771
  @AutomaticActivation = automaticactivation
3417
3772
  @AuthorizationPolicy = authorizationpolicy
3773
+ @UseDefaultServerCert = usedefaultservercert
3774
+ @X509Mode = x509mode
3418
3775
  end
3419
3776
 
3420
3777
  def deserialize(params)
@@ -3425,6 +3782,8 @@ module TencentCloud
3425
3782
  @DeviceCertificateProvisionType = params['DeviceCertificateProvisionType']
3426
3783
  @AutomaticActivation = params['AutomaticActivation']
3427
3784
  @AuthorizationPolicy = params['AuthorizationPolicy']
3785
+ @UseDefaultServerCert = params['UseDefaultServerCert']
3786
+ @X509Mode = params['X509Mode']
3428
3787
  end
3429
3788
  end
3430
3789
 
@@ -3525,8 +3884,8 @@ module TencentCloud
3525
3884
 
3526
3885
  attr_accessor :InstanceId, :Algorithm, :From, :Secret, :PublicKey, :Status, :Remark, :Text
3527
3886
  extend Gem::Deprecate
3528
- deprecate :Text, :none, 2025, 6
3529
- deprecate :Text=, :none, 2025, 6
3887
+ deprecate :Text, :none, 2025, 8
3888
+ deprecate :Text=, :none, 2025, 8
3530
3889
 
3531
3890
  def initialize(instanceid=nil, algorithm=nil, from=nil, secret=nil, publickey=nil, status=nil, remark=nil, text=nil)
3532
3891
  @InstanceId = instanceid
@@ -3736,6 +4095,26 @@ module TencentCloud
3736
4095
  end
3737
4096
  end
3738
4097
 
4098
+ # 传播属性结构
4099
+ class PropagatingProperty < TencentCloud::Common::AbstractModel
4100
+ # @param Key: 传播属性key
4101
+ # @type Key: String
4102
+ # @param Value: 传播属性value
4103
+ # @type Value: String
4104
+
4105
+ attr_accessor :Key, :Value
4106
+
4107
+ def initialize(key=nil, value=nil)
4108
+ @Key = key
4109
+ @Value = value
4110
+ end
4111
+
4112
+ def deserialize(params)
4113
+ @Key = params['Key']
4114
+ @Value = params['Value']
4115
+ end
4116
+ end
4117
+
3739
4118
  # 公网访问安全规则
3740
4119
  class PublicAccessRule < TencentCloud::Common::AbstractModel
3741
4120
  # @param IpRule: ip网段信息
@@ -3979,6 +4358,26 @@ module TencentCloud
3979
4358
  end
3980
4359
  end
3981
4360
 
4361
+ # 订阅的UserProperty结构
4362
+ class SubscriptionUserProperty < TencentCloud::Common::AbstractModel
4363
+ # @param Key: 订阅的UserProperty键
4364
+ # @type Key: String
4365
+ # @param Value: 订阅的UserProperty值
4366
+ # @type Value: String
4367
+
4368
+ attr_accessor :Key, :Value
4369
+
4370
+ def initialize(key=nil, value=nil)
4371
+ @Key = key
4372
+ @Value = value
4373
+ end
4374
+
4375
+ def deserialize(params)
4376
+ @Key = params['Key']
4377
+ @Value = params['Value']
4378
+ end
4379
+ end
4380
+
3982
4381
  # 标签数据
3983
4382
  class Tag < TencentCloud::Common::AbstractModel
3984
4383
  # @param TagKey: 标签名称
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.1094
4
+ version: 3.0.1127
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-07-05 00:00:00.000000000 Z
11
+ date: 2025-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common