tencentcloud-sdk-es 3.0.901 → 3.0.902

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180416/models.rb +75 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31a657e408c99bdf696397c2264fa74e2abf15c8
4
- data.tar.gz: 421454d89e49c82e9412561a924dcb9f9f1c4775
3
+ metadata.gz: b72953b54c44b09a2b8aa52d55423cf7f365650d
4
+ data.tar.gz: eafe9d456e65aaf5d4ef4ae97a0f1a4afd25bb02
5
5
  SHA512:
6
- metadata.gz: 39e66242744aeb9e9871fa9ddedf2038b14196283c570c529ef471ec3406e915145f5479475d8d32d23d8e3668012d61d13d9c0e2c15051d4c83fb5428113fbd
7
- data.tar.gz: 684fff607e6e645fc12fcb1c10070d14e19e49d7d920e723a864050ecaef467574cf31ed372e14eb1e606462588eba760e4e7a99a1dec6f0b08c949b55c59d53
6
+ metadata.gz: add474ac4990deeb893979c0beccb293fb9a2a9f8abfa23ea742ff06ff0f67602893d32e67f7af230f31bfac957f8c5e6477a90d9d3911674d6f82f544b1b47d
7
+ data.tar.gz: dc8ae9d4d665a0cfca5f18d472a73cead972bb7627b0f15b67c1de1034702056426840264a8985afa7cfe2643b4bba9880915f993e85fd90a15c6fda145f6f75
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.901
1
+ 3.0.902
@@ -2111,14 +2111,17 @@ module TencentCloud
2111
2111
  # @type MetricType: Array
2112
2112
  # @param DurationType: 时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在)
2113
2113
  # @type DurationType: Integer
2114
+ # @param BatchIndexList: 索引数据
2115
+ # @type BatchIndexList: Array
2114
2116
 
2115
- attr_accessor :SpaceId, :IndexId, :MetricType, :DurationType
2117
+ attr_accessor :SpaceId, :IndexId, :MetricType, :DurationType, :BatchIndexList
2116
2118
 
2117
- def initialize(spaceid=nil, indexid=nil, metrictype=nil, durationtype=nil)
2119
+ def initialize(spaceid=nil, indexid=nil, metrictype=nil, durationtype=nil, batchindexlist=nil)
2118
2120
  @SpaceId = spaceid
2119
2121
  @IndexId = indexid
2120
2122
  @MetricType = metrictype
2121
2123
  @DurationType = durationtype
2124
+ @BatchIndexList = batchindexlist
2122
2125
  end
2123
2126
 
2124
2127
  def deserialize(params)
@@ -2126,6 +2129,7 @@ module TencentCloud
2126
2129
  @IndexId = params['IndexId']
2127
2130
  @MetricType = params['MetricType']
2128
2131
  @DurationType = params['DurationType']
2132
+ @BatchIndexList = params['BatchIndexList']
2129
2133
  end
2130
2134
  end
2131
2135
 
@@ -2141,17 +2145,21 @@ module TencentCloud
2141
2145
  # @type WriteReqTimes: Integer
2142
2146
  # @param DocCount: 文档数量,单位个数
2143
2147
  # @type DocCount: Integer
2148
+ # @param MetricMapList: 指标数据数据
2149
+ # 注意:此字段可能返回 null,表示取不到有效值。
2150
+ # @type MetricMapList: Array
2144
2151
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2145
2152
  # @type RequestId: String
2146
2153
 
2147
- attr_accessor :Storage, :IndexTraffic, :ReadReqTimes, :WriteReqTimes, :DocCount, :RequestId
2154
+ attr_accessor :Storage, :IndexTraffic, :ReadReqTimes, :WriteReqTimes, :DocCount, :MetricMapList, :RequestId
2148
2155
 
2149
- def initialize(storage=nil, indextraffic=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil, requestid=nil)
2156
+ def initialize(storage=nil, indextraffic=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil, metricmaplist=nil, requestid=nil)
2150
2157
  @Storage = storage
2151
2158
  @IndexTraffic = indextraffic
2152
2159
  @ReadReqTimes = readreqtimes
2153
2160
  @WriteReqTimes = writereqtimes
2154
2161
  @DocCount = doccount
2162
+ @MetricMapList = metricmaplist
2155
2163
  @RequestId = requestid
2156
2164
  end
2157
2165
 
@@ -2161,6 +2169,14 @@ module TencentCloud
2161
2169
  @ReadReqTimes = params['ReadReqTimes']
2162
2170
  @WriteReqTimes = params['WriteReqTimes']
2163
2171
  @DocCount = params['DocCount']
2172
+ unless params['MetricMapList'].nil?
2173
+ @MetricMapList = []
2174
+ params['MetricMapList'].each do |i|
2175
+ metricmapbyindexid_tmp = MetricMapByIndexId.new
2176
+ metricmapbyindexid_tmp.deserialize(i)
2177
+ @MetricMapList << metricmapbyindexid_tmp
2178
+ end
2179
+ end
2164
2180
  @RequestId = params['RequestId']
2165
2181
  end
2166
2182
  end
@@ -4666,6 +4682,38 @@ module TencentCloud
4666
4682
  end
4667
4683
  end
4668
4684
 
4685
+ # 全部指标数据
4686
+ class MetricAllData < TencentCloud::Common::AbstractModel
4687
+ # @param IndexTraffic: 索引流量
4688
+ # @type IndexTraffic: Float
4689
+ # @param Storage: 存储大小
4690
+ # @type Storage: Float
4691
+ # @param ReadReqTimes: 读请求次数
4692
+ # @type ReadReqTimes: Integer
4693
+ # @param WriteReqTimes: 写请求次数
4694
+ # @type WriteReqTimes: Integer
4695
+ # @param DocCount: 文档数量
4696
+ # @type DocCount: Integer
4697
+
4698
+ attr_accessor :IndexTraffic, :Storage, :ReadReqTimes, :WriteReqTimes, :DocCount
4699
+
4700
+ def initialize(indextraffic=nil, storage=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil)
4701
+ @IndexTraffic = indextraffic
4702
+ @Storage = storage
4703
+ @ReadReqTimes = readreqtimes
4704
+ @WriteReqTimes = writereqtimes
4705
+ @DocCount = doccount
4706
+ end
4707
+
4708
+ def deserialize(params)
4709
+ @IndexTraffic = params['IndexTraffic']
4710
+ @Storage = params['Storage']
4711
+ @ReadReqTimes = params['ReadReqTimes']
4712
+ @WriteReqTimes = params['WriteReqTimes']
4713
+ @DocCount = params['DocCount']
4714
+ end
4715
+ end
4716
+
4669
4717
  # 智能运维指标详情
4670
4718
  class MetricDetail < TencentCloud::Common::AbstractModel
4671
4719
  # @param Key: 指标详情名
@@ -4693,6 +4741,29 @@ module TencentCloud
4693
4741
  end
4694
4742
  end
4695
4743
 
4744
+ # 指标数据map
4745
+ class MetricMapByIndexId < TencentCloud::Common::AbstractModel
4746
+ # @param IndexId: 实例id
4747
+ # @type IndexId: String
4748
+ # @param MetricAllData: 指标数据
4749
+ # @type MetricAllData: :class:`Tencentcloud::Es.v20180416.models.MetricAllData`
4750
+
4751
+ attr_accessor :IndexId, :MetricAllData
4752
+
4753
+ def initialize(indexid=nil, metricalldata=nil)
4754
+ @IndexId = indexid
4755
+ @MetricAllData = metricalldata
4756
+ end
4757
+
4758
+ def deserialize(params)
4759
+ @IndexId = params['IndexId']
4760
+ unless params['MetricAllData'].nil?
4761
+ @MetricAllData = MetricAllData.new
4762
+ @MetricAllData.deserialize(params['MetricAllData'])
4763
+ end
4764
+ end
4765
+ end
4766
+
4696
4767
  # ModifyEsVipSecurityGroup请求参数结构体
4697
4768
  class ModifyEsVipSecurityGroupRequest < TencentCloud::Common::AbstractModel
4698
4769
  # @param InstanceId: es集群的实例id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.901
4
+ version: 3.0.902
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-09-08 00:00:00.000000000 Z
11
+ date: 2024-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common