tencentcloud-sdk-cvm 1.0.296 → 1.0.297

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/v20170312/models.rb +14 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3d5b3fbae65c503523c6be165ebb28c2fe1038e
4
- data.tar.gz: 324a9c39cfa8d872056d71d0862a2deb843332f0
3
+ metadata.gz: b5e1c56d689aa6f23217a5e29c05f5aaf7b3711d
4
+ data.tar.gz: d6ba81316547f8975dc043e6e533f5cc62977958
5
5
  SHA512:
6
- metadata.gz: 5f8ca7f7ad2aac7153b59d3987a07e57f145d90e063114a8898b219dd3b162f167f5d3968b74fd5e4c46426c792b097c4cd3a65674f4545a4db4385e03372cd4
7
- data.tar.gz: 10008ea4c7e7770e3f580020375db1268098da95a23a50d58b806b1007619a84246597bf7e2dd291c9693e80f8e5f08465eb74e67de980f73629e2deef5ef82e
6
+ metadata.gz: f9b3ac69b104717f1fd9adc79e9a0d4d6d99ecdef53aebc914bd8ba70f107d4e38f1c4305e53cf9b65cc281472ecd78124b50393c5e15e6eebfcb3acd556146f
7
+ data.tar.gz: 1fbe53afd5e2b30153109945d3c87362314139464a1dfff21c08e81e1f13ccd10c677b7cbeb03a098aea8f5595fb4b0236b3bbb47f16518f4556079b0b958243
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.296
1
+ 1.0.297
@@ -3013,10 +3013,13 @@ module TencentCloud
3013
3013
  # @param SnapshotSet: 镜像关联的快照信息
3014
3014
  # 注意:此字段可能返回 null,表示取不到有效值。
3015
3015
  # @type SnapshotSet: Array
3016
+ # @param Tags: 镜像关联的标签列表。
3017
+ # 注意:此字段可能返回 null,表示取不到有效值。
3018
+ # @type Tags: Array
3016
3019
 
3017
- attr_accessor :ImageId, :OsName, :ImageType, :CreatedTime, :ImageName, :ImageDescription, :ImageSize, :Architecture, :ImageState, :Platform, :ImageCreator, :ImageSource, :SyncPercent, :IsSupportCloudinit, :SnapshotSet
3020
+ attr_accessor :ImageId, :OsName, :ImageType, :CreatedTime, :ImageName, :ImageDescription, :ImageSize, :Architecture, :ImageState, :Platform, :ImageCreator, :ImageSource, :SyncPercent, :IsSupportCloudinit, :SnapshotSet, :Tags
3018
3021
 
3019
- def initialize(imageid=nil, osname=nil, imagetype=nil, createdtime=nil, imagename=nil, imagedescription=nil, imagesize=nil, architecture=nil, imagestate=nil, platform=nil, imagecreator=nil, imagesource=nil, syncpercent=nil, issupportcloudinit=nil, snapshotset=nil)
3022
+ def initialize(imageid=nil, osname=nil, imagetype=nil, createdtime=nil, imagename=nil, imagedescription=nil, imagesize=nil, architecture=nil, imagestate=nil, platform=nil, imagecreator=nil, imagesource=nil, syncpercent=nil, issupportcloudinit=nil, snapshotset=nil, tags=nil)
3020
3023
  @ImageId = imageid
3021
3024
  @OsName = osname
3022
3025
  @ImageType = imagetype
@@ -3032,6 +3035,7 @@ module TencentCloud
3032
3035
  @SyncPercent = syncpercent
3033
3036
  @IsSupportCloudinit = issupportcloudinit
3034
3037
  @SnapshotSet = snapshotset
3038
+ @Tags = tags
3035
3039
  end
3036
3040
 
3037
3041
  def deserialize(params)
@@ -3057,6 +3061,14 @@ module TencentCloud
3057
3061
  @SnapshotSet << snapshot_tmp
3058
3062
  end
3059
3063
  end
3064
+ unless params['Tags'].nil?
3065
+ @Tags = []
3066
+ params['Tags'].each do |i|
3067
+ tag_tmp = Tag.new
3068
+ tag_tmp.deserialize(i)
3069
+ @Tags << tag_tmp
3070
+ end
3071
+ end
3060
3072
  end
3061
3073
  end
3062
3074
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.296
4
+ version: 1.0.297
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-13 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common