tencentcloud-sdk-tdmq 3.0.776 → 3.0.778

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3737e88bcd8d1deb6fa166ef104042d565a9d8ef
4
- data.tar.gz: 46409480ee8810e1d2cd23d5eaba49aba1a1d35f
3
+ metadata.gz: 448ebb6b9fe4581a3d31d43ef592c88e50ca0540
4
+ data.tar.gz: 7d23976baf81dd84c0a144b048d6191a1590f761
5
5
  SHA512:
6
- metadata.gz: 8d6421c9f0bc5d1b0e09785a464c21c4b9f4088c937bf67e5999d83d9bef1e9e0d1ea0688abc8df3f132f85ddf7715888859a0cd467a03131e26e8c653f5b4fa
7
- data.tar.gz: 7d70b0e8e1ff96b93eea47abb39aab1cb4aaec901fda3bf47cdb9273b204d32a8ae4649189a36f85b90b8154bd28112862120deed0033ae8a85db2df0d973064
6
+ metadata.gz: c58c363c1fd0d9e677614d079c714fecf6cf0e8143b1d604f7812eb0c30b2b0c8e9800ca1221200deae34ab1653d7c207e8990bc73d98e72694aa8059fc3b78d
7
+ data.tar.gz: e01c14f855f2cff9b02e0125b7ba25f5349b0cbe5755ec0794ae6ea52ae9ca768a6d8aec56b9057a0858c93568983f51f2f7859001d89c77e6d5974708401993
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.776
1
+ 3.0.778
@@ -1973,6 +1973,30 @@ module TencentCloud
1973
1973
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1974
1974
  end
1975
1975
 
1976
+ # 从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。
1977
+
1978
+ # @param request: Request instance for DescribeRocketMQPublicAccessMonitorData.
1979
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataRequest`
1980
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataResponse`
1981
+ def DescribeRocketMQPublicAccessMonitorData(request)
1982
+ body = send_request('DescribeRocketMQPublicAccessMonitorData', request.serialize)
1983
+ response = JSON.parse(body)
1984
+ if response['Response'].key?('Error') == false
1985
+ model = DescribeRocketMQPublicAccessMonitorDataResponse.new
1986
+ model.deserialize(response['Response'])
1987
+ model
1988
+ else
1989
+ code = response['Response']['Error']['Code']
1990
+ message = response['Response']['Error']['Message']
1991
+ reqid = response['Response']['RequestId']
1992
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1993
+ end
1994
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1995
+ raise e
1996
+ rescue StandardError => e
1997
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1998
+ end
1999
+
1976
2000
  # 接口用于查询RocketMQ实例的公网接入信息
1977
2001
 
1978
2002
  # @param request: Request instance for DescribeRocketMQPublicAccessPoint.
@@ -5706,16 +5706,31 @@ module TencentCloud
5706
5706
  # @type PulsarMsgId: String
5707
5707
  # @param QueryDlqMsg: 查询死信时该值为true,只对Rocketmq有效
5708
5708
  # @type QueryDlqMsg: Boolean
5709
+ # @param QueryDeadLetterMessage: 查询死信时该值为true,只对Rocketmq有效
5710
+ # @type QueryDeadLetterMessage: Boolean
5711
+ # @param Offset: 分页Offset
5712
+ # @type Offset: Integer
5713
+ # @param Limit: 分页Limit
5714
+ # @type Limit: Integer
5715
+ # @param FilterTrackGroup: 根据消费组名称过滤消费详情
5716
+ # @type FilterTrackGroup: String
5709
5717
 
5710
- attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg
5718
+ attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
5719
+ extend Gem::Deprecate
5720
+ deprecate :QueryDlqMsg, :none, 2024, 3
5721
+ deprecate :QueryDlqMsg=, :none, 2024, 3
5711
5722
 
5712
- def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil)
5723
+ def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
5713
5724
  @ClusterId = clusterid
5714
5725
  @EnvironmentId = environmentid
5715
5726
  @TopicName = topicname
5716
5727
  @MsgId = msgid
5717
5728
  @PulsarMsgId = pulsarmsgid
5718
5729
  @QueryDlqMsg = querydlqmsg
5730
+ @QueryDeadLetterMessage = querydeadlettermessage
5731
+ @Offset = offset
5732
+ @Limit = limit
5733
+ @FilterTrackGroup = filtertrackgroup
5719
5734
  end
5720
5735
 
5721
5736
  def deserialize(params)
@@ -5725,6 +5740,10 @@ module TencentCloud
5725
5740
  @MsgId = params['MsgId']
5726
5741
  @PulsarMsgId = params['PulsarMsgId']
5727
5742
  @QueryDlqMsg = params['QueryDlqMsg']
5743
+ @QueryDeadLetterMessage = params['QueryDeadLetterMessage']
5744
+ @Offset = params['Offset']
5745
+ @Limit = params['Limit']
5746
+ @FilterTrackGroup = params['FilterTrackGroup']
5728
5747
  end
5729
5748
  end
5730
5749
 
@@ -5740,18 +5759,20 @@ module TencentCloud
5740
5759
  # @type MsgId: String
5741
5760
  # @param ProducerAddr: 生产者地址
5742
5761
  # @type ProducerAddr: String
5743
- # @param MessageTracks: 消费组消费情况
5762
+ # @param MessageTracks: 消费组消费情况列表
5744
5763
  # 注意:此字段可能返回 null,表示取不到有效值。
5745
5764
  # @type MessageTracks: Array
5746
5765
  # @param ShowTopicName: 详情页展示的topic名称
5747
5766
  # 注意:此字段可能返回 null,表示取不到有效值。
5748
5767
  # @type ShowTopicName: String
5768
+ # @param MessageTracksCount: 消费组消费情况列表总数
5769
+ # @type MessageTracksCount: Integer
5749
5770
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5750
5771
  # @type RequestId: String
5751
5772
 
5752
- attr_accessor :Body, :Properties, :ProduceTime, :MsgId, :ProducerAddr, :MessageTracks, :ShowTopicName, :RequestId
5773
+ attr_accessor :Body, :Properties, :ProduceTime, :MsgId, :ProducerAddr, :MessageTracks, :ShowTopicName, :MessageTracksCount, :RequestId
5753
5774
 
5754
- def initialize(body=nil, properties=nil, producetime=nil, msgid=nil, produceraddr=nil, messagetracks=nil, showtopicname=nil, requestid=nil)
5775
+ def initialize(body=nil, properties=nil, producetime=nil, msgid=nil, produceraddr=nil, messagetracks=nil, showtopicname=nil, messagetrackscount=nil, requestid=nil)
5755
5776
  @Body = body
5756
5777
  @Properties = properties
5757
5778
  @ProduceTime = producetime
@@ -5759,6 +5780,7 @@ module TencentCloud
5759
5780
  @ProducerAddr = produceraddr
5760
5781
  @MessageTracks = messagetracks
5761
5782
  @ShowTopicName = showtopicname
5783
+ @MessageTracksCount = messagetrackscount
5762
5784
  @RequestId = requestid
5763
5785
  end
5764
5786
 
@@ -5777,6 +5799,7 @@ module TencentCloud
5777
5799
  end
5778
5800
  end
5779
5801
  @ShowTopicName = params['ShowTopicName']
5802
+ @MessageTracksCount = params['MessageTracksCount']
5780
5803
  @RequestId = params['RequestId']
5781
5804
  end
5782
5805
  end
@@ -5795,16 +5818,22 @@ module TencentCloud
5795
5818
  # @type GroupName: String
5796
5819
  # @param QueryDLQMsg: 查询死信时该值为true
5797
5820
  # @type QueryDLQMsg: Boolean
5821
+ # @param QueryDeadLetterMessage: 查询死信时该值为true
5822
+ # @type QueryDeadLetterMessage: String
5798
5823
 
5799
- attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg
5824
+ attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
5825
+ extend Gem::Deprecate
5826
+ deprecate :QueryDLQMsg, :none, 2024, 3
5827
+ deprecate :QueryDLQMsg=, :none, 2024, 3
5800
5828
 
5801
- def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil)
5829
+ def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
5802
5830
  @ClusterId = clusterid
5803
5831
  @EnvironmentId = environmentid
5804
5832
  @TopicName = topicname
5805
5833
  @MsgId = msgid
5806
5834
  @GroupName = groupname
5807
5835
  @QueryDLQMsg = querydlqmsg
5836
+ @QueryDeadLetterMessage = querydeadlettermessage
5808
5837
  end
5809
5838
 
5810
5839
  def deserialize(params)
@@ -5814,6 +5843,7 @@ module TencentCloud
5814
5843
  @MsgId = params['MsgId']
5815
5844
  @GroupName = params['GroupName']
5816
5845
  @QueryDLQMsg = params['QueryDLQMsg']
5846
+ @QueryDeadLetterMessage = params['QueryDeadLetterMessage']
5817
5847
  end
5818
5848
  end
5819
5849
 
@@ -5948,6 +5978,91 @@ module TencentCloud
5948
5978
  end
5949
5979
  end
5950
5980
 
5981
+ # DescribeRocketMQPublicAccessMonitorData请求参数结构体
5982
+ class DescribeRocketMQPublicAccessMonitorDataRequest < TencentCloud::Common::AbstractModel
5983
+ # @param InstanceId: 专享集群ID
5984
+ # @type InstanceId: String
5985
+ # @param MetricName: 指标名称,仅支持单指标拉取。目前仅支持:ClientIntraffic; ClientOuttraffic
5986
+ # @type MetricName: String
5987
+ # @param StartTime: 起始时间
5988
+ # @type StartTime: String
5989
+ # @param EndTime: 结束时间,默认为当前时间
5990
+ # @type EndTime: String
5991
+ # @param Period: 监控统计周期,如60。默认为取值为300,单位为s。
5992
+ # @type Period: Integer
5993
+
5994
+ attr_accessor :InstanceId, :MetricName, :StartTime, :EndTime, :Period
5995
+
5996
+ def initialize(instanceid=nil, metricname=nil, starttime=nil, endtime=nil, period=nil)
5997
+ @InstanceId = instanceid
5998
+ @MetricName = metricname
5999
+ @StartTime = starttime
6000
+ @EndTime = endtime
6001
+ @Period = period
6002
+ end
6003
+
6004
+ def deserialize(params)
6005
+ @InstanceId = params['InstanceId']
6006
+ @MetricName = params['MetricName']
6007
+ @StartTime = params['StartTime']
6008
+ @EndTime = params['EndTime']
6009
+ @Period = params['Period']
6010
+ end
6011
+ end
6012
+
6013
+ # DescribeRocketMQPublicAccessMonitorData返回参数结构体
6014
+ class DescribeRocketMQPublicAccessMonitorDataResponse < TencentCloud::Common::AbstractModel
6015
+ # @param MetricName: 指标名
6016
+ # 注意:此字段可能返回 null,表示取不到有效值。
6017
+ # @type MetricName: String
6018
+ # @param Period: 监控统计周期,如60。默认为取值为300,单位为s。
6019
+ # 注意:此字段可能返回 null,表示取不到有效值。
6020
+ # @type Period: Integer
6021
+ # @param StartTime: 起始时间,如2018-09-22T19:51:23+08:00
6022
+ # 注意:此字段可能返回 null,表示取不到有效值。
6023
+ # @type StartTime: String
6024
+ # @param EndTime: 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间
6025
+ # 注意:此字段可能返回 null,表示取不到有效值。
6026
+ # @type EndTime: String
6027
+ # @param DataPoints: 数据点数组
6028
+ # 注意:此字段可能返回 null,表示取不到有效值。
6029
+ # @type DataPoints: Array
6030
+ # @param Msg: 返回信息
6031
+ # 注意:此字段可能返回 null,表示取不到有效值。
6032
+ # @type Msg: String
6033
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6034
+ # @type RequestId: String
6035
+
6036
+ attr_accessor :MetricName, :Period, :StartTime, :EndTime, :DataPoints, :Msg, :RequestId
6037
+
6038
+ def initialize(metricname=nil, period=nil, starttime=nil, endtime=nil, datapoints=nil, msg=nil, requestid=nil)
6039
+ @MetricName = metricname
6040
+ @Period = period
6041
+ @StartTime = starttime
6042
+ @EndTime = endtime
6043
+ @DataPoints = datapoints
6044
+ @Msg = msg
6045
+ @RequestId = requestid
6046
+ end
6047
+
6048
+ def deserialize(params)
6049
+ @MetricName = params['MetricName']
6050
+ @Period = params['Period']
6051
+ @StartTime = params['StartTime']
6052
+ @EndTime = params['EndTime']
6053
+ unless params['DataPoints'].nil?
6054
+ @DataPoints = []
6055
+ params['DataPoints'].each do |i|
6056
+ rocketmqdatapoint_tmp = RocketMQDataPoint.new
6057
+ rocketmqdatapoint_tmp.deserialize(i)
6058
+ @DataPoints << rocketmqdatapoint_tmp
6059
+ end
6060
+ end
6061
+ @Msg = params['Msg']
6062
+ @RequestId = params['RequestId']
6063
+ end
6064
+ end
6065
+
5951
6066
  # DescribeRocketMQPublicAccessPoint请求参数结构体
5952
6067
  class DescribeRocketMQPublicAccessPointRequest < TencentCloud::Common::AbstractModel
5953
6068
  # @param InstanceId: 集群ID,当前只支持专享集群
@@ -10336,6 +10451,28 @@ module TencentCloud
10336
10451
  end
10337
10452
  end
10338
10453
 
10454
+ # 监控数据点
10455
+ class RocketMQDataPoint < TencentCloud::Common::AbstractModel
10456
+ # @param Timestamps: 监控值数组,该数组和Timestamps一一对应
10457
+ # 注意:此字段可能返回 null,表示取不到有效值。
10458
+ # @type Timestamps: Array
10459
+ # @param Values: 监控数据点位置,比如一天按分钟划分有1440个点,每个点的序号是0 - 1439之间的一个数,当某个序号不在该数组中,说明掉点了
10460
+ # 注意:此字段可能返回 null,表示取不到有效值。
10461
+ # @type Values: Array
10462
+
10463
+ attr_accessor :Timestamps, :Values
10464
+
10465
+ def initialize(timestamps=nil, values=nil)
10466
+ @Timestamps = timestamps
10467
+ @Values = values
10468
+ end
10469
+
10470
+ def deserialize(params)
10471
+ @Timestamps = params['Timestamps']
10472
+ @Values = params['Values']
10473
+ end
10474
+ end
10475
+
10339
10476
  # RocketMQ消费组信息
10340
10477
  class RocketMQGroup < TencentCloud::Common::AbstractModel
10341
10478
  # @param Name: 消费组名称
@@ -10562,7 +10699,13 @@ module TencentCloud
10562
10699
  class RocketMQMessageTrack < TencentCloud::Common::AbstractModel
10563
10700
  # @param Group: 消费者组
10564
10701
  # @type Group: String
10565
- # @param ConsumeStatus: 消费状态
10702
+ # @param ConsumeStatus: 消费状态,
10703
+ # CONSUMED: 已消费
10704
+ # CONSUMED_BUT_FILTERED: 已过滤
10705
+ # NOT_CONSUME: 未消费
10706
+ # ENTER_RETRY: 进入重试队列
10707
+ # ENTER_DLQ: 进入死信队列
10708
+ # UNKNOWN: 查询不到消费状态
10566
10709
  # @type ConsumeStatus: String
10567
10710
  # @param TrackType: 消息track类型
10568
10711
  # @type TrackType: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.776
4
+ version: 3.0.778
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common