tencentcloud-sdk-cvm 1.0.352 → 1.0.353

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/v20170312/models.rb +26 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39ebc9e2d82c62416cb5b47d0c8f765b7e4b76a5
4
- data.tar.gz: 4b7a90b3a1555e973055aee0c70a6e71fe7644cc
3
+ metadata.gz: 96048b734d2f3c8a5631d618c8568b168669a182
4
+ data.tar.gz: 0b9424c584807a7d997c595d23e43948a2561bdf
5
5
  SHA512:
6
- metadata.gz: ef7f995eadb9797f65e7d7e48330710a450d3c1e3f1b6ef6a0090cf816c99383e7284dc063d30adfd8d48f1474f763288da19f65c61c82f8b49beda85335375d
7
- data.tar.gz: ad42dee3002c808a1a17b2861c1a5f6e62ddf083a802ecdcb95e3d794cc18e40fc31472f09add272d4273f25bfbd9d2e09535ef588922d857ad7738704186985
6
+ metadata.gz: c4bc6e8e11b6fe179154e2d2e5c828db11d462a2317b2dae36f828a973870b4e049c405e5889996bf4e95b5235580b0f838bb00abd45fca879f6a14fb4e9b7db
7
+ data.tar.gz: affb4dfa0a39f7a7bae8dc4b8576cc77f2481747ad8ab6f457a990cecd2b1e57a2f784d9627d94295d58f9a0868b86cb34141f4efa6dc25ef9a44bd924506d4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.352
1
+ 1.0.353
@@ -700,17 +700,28 @@ module TencentCloud
700
700
  # <li>通过项目列表查询项目ID。
701
701
  # <li>通过调用接口DescribeProject,取返回信息中的`projectId `获取项目ID。
702
702
  # @type ProjectId: Integer
703
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到密钥对。
704
+ # @type TagSpecification: Array
703
705
 
704
- attr_accessor :KeyName, :ProjectId
706
+ attr_accessor :KeyName, :ProjectId, :TagSpecification
705
707
 
706
- def initialize(keyname=nil, projectid=nil)
708
+ def initialize(keyname=nil, projectid=nil, tagspecification=nil)
707
709
  @KeyName = keyname
708
710
  @ProjectId = projectid
711
+ @TagSpecification = tagspecification
709
712
  end
710
713
 
711
714
  def deserialize(params)
712
715
  @KeyName = params['KeyName']
713
716
  @ProjectId = params['ProjectId']
717
+ unless params['TagSpecification'].nil?
718
+ @TagSpecification = []
719
+ params['TagSpecification'].each do |i|
720
+ tagspecification_tmp = TagSpecification.new
721
+ tagspecification_tmp.deserialize(i)
722
+ @TagSpecification << tagspecification_tmp
723
+ end
724
+ end
714
725
  end
715
726
  end
716
727
 
@@ -3614,19 +3625,30 @@ module TencentCloud
3614
3625
  # @type ProjectId: Integer
3615
3626
  # @param PublicKey: 密钥对的公钥内容,`OpenSSH RSA` 格式。
3616
3627
  # @type PublicKey: String
3628
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到密钥对。
3629
+ # @type TagSpecification: Array
3617
3630
 
3618
- attr_accessor :KeyName, :ProjectId, :PublicKey
3631
+ attr_accessor :KeyName, :ProjectId, :PublicKey, :TagSpecification
3619
3632
 
3620
- def initialize(keyname=nil, projectid=nil, publickey=nil)
3633
+ def initialize(keyname=nil, projectid=nil, publickey=nil, tagspecification=nil)
3621
3634
  @KeyName = keyname
3622
3635
  @ProjectId = projectid
3623
3636
  @PublicKey = publickey
3637
+ @TagSpecification = tagspecification
3624
3638
  end
3625
3639
 
3626
3640
  def deserialize(params)
3627
3641
  @KeyName = params['KeyName']
3628
3642
  @ProjectId = params['ProjectId']
3629
3643
  @PublicKey = params['PublicKey']
3644
+ unless params['TagSpecification'].nil?
3645
+ @TagSpecification = []
3646
+ params['TagSpecification'].each do |i|
3647
+ tagspecification_tmp = TagSpecification.new
3648
+ tagspecification_tmp.deserialize(i)
3649
+ @TagSpecification << tagspecification_tmp
3650
+ end
3651
+ end
3630
3652
  end
3631
3653
  end
3632
3654
 
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.352
4
+ version: 1.0.353
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-07-10 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common