tencentcloud-sdk-mqtt 3.0.1014 → 3.0.1016

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: 104e6defb365619cd19dcf58738991ffce17da29
4
- data.tar.gz: 31e22d73a3a5d7d1c1d9ba65a732949ff1833082
3
+ metadata.gz: 67bdc9437540e7aeabfbefea72f9bad4795d88f2
4
+ data.tar.gz: 7ad766f0731140cc12d953263a1a107d4b3c3871
5
5
  SHA512:
6
- metadata.gz: ce64f20a95fff4a3674d4fae67f062fcafa095d44fcbc87855bc600797e6557ab0b9ff0b0cf66735f0a376451196da41be6e9cae0d8517cf6a98cf543ee17835
7
- data.tar.gz: 5121ad2bc15a71603286124e90c4759e07ea95887e9827981b463b00206d5644693cc46f3ed7a36cf690663bdd1df3b940186a6d16be26a830552e0ac74c7938
6
+ metadata.gz: 9f511fb968b496b189217796099ae7d3acb118cce8a2e28cb408ca4ca9bc3afd82784f1de0f61b087014fe208538dac906e11000c75d2e7aaad0a0989b19af55
7
+ data.tar.gz: 8bb2872a8f3b823de838761d396f78c7e65fe4c4d2ad7db1ef77479d5bf36de75cd1b744266277f2ccb5edb94814c528b199d6cb14e7530f36070c3db0789e98
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1014
1
+ 3.0.1016
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建一个HTTP的认证器
129
+
130
+ # @param request: Request instance for CreateHttpAuthenticator.
131
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::CreateHttpAuthenticatorRequest`
132
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::CreateHttpAuthenticatorResponse`
133
+ def CreateHttpAuthenticator(request)
134
+ body = send_request('CreateHttpAuthenticator', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateHttpAuthenticatorResponse.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
  # 为MQTT实例创建公网接入点
129
153
 
130
154
  # @param request: Request instance for CreateInsPublicEndpoint.
@@ -605,6 +629,30 @@ module TencentCloud
605
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
630
  end
607
631
 
632
+ # 查询 MQTT 客户端详情
633
+
634
+ # @param request: Request instance for DescribeClientList.
635
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeClientListRequest`
636
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeClientListResponse`
637
+ def DescribeClientList(request)
638
+ body = send_request('DescribeClientList', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeClientListResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
608
656
  # 查询设备证书详情接口
609
657
 
610
658
  # @param request: Request instance for DescribeDeviceCertificate.
@@ -754,6 +802,30 @@ module TencentCloud
754
802
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
755
803
  end
756
804
 
805
+ # 查询消息列表,如查询死信,请设置ConsumerGroup参数
806
+
807
+ # @param request: Request instance for DescribeMessageList.
808
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeMessageListRequest`
809
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeMessageListResponse`
810
+ def DescribeMessageList(request)
811
+ body = send_request('DescribeMessageList', request.serialize)
812
+ response = JSON.parse(body)
813
+ if response['Response'].key?('Error') == false
814
+ model = DescribeMessageListResponse.new
815
+ model.deserialize(response['Response'])
816
+ model
817
+ else
818
+ code = response['Response']['Error']['Code']
819
+ message = response['Response']['Error']['Message']
820
+ reqid = response['Response']['RequestId']
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
822
+ end
823
+ rescue TencentCloud::Common::TencentCloudSDKException => e
824
+ raise e
825
+ rescue StandardError => e
826
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
827
+ end
828
+
757
829
  # 获取产品售卖规格
758
830
 
759
831
  # @param request: Request instance for DescribeProductSKUList.
@@ -778,6 +850,30 @@ module TencentCloud
778
850
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
779
851
  end
780
852
 
853
+ # 查询共享订阅消息堆积量
854
+
855
+ # @param request: Request instance for DescribeSharedSubscriptionLag.
856
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeSharedSubscriptionLagRequest`
857
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeSharedSubscriptionLagResponse`
858
+ def DescribeSharedSubscriptionLag(request)
859
+ body = send_request('DescribeSharedSubscriptionLag', request.serialize)
860
+ response = JSON.parse(body)
861
+ if response['Response'].key?('Error') == false
862
+ model = DescribeSharedSubscriptionLagResponse.new
863
+ model.deserialize(response['Response'])
864
+ model
865
+ else
866
+ code = response['Response']['Error']['Code']
867
+ message = response['Response']['Error']['Message']
868
+ reqid = response['Response']['RequestId']
869
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
870
+ end
871
+ rescue TencentCloud::Common::TencentCloudSDKException => e
872
+ raise e
873
+ rescue StandardError => e
874
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
875
+ end
876
+
781
877
  # 查询mqtt主题详情
782
878
 
783
879
  # @param request: Request instance for DescribeTopic.
@@ -879,6 +975,30 @@ module TencentCloud
879
975
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
880
976
  end
881
977
 
978
+ # 修改MQTT HTTP 认证器
979
+
980
+ # @param request: Request instance for ModifyHttpAuthenticator.
981
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::ModifyHttpAuthenticatorRequest`
982
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::ModifyHttpAuthenticatorResponse`
983
+ def ModifyHttpAuthenticator(request)
984
+ body = send_request('ModifyHttpAuthenticator', request.serialize)
985
+ response = JSON.parse(body)
986
+ if response['Response'].key?('Error') == false
987
+ model = ModifyHttpAuthenticatorResponse.new
988
+ model.deserialize(response['Response'])
989
+ model
990
+ else
991
+ code = response['Response']['Error']['Code']
992
+ message = response['Response']['Error']['Message']
993
+ reqid = response['Response']['RequestId']
994
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
995
+ end
996
+ rescue TencentCloud::Common::TencentCloudSDKException => e
997
+ raise e
998
+ rescue StandardError => e
999
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1000
+ end
1001
+
882
1002
  # 更新MQTT实例公网接入点
883
1003
 
884
1004
  # @param request: Request instance for ModifyInsPublicEndpoint.
@@ -136,42 +136,30 @@ module TencentCloud
136
136
  # @param InstanceId: 集群ID
137
137
  # @type InstanceId: String
138
138
  # @param PolicyName: 规则名
139
- # 注意:此字段可能返回 null,表示取不到有效值。
140
139
  # @type PolicyName: String
141
140
  # @param Version: 规则语法版本
142
- # 注意:此字段可能返回 null,表示取不到有效值。
143
141
  # @type Version: Integer
144
142
  # @param Priority: 越小越优先
145
- # 注意:此字段可能返回 null,表示取不到有效值。
146
143
  # @type Priority: Integer
147
144
  # @param Effect: allow/deny
148
- # 注意:此字段可能返回 null,表示取不到有效值。
149
145
  # @type Effect: String
150
146
  # @param Actions: connect、pub、sub
151
- # 注意:此字段可能返回 null,表示取不到有效值。
152
147
  # @type Actions: String
153
148
  # @param Resources: 资源
154
- # 注意:此字段可能返回 null,表示取不到有效值。
155
149
  # @type Resources: String
156
150
  # @param ClientId: client
157
- # 注意:此字段可能返回 null,表示取不到有效值。
158
151
  # @type ClientId: String
159
152
  # @param Username: 用户
160
- # 注意:此字段可能返回 null,表示取不到有效值。
161
153
  # @type Username: String
162
154
  # @param Ip: IP地址
163
- # 注意:此字段可能返回 null,表示取不到有效值。
164
155
  # @type Ip: String
165
156
  # @param Qos: 0,1,2
166
- # 注意:此字段可能返回 null,表示取不到有效值。
167
157
  # @type Qos: String
168
158
  # @param Retain: 1:表示匹配retain消息
169
159
  # 2:表示匹配非retain消息
170
160
  # 3:表示匹配retain和非retain消息
171
- # 注意:此字段可能返回 null,表示取不到有效值。
172
161
  # @type Retain: Integer
173
162
  # @param Remark: 描述
174
- # 注意:此字段可能返回 null,表示取不到有效值。
175
163
  # @type Remark: String
176
164
  # @param CreatedTime: 1713164969433
177
165
  # @type CreatedTime: Integer
@@ -222,10 +210,8 @@ module TencentCloud
222
210
  # 策略规则优先级
223
211
  class AuthorizationPolicyPriority < TencentCloud::Common::AbstractModel
224
212
  # @param Id: 策略id
225
- # 注意:此字段可能返回 null,表示取不到有效值。
226
213
  # @type Id: Integer
227
214
  # @param Priority: 优先级
228
- # 注意:此字段可能返回 null,表示取不到有效值。
229
215
  # @type Priority: Integer
230
216
 
231
217
  attr_accessor :Id, :Priority
@@ -241,6 +227,26 @@ module TencentCloud
241
227
  end
242
228
  end
243
229
 
230
+ # HTTP 认证器body
231
+ class BodyItem < TencentCloud::Common::AbstractModel
232
+ # @param Key: body key
233
+ # @type Key: String
234
+ # @param Value: body key
235
+ # @type Value: String
236
+
237
+ attr_accessor :Key, :Value
238
+
239
+ def initialize(key=nil, value=nil)
240
+ @Key = key
241
+ @Value = value
242
+ end
243
+
244
+ def deserialize(params)
245
+ @Key = params['Key']
246
+ @Value = params['Value']
247
+ end
248
+ end
249
+
244
250
  # CA证书信息
245
251
  class CaCertificateItem < TencentCloud::Common::AbstractModel
246
252
  # @param CaCn: common name
@@ -254,28 +260,20 @@ module TencentCloud
254
260
  # @param VerificationCertificate: 验证证书内容
255
261
  # @type VerificationCertificate: String
256
262
  # @param Status: ca状态
257
- # 注意:此字段可能返回 null,表示取不到有效值。
258
263
  # @type Status: String
259
264
  # @param LastActivationTime: 上次激活时间
260
- # 注意:此字段可能返回 null,表示取不到有效值。
261
265
  # @type LastActivationTime: Integer
262
266
  # @param CreatedTime: 创建时间
263
- # 注意:此字段可能返回 null,表示取不到有效值。
264
267
  # @type CreatedTime: Integer
265
268
  # @param UpdateTime: 预销毁时间
266
- # 注意:此字段可能返回 null,表示取不到有效值。
267
269
  # @type UpdateTime: Integer
268
270
  # @param LastInactivationTime: 上次去激活时间
269
- # 注意:此字段可能返回 null,表示取不到有效值。
270
271
  # @type LastInactivationTime: Integer
271
272
  # @param CaIssuerCn: Ca证书颁发者CN
272
- # 注意:此字段可能返回 null,表示取不到有效值。
273
273
  # @type CaIssuerCn: String
274
274
  # @param NotBeforeTime: 生效时间
275
- # 注意:此字段可能返回 null,表示取不到有效值。
276
275
  # @type NotBeforeTime: Integer
277
276
  # @param NotAfterTime: 失效时间
278
- # 注意:此字段可能返回 null,表示取不到有效值。
279
277
  # @type NotAfterTime: Integer
280
278
 
281
279
  attr_accessor :CaCn, :CaCertificate, :CaSn, :Format, :VerificationCertificate, :Status, :LastActivationTime, :CreatedTime, :UpdateTime, :LastInactivationTime, :CaIssuerCn, :NotBeforeTime, :NotAfterTime
@@ -393,6 +391,88 @@ module TencentCloud
393
391
  end
394
392
  end
395
393
 
394
+ # CreateHttpAuthenticator请求参数结构体
395
+ class CreateHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
396
+ # @param InstanceId: 实例ID
397
+ # @type InstanceId: String
398
+ # @param Endpoint: jwks端点
399
+ # @type Endpoint: String
400
+ # @param Concurrency: 最大并发连接数,默认8,范围:1-20
401
+ # @type Concurrency: Integer
402
+ # @param Method: 网络请求方法 Get 或 Post,默认post
403
+ # @type Method: String
404
+ # @param Status: 认证器是否开启:open-启用;close-关闭
405
+ # @type Status: String
406
+ # @param Remark: 说明
407
+ # @type Remark: String
408
+ # @param ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
409
+ # @type ConnectTimeout: Integer
410
+ # @param ReadTimeout: 请求超时时间,单位:秒,范围:1-30
411
+ # @type ReadTimeout: Integer
412
+ # @param Header: 转发请求header
413
+ # @type Header: Array
414
+ # @param Body: 转发请求body
415
+ # @type Body: Array
416
+
417
+ attr_accessor :InstanceId, :Endpoint, :Concurrency, :Method, :Status, :Remark, :ConnectTimeout, :ReadTimeout, :Header, :Body
418
+
419
+ def initialize(instanceid=nil, endpoint=nil, concurrency=nil, method=nil, status=nil, remark=nil, connecttimeout=nil, readtimeout=nil, header=nil, body=nil)
420
+ @InstanceId = instanceid
421
+ @Endpoint = endpoint
422
+ @Concurrency = concurrency
423
+ @Method = method
424
+ @Status = status
425
+ @Remark = remark
426
+ @ConnectTimeout = connecttimeout
427
+ @ReadTimeout = readtimeout
428
+ @Header = header
429
+ @Body = body
430
+ end
431
+
432
+ def deserialize(params)
433
+ @InstanceId = params['InstanceId']
434
+ @Endpoint = params['Endpoint']
435
+ @Concurrency = params['Concurrency']
436
+ @Method = params['Method']
437
+ @Status = params['Status']
438
+ @Remark = params['Remark']
439
+ @ConnectTimeout = params['ConnectTimeout']
440
+ @ReadTimeout = params['ReadTimeout']
441
+ unless params['Header'].nil?
442
+ @Header = []
443
+ params['Header'].each do |i|
444
+ headeritem_tmp = HeaderItem.new
445
+ headeritem_tmp.deserialize(i)
446
+ @Header << headeritem_tmp
447
+ end
448
+ end
449
+ unless params['Body'].nil?
450
+ @Body = []
451
+ params['Body'].each do |i|
452
+ bodyitem_tmp = BodyItem.new
453
+ bodyitem_tmp.deserialize(i)
454
+ @Body << bodyitem_tmp
455
+ end
456
+ end
457
+ end
458
+ end
459
+
460
+ # CreateHttpAuthenticator返回参数结构体
461
+ class CreateHttpAuthenticatorResponse < TencentCloud::Common::AbstractModel
462
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
463
+ # @type RequestId: String
464
+
465
+ attr_accessor :RequestId
466
+
467
+ def initialize(requestid=nil)
468
+ @RequestId = requestid
469
+ end
470
+
471
+ def deserialize(params)
472
+ @RequestId = params['RequestId']
473
+ end
474
+ end
475
+
396
476
  # CreateInsPublicEndpoint请求参数结构体
397
477
  class CreateInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
398
478
  # @param InstanceId: 实例ID
@@ -1237,7 +1317,6 @@ module TencentCloud
1237
1317
  # @param Format: 证书格式
1238
1318
  # @type Format: String
1239
1319
  # @param CaIssuerCn: Ca证书颁发者CN
1240
- # 注意:此字段可能返回 null,表示取不到有效值。
1241
1320
  # @type CaIssuerCn: String
1242
1321
  # @param NotBeforeTime: 生效开始时间
1243
1322
  # @type NotBeforeTime: Integer
@@ -1322,6 +1401,57 @@ module TencentCloud
1322
1401
  end
1323
1402
  end
1324
1403
 
1404
+ # DescribeClientList请求参数结构体
1405
+ class DescribeClientListRequest < TencentCloud::Common::AbstractModel
1406
+ # @param InstanceId: 实例ID
1407
+ # @type InstanceId: String
1408
+ # @param ClientId: 客户端名
1409
+ # @type ClientId: String
1410
+ # @param Number: 客户端数量限制,最大1024,默认1024
1411
+ # @type Number: String
1412
+
1413
+ attr_accessor :InstanceId, :ClientId, :Number
1414
+
1415
+ def initialize(instanceid=nil, clientid=nil, number=nil)
1416
+ @InstanceId = instanceid
1417
+ @ClientId = clientid
1418
+ @Number = number
1419
+ end
1420
+
1421
+ def deserialize(params)
1422
+ @InstanceId = params['InstanceId']
1423
+ @ClientId = params['ClientId']
1424
+ @Number = params['Number']
1425
+ end
1426
+ end
1427
+
1428
+ # DescribeClientList返回参数结构体
1429
+ class DescribeClientListResponse < TencentCloud::Common::AbstractModel
1430
+ # @param Clients: 客户端列表
1431
+ # @type Clients: Array
1432
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1433
+ # @type RequestId: String
1434
+
1435
+ attr_accessor :Clients, :RequestId
1436
+
1437
+ def initialize(clients=nil, requestid=nil)
1438
+ @Clients = clients
1439
+ @RequestId = requestid
1440
+ end
1441
+
1442
+ def deserialize(params)
1443
+ unless params['Clients'].nil?
1444
+ @Clients = []
1445
+ params['Clients'].each do |i|
1446
+ mqttclientinfo_tmp = MQTTClientInfo.new
1447
+ mqttclientinfo_tmp.deserialize(i)
1448
+ @Clients << mqttclientinfo_tmp
1449
+ end
1450
+ end
1451
+ @RequestId = params['RequestId']
1452
+ end
1453
+ end
1454
+
1325
1455
  # DescribeDeviceCertificate请求参数结构体
1326
1456
  class DescribeDeviceCertificateRequest < TencentCloud::Common::AbstractModel
1327
1457
  # @param DeviceCertificateSn: 设备证书sn
@@ -1367,19 +1497,20 @@ module TencentCloud
1367
1497
  # @param Format: 证书格式
1368
1498
  # @type Format: String
1369
1499
  # @param ClientId: 客户端id
1370
- # 注意:此字段可能返回 null,表示取不到有效值。
1371
1500
  # @type ClientId: String
1372
1501
  # @param CertificateSource: API, 手动注册
1373
1502
  # JITP 自动注册
1374
1503
  # @type CertificateSource: String
1375
1504
  # @param NotBeforeTime: 证书生效开始时间
1376
1505
  # @type NotBeforeTime: Integer
1506
+ # @param OrganizationalUnit: 组织单位
1507
+ # @type OrganizationalUnit: String
1377
1508
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1378
1509
  # @type RequestId: String
1379
1510
 
1380
- attr_accessor :CreatedTime, :UpdateTime, :NotAfterTime, :LastActivationTime, :LastInactivationTime, :Status, :CaSn, :DeviceCertificateSn, :DeviceCertificate, :DeviceCertificateCn, :Format, :ClientId, :CertificateSource, :NotBeforeTime, :RequestId
1511
+ attr_accessor :CreatedTime, :UpdateTime, :NotAfterTime, :LastActivationTime, :LastInactivationTime, :Status, :CaSn, :DeviceCertificateSn, :DeviceCertificate, :DeviceCertificateCn, :Format, :ClientId, :CertificateSource, :NotBeforeTime, :OrganizationalUnit, :RequestId
1381
1512
 
1382
- def initialize(createdtime=nil, updatetime=nil, notaftertime=nil, lastactivationtime=nil, lastinactivationtime=nil, status=nil, casn=nil, devicecertificatesn=nil, devicecertificate=nil, devicecertificatecn=nil, format=nil, clientid=nil, certificatesource=nil, notbeforetime=nil, requestid=nil)
1513
+ def initialize(createdtime=nil, updatetime=nil, notaftertime=nil, lastactivationtime=nil, lastinactivationtime=nil, status=nil, casn=nil, devicecertificatesn=nil, devicecertificate=nil, devicecertificatecn=nil, format=nil, clientid=nil, certificatesource=nil, notbeforetime=nil, organizationalunit=nil, requestid=nil)
1383
1514
  @CreatedTime = createdtime
1384
1515
  @UpdateTime = updatetime
1385
1516
  @NotAfterTime = notaftertime
@@ -1394,6 +1525,7 @@ module TencentCloud
1394
1525
  @ClientId = clientid
1395
1526
  @CertificateSource = certificatesource
1396
1527
  @NotBeforeTime = notbeforetime
1528
+ @OrganizationalUnit = organizationalunit
1397
1529
  @RequestId = requestid
1398
1530
  end
1399
1531
 
@@ -1412,6 +1544,7 @@ module TencentCloud
1412
1544
  @ClientId = params['ClientId']
1413
1545
  @CertificateSource = params['CertificateSource']
1414
1546
  @NotBeforeTime = params['NotBeforeTime']
1547
+ @OrganizationalUnit = params['OrganizationalUnit']
1415
1548
  @RequestId = params['RequestId']
1416
1549
  end
1417
1550
  end
@@ -1651,7 +1784,6 @@ module TencentCloud
1651
1784
  # DescribeInstanceList返回参数结构体
1652
1785
  class DescribeInstanceListResponse < TencentCloud::Common::AbstractModel
1653
1786
  # @param TotalCount: 查询总数
1654
- # 注意:此字段可能返回 null,表示取不到有效值。
1655
1787
  # @type TotalCount: Integer
1656
1788
  # @param Data: 实例列表
1657
1789
  # @type Data: Array
@@ -1808,6 +1940,81 @@ module TencentCloud
1808
1940
  end
1809
1941
  end
1810
1942
 
1943
+ # DescribeMessageList请求参数结构体
1944
+ class DescribeMessageListRequest < TencentCloud::Common::AbstractModel
1945
+ # @param InstanceId: 实例ID
1946
+ # @type InstanceId: String
1947
+ # @param Topic: 主题
1948
+ # @type Topic: String
1949
+ # @param StartTime: 开始时间
1950
+ # @type StartTime: Integer
1951
+ # @param EndTime: 结束时间
1952
+ # @type EndTime: Integer
1953
+ # @param TaskRequestId: 请求任务id
1954
+ # @type TaskRequestId: String
1955
+ # @param Offset: 查询起始位置
1956
+ # @type Offset: Integer
1957
+ # @param Limit: 查询结果限制数量
1958
+ # @type Limit: Integer
1959
+
1960
+ attr_accessor :InstanceId, :Topic, :StartTime, :EndTime, :TaskRequestId, :Offset, :Limit
1961
+
1962
+ def initialize(instanceid=nil, topic=nil, starttime=nil, endtime=nil, taskrequestid=nil, offset=nil, limit=nil)
1963
+ @InstanceId = instanceid
1964
+ @Topic = topic
1965
+ @StartTime = starttime
1966
+ @EndTime = endtime
1967
+ @TaskRequestId = taskrequestid
1968
+ @Offset = offset
1969
+ @Limit = limit
1970
+ end
1971
+
1972
+ def deserialize(params)
1973
+ @InstanceId = params['InstanceId']
1974
+ @Topic = params['Topic']
1975
+ @StartTime = params['StartTime']
1976
+ @EndTime = params['EndTime']
1977
+ @TaskRequestId = params['TaskRequestId']
1978
+ @Offset = params['Offset']
1979
+ @Limit = params['Limit']
1980
+ end
1981
+ end
1982
+
1983
+ # DescribeMessageList返回参数结构体
1984
+ class DescribeMessageListResponse < TencentCloud::Common::AbstractModel
1985
+ # @param TotalCount: 查询总数
1986
+ # @type TotalCount: Integer
1987
+ # @param Data: 消息记录列表
1988
+ # @type Data: Array
1989
+ # @param TaskRequestId: 请求任务id
1990
+ # @type TaskRequestId: String
1991
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1992
+ # @type RequestId: String
1993
+
1994
+ attr_accessor :TotalCount, :Data, :TaskRequestId, :RequestId
1995
+
1996
+ def initialize(totalcount=nil, data=nil, taskrequestid=nil, requestid=nil)
1997
+ @TotalCount = totalcount
1998
+ @Data = data
1999
+ @TaskRequestId = taskrequestid
2000
+ @RequestId = requestid
2001
+ end
2002
+
2003
+ def deserialize(params)
2004
+ @TotalCount = params['TotalCount']
2005
+ unless params['Data'].nil?
2006
+ @Data = []
2007
+ params['Data'].each do |i|
2008
+ mqttmessageitem_tmp = MQTTMessageItem.new
2009
+ mqttmessageitem_tmp.deserialize(i)
2010
+ @Data << mqttmessageitem_tmp
2011
+ end
2012
+ end
2013
+ @TaskRequestId = params['TaskRequestId']
2014
+ @RequestId = params['RequestId']
2015
+ end
2016
+ end
2017
+
1811
2018
  # DescribeProductSKUList请求参数结构体
1812
2019
  class DescribeProductSKUListRequest < TencentCloud::Common::AbstractModel
1813
2020
 
@@ -1822,10 +2029,8 @@ module TencentCloud
1822
2029
  # DescribeProductSKUList返回参数结构体
1823
2030
  class DescribeProductSKUListResponse < TencentCloud::Common::AbstractModel
1824
2031
  # @param TotalCount: 查询总数
1825
- # 注意:此字段可能返回 null,表示取不到有效值。
1826
2032
  # @type TotalCount: Integer
1827
2033
  # @param MQTTProductSkuList: mqtt商品配置信息
1828
- # 注意:此字段可能返回 null,表示取不到有效值。
1829
2034
  # @type MQTTProductSkuList: Array
1830
2035
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1831
2036
  # @type RequestId: String
@@ -1852,6 +2057,46 @@ module TencentCloud
1852
2057
  end
1853
2058
  end
1854
2059
 
2060
+ # DescribeSharedSubscriptionLag请求参数结构体
2061
+ class DescribeSharedSubscriptionLagRequest < TencentCloud::Common::AbstractModel
2062
+ # @param InstanceId: 集群id
2063
+ # @type InstanceId: String
2064
+ # @param SharedSubscription: 共享订阅表达式
2065
+ # @type SharedSubscription: String
2066
+
2067
+ attr_accessor :InstanceId, :SharedSubscription
2068
+
2069
+ def initialize(instanceid=nil, sharedsubscription=nil)
2070
+ @InstanceId = instanceid
2071
+ @SharedSubscription = sharedsubscription
2072
+ end
2073
+
2074
+ def deserialize(params)
2075
+ @InstanceId = params['InstanceId']
2076
+ @SharedSubscription = params['SharedSubscription']
2077
+ end
2078
+ end
2079
+
2080
+ # DescribeSharedSubscriptionLag返回参数结构体
2081
+ class DescribeSharedSubscriptionLagResponse < TencentCloud::Common::AbstractModel
2082
+ # @param Lag: 堆积值
2083
+ # @type Lag: Integer
2084
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2085
+ # @type RequestId: String
2086
+
2087
+ attr_accessor :Lag, :RequestId
2088
+
2089
+ def initialize(lag=nil, requestid=nil)
2090
+ @Lag = lag
2091
+ @RequestId = requestid
2092
+ end
2093
+
2094
+ def deserialize(params)
2095
+ @Lag = params['Lag']
2096
+ @RequestId = params['RequestId']
2097
+ end
2098
+ end
2099
+
1855
2100
  # DescribeTopicList请求参数结构体
1856
2101
  class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
1857
2102
  # @param InstanceId: 实例ID
@@ -1891,7 +2136,6 @@ module TencentCloud
1891
2136
  # DescribeTopicList返回参数结构体
1892
2137
  class DescribeTopicListResponse < TencentCloud::Common::AbstractModel
1893
2138
  # @param TotalCount: 查询总数
1894
- # 注意:此字段可能返回 null,表示取不到有效值。
1895
2139
  # @type TotalCount: Integer
1896
2140
  # @param Data: 主题列表
1897
2141
  # @type Data: Array
@@ -2011,7 +2255,6 @@ module TencentCloud
2011
2255
  # DescribeUserList返回参数结构体
2012
2256
  class DescribeUserListResponse < TencentCloud::Common::AbstractModel
2013
2257
  # @param TotalCount: 查询总数
2014
- # 注意:此字段可能返回 null,表示取不到有效值。
2015
2258
  # @type TotalCount: Integer
2016
2259
  # @param Data: 角色信息列表
2017
2260
  # @type Data: Array
@@ -2043,7 +2286,6 @@ module TencentCloud
2043
2286
  # 设备证书信息
2044
2287
  class DeviceCertificateItem < TencentCloud::Common::AbstractModel
2045
2288
  # @param ClientId: 客户端id
2046
- # 注意:此字段可能返回 null,表示取不到有效值。
2047
2289
  # @type ClientId: String
2048
2290
  # @param DeviceCertificate: 设备证书
2049
2291
  # @type DeviceCertificate: String
@@ -2061,32 +2303,28 @@ module TencentCloud
2061
2303
  # REVOKED,//吊销
2062
2304
  # PENDING_ACTIVATION,//注册待激活
2063
2305
  # @type Status: String
2306
+ # @param OrganizationalUnit: 组织单位
2307
+ # @type OrganizationalUnit: String
2064
2308
  # @param LastActivationTime: 上次激活时间
2065
- # 注意:此字段可能返回 null,表示取不到有效值。
2066
2309
  # @type LastActivationTime: Integer
2067
2310
  # @param LastInactivationTime: 上次取消激活时间
2068
- # 注意:此字段可能返回 null,表示取不到有效值。
2069
2311
  # @type LastInactivationTime: Integer
2070
2312
  # @param CreatedTime: 创建时间
2071
2313
  # @type CreatedTime: Integer
2072
2314
  # @param UpdateTime: 预销毁时间
2073
- # 注意:此字段可能返回 null,表示取不到有效值。
2074
2315
  # @type UpdateTime: Integer
2075
2316
  # @param CertificateSource: 证书来源:
2076
2317
  # API, 手动注册
2077
2318
  # JITP 自动注册
2078
- # 注意:此字段可能返回 null,表示取不到有效值。
2079
2319
  # @type CertificateSource: String
2080
2320
  # @param NotAfterTime: 证书失效日期
2081
- # 注意:此字段可能返回 null,表示取不到有效值。
2082
2321
  # @type NotAfterTime: Integer
2083
2322
  # @param NotBeforeTime: 证书生效开始日期
2084
- # 注意:此字段可能返回 null,表示取不到有效值。
2085
2323
  # @type NotBeforeTime: Integer
2086
2324
 
2087
- attr_accessor :ClientId, :DeviceCertificate, :DeviceCertificateSn, :DeviceCertificateCn, :CaSn, :Format, :Status, :LastActivationTime, :LastInactivationTime, :CreatedTime, :UpdateTime, :CertificateSource, :NotAfterTime, :NotBeforeTime
2325
+ attr_accessor :ClientId, :DeviceCertificate, :DeviceCertificateSn, :DeviceCertificateCn, :CaSn, :Format, :Status, :OrganizationalUnit, :LastActivationTime, :LastInactivationTime, :CreatedTime, :UpdateTime, :CertificateSource, :NotAfterTime, :NotBeforeTime
2088
2326
 
2089
- def initialize(clientid=nil, devicecertificate=nil, devicecertificatesn=nil, devicecertificatecn=nil, casn=nil, format=nil, status=nil, lastactivationtime=nil, lastinactivationtime=nil, createdtime=nil, updatetime=nil, certificatesource=nil, notaftertime=nil, notbeforetime=nil)
2327
+ def initialize(clientid=nil, devicecertificate=nil, devicecertificatesn=nil, devicecertificatecn=nil, casn=nil, format=nil, status=nil, organizationalunit=nil, lastactivationtime=nil, lastinactivationtime=nil, createdtime=nil, updatetime=nil, certificatesource=nil, notaftertime=nil, notbeforetime=nil)
2090
2328
  @ClientId = clientid
2091
2329
  @DeviceCertificate = devicecertificate
2092
2330
  @DeviceCertificateSn = devicecertificatesn
@@ -2094,6 +2332,7 @@ module TencentCloud
2094
2332
  @CaSn = casn
2095
2333
  @Format = format
2096
2334
  @Status = status
2335
+ @OrganizationalUnit = organizationalunit
2097
2336
  @LastActivationTime = lastactivationtime
2098
2337
  @LastInactivationTime = lastinactivationtime
2099
2338
  @CreatedTime = createdtime
@@ -2111,6 +2350,7 @@ module TencentCloud
2111
2350
  @CaSn = params['CaSn']
2112
2351
  @Format = params['Format']
2113
2352
  @Status = params['Status']
2353
+ @OrganizationalUnit = params['OrganizationalUnit']
2114
2354
  @LastActivationTime = params['LastActivationTime']
2115
2355
  @LastInactivationTime = params['LastInactivationTime']
2116
2356
  @CreatedTime = params['CreatedTime']
@@ -2141,6 +2381,26 @@ module TencentCloud
2141
2381
  end
2142
2382
  end
2143
2383
 
2384
+ # HTTP 认证器header
2385
+ class HeaderItem < TencentCloud::Common::AbstractModel
2386
+ # @param Key: header key
2387
+ # @type Key: String
2388
+ # @param Value: header value
2389
+ # @type Value: String
2390
+
2391
+ attr_accessor :Key, :Value
2392
+
2393
+ def initialize(key=nil, value=nil)
2394
+ @Key = key
2395
+ @Value = value
2396
+ end
2397
+
2398
+ def deserialize(params)
2399
+ @Key = params['Key']
2400
+ @Value = params['Value']
2401
+ end
2402
+ end
2403
+
2144
2404
  # IP规则
2145
2405
  class IpRule < TencentCloud::Common::AbstractModel
2146
2406
  # @param Ip: IP地址
@@ -2148,7 +2408,6 @@ module TencentCloud
2148
2408
  # @param Allow: 是否允许放行
2149
2409
  # @type Allow: Boolean
2150
2410
  # @param Remark: 备注信息
2151
- # 注意:此字段可能返回 null,表示取不到有效值。
2152
2411
  # @type Remark: String
2153
2412
 
2154
2413
  attr_accessor :Ip, :Allow, :Remark
@@ -2169,19 +2428,14 @@ module TencentCloud
2169
2428
  # MQTT认证器信息
2170
2429
  class MQTTAuthenticatorItem < TencentCloud::Common::AbstractModel
2171
2430
  # @param Type: 认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 BYOC:一端一证认证器
2172
- # 注意:此字段可能返回 null,表示取不到有效值。
2173
2431
  # @type Type: String
2174
2432
  # @param Config: 认证器配置
2175
- # 注意:此字段可能返回 null,表示取不到有效值。
2176
2433
  # @type Config: String
2177
2434
  # @param Status: 认证器状态
2178
- # 注意:此字段可能返回 null,表示取不到有效值。
2179
2435
  # @type Status: String
2180
2436
  # @param CreateTime: 创建时间
2181
- # 注意:此字段可能返回 null,表示取不到有效值。
2182
2437
  # @type CreateTime: Integer
2183
2438
  # @param Remark: 说明
2184
- # 注意:此字段可能返回 null,表示取不到有效值。
2185
2439
  # @type Remark: String
2186
2440
 
2187
2441
  attr_accessor :Type, :Config, :Status, :CreateTime, :Remark
@@ -2203,28 +2457,104 @@ module TencentCloud
2203
2457
  end
2204
2458
  end
2205
2459
 
2460
+ # MQTT客户端信息
2461
+ class MQTTClientInfo < TencentCloud::Common::AbstractModel
2462
+ # @param ClientId: 客户端唯一标识
2463
+ # @type ClientId: String
2464
+ # @param ClientAddress: 客户端网络地址
2465
+ # @type ClientAddress: String
2466
+ # @param ProtocolVersion: MQTT 协议版本,4 表示 MQTT 3.1.1
2467
+ # @type ProtocolVersion: Integer
2468
+ # @param Keepalive: 保持连接时间,单位:秒
2469
+ # @type Keepalive: Integer
2470
+ # @param ConnectionStatus: 连接状态,CONNECTED 已连接,DISCONNECTED 未连接
2471
+ # @type ConnectionStatus: String
2472
+ # @param CreateTime: 客户端创建时间
2473
+ # @type CreateTime: Integer
2474
+ # @param ConnectTime: 上次建立连接时间
2475
+ # @type ConnectTime: Integer
2476
+ # @param DisconnectTime: 上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义
2477
+ # @type DisconnectTime: Integer
2478
+ # @param MQTTClientSubscriptions: 客户端的订阅列表
2479
+ # @type MQTTClientSubscriptions: Array
2480
+
2481
+ attr_accessor :ClientId, :ClientAddress, :ProtocolVersion, :Keepalive, :ConnectionStatus, :CreateTime, :ConnectTime, :DisconnectTime, :MQTTClientSubscriptions
2482
+
2483
+ def initialize(clientid=nil, clientaddress=nil, protocolversion=nil, keepalive=nil, connectionstatus=nil, createtime=nil, connecttime=nil, disconnecttime=nil, mqttclientsubscriptions=nil)
2484
+ @ClientId = clientid
2485
+ @ClientAddress = clientaddress
2486
+ @ProtocolVersion = protocolversion
2487
+ @Keepalive = keepalive
2488
+ @ConnectionStatus = connectionstatus
2489
+ @CreateTime = createtime
2490
+ @ConnectTime = connecttime
2491
+ @DisconnectTime = disconnecttime
2492
+ @MQTTClientSubscriptions = mqttclientsubscriptions
2493
+ end
2494
+
2495
+ def deserialize(params)
2496
+ @ClientId = params['ClientId']
2497
+ @ClientAddress = params['ClientAddress']
2498
+ @ProtocolVersion = params['ProtocolVersion']
2499
+ @Keepalive = params['Keepalive']
2500
+ @ConnectionStatus = params['ConnectionStatus']
2501
+ @CreateTime = params['CreateTime']
2502
+ @ConnectTime = params['ConnectTime']
2503
+ @DisconnectTime = params['DisconnectTime']
2504
+ unless params['MQTTClientSubscriptions'].nil?
2505
+ @MQTTClientSubscriptions = []
2506
+ params['MQTTClientSubscriptions'].each do |i|
2507
+ mqttclientsubscription_tmp = MQTTClientSubscription.new
2508
+ mqttclientsubscription_tmp.deserialize(i)
2509
+ @MQTTClientSubscriptions << mqttclientsubscription_tmp
2510
+ end
2511
+ end
2512
+ end
2513
+ end
2514
+
2515
+ # MQTT 订阅关系
2516
+ class MQTTClientSubscription < TencentCloud::Common::AbstractModel
2517
+ # @param TopicFilter: topic 订阅
2518
+ # @type TopicFilter: String
2519
+ # @param Qos: 服务质量等级
2520
+ # @type Qos: Integer
2521
+ # @param Lag: 堆积数量
2522
+ # @type Lag: Integer
2523
+ # @param Inflight: 投递未确认数量
2524
+ # @type Inflight: Integer
2525
+
2526
+ attr_accessor :TopicFilter, :Qos, :Lag, :Inflight
2527
+
2528
+ def initialize(topicfilter=nil, qos=nil, lag=nil, inflight=nil)
2529
+ @TopicFilter = topicfilter
2530
+ @Qos = qos
2531
+ @Lag = lag
2532
+ @Inflight = inflight
2533
+ end
2534
+
2535
+ def deserialize(params)
2536
+ @TopicFilter = params['TopicFilter']
2537
+ @Qos = params['Qos']
2538
+ @Lag = params['Lag']
2539
+ @Inflight = params['Inflight']
2540
+ end
2541
+ end
2542
+
2206
2543
  # MQTTEndpoint
2207
2544
  class MQTTEndpointItem < TencentCloud::Common::AbstractModel
2208
2545
  # @param Type: 类型
2209
- # 注意:此字段可能返回 null,表示取不到有效值。
2210
2546
  # @type Type: String
2211
2547
  # @param Url: 接入点
2212
- # 注意:此字段可能返回 null,表示取不到有效值。
2213
2548
  # @type Url: String
2214
2549
  # @param VpcId: vpc信息
2215
- # 注意:此字段可能返回 null,表示取不到有效值。
2216
2550
  # @type VpcId: String
2217
2551
  # @param SubnetId: 子网信息
2218
- # 注意:此字段可能返回 null,表示取不到有效值。
2219
2552
  # @type SubnetId: String
2220
2553
  # @param Host: 主机
2221
- # 注意:此字段可能返回 null,表示取不到有效值。
2222
2554
  # @type Host: String
2223
2555
  # @param Port: 端口
2224
- # 注意:此字段可能返回 null,表示取不到有效值。
2225
2556
  # @type Port: Integer
2226
2557
  # @param Ip: 接入点ip
2227
- # 注意:此字段可能返回 null,表示取不到有效值。
2228
2558
  # @type Ip: String
2229
2559
 
2230
2560
  attr_accessor :Type, :Url, :VpcId, :SubnetId, :Host, :Port, :Ip
@@ -2279,44 +2609,32 @@ module TencentCloud
2279
2609
  # @param TopicNumLimit: 实例主题数上限
2280
2610
  # @type TopicNumLimit: Integer
2281
2611
  # @param Remark: 备注信息
2282
- # 注意:此字段可能返回 null,表示取不到有效值。
2283
2612
  # @type Remark: String
2284
2613
  # @param TopicNum: 主题数量
2285
2614
  # @type TopicNum: Integer
2286
2615
  # @param SkuCode: 商品规格
2287
2616
  # @type SkuCode: String
2288
2617
  # @param TpsLimit: 弹性TPS限流值
2289
- # 注意:此字段可能返回 null,表示取不到有效值。
2290
2618
  # @type TpsLimit: Integer
2291
2619
  # @param CreateTime: 创建时间
2292
- # 注意:此字段可能返回 null,表示取不到有效值。
2293
2620
  # @type CreateTime: Integer
2294
2621
  # @param MaxSubscriptionPerClient: 单客户端最大订阅数量
2295
- # 注意:此字段可能返回 null,表示取不到有效值。
2296
2622
  # @type MaxSubscriptionPerClient: Integer
2297
2623
  # @param ClientNumLimit: 客户端连接数上线
2298
- # 注意:此字段可能返回 null,表示取不到有效值。
2299
2624
  # @type ClientNumLimit: Integer
2300
2625
  # @param RenewFlag: 是否自动续费
2301
- # 注意:此字段可能返回 null,表示取不到有效值。
2302
2626
  # @type RenewFlag: Integer
2303
2627
  # @param PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
2304
- # 注意:此字段可能返回 null,表示取不到有效值。
2305
2628
  # @type PayMode: String
2306
2629
  # @param ExpiryTime: 到期时间,秒为单位
2307
- # 注意:此字段可能返回 null,表示取不到有效值。
2308
2630
  # @type ExpiryTime: Integer
2309
2631
  # @param DestroyTime: 预销毁时间
2310
- # 注意:此字段可能返回 null,表示取不到有效值。
2311
2632
  # @type DestroyTime: Integer
2312
2633
  # @param AuthorizationPolicyLimit: 授权规则条数限制
2313
- # 注意:此字段可能返回 null,表示取不到有效值。
2314
2634
  # @type AuthorizationPolicyLimit: Integer
2315
2635
  # @param MaxCaNum: 最大ca配额
2316
- # 注意:此字段可能返回 null,表示取不到有效值。
2317
2636
  # @type MaxCaNum: Integer
2318
2637
  # @param MaxSubscription: 最大订阅数
2319
- # 注意:此字段可能返回 null,表示取不到有效值。
2320
2638
  # @type MaxSubscription: Integer
2321
2639
 
2322
2640
  attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :Remark, :TopicNum, :SkuCode, :TpsLimit, :CreateTime, :MaxSubscriptionPerClient, :ClientNumLimit, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :AuthorizationPolicyLimit, :MaxCaNum, :MaxSubscription
@@ -2368,6 +2686,54 @@ module TencentCloud
2368
2686
  end
2369
2687
  end
2370
2688
 
2689
+ # 消息记录
2690
+ class MQTTMessageItem < TencentCloud::Common::AbstractModel
2691
+ # @param MsgId: 消息ID
2692
+ # @type MsgId: String
2693
+ # @param Tags: 消息tag
2694
+ # @type Tags: String
2695
+ # @param Keys: 消息key
2696
+ # @type Keys: String
2697
+ # @param ProducerAddr: 客户端地址
2698
+ # @type ProducerAddr: String
2699
+ # @param ProduceTime: 消息发送时间
2700
+ # @type ProduceTime: String
2701
+ # @param DeadLetterResendTimes: 死信重发次数
2702
+ # @type DeadLetterResendTimes: Integer
2703
+ # @param DeadLetterResendSuccessTimes: 死信重发成功次数
2704
+ # @type DeadLetterResendSuccessTimes: Integer
2705
+ # @param SubTopic: 子topic
2706
+ # @type SubTopic: String
2707
+ # @param Qos: 消息质量等级
2708
+ # @type Qos: String
2709
+
2710
+ attr_accessor :MsgId, :Tags, :Keys, :ProducerAddr, :ProduceTime, :DeadLetterResendTimes, :DeadLetterResendSuccessTimes, :SubTopic, :Qos
2711
+
2712
+ def initialize(msgid=nil, tags=nil, keys=nil, produceraddr=nil, producetime=nil, deadletterresendtimes=nil, deadletterresendsuccesstimes=nil, subtopic=nil, qos=nil)
2713
+ @MsgId = msgid
2714
+ @Tags = tags
2715
+ @Keys = keys
2716
+ @ProducerAddr = produceraddr
2717
+ @ProduceTime = producetime
2718
+ @DeadLetterResendTimes = deadletterresendtimes
2719
+ @DeadLetterResendSuccessTimes = deadletterresendsuccesstimes
2720
+ @SubTopic = subtopic
2721
+ @Qos = qos
2722
+ end
2723
+
2724
+ def deserialize(params)
2725
+ @MsgId = params['MsgId']
2726
+ @Tags = params['Tags']
2727
+ @Keys = params['Keys']
2728
+ @ProducerAddr = params['ProducerAddr']
2729
+ @ProduceTime = params['ProduceTime']
2730
+ @DeadLetterResendTimes = params['DeadLetterResendTimes']
2731
+ @DeadLetterResendSuccessTimes = params['DeadLetterResendSuccessTimes']
2732
+ @SubTopic = params['SubTopic']
2733
+ @Qos = params['Qos']
2734
+ end
2735
+ end
2736
+
2371
2737
  # MQTT 主题详情
2372
2738
  class MQTTTopicItem < TencentCloud::Common::AbstractModel
2373
2739
  # @param InstanceId: 实例 ID
@@ -2375,7 +2741,6 @@ module TencentCloud
2375
2741
  # @param Topic: 主题名称
2376
2742
  # @type Topic: String
2377
2743
  # @param Remark: 主题描述
2378
- # 注意:此字段可能返回 null,表示取不到有效值。
2379
2744
  # @type Remark: String
2380
2745
 
2381
2746
  attr_accessor :InstanceId, :Topic, :Remark
@@ -2509,6 +2874,88 @@ module TencentCloud
2509
2874
  end
2510
2875
  end
2511
2876
 
2877
+ # ModifyHttpAuthenticator请求参数结构体
2878
+ class ModifyHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
2879
+ # @param InstanceId: 实例ID
2880
+ # @type InstanceId: String
2881
+ # @param Endpoint: 端点
2882
+ # @type Endpoint: String
2883
+ # @param Status: 认证器状态:open-启用;close-关闭
2884
+ # @type Status: String
2885
+ # @param Concurrency: 最大并发连接数,默认8,范围:1-20
2886
+ # @type Concurrency: Integer
2887
+ # @param ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
2888
+ # @type ConnectTimeout: Integer
2889
+ # @param ReadTimeout: 请求超时时间,单位:秒,范围:1-30
2890
+ # @type ReadTimeout: Integer
2891
+ # @param Remark: 说明
2892
+ # @type Remark: String
2893
+ # @param Method: 请求方法,GET 或者 POST
2894
+ # @type Method: String
2895
+ # @param Header: 请求header
2896
+ # @type Header: Array
2897
+ # @param Body: 请求body
2898
+ # @type Body: Array
2899
+
2900
+ attr_accessor :InstanceId, :Endpoint, :Status, :Concurrency, :ConnectTimeout, :ReadTimeout, :Remark, :Method, :Header, :Body
2901
+
2902
+ def initialize(instanceid=nil, endpoint=nil, status=nil, concurrency=nil, connecttimeout=nil, readtimeout=nil, remark=nil, method=nil, header=nil, body=nil)
2903
+ @InstanceId = instanceid
2904
+ @Endpoint = endpoint
2905
+ @Status = status
2906
+ @Concurrency = concurrency
2907
+ @ConnectTimeout = connecttimeout
2908
+ @ReadTimeout = readtimeout
2909
+ @Remark = remark
2910
+ @Method = method
2911
+ @Header = header
2912
+ @Body = body
2913
+ end
2914
+
2915
+ def deserialize(params)
2916
+ @InstanceId = params['InstanceId']
2917
+ @Endpoint = params['Endpoint']
2918
+ @Status = params['Status']
2919
+ @Concurrency = params['Concurrency']
2920
+ @ConnectTimeout = params['ConnectTimeout']
2921
+ @ReadTimeout = params['ReadTimeout']
2922
+ @Remark = params['Remark']
2923
+ @Method = params['Method']
2924
+ unless params['Header'].nil?
2925
+ @Header = []
2926
+ params['Header'].each do |i|
2927
+ headeritem_tmp = HeaderItem.new
2928
+ headeritem_tmp.deserialize(i)
2929
+ @Header << headeritem_tmp
2930
+ end
2931
+ end
2932
+ unless params['Body'].nil?
2933
+ @Body = []
2934
+ params['Body'].each do |i|
2935
+ bodyitem_tmp = BodyItem.new
2936
+ bodyitem_tmp.deserialize(i)
2937
+ @Body << bodyitem_tmp
2938
+ end
2939
+ end
2940
+ end
2941
+ end
2942
+
2943
+ # ModifyHttpAuthenticator返回参数结构体
2944
+ class ModifyHttpAuthenticatorResponse < TencentCloud::Common::AbstractModel
2945
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2946
+ # @type RequestId: String
2947
+
2948
+ attr_accessor :RequestId
2949
+
2950
+ def initialize(requestid=nil)
2951
+ @RequestId = requestid
2952
+ end
2953
+
2954
+ def deserialize(params)
2955
+ @RequestId = params['RequestId']
2956
+ end
2957
+ end
2958
+
2512
2959
  # ModifyInsPublicEndpoint请求参数结构体
2513
2960
  class ModifyInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
2514
2961
  # @param InstanceId: 实例ID
@@ -2870,7 +3317,6 @@ module TencentCloud
2870
3317
  # @param Code: 计费项标签
2871
3318
  # @type Code: String
2872
3319
  # @param Step: 步长
2873
- # 注意:此字段可能返回 null,表示取不到有效值。
2874
3320
  # @type Step: Integer
2875
3321
 
2876
3322
  attr_accessor :Name, :Category, :Code, :Step
@@ -2895,31 +3341,22 @@ module TencentCloud
2895
3341
  # @param InstanceType: 规格类型
2896
3342
  # BASIC:基础版
2897
3343
  # PRO :专业版
2898
- # 注意:此字段可能返回 null,表示取不到有效值。
2899
3344
  # @type InstanceType: String
2900
3345
  # @param SkuCode: 规格代码
2901
- # 注意:此字段可能返回 null,表示取不到有效值。
2902
3346
  # @type SkuCode: String
2903
3347
  # @param OnSale: 是否售卖
2904
- # 注意:此字段可能返回 null,表示取不到有效值。
2905
3348
  # @type OnSale: Boolean
2906
3349
  # @param TopicNumLimit: topic num限制
2907
- # 注意:此字段可能返回 null,表示取不到有效值。
2908
3350
  # @type TopicNumLimit: Integer
2909
3351
  # @param TpsLimit: tps
2910
- # 注意:此字段可能返回 null,表示取不到有效值。
2911
3352
  # @type TpsLimit: Integer
2912
3353
  # @param ClientNumLimit: 客户端连接数
2913
- # 注意:此字段可能返回 null,表示取不到有效值。
2914
3354
  # @type ClientNumLimit: Integer
2915
3355
  # @param MaxSubscriptionPerClient: 单客户端最大订阅数
2916
- # 注意:此字段可能返回 null,表示取不到有效值。
2917
3356
  # @type MaxSubscriptionPerClient: Integer
2918
3357
  # @param AuthorizationPolicyLimit: 授权规则条数
2919
- # 注意:此字段可能返回 null,表示取不到有效值。
2920
3358
  # @type AuthorizationPolicyLimit: Integer
2921
3359
  # @param PriceTags: 计费项信息
2922
- # 注意:此字段可能返回 null,表示取不到有效值。
2923
3360
  # @type PriceTags: Array
2924
3361
 
2925
3362
  attr_accessor :InstanceType, :SkuCode, :OnSale, :TopicNumLimit, :TpsLimit, :ClientNumLimit, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :PriceTags
@@ -2959,13 +3396,10 @@ module TencentCloud
2959
3396
  # 公网访问安全规则
2960
3397
  class PublicAccessRule < TencentCloud::Common::AbstractModel
2961
3398
  # @param IpRule: ip网段信息
2962
- # 注意:此字段可能返回 null,表示取不到有效值。
2963
3399
  # @type IpRule: String
2964
3400
  # @param Allow: 允许或者拒绝
2965
- # 注意:此字段可能返回 null,表示取不到有效值。
2966
3401
  # @type Allow: Boolean
2967
3402
  # @param Remark: 备注信息
2968
- # 注意:此字段可能返回 null,表示取不到有效值。
2969
3403
  # @type Remark: String
2970
3404
 
2971
3405
  attr_accessor :IpRule, :Allow, :Remark
@@ -3182,10 +3616,8 @@ module TencentCloud
3182
3616
  # 标签数据
3183
3617
  class Tag < TencentCloud::Common::AbstractModel
3184
3618
  # @param TagKey: 标签名称
3185
- # 注意:此字段可能返回 null,表示取不到有效值。
3186
3619
  # @type TagKey: String
3187
3620
  # @param TagValue: 标签值
3188
- # 注意:此字段可能返回 null,表示取不到有效值。
3189
3621
  # @type TagValue: String
3190
3622
 
3191
3623
  attr_accessor :TagKey, :TagValue
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.1014
4
+ version: 3.0.1016
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-10 00:00:00.000000000 Z
11
+ date: 2025-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common