tencentcloud-sdk-es 3.0.1178 → 3.0.1183

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180416/models.rb +150 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f963366a6d62e1e410811248fe912778f1ba5864
4
- data.tar.gz: 601f15140ddfffcd407287d335cc9265db1a9f1c
3
+ metadata.gz: de9b60d42d349b18b1e40f7cf32c3a0f9e285988
4
+ data.tar.gz: 9c5ae73f744b588a4b865e591ace32a825690f79
5
5
  SHA512:
6
- metadata.gz: d08fae5b84e4b7173d46b3dab5faf8a70458ea5247e103285066c92651aa2668668cdc085d828e03f1b2dc6b25c56adc977796a121d95754afc87965cf4135a8
7
- data.tar.gz: 34dedd3a7360b02de21fbe03dbe268222007d2c521f9f592e46d12ad43b8b18db4c4f38ec369aea1673c9e9622168325f3858ce246db09136cd2478e66db6949
6
+ metadata.gz: 2305a2abb97fff7e76ee536ef7f275180ee95e2f31c05f51532fde8740683a66bf66d45611b02728df340d5e423119e6ebf8ec3b72826e82a05c4c28d4503780
7
+ data.tar.gz: f9d022305e746865dfbf63dc572b06452fd6810af93dc9fcb03e850151781d2069a6bf9a0de540ef59c22373d349ef6892f2a502618480dafed37788c0f32d0d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1178
1
+ 3.0.1183
@@ -299,33 +299,73 @@ module TencentCloud
299
299
  # @type IsAutoBackup: Boolean
300
300
  # @param BackupTime: 自动备份执行时间(精确到小时), e.g. "22:00"
301
301
  # @type BackupTime: String
302
+ # @param SnapshotName: 备份快照前缀
303
+ # @type SnapshotName: String
302
304
  # @param EsRepositoryType: 0 腾讯云仓库; 1 客户仓库
303
305
  # @type EsRepositoryType: Integer
306
+ # @param PaasEsRepository: 托管快照仓库名称
307
+ # @type PaasEsRepository: String
304
308
  # @param UserEsRepository: 客户快照仓库名称
305
309
  # @type UserEsRepository: String
306
310
  # @param StorageDuration: 快照存储周期 单位天
307
311
  # @type StorageDuration: Integer
308
312
  # @param AutoBackupInterval: 自动备份频率单位小时
309
313
  # @type AutoBackupInterval: Integer
314
+ # @param CosRetention: 备份锁定 0 不锁定; 1 锁定
315
+ # @type CosRetention: Integer
316
+ # @param RetainUntilDate: 锁定截止日期 2022-12-10T08:34:48.000Z
317
+ # @type RetainUntilDate: String
318
+ # @param RetentionGraceTime: 锁定宽限期
319
+ # @type RetentionGraceTime: Integer
320
+ # @param RemoteCos: 跨地域备份 0 不跨地域; 1 跨地域
321
+ # @type RemoteCos: Integer
322
+ # @param RemoteCosRegion: 跨地域备份地域名称 ap-guangzhou
323
+ # @type RemoteCosRegion: String
324
+ # @param StrategyName: 策略名称
325
+ # @type StrategyName: String
326
+ # @param Indices: 备份索引列表,如果不填表示备份所有索引
327
+ # @type Indices: String
328
+ # @param CreateTime: 策略创建时间
329
+ # @type CreateTime: String
310
330
 
311
- attr_accessor :IsAutoBackup, :BackupTime, :EsRepositoryType, :UserEsRepository, :StorageDuration, :AutoBackupInterval
331
+ attr_accessor :IsAutoBackup, :BackupTime, :SnapshotName, :EsRepositoryType, :PaasEsRepository, :UserEsRepository, :StorageDuration, :AutoBackupInterval, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :RemoteCos, :RemoteCosRegion, :StrategyName, :Indices, :CreateTime
312
332
 
313
- def initialize(isautobackup=nil, backuptime=nil, esrepositorytype=nil, useresrepository=nil, storageduration=nil, autobackupinterval=nil)
333
+ def initialize(isautobackup=nil, backuptime=nil, snapshotname=nil, esrepositorytype=nil, paasesrepository=nil, useresrepository=nil, storageduration=nil, autobackupinterval=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, remotecos=nil, remotecosregion=nil, strategyname=nil, indices=nil, createtime=nil)
314
334
  @IsAutoBackup = isautobackup
315
335
  @BackupTime = backuptime
336
+ @SnapshotName = snapshotname
316
337
  @EsRepositoryType = esrepositorytype
338
+ @PaasEsRepository = paasesrepository
317
339
  @UserEsRepository = useresrepository
318
340
  @StorageDuration = storageduration
319
341
  @AutoBackupInterval = autobackupinterval
342
+ @CosRetention = cosretention
343
+ @RetainUntilDate = retainuntildate
344
+ @RetentionGraceTime = retentiongracetime
345
+ @RemoteCos = remotecos
346
+ @RemoteCosRegion = remotecosregion
347
+ @StrategyName = strategyname
348
+ @Indices = indices
349
+ @CreateTime = createtime
320
350
  end
321
351
 
322
352
  def deserialize(params)
323
353
  @IsAutoBackup = params['IsAutoBackup']
324
354
  @BackupTime = params['BackupTime']
355
+ @SnapshotName = params['SnapshotName']
325
356
  @EsRepositoryType = params['EsRepositoryType']
357
+ @PaasEsRepository = params['PaasEsRepository']
326
358
  @UserEsRepository = params['UserEsRepository']
327
359
  @StorageDuration = params['StorageDuration']
328
360
  @AutoBackupInterval = params['AutoBackupInterval']
361
+ @CosRetention = params['CosRetention']
362
+ @RetainUntilDate = params['RetainUntilDate']
363
+ @RetentionGraceTime = params['RetentionGraceTime']
364
+ @RemoteCos = params['RemoteCos']
365
+ @RemoteCosRegion = params['RemoteCosRegion']
366
+ @StrategyName = params['StrategyName']
367
+ @Indices = params['Indices']
368
+ @CreateTime = params['CreateTime']
329
369
  end
330
370
  end
331
371
 
@@ -398,19 +438,51 @@ module TencentCloud
398
438
  # @type SnapshotName: String
399
439
  # @param Indices: 索引名称
400
440
  # @type Indices: String
401
-
402
- attr_accessor :InstanceId, :SnapshotName, :Indices
403
-
404
- def initialize(instanceid=nil, snapshotname=nil, indices=nil)
441
+ # @param EsRepositoryType: 0 腾讯云仓库; 1 客户仓库
442
+ # @type EsRepositoryType: Integer
443
+ # @param UserEsRepository: 客户快照仓库名称
444
+ # @type UserEsRepository: String
445
+ # @param StorageDuration: 快照存储周期 单位天,范围[0, INF), 如果没有设置则默认7天
446
+ # @type StorageDuration: Integer
447
+ # @param CosRetention: 备份锁定 0 不锁定; 1 锁定
448
+ # @type CosRetention: Integer
449
+ # @param RetainUntilDate: 锁定截止日期 2022-12-10T08:34:48.000Z
450
+ # @type RetainUntilDate: String
451
+ # @param RetentionGraceTime: 锁定宽限期,单位天
452
+ # @type RetentionGraceTime: Integer
453
+ # @param RemoteCos: 跨地域备份 0 不跨地域; 1 跨地域
454
+ # @type RemoteCos: Integer
455
+ # @param RemoteCosRegion: 跨地域备份地域名称 ap-guangzhou
456
+ # @type RemoteCosRegion: String
457
+
458
+ attr_accessor :InstanceId, :SnapshotName, :Indices, :EsRepositoryType, :UserEsRepository, :StorageDuration, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :RemoteCos, :RemoteCosRegion
459
+
460
+ def initialize(instanceid=nil, snapshotname=nil, indices=nil, esrepositorytype=nil, useresrepository=nil, storageduration=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, remotecos=nil, remotecosregion=nil)
405
461
  @InstanceId = instanceid
406
462
  @SnapshotName = snapshotname
407
463
  @Indices = indices
464
+ @EsRepositoryType = esrepositorytype
465
+ @UserEsRepository = useresrepository
466
+ @StorageDuration = storageduration
467
+ @CosRetention = cosretention
468
+ @RetainUntilDate = retainuntildate
469
+ @RetentionGraceTime = retentiongracetime
470
+ @RemoteCos = remotecos
471
+ @RemoteCosRegion = remotecosregion
408
472
  end
409
473
 
410
474
  def deserialize(params)
411
475
  @InstanceId = params['InstanceId']
412
476
  @SnapshotName = params['SnapshotName']
413
477
  @Indices = params['Indices']
478
+ @EsRepositoryType = params['EsRepositoryType']
479
+ @UserEsRepository = params['UserEsRepository']
480
+ @StorageDuration = params['StorageDuration']
481
+ @CosRetention = params['CosRetention']
482
+ @RetainUntilDate = params['RetainUntilDate']
483
+ @RetentionGraceTime = params['RetentionGraceTime']
484
+ @RemoteCos = params['RemoteCos']
485
+ @RemoteCosRegion = params['RemoteCosRegion']
414
486
  end
415
487
  end
416
488
 
@@ -6935,10 +7007,52 @@ module TencentCloud
6935
7007
  # @param UserBackUp: 是否用户备份
6936
7008
  # 注意:此字段可能返回 null,表示取不到有效值。
6937
7009
  # @type UserBackUp: String
7010
+ # @param EsRepositoryType: 0 腾讯云仓库; 1 客户仓库
7011
+ # 注意:此字段可能返回 null,表示取不到有效值。
7012
+ # @type EsRepositoryType: Integer
7013
+ # @param PaasEsRepository: 托管快照仓库名称
7014
+ # 注意:此字段可能返回 null,表示取不到有效值。
7015
+ # @type PaasEsRepository: String
7016
+ # @param UserEsRepository: 客户快照仓库名称
7017
+ # 注意:此字段可能返回 null,表示取不到有效值。
7018
+ # @type UserEsRepository: String
7019
+ # @param StorageDuration: 快照存储周期 单位天,范围[0, INF), 如果没有设置则默认7天
7020
+ # 注意:此字段可能返回 null,表示取不到有效值。
7021
+ # @type StorageDuration: Integer
7022
+ # @param AutoBackupInterval: 自动备份频率, 如果是0,则等效24
7023
+ # 注意:此字段可能返回 null,表示取不到有效值。
7024
+ # @type AutoBackupInterval: Integer
7025
+ # @param CosRetention: 备份锁定 0 不锁定; 1 锁定
7026
+ # 注意:此字段可能返回 null,表示取不到有效值。
7027
+ # @type CosRetention: Integer
7028
+ # @param RetainUntilDate: 锁定截止日期 2022-12-10T08:34:48.000Z
7029
+ # 注意:此字段可能返回 null,表示取不到有效值。
7030
+ # @type RetainUntilDate: String
7031
+ # @param RetentionGraceTime: 锁定宽限期,单位天
7032
+ # 注意:此字段可能返回 null,表示取不到有效值。
7033
+ # @type RetentionGraceTime: Integer
7034
+ # @param IsLocked: 是否已经备份锁定 0 不锁定; 1 锁定
7035
+ # 注意:此字段可能返回 null,表示取不到有效值。
7036
+ # @type IsLocked: Integer
7037
+ # @param RemoteCos: 跨地域备份 0 不跨地域; 1 跨地域
7038
+ # 注意:此字段可能返回 null,表示取不到有效值。
7039
+ # @type RemoteCos: Integer
7040
+ # @param RemoteCosRegion: 跨地域备份地域名称 ap-guangzhou
7041
+ # 注意:此字段可能返回 null,表示取不到有效值。
7042
+ # @type RemoteCosRegion: String
7043
+ # @param CosEncryption: 备份加密 0 不加密; 1 加密
7044
+ # 注意:此字段可能返回 null,表示取不到有效值。
7045
+ # @type CosEncryption: Integer
7046
+ # @param KmsKey: kms密钥
7047
+ # 注意:此字段可能返回 null,表示取不到有效值。
7048
+ # @type KmsKey: String
7049
+ # @param StrategyName: 策略名称
7050
+ # 注意:此字段可能返回 null,表示取不到有效值。
7051
+ # @type StrategyName: String
6938
7052
 
6939
- attr_accessor :SnapshotName, :Uuid, :Repository, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures, :UserBackUp
7053
+ attr_accessor :SnapshotName, :Uuid, :Repository, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures, :UserBackUp, :EsRepositoryType, :PaasEsRepository, :UserEsRepository, :StorageDuration, :AutoBackupInterval, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :IsLocked, :RemoteCos, :RemoteCosRegion, :CosEncryption, :KmsKey, :StrategyName
6940
7054
 
6941
- 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)
7055
+ 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, esrepositorytype=nil, paasesrepository=nil, useresrepository=nil, storageduration=nil, autobackupinterval=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, islocked=nil, remotecos=nil, remotecosregion=nil, cosencryption=nil, kmskey=nil, strategyname=nil)
6942
7056
  @SnapshotName = snapshotname
6943
7057
  @Uuid = uuid
6944
7058
  @Repository = repository
@@ -6954,6 +7068,20 @@ module TencentCloud
6954
7068
  @SuccessfulShards = successfulshards
6955
7069
  @Failures = failures
6956
7070
  @UserBackUp = userbackup
7071
+ @EsRepositoryType = esrepositorytype
7072
+ @PaasEsRepository = paasesrepository
7073
+ @UserEsRepository = useresrepository
7074
+ @StorageDuration = storageduration
7075
+ @AutoBackupInterval = autobackupinterval
7076
+ @CosRetention = cosretention
7077
+ @RetainUntilDate = retainuntildate
7078
+ @RetentionGraceTime = retentiongracetime
7079
+ @IsLocked = islocked
7080
+ @RemoteCos = remotecos
7081
+ @RemoteCosRegion = remotecosregion
7082
+ @CosEncryption = cosencryption
7083
+ @KmsKey = kmskey
7084
+ @StrategyName = strategyname
6957
7085
  end
6958
7086
 
6959
7087
  def deserialize(params)
@@ -6979,6 +7107,20 @@ module TencentCloud
6979
7107
  end
6980
7108
  end
6981
7109
  @UserBackUp = params['UserBackUp']
7110
+ @EsRepositoryType = params['EsRepositoryType']
7111
+ @PaasEsRepository = params['PaasEsRepository']
7112
+ @UserEsRepository = params['UserEsRepository']
7113
+ @StorageDuration = params['StorageDuration']
7114
+ @AutoBackupInterval = params['AutoBackupInterval']
7115
+ @CosRetention = params['CosRetention']
7116
+ @RetainUntilDate = params['RetainUntilDate']
7117
+ @RetentionGraceTime = params['RetentionGraceTime']
7118
+ @IsLocked = params['IsLocked']
7119
+ @RemoteCos = params['RemoteCos']
7120
+ @RemoteCosRegion = params['RemoteCosRegion']
7121
+ @CosEncryption = params['CosEncryption']
7122
+ @KmsKey = params['KmsKey']
7123
+ @StrategyName = params['StrategyName']
6982
7124
  end
6983
7125
  end
6984
7126
 
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.1178
4
+ version: 3.0.1183
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-12-08 00:00:00.000000000 Z
11
+ date: 2025-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common