tencentcloud-sdk-cdwch 3.0.794 → 3.0.795

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/v20200915/models.rb +19 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2995ab24feb6243b052fbc739ddd2712a974114a
4
- data.tar.gz: c8fee0f53fb5a7ce602aab1b9d4a98c1956cf95d
3
+ metadata.gz: f39ff853c53dceaacb2c88eab0eb72514ba9326c
4
+ data.tar.gz: 2a42e3048f9446b613a5b621bb42a3aa4d88cf1c
5
5
  SHA512:
6
- metadata.gz: c5d28fc390bc07d96487fe8431886166cd712a5e1d4e52602c58e84bec9ca6ef9b815be6e835a3f24f7db5b706f79d62993dc30110ff701fe2e413e0f0c61a7e
7
- data.tar.gz: 5ba6e3012d5fe72a094f9d5c9b9874b6ffdc8b2c98138ee5ebd3d3ac179e9cb82e0bad3837492dbea3dcb0d30891b8dbecd790d60780199b100d53365697da2b
6
+ metadata.gz: 24be564241783bb0f925ca9f212d65f19d6a4f359bf9707d264c504bc9967385f8e97607f975420787d42da15744cedaace7e6a21c9d9f631219b1aa7deb40d2
7
+ data.tar.gz: 5f6071cd679ecba888b2053046218016b81c74462aa572f46add63e6967ee18240d991219d282adf6605501091e13ad261fbb9b6a25287d277ab2c97e5e0e5b1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.794
1
+ 3.0.795
@@ -404,8 +404,9 @@ module TencentCloud
404
404
  # @param InstanceName: 实例名称
405
405
  # @type InstanceName: String
406
406
  # @param DataSpec: 数据节点
407
+ # SpecName从DescribeSpec接口中返回的DataSpec.Name获取
407
408
  # @type DataSpec: :class:`Tencentcloud::Cdwch.v20200915.models.NodeSpec`
408
- # @param Tags: 标签列表
409
+ # @param Tags: 标签列表(废弃)
409
410
  # @type Tags: :class:`Tencentcloud::Cdwch.v20200915.models.Tag`
410
411
  # @param ClsLogSetId: 日志主题ID
411
412
  # @type ClsLogSetId: String
@@ -416,11 +417,17 @@ module TencentCloud
416
417
  # @param HAZk: 是否是ZK高可用
417
418
  # @type HAZk: Boolean
418
419
  # @param CommonSpec: ZK节点
420
+ # SpecName从DescribeSpec接口中返回的CommonSpec.Name(ZK节点)获取
419
421
  # @type CommonSpec: :class:`Tencentcloud::Cdwch.v20200915.models.NodeSpec`
422
+ # @param TagItems: 标签列表
423
+ # @type TagItems: Array
420
424
 
421
- attr_accessor :Zone, :HaFlag, :UserVPCId, :UserSubnetId, :ProductVersion, :ChargeProperties, :InstanceName, :DataSpec, :Tags, :ClsLogSetId, :CosBucketName, :MountDiskType, :HAZk, :CommonSpec
425
+ attr_accessor :Zone, :HaFlag, :UserVPCId, :UserSubnetId, :ProductVersion, :ChargeProperties, :InstanceName, :DataSpec, :Tags, :ClsLogSetId, :CosBucketName, :MountDiskType, :HAZk, :CommonSpec, :TagItems
426
+ extend Gem::Deprecate
427
+ deprecate :Tags, :none, 2024, 4
428
+ deprecate :Tags=, :none, 2024, 4
422
429
 
423
- def initialize(zone=nil, haflag=nil, uservpcid=nil, usersubnetid=nil, productversion=nil, chargeproperties=nil, instancename=nil, dataspec=nil, tags=nil, clslogsetid=nil, cosbucketname=nil, mountdisktype=nil, hazk=nil, commonspec=nil)
430
+ def initialize(zone=nil, haflag=nil, uservpcid=nil, usersubnetid=nil, productversion=nil, chargeproperties=nil, instancename=nil, dataspec=nil, tags=nil, clslogsetid=nil, cosbucketname=nil, mountdisktype=nil, hazk=nil, commonspec=nil, tagitems=nil)
424
431
  @Zone = zone
425
432
  @HaFlag = haflag
426
433
  @UserVPCId = uservpcid
@@ -435,6 +442,7 @@ module TencentCloud
435
442
  @MountDiskType = mountdisktype
436
443
  @HAZk = hazk
437
444
  @CommonSpec = commonspec
445
+ @TagItems = tagitems
438
446
  end
439
447
 
440
448
  def deserialize(params)
@@ -464,6 +472,14 @@ module TencentCloud
464
472
  @CommonSpec = NodeSpec.new
465
473
  @CommonSpec.deserialize(params['CommonSpec'])
466
474
  end
475
+ unless params['TagItems'].nil?
476
+ @TagItems = []
477
+ params['TagItems'].each do |i|
478
+ tag_tmp = Tag.new
479
+ tag_tmp.deserialize(i)
480
+ @TagItems << tag_tmp
481
+ end
482
+ end
467
483
  end
468
484
  end
469
485
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdwch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.794
4
+ version: 3.0.795
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-31 00:00:00.000000000 Z
11
+ date: 2024-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common