tencentcloud-sdk-mqtt 3.0.1094 → 3.0.1115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20240516/models.rb +71 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5652a8c7ca045074f6bf3ebe7442b0042b1bb3a7
|
4
|
+
data.tar.gz: 41d2da56b192d226578f375f8c3e897fe5057995
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f4d5512978e43ceaf5d9caf4fdb6e8a46f94e92943e1c77c582b6fd5e4a0772e55b873ddded94adc40bbf20a597fb5bd743371495eb52f6a95973621731e47
|
7
|
+
data.tar.gz: 82af88d800918017f58d16cd21c374c5de1d57086d75de00173a60f627d7f8f116f6c94fdcf8970a2a39860a0390d3706a0c80666182b9bbdf2206aad0d1116c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1115
|
data/lib/v20240516/models.rb
CHANGED
@@ -1950,12 +1950,18 @@ module TencentCloud
|
|
1950
1950
|
# @type AutoSubscriptionPolicyLimit: Integer
|
1951
1951
|
# @param MaxTopicFilterPerAutoSubscriptionPolicy: 单条自动订阅规则TopicFilter数限制
|
1952
1952
|
# @type MaxTopicFilterPerAutoSubscriptionPolicy: Integer
|
1953
|
+
# @param UseDefaultServerCert: 是否使用默认的服务端证书
|
1954
|
+
# @type UseDefaultServerCert: Boolean
|
1955
|
+
# @param TrustedCaLimit: 服务端CA最大数量
|
1956
|
+
# @type TrustedCaLimit: Integer
|
1957
|
+
# @param ServerCertLimit: 服务端证书最大数量
|
1958
|
+
# @type ServerCertLimit: Integer
|
1953
1959
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1954
1960
|
# @type RequestId: String
|
1955
1961
|
|
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
|
1962
|
+
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
1963
|
|
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)
|
1964
|
+
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
1965
|
@InstanceType = instancetype
|
1960
1966
|
@InstanceId = instanceid
|
1961
1967
|
@InstanceName = instancename
|
@@ -1984,6 +1990,9 @@ module TencentCloud
|
|
1984
1990
|
@MaxTopicFilterPerSharedSubscriptionGroup = maxtopicfilterpersharedsubscriptiongroup
|
1985
1991
|
@AutoSubscriptionPolicyLimit = autosubscriptionpolicylimit
|
1986
1992
|
@MaxTopicFilterPerAutoSubscriptionPolicy = maxtopicfilterperautosubscriptionpolicy
|
1993
|
+
@UseDefaultServerCert = usedefaultservercert
|
1994
|
+
@TrustedCaLimit = trustedcalimit
|
1995
|
+
@ServerCertLimit = servercertlimit
|
1987
1996
|
@RequestId = requestid
|
1988
1997
|
end
|
1989
1998
|
|
@@ -2016,6 +2025,9 @@ module TencentCloud
|
|
2016
2025
|
@MaxTopicFilterPerSharedSubscriptionGroup = params['MaxTopicFilterPerSharedSubscriptionGroup']
|
2017
2026
|
@AutoSubscriptionPolicyLimit = params['AutoSubscriptionPolicyLimit']
|
2018
2027
|
@MaxTopicFilterPerAutoSubscriptionPolicy = params['MaxTopicFilterPerAutoSubscriptionPolicy']
|
2028
|
+
@UseDefaultServerCert = params['UseDefaultServerCert']
|
2029
|
+
@TrustedCaLimit = params['TrustedCaLimit']
|
2030
|
+
@ServerCertLimit = params['ServerCertLimit']
|
2019
2031
|
@RequestId = params['RequestId']
|
2020
2032
|
end
|
2021
2033
|
end
|
@@ -2772,14 +2784,17 @@ module TencentCloud
|
|
2772
2784
|
# @type Lag: Integer
|
2773
2785
|
# @param Inflight: 投递未确认数量
|
2774
2786
|
# @type Inflight: Integer
|
2787
|
+
# @param UserProperties: 用户属性
|
2788
|
+
# @type UserProperties: Array
|
2775
2789
|
|
2776
|
-
attr_accessor :TopicFilter, :Qos, :Lag, :Inflight
|
2790
|
+
attr_accessor :TopicFilter, :Qos, :Lag, :Inflight, :UserProperties
|
2777
2791
|
|
2778
|
-
def initialize(topicfilter=nil, qos=nil, lag=nil, inflight=nil)
|
2792
|
+
def initialize(topicfilter=nil, qos=nil, lag=nil, inflight=nil, userproperties=nil)
|
2779
2793
|
@TopicFilter = topicfilter
|
2780
2794
|
@Qos = qos
|
2781
2795
|
@Lag = lag
|
2782
2796
|
@Inflight = inflight
|
2797
|
+
@UserProperties = userproperties
|
2783
2798
|
end
|
2784
2799
|
|
2785
2800
|
def deserialize(params)
|
@@ -2787,6 +2802,14 @@ module TencentCloud
|
|
2787
2802
|
@Qos = params['Qos']
|
2788
2803
|
@Lag = params['Lag']
|
2789
2804
|
@Inflight = params['Inflight']
|
2805
|
+
unless params['UserProperties'].nil?
|
2806
|
+
@UserProperties = []
|
2807
|
+
params['UserProperties'].each do |i|
|
2808
|
+
subscriptionuserproperty_tmp = SubscriptionUserProperty.new
|
2809
|
+
subscriptionuserproperty_tmp.deserialize(i)
|
2810
|
+
@UserProperties << subscriptionuserproperty_tmp
|
2811
|
+
end
|
2812
|
+
end
|
2790
2813
|
end
|
2791
2814
|
end
|
2792
2815
|
|
@@ -3010,12 +3033,12 @@ module TencentCloud
|
|
3010
3033
|
|
3011
3034
|
attr_accessor :MsgId, :Tags, :Keys, :ProducerAddr, :ProduceTime, :DeadLetterResendTimes, :DeadLetterResendSuccessTimes, :SubTopic, :Qos
|
3012
3035
|
extend Gem::Deprecate
|
3013
|
-
deprecate :DeadLetterResendTimes, :none, 2025,
|
3014
|
-
deprecate :DeadLetterResendTimes=, :none, 2025,
|
3015
|
-
deprecate :DeadLetterResendSuccessTimes, :none, 2025,
|
3016
|
-
deprecate :DeadLetterResendSuccessTimes=, :none, 2025,
|
3017
|
-
deprecate :SubTopic, :none, 2025,
|
3018
|
-
deprecate :SubTopic=, :none, 2025,
|
3036
|
+
deprecate :DeadLetterResendTimes, :none, 2025, 8
|
3037
|
+
deprecate :DeadLetterResendTimes=, :none, 2025, 8
|
3038
|
+
deprecate :DeadLetterResendSuccessTimes, :none, 2025, 8
|
3039
|
+
deprecate :DeadLetterResendSuccessTimes=, :none, 2025, 8
|
3040
|
+
deprecate :SubTopic, :none, 2025, 8
|
3041
|
+
deprecate :SubTopic=, :none, 2025, 8
|
3019
3042
|
|
3020
3043
|
def initialize(msgid=nil, tags=nil, keys=nil, produceraddr=nil, producetime=nil, deadletterresendtimes=nil, deadletterresendsuccesstimes=nil, subtopic=nil, qos=nil)
|
3021
3044
|
@MsgId = msgid
|
@@ -3399,15 +3422,21 @@ module TencentCloud
|
|
3399
3422
|
# @type AutomaticActivation: Boolean
|
3400
3423
|
# @param AuthorizationPolicy: 授权策略开关
|
3401
3424
|
# @type AuthorizationPolicy: Boolean
|
3425
|
+
# @param UseDefaultServerCert: 是否使用默认的服务端证书
|
3426
|
+
# @type UseDefaultServerCert: Boolean
|
3427
|
+
# @param X509Mode: TLS:单向认证
|
3428
|
+
# mTLS;双向认证
|
3429
|
+
# BYOC:一机一证
|
3430
|
+
# @type X509Mode: String
|
3402
3431
|
|
3403
|
-
attr_accessor :InstanceId, :Name, :Remark, :SkuCode, :DeviceCertificateProvisionType, :AutomaticActivation, :AuthorizationPolicy
|
3432
|
+
attr_accessor :InstanceId, :Name, :Remark, :SkuCode, :DeviceCertificateProvisionType, :AutomaticActivation, :AuthorizationPolicy, :UseDefaultServerCert, :X509Mode
|
3404
3433
|
extend Gem::Deprecate
|
3405
|
-
deprecate :DeviceCertificateProvisionType, :none, 2025,
|
3406
|
-
deprecate :DeviceCertificateProvisionType=, :none, 2025,
|
3407
|
-
deprecate :AutomaticActivation, :none, 2025,
|
3408
|
-
deprecate :AutomaticActivation=, :none, 2025,
|
3434
|
+
deprecate :DeviceCertificateProvisionType, :none, 2025, 8
|
3435
|
+
deprecate :DeviceCertificateProvisionType=, :none, 2025, 8
|
3436
|
+
deprecate :AutomaticActivation, :none, 2025, 8
|
3437
|
+
deprecate :AutomaticActivation=, :none, 2025, 8
|
3409
3438
|
|
3410
|
-
def initialize(instanceid=nil, name=nil, remark=nil, skucode=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, authorizationpolicy=nil)
|
3439
|
+
def initialize(instanceid=nil, name=nil, remark=nil, skucode=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, authorizationpolicy=nil, usedefaultservercert=nil, x509mode=nil)
|
3411
3440
|
@InstanceId = instanceid
|
3412
3441
|
@Name = name
|
3413
3442
|
@Remark = remark
|
@@ -3415,6 +3444,8 @@ module TencentCloud
|
|
3415
3444
|
@DeviceCertificateProvisionType = devicecertificateprovisiontype
|
3416
3445
|
@AutomaticActivation = automaticactivation
|
3417
3446
|
@AuthorizationPolicy = authorizationpolicy
|
3447
|
+
@UseDefaultServerCert = usedefaultservercert
|
3448
|
+
@X509Mode = x509mode
|
3418
3449
|
end
|
3419
3450
|
|
3420
3451
|
def deserialize(params)
|
@@ -3425,6 +3456,8 @@ module TencentCloud
|
|
3425
3456
|
@DeviceCertificateProvisionType = params['DeviceCertificateProvisionType']
|
3426
3457
|
@AutomaticActivation = params['AutomaticActivation']
|
3427
3458
|
@AuthorizationPolicy = params['AuthorizationPolicy']
|
3459
|
+
@UseDefaultServerCert = params['UseDefaultServerCert']
|
3460
|
+
@X509Mode = params['X509Mode']
|
3428
3461
|
end
|
3429
3462
|
end
|
3430
3463
|
|
@@ -3525,8 +3558,8 @@ module TencentCloud
|
|
3525
3558
|
|
3526
3559
|
attr_accessor :InstanceId, :Algorithm, :From, :Secret, :PublicKey, :Status, :Remark, :Text
|
3527
3560
|
extend Gem::Deprecate
|
3528
|
-
deprecate :Text, :none, 2025,
|
3529
|
-
deprecate :Text=, :none, 2025,
|
3561
|
+
deprecate :Text, :none, 2025, 8
|
3562
|
+
deprecate :Text=, :none, 2025, 8
|
3530
3563
|
|
3531
3564
|
def initialize(instanceid=nil, algorithm=nil, from=nil, secret=nil, publickey=nil, status=nil, remark=nil, text=nil)
|
3532
3565
|
@InstanceId = instanceid
|
@@ -3979,6 +4012,26 @@ module TencentCloud
|
|
3979
4012
|
end
|
3980
4013
|
end
|
3981
4014
|
|
4015
|
+
# 订阅的UserProperty结构
|
4016
|
+
class SubscriptionUserProperty < TencentCloud::Common::AbstractModel
|
4017
|
+
# @param Key: 订阅的UserProperty键
|
4018
|
+
# @type Key: String
|
4019
|
+
# @param Value: 订阅的UserProperty值
|
4020
|
+
# @type Value: String
|
4021
|
+
|
4022
|
+
attr_accessor :Key, :Value
|
4023
|
+
|
4024
|
+
def initialize(key=nil, value=nil)
|
4025
|
+
@Key = key
|
4026
|
+
@Value = value
|
4027
|
+
end
|
4028
|
+
|
4029
|
+
def deserialize(params)
|
4030
|
+
@Key = params['Key']
|
4031
|
+
@Value = params['Value']
|
4032
|
+
end
|
4033
|
+
end
|
4034
|
+
|
3982
4035
|
# 标签数据
|
3983
4036
|
class Tag < TencentCloud::Common::AbstractModel
|
3984
4037
|
# @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.
|
4
|
+
version: 3.0.1115
|
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-
|
11
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|