tencentcloud-sdk-es 3.0.1085 → 3.0.1087

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: e9e1c2f7150b2e582261c8a56362d189eec4d0ff
4
- data.tar.gz: cdaea69f8555593fc9c342a53f71576bbc7f3e60
3
+ metadata.gz: a6fd9c230b512c84db812a7f48fb08c98935b611
4
+ data.tar.gz: f274ab2bb647d41aef325eab08ad0c85608fe0fa
5
5
  SHA512:
6
- metadata.gz: d66d7ada0f448eb348a5b8a26b78f68241e2b54c6ecffb1dec0af16e24300bdf6c6796b0c3e094f6dc4d4f1db4d25de39eacb85c550b17b040ba36c6636967a0
7
- data.tar.gz: 717b8ee356a189d8e2cd30a4b2a6f30e4324fcbf4561ec2a7627f670161da8ccc7ea5d459487aa48e4588460893dda2577144c16710ae81af81f79b23e96671f
6
+ metadata.gz: c1cccf3031a2515ed37ecc7408c62782d99396aea89d2e535d71dd3c0f609ed8e6980e0e7b3785ca863cd13e851cf99cc49fd0b553d0f58c2b299602fe2eb3bf
7
+ data.tar.gz: 0eb84a3b71ebe2c4342436e067c27998acc955dd56800f36017f41a2c23183a8dfdbbbe9465fbc10cd604520a18b00b36666acbafb69c7ff7c096f56056367c2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1085
1
+ 3.0.1087
@@ -252,17 +252,33 @@ module TencentCloud
252
252
  # @type IsAutoBackup: Boolean
253
253
  # @param BackupTime: 自动备份执行时间(精确到小时), e.g. "22:00"
254
254
  # @type BackupTime: String
255
-
256
- attr_accessor :IsAutoBackup, :BackupTime
257
-
258
- def initialize(isautobackup=nil, backuptime=nil)
255
+ # @param EsRepositoryType: 0 腾讯云仓库; 1 客户仓库
256
+ # @type EsRepositoryType: Integer
257
+ # @param UserEsRepository: 客户快照仓库名称
258
+ # @type UserEsRepository: String
259
+ # @param StorageDuration: 快照存储周期 单位天
260
+ # @type StorageDuration: Integer
261
+ # @param AutoBackupInterval: 自动备份频率单位小时
262
+ # @type AutoBackupInterval: Integer
263
+
264
+ attr_accessor :IsAutoBackup, :BackupTime, :EsRepositoryType, :UserEsRepository, :StorageDuration, :AutoBackupInterval
265
+
266
+ def initialize(isautobackup=nil, backuptime=nil, esrepositorytype=nil, useresrepository=nil, storageduration=nil, autobackupinterval=nil)
259
267
  @IsAutoBackup = isautobackup
260
268
  @BackupTime = backuptime
269
+ @EsRepositoryType = esrepositorytype
270
+ @UserEsRepository = useresrepository
271
+ @StorageDuration = storageduration
272
+ @AutoBackupInterval = autobackupinterval
261
273
  end
262
274
 
263
275
  def deserialize(params)
264
276
  @IsAutoBackup = params['IsAutoBackup']
265
277
  @BackupTime = params['BackupTime']
278
+ @EsRepositoryType = params['EsRepositoryType']
279
+ @UserEsRepository = params['UserEsRepository']
280
+ @StorageDuration = params['StorageDuration']
281
+ @AutoBackupInterval = params['AutoBackupInterval']
266
282
  end
267
283
  end
268
284
 
@@ -6369,6 +6385,9 @@ module TencentCloud
6369
6385
  # @param Uuid: 快照Uuid
6370
6386
  # 注意:此字段可能返回 null,表示取不到有效值。
6371
6387
  # @type Uuid: String
6388
+ # @param Repository: 仓库名称
6389
+ # 注意:此字段可能返回 null,表示取不到有效值。
6390
+ # @type Repository: String
6372
6391
  # @param Version: 该快照所属集群的版本号
6373
6392
  # 注意:此字段可能返回 null,表示取不到有效值。
6374
6393
  # @type Version: String
@@ -6414,11 +6433,12 @@ module TencentCloud
6414
6433
  # 注意:此字段可能返回 null,表示取不到有效值。
6415
6434
  # @type UserBackUp: String
6416
6435
 
6417
- attr_accessor :SnapshotName, :Uuid, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures, :UserBackUp
6436
+ attr_accessor :SnapshotName, :Uuid, :Repository, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures, :UserBackUp
6418
6437
 
6419
- def initialize(snapshotname=nil, uuid=nil, version=nil, indices=nil, datastreams=nil, state=nil, starttime=nil, endtime=nil, durationinmillis=nil, totalshards=nil, failedshards=nil, successfulshards=nil, failures=nil, userbackup=nil)
6438
+ def initialize(snapshotname=nil, uuid=nil, repository=nil, version=nil, indices=nil, datastreams=nil, state=nil, starttime=nil, endtime=nil, durationinmillis=nil, totalshards=nil, failedshards=nil, successfulshards=nil, failures=nil, userbackup=nil)
6420
6439
  @SnapshotName = snapshotname
6421
6440
  @Uuid = uuid
6441
+ @Repository = repository
6422
6442
  @Version = version
6423
6443
  @Indices = indices
6424
6444
  @DataStreams = datastreams
@@ -6436,6 +6456,7 @@ module TencentCloud
6436
6456
  def deserialize(params)
6437
6457
  @SnapshotName = params['SnapshotName']
6438
6458
  @Uuid = params['Uuid']
6459
+ @Repository = params['Repository']
6439
6460
  @Version = params['Version']
6440
6461
  @Indices = params['Indices']
6441
6462
  @DataStreams = params['DataStreams']
@@ -162,17 +162,21 @@ module TencentCloud
162
162
  # @type MaxChunkSize: Integer
163
163
  # @param Delimiters: 分隔符列表
164
164
  # @type Delimiters: Array
165
+ # @param ChunkOverlap: 相邻切片重合字符数,需要小于分片长度
166
+ # @type ChunkOverlap: Integer
165
167
 
166
- attr_accessor :MaxChunkSize, :Delimiters
168
+ attr_accessor :MaxChunkSize, :Delimiters, :ChunkOverlap
167
169
 
168
- def initialize(maxchunksize=nil, delimiters=nil)
170
+ def initialize(maxchunksize=nil, delimiters=nil, chunkoverlap=nil)
169
171
  @MaxChunkSize = maxchunksize
170
172
  @Delimiters = delimiters
173
+ @ChunkOverlap = chunkoverlap
171
174
  end
172
175
 
173
176
  def deserialize(params)
174
177
  @MaxChunkSize = params['MaxChunkSize']
175
178
  @Delimiters = params['Delimiters']
179
+ @ChunkOverlap = params['ChunkOverlap']
176
180
  end
177
181
  end
178
182
 
@@ -296,13 +300,16 @@ module TencentCloud
296
300
  class ChunkDocumentResponse < TencentCloud::Common::AbstractModel
297
301
  # @param Chunks: 无
298
302
  # @type Chunks: Array
303
+ # @param Usage: token消耗量
304
+ # @type Usage: :class:`Tencentcloud::Es.v20250101.models.Usage`
299
305
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
300
306
  # @type RequestId: String
301
307
 
302
- attr_accessor :Chunks, :RequestId
308
+ attr_accessor :Chunks, :Usage, :RequestId
303
309
 
304
- def initialize(chunks=nil, requestid=nil)
310
+ def initialize(chunks=nil, usage=nil, requestid=nil)
305
311
  @Chunks = chunks
312
+ @Usage = usage
306
313
  @RequestId = requestid
307
314
  end
308
315
 
@@ -315,6 +322,10 @@ module TencentCloud
315
322
  @Chunks << chunk_tmp
316
323
  end
317
324
  end
325
+ unless params['Usage'].nil?
326
+ @Usage = Usage.new
327
+ @Usage.deserialize(params['Usage'])
328
+ end
318
329
  @RequestId = params['RequestId']
319
330
  end
320
331
  end
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.1085
4
+ version: 3.0.1087
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-06-19 00:00:00.000000000 Z
11
+ date: 2025-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common