tencentcloud-sdk-lighthouse 3.0.1140 → 3.0.1145

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/v20200324/models.rb +173 -27
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29a738d6c5fec0ade0799433a8211558c996d9ca
4
- data.tar.gz: 41ea1c4990b164f19c3f03d1b1cb04ac4f14a38c
3
+ metadata.gz: 6d07e6980d578438cd959971f48cfca5b979338d
4
+ data.tar.gz: f6f5edcfd4091da2808b1a0082e18ef026bcac59
5
5
  SHA512:
6
- metadata.gz: cb0a638bab8f51c399fe9038b6b309fc3da0ade976ac72b38b4700e0b32410faf219db73edc73d2a5da475ba47fbf350c91c663767dd713fe3f6a67a495fc1a9
7
- data.tar.gz: c3aa4c68e96baceb2e457345491e97bd35db53554f94dbb1e02c3c141428399f931a5b2c611751134c5222f5000a88028e877e4dd80689d0e91a1fce015ab86c
6
+ metadata.gz: 1fcaf25f8d3e9fd44e97b4d0e6a19cf2131851752644df956acd81c6b52c1e76a412cab74329892f1d9246e4071d332b41147ef7d57839af2a7266999f0bdcfa
7
+ data.tar.gz: 91213d46bb8715d6be2e7bcdd0669b85ebedd3f7ed5c629115ea406570f1bc37b440b2e166feed6f0644db5f249e332f1069915543a8502453a251ffc8d3ce61
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1140
1
+ 3.0.1145
@@ -346,10 +346,12 @@ module TencentCloud
346
346
  # @type DockerVersion: String
347
347
  # @param BlueprintShared: 镜像是否已共享。
348
348
  # @type BlueprintShared: Boolean
349
+ # @param Tags: 镜像绑定的标签列表。
350
+ # @type Tags: Array
349
351
 
350
- attr_accessor :BlueprintId, :DisplayTitle, :DisplayVersion, :Description, :OsName, :Platform, :PlatformType, :BlueprintType, :ImageUrl, :RequiredSystemDiskSize, :BlueprintState, :CreatedTime, :BlueprintName, :SupportAutomationTools, :RequiredMemorySize, :ImageId, :CommunityUrl, :GuideUrl, :SceneIdSet, :DockerVersion, :BlueprintShared
352
+ attr_accessor :BlueprintId, :DisplayTitle, :DisplayVersion, :Description, :OsName, :Platform, :PlatformType, :BlueprintType, :ImageUrl, :RequiredSystemDiskSize, :BlueprintState, :CreatedTime, :BlueprintName, :SupportAutomationTools, :RequiredMemorySize, :ImageId, :CommunityUrl, :GuideUrl, :SceneIdSet, :DockerVersion, :BlueprintShared, :Tags
351
353
 
352
- def initialize(blueprintid=nil, displaytitle=nil, displayversion=nil, description=nil, osname=nil, platform=nil, platformtype=nil, blueprinttype=nil, imageurl=nil, requiredsystemdisksize=nil, blueprintstate=nil, createdtime=nil, blueprintname=nil, supportautomationtools=nil, requiredmemorysize=nil, imageid=nil, communityurl=nil, guideurl=nil, sceneidset=nil, dockerversion=nil, blueprintshared=nil)
354
+ def initialize(blueprintid=nil, displaytitle=nil, displayversion=nil, description=nil, osname=nil, platform=nil, platformtype=nil, blueprinttype=nil, imageurl=nil, requiredsystemdisksize=nil, blueprintstate=nil, createdtime=nil, blueprintname=nil, supportautomationtools=nil, requiredmemorysize=nil, imageid=nil, communityurl=nil, guideurl=nil, sceneidset=nil, dockerversion=nil, blueprintshared=nil, tags=nil)
353
355
  @BlueprintId = blueprintid
354
356
  @DisplayTitle = displaytitle
355
357
  @DisplayVersion = displayversion
@@ -371,6 +373,7 @@ module TencentCloud
371
373
  @SceneIdSet = sceneidset
372
374
  @DockerVersion = dockerversion
373
375
  @BlueprintShared = blueprintshared
376
+ @Tags = tags
374
377
  end
375
378
 
376
379
  def deserialize(params)
@@ -395,6 +398,14 @@ module TencentCloud
395
398
  @SceneIdSet = params['SceneIdSet']
396
399
  @DockerVersion = params['DockerVersion']
397
400
  @BlueprintShared = params['BlueprintShared']
401
+ unless params['Tags'].nil?
402
+ @Tags = []
403
+ params['Tags'].each do |i|
404
+ tag_tmp = Tag.new
405
+ tag_tmp.deserialize(i)
406
+ @Tags << tag_tmp
407
+ end
408
+ end
398
409
  end
399
410
  end
400
411
 
@@ -699,14 +710,17 @@ module TencentCloud
699
710
  # 默认取值:True
700
711
  # 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
701
712
  # @type ForcePowerOff: Boolean
713
+ # @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
714
+ # @type Tags: Array
702
715
 
703
- attr_accessor :BlueprintName, :Description, :InstanceId, :ForcePowerOff
716
+ attr_accessor :BlueprintName, :Description, :InstanceId, :ForcePowerOff, :Tags
704
717
 
705
- def initialize(blueprintname=nil, description=nil, instanceid=nil, forcepoweroff=nil)
718
+ def initialize(blueprintname=nil, description=nil, instanceid=nil, forcepoweroff=nil, tags=nil)
706
719
  @BlueprintName = blueprintname
707
720
  @Description = description
708
721
  @InstanceId = instanceid
709
722
  @ForcePowerOff = forcepoweroff
723
+ @Tags = tags
710
724
  end
711
725
 
712
726
  def deserialize(params)
@@ -714,6 +728,14 @@ module TencentCloud
714
728
  @Description = params['Description']
715
729
  @InstanceId = params['InstanceId']
716
730
  @ForcePowerOff = params['ForcePowerOff']
731
+ unless params['Tags'].nil?
732
+ @Tags = []
733
+ params['Tags'].each do |i|
734
+ tag_tmp = Tag.new
735
+ tag_tmp.deserialize(i)
736
+ @Tags << tag_tmp
737
+ end
738
+ end
717
739
  end
718
740
  end
719
741
 
@@ -743,17 +765,28 @@ module TencentCloud
743
765
  # @type DiskId: String
744
766
  # @param DiskBackupName: 云硬盘备份点名称,最大长度为 90 。
745
767
  # @type DiskBackupName: String
768
+ # @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
769
+ # @type Tags: Array
746
770
 
747
- attr_accessor :DiskId, :DiskBackupName
771
+ attr_accessor :DiskId, :DiskBackupName, :Tags
748
772
 
749
- def initialize(diskid=nil, diskbackupname=nil)
773
+ def initialize(diskid=nil, diskbackupname=nil, tags=nil)
750
774
  @DiskId = diskid
751
775
  @DiskBackupName = diskbackupname
776
+ @Tags = tags
752
777
  end
753
778
 
754
779
  def deserialize(params)
755
780
  @DiskId = params['DiskId']
756
781
  @DiskBackupName = params['DiskBackupName']
782
+ unless params['Tags'].nil?
783
+ @Tags = []
784
+ params['Tags'].each do |i|
785
+ tag_tmp = Tag.new
786
+ tag_tmp.deserialize(i)
787
+ @Tags << tag_tmp
788
+ end
789
+ end
757
790
  end
758
791
  end
759
792
 
@@ -797,10 +830,12 @@ module TencentCloud
797
830
  # @type AutoVoucher: Boolean
798
831
  # @param AutoMountConfiguration: 自动挂载并初始化数据盘。
799
832
  # @type AutoMountConfiguration: :class:`Tencentcloud::Lighthouse.v20200324.models.AutoMountConfiguration`
833
+ # @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
834
+ # @type Tags: Array
800
835
 
801
- attr_accessor :Zone, :DiskSize, :DiskType, :DiskChargePrepaid, :DiskName, :DiskCount, :DiskBackupQuota, :AutoVoucher, :AutoMountConfiguration
836
+ attr_accessor :Zone, :DiskSize, :DiskType, :DiskChargePrepaid, :DiskName, :DiskCount, :DiskBackupQuota, :AutoVoucher, :AutoMountConfiguration, :Tags
802
837
 
803
- def initialize(zone=nil, disksize=nil, disktype=nil, diskchargeprepaid=nil, diskname=nil, diskcount=nil, diskbackupquota=nil, autovoucher=nil, automountconfiguration=nil)
838
+ def initialize(zone=nil, disksize=nil, disktype=nil, diskchargeprepaid=nil, diskname=nil, diskcount=nil, diskbackupquota=nil, autovoucher=nil, automountconfiguration=nil, tags=nil)
804
839
  @Zone = zone
805
840
  @DiskSize = disksize
806
841
  @DiskType = disktype
@@ -810,6 +845,7 @@ module TencentCloud
810
845
  @DiskBackupQuota = diskbackupquota
811
846
  @AutoVoucher = autovoucher
812
847
  @AutoMountConfiguration = automountconfiguration
848
+ @Tags = tags
813
849
  end
814
850
 
815
851
  def deserialize(params)
@@ -828,6 +864,14 @@ module TencentCloud
828
864
  @AutoMountConfiguration = AutoMountConfiguration.new
829
865
  @AutoMountConfiguration.deserialize(params['AutoMountConfiguration'])
830
866
  end
867
+ unless params['Tags'].nil?
868
+ @Tags = []
869
+ params['Tags'].each do |i|
870
+ tag_tmp = Tag.new
871
+ tag_tmp.deserialize(i)
872
+ @Tags << tag_tmp
873
+ end
874
+ end
831
875
  end
832
876
  end
833
877
 
@@ -1000,17 +1044,28 @@ module TencentCloud
1000
1044
  # @type InstanceId: String
1001
1045
  # @param SnapshotName: 快照名称,最长为 60 个字符。
1002
1046
  # @type SnapshotName: String
1047
+ # @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
1048
+ # @type Tags: Array
1003
1049
 
1004
- attr_accessor :InstanceId, :SnapshotName
1050
+ attr_accessor :InstanceId, :SnapshotName, :Tags
1005
1051
 
1006
- def initialize(instanceid=nil, snapshotname=nil)
1052
+ def initialize(instanceid=nil, snapshotname=nil, tags=nil)
1007
1053
  @InstanceId = instanceid
1008
1054
  @SnapshotName = snapshotname
1055
+ @Tags = tags
1009
1056
  end
1010
1057
 
1011
1058
  def deserialize(params)
1012
1059
  @InstanceId = params['InstanceId']
1013
1060
  @SnapshotName = params['SnapshotName']
1061
+ unless params['Tags'].nil?
1062
+ @Tags = []
1063
+ params['Tags'].each do |i|
1064
+ tag_tmp = Tag.new
1065
+ tag_tmp.deserialize(i)
1066
+ @Tags << tag_tmp
1067
+ end
1068
+ end
1014
1069
  end
1015
1070
  end
1016
1071
 
@@ -1171,15 +1226,26 @@ module TencentCloud
1171
1226
  class CreateKeyPairRequest < TencentCloud::Common::AbstractModel
1172
1227
  # @param KeyName: 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
1173
1228
  # @type KeyName: String
1229
+ # @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
1230
+ # @type Tags: Array
1174
1231
 
1175
- attr_accessor :KeyName
1232
+ attr_accessor :KeyName, :Tags
1176
1233
 
1177
- def initialize(keyname=nil)
1234
+ def initialize(keyname=nil, tags=nil)
1178
1235
  @KeyName = keyname
1236
+ @Tags = tags
1179
1237
  end
1180
1238
 
1181
1239
  def deserialize(params)
1182
1240
  @KeyName = params['KeyName']
1241
+ unless params['Tags'].nil?
1242
+ @Tags = []
1243
+ params['Tags'].each do |i|
1244
+ tag_tmp = Tag.new
1245
+ tag_tmp.deserialize(i)
1246
+ @Tags << tag_tmp
1247
+ end
1248
+ end
1183
1249
  end
1184
1250
  end
1185
1251
 
@@ -1702,7 +1768,12 @@ module TencentCloud
1702
1768
  # 类型:String
1703
1769
  # 必选:否
1704
1770
  # 场景Id,可通过[查看使用场景列表](https://cloud.tencent.com/document/product/1207/83512)接口获取。
1705
-
1771
+ # <li>tag-key</li>
1772
+ # 按照【标签键】进行过滤。 类型:String 必选:否
1773
+ # <li>tag-value</li>
1774
+ # 按照【标签值】进行过滤。 类型:String 必选:否
1775
+ # <li>tag:tag-key</li>
1776
+ # 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
1706
1777
  # 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 BlueprintIds (可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值字段BlueprintSet获取BlueprintId)和 Filters 。
1707
1778
  # @type Filters: Array
1708
1779
 
@@ -1997,7 +2068,12 @@ module TencentCloud
1997
2068
  # 取值:
1998
2069
  # - SYSTEM_DISK - 系统盘
1999
2070
  # - DATA_DISK - 数据盘
2000
-
2071
+ # <li>tag-key</li>
2072
+ # 按照【标签键】进行过滤。 类型:String 必选:否
2073
+ # <li>tag-value</li>
2074
+ # 按照【标签值】进行过滤。 类型:String 必选:否
2075
+ # <li>tag:tag-key</li>
2076
+ # 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
2001
2077
  # 每次请求的 Filters 的上限为 10,Filter.Values 的上限为5。参数不支持同时指定DiskBackupIds 和 Filters。
2002
2078
  # @type Filters: Array
2003
2079
  # @param Offset: 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。
@@ -2242,6 +2318,12 @@ module TencentCloud
2242
2318
  # 类型:String
2243
2319
  # 必选:否
2244
2320
  # 取值:参考数据结构[Disk](https://cloud.tencent.com/document/api/1207/47576#Disk)中DiskState取值。
2321
+ # tag-key
2322
+ # 按照【标签键】进行过滤。 类型:String 必选:否
2323
+ # tag-value
2324
+ # 按照【标签值】进行过滤。 类型:String 必选:否
2325
+ # tag:tag-key
2326
+ # 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
2245
2327
  # 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 DiskIds 和 Filters。
2246
2328
  # @type Filters: Array
2247
2329
  # @param Limit: 返回数量,默认为20,最大值为100。
@@ -3448,6 +3530,12 @@ module TencentCloud
3448
3530
  # <li>key-name</li>按照【密钥对名称】进行过滤(支持模糊匹配)。
3449
3531
  # 类型:String
3450
3532
  # 必选:否
3533
+ # <li>tag-key</li>
3534
+ # 按照【标签键】进行过滤。 类型:String 必选:否
3535
+ # <li>tag-value</li>
3536
+ # 按照【标签值】进行过滤。 类型:String 必选:否
3537
+ # <li>tag:tag-key</li>
3538
+ # 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
3451
3539
  # 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。
3452
3540
  # @type Filters: Array
3453
3541
 
@@ -3961,12 +4049,10 @@ module TencentCloud
3961
4049
  # 类型:String
3962
4050
  # 必选:否
3963
4051
  # 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。
3964
-
3965
4052
  # <li>disk-id</li>按照【磁盘 ID】进行过滤。
3966
4053
  # 类型:String
3967
4054
  # 必选:否
3968
4055
  # 可通过 <a href="https://cloud.tencent.com/document/product/1207/66093">DescribeDisks</a> 接口返回值中的 DiskId 获取。
3969
-
3970
4056
  # <li>snapshot-name</li>按照【快照名称】进行过滤。
3971
4057
  # 类型:String
3972
4058
  # 必选:否
@@ -3975,7 +4061,12 @@ module TencentCloud
3975
4061
  # 类型:String
3976
4062
  # 必选:否
3977
4063
  # 可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
3978
-
4064
+ # <li>tag-key</li>
4065
+ # 按照【标签键】进行过滤。 类型:String 必选:否
4066
+ # <li>tag-value</li>
4067
+ # 按照【标签值】进行过滤。 类型:String 必选:否
4068
+ # <li>tag:tag-key</li>
4069
+ # 按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。
3979
4070
  # 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。
3980
4071
  # @type Filters: Array
3981
4072
  # @param Offset: 偏移量,默认为 0。
@@ -4340,10 +4431,12 @@ module TencentCloud
4340
4431
  # @type DiskBackupCount: Integer
4341
4432
  # @param DiskBackupQuota: 云硬盘的备份点配额数量。
4342
4433
  # @type DiskBackupQuota: Integer
4434
+ # @param Tags: 云硬盘绑定的标签列表。
4435
+ # @type Tags: Array
4343
4436
 
4344
- attr_accessor :DiskId, :InstanceId, :Zone, :DiskName, :DiskUsage, :DiskType, :DiskChargeType, :DiskSize, :RenewFlag, :DiskState, :Attached, :DeleteWithInstance, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :ExpiredTime, :IsolatedTime, :DiskBackupCount, :DiskBackupQuota
4437
+ attr_accessor :DiskId, :InstanceId, :Zone, :DiskName, :DiskUsage, :DiskType, :DiskChargeType, :DiskSize, :RenewFlag, :DiskState, :Attached, :DeleteWithInstance, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :ExpiredTime, :IsolatedTime, :DiskBackupCount, :DiskBackupQuota, :Tags
4345
4438
 
4346
- def initialize(diskid=nil, instanceid=nil, zone=nil, diskname=nil, diskusage=nil, disktype=nil, diskchargetype=nil, disksize=nil, renewflag=nil, diskstate=nil, attached=nil, deletewithinstance=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, expiredtime=nil, isolatedtime=nil, diskbackupcount=nil, diskbackupquota=nil)
4439
+ def initialize(diskid=nil, instanceid=nil, zone=nil, diskname=nil, diskusage=nil, disktype=nil, diskchargetype=nil, disksize=nil, renewflag=nil, diskstate=nil, attached=nil, deletewithinstance=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, expiredtime=nil, isolatedtime=nil, diskbackupcount=nil, diskbackupquota=nil, tags=nil)
4347
4440
  @DiskId = diskid
4348
4441
  @InstanceId = instanceid
4349
4442
  @Zone = zone
@@ -4364,6 +4457,7 @@ module TencentCloud
4364
4457
  @IsolatedTime = isolatedtime
4365
4458
  @DiskBackupCount = diskbackupcount
4366
4459
  @DiskBackupQuota = diskbackupquota
4460
+ @Tags = tags
4367
4461
  end
4368
4462
 
4369
4463
  def deserialize(params)
@@ -4387,6 +4481,14 @@ module TencentCloud
4387
4481
  @IsolatedTime = params['IsolatedTime']
4388
4482
  @DiskBackupCount = params['DiskBackupCount']
4389
4483
  @DiskBackupQuota = params['DiskBackupQuota']
4484
+ unless params['Tags'].nil?
4485
+ @Tags = []
4486
+ params['Tags'].each do |i|
4487
+ tag_tmp = Tag.new
4488
+ tag_tmp.deserialize(i)
4489
+ @Tags << tag_tmp
4490
+ end
4491
+ end
4390
4492
  end
4391
4493
  end
4392
4494
 
@@ -4419,10 +4521,12 @@ module TencentCloud
4419
4521
  # @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
4420
4522
  # 格式为: YYYY-MM-DDThh:mm:ssZ。
4421
4523
  # @type CreatedTime: String
4524
+ # @param Tags: 云硬盘备份点绑定的标签列表。
4525
+ # @type Tags: Array
4422
4526
 
4423
- attr_accessor :DiskBackupId, :DiskUsage, :DiskId, :DiskSize, :DiskBackupName, :DiskBackupState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime
4527
+ attr_accessor :DiskBackupId, :DiskUsage, :DiskId, :DiskSize, :DiskBackupName, :DiskBackupState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :Tags
4424
4528
 
4425
- def initialize(diskbackupid=nil, diskusage=nil, diskid=nil, disksize=nil, diskbackupname=nil, diskbackupstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil)
4529
+ def initialize(diskbackupid=nil, diskusage=nil, diskid=nil, disksize=nil, diskbackupname=nil, diskbackupstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, tags=nil)
4426
4530
  @DiskBackupId = diskbackupid
4427
4531
  @DiskUsage = diskusage
4428
4532
  @DiskId = diskid
@@ -4434,6 +4538,7 @@ module TencentCloud
4434
4538
  @LatestOperationState = latestoperationstate
4435
4539
  @LatestOperationRequestId = latestoperationrequestid
4436
4540
  @CreatedTime = createdtime
4541
+ @Tags = tags
4437
4542
  end
4438
4543
 
4439
4544
  def deserialize(params)
@@ -4448,6 +4553,14 @@ module TencentCloud
4448
4553
  @LatestOperationState = params['LatestOperationState']
4449
4554
  @LatestOperationRequestId = params['LatestOperationRequestId']
4450
4555
  @CreatedTime = params['CreatedTime']
4556
+ unless params['Tags'].nil?
4557
+ @Tags = []
4558
+ params['Tags'].each do |i|
4559
+ tag_tmp = Tag.new
4560
+ tag_tmp.deserialize(i)
4561
+ @Tags << tag_tmp
4562
+ end
4563
+ end
4451
4564
  end
4452
4565
  end
4453
4566
 
@@ -5264,17 +5377,28 @@ module TencentCloud
5264
5377
  # @type KeyName: String
5265
5378
  # @param PublicKey: 密钥对的公钥内容, OpenSSH RSA 格式。
5266
5379
  # @type PublicKey: String
5380
+ # @param Tags: 标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。
5381
+ # @type Tags: Array
5267
5382
 
5268
- attr_accessor :KeyName, :PublicKey
5383
+ attr_accessor :KeyName, :PublicKey, :Tags
5269
5384
 
5270
- def initialize(keyname=nil, publickey=nil)
5385
+ def initialize(keyname=nil, publickey=nil, tags=nil)
5271
5386
  @KeyName = keyname
5272
5387
  @PublicKey = publickey
5388
+ @Tags = tags
5273
5389
  end
5274
5390
 
5275
5391
  def deserialize(params)
5276
5392
  @KeyName = params['KeyName']
5277
5393
  @PublicKey = params['PublicKey']
5394
+ unless params['Tags'].nil?
5395
+ @Tags = []
5396
+ params['Tags'].each do |i|
5397
+ tag_tmp = Tag.new
5398
+ tag_tmp.deserialize(i)
5399
+ @Tags << tag_tmp
5400
+ end
5401
+ end
5278
5402
  end
5279
5403
  end
5280
5404
 
@@ -6112,16 +6236,19 @@ module TencentCloud
6112
6236
  # @param PrivateKey: 密钥对私钥。
6113
6237
  # 注意:此字段可能返回 null,表示取不到有效值。
6114
6238
  # @type PrivateKey: String
6239
+ # @param Tags: 密钥对绑定的标签列表。
6240
+ # @type Tags: Array
6115
6241
 
6116
- attr_accessor :KeyId, :KeyName, :PublicKey, :AssociatedInstanceIds, :CreatedTime, :PrivateKey
6242
+ attr_accessor :KeyId, :KeyName, :PublicKey, :AssociatedInstanceIds, :CreatedTime, :PrivateKey, :Tags
6117
6243
 
6118
- def initialize(keyid=nil, keyname=nil, publickey=nil, associatedinstanceids=nil, createdtime=nil, privatekey=nil)
6244
+ def initialize(keyid=nil, keyname=nil, publickey=nil, associatedinstanceids=nil, createdtime=nil, privatekey=nil, tags=nil)
6119
6245
  @KeyId = keyid
6120
6246
  @KeyName = keyname
6121
6247
  @PublicKey = publickey
6122
6248
  @AssociatedInstanceIds = associatedinstanceids
6123
6249
  @CreatedTime = createdtime
6124
6250
  @PrivateKey = privatekey
6251
+ @Tags = tags
6125
6252
  end
6126
6253
 
6127
6254
  def deserialize(params)
@@ -6131,6 +6258,14 @@ module TencentCloud
6131
6258
  @AssociatedInstanceIds = params['AssociatedInstanceIds']
6132
6259
  @CreatedTime = params['CreatedTime']
6133
6260
  @PrivateKey = params['PrivateKey']
6261
+ unless params['Tags'].nil?
6262
+ @Tags = []
6263
+ params['Tags'].each do |i|
6264
+ tag_tmp = Tag.new
6265
+ tag_tmp.deserialize(i)
6266
+ @Tags << tag_tmp
6267
+ end
6268
+ end
6134
6269
  end
6135
6270
  end
6136
6271
 
@@ -7997,10 +8132,12 @@ module TencentCloud
7997
8132
  # @type LatestOperationRequestId: String
7998
8133
  # @param CreatedTime: 快照的创建时间。
7999
8134
  # @type CreatedTime: String
8135
+ # @param Tags: 快照绑定的标签列表。
8136
+ # @type Tags: Array
8000
8137
 
8001
- attr_accessor :SnapshotId, :DiskUsage, :DiskId, :DiskSize, :SnapshotName, :SnapshotState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime
8138
+ attr_accessor :SnapshotId, :DiskUsage, :DiskId, :DiskSize, :SnapshotName, :SnapshotState, :Percent, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :Tags
8002
8139
 
8003
- def initialize(snapshotid=nil, diskusage=nil, diskid=nil, disksize=nil, snapshotname=nil, snapshotstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil)
8140
+ def initialize(snapshotid=nil, diskusage=nil, diskid=nil, disksize=nil, snapshotname=nil, snapshotstate=nil, percent=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, tags=nil)
8004
8141
  @SnapshotId = snapshotid
8005
8142
  @DiskUsage = diskusage
8006
8143
  @DiskId = diskid
@@ -8012,6 +8149,7 @@ module TencentCloud
8012
8149
  @LatestOperationState = latestoperationstate
8013
8150
  @LatestOperationRequestId = latestoperationrequestid
8014
8151
  @CreatedTime = createdtime
8152
+ @Tags = tags
8015
8153
  end
8016
8154
 
8017
8155
  def deserialize(params)
@@ -8026,6 +8164,14 @@ module TencentCloud
8026
8164
  @LatestOperationState = params['LatestOperationState']
8027
8165
  @LatestOperationRequestId = params['LatestOperationRequestId']
8028
8166
  @CreatedTime = params['CreatedTime']
8167
+ unless params['Tags'].nil?
8168
+ @Tags = []
8169
+ params['Tags'].each do |i|
8170
+ tag_tmp = Tag.new
8171
+ tag_tmp.deserialize(i)
8172
+ @Tags << tag_tmp
8173
+ end
8174
+ end
8029
8175
  end
8030
8176
  end
8031
8177
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lighthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1140
4
+ version: 3.0.1145
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-09-15 00:00:00.000000000 Z
11
+ date: 2025-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common