tencentcloud-sdk-mqtt 3.0.1115 → 3.0.1132

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: 5652a8c7ca045074f6bf3ebe7442b0042b1bb3a7
4
- data.tar.gz: 41d2da56b192d226578f375f8c3e897fe5057995
3
+ metadata.gz: f9d0c2e3e93f68e2cdddb79fbe0a3ef2f2302703
4
+ data.tar.gz: 08dc3d7824e391c85fbb6a94f3aa4c60fbb36906
5
5
  SHA512:
6
- metadata.gz: 86f4d5512978e43ceaf5d9caf4fdb6e8a46f94e92943e1c77c582b6fd5e4a0772e55b873ddded94adc40bbf20a597fb5bd743371495eb52f6a95973621731e47
7
- data.tar.gz: 82af88d800918017f58d16cd21c374c5de1d57086d75de00173a60f627d7f8f116f6c94fdcf8970a2a39860a0390d3706a0c80666182b9bbdf2206aad0d1116c
6
+ metadata.gz: e526c7dd01b1e85e7773851a8d665b67b74a8aa177d4dce622f75f582298099814dfcab1ecdfd349270d989cf648f2e0074c7254417f340998fb16ecf9a591d6
7
+ data.tar.gz: 93b4dc81eb34be9f437e5eee892e4fed39f1b8aa5301490028d0d6a6854383fe9f4200627dd4c40fe3907b63dc0b1ec8bc346710f216e76a7cc2ce365ed28d43
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1115
1
+ 3.0.1132
@@ -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)接口或控制台获得。
@@ -2583,6 +2802,53 @@ module TencentCloud
2583
2802
  end
2584
2803
  end
2585
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
+
2586
2852
  # 查询过滤器
2587
2853
  class Filter < TencentCloud::Common::AbstractModel
2588
2854
  # @param Name: 过滤条件名
@@ -3216,6 +3482,66 @@ module TencentCloud
3216
3482
  end
3217
3483
  end
3218
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
+
3219
3545
  # ModifyHttpAuthenticator请求参数结构体
3220
3546
  class ModifyHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
3221
3547
  # @param InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
@@ -3769,6 +4095,26 @@ module TencentCloud
3769
4095
  end
3770
4096
  end
3771
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
+
3772
4118
  # 公网访问安全规则
3773
4119
  class PublicAccessRule < TencentCloud::Common::AbstractModel
3774
4120
  # @param IpRule: ip网段信息
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.1115
4
+ version: 3.0.1132
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-08-01 00:00:00.000000000 Z
11
+ date: 2025-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common