tencentcloud-sdk-cam 1.0.314 → 1.0.315

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/v20190116/models.rb +73 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd2c6c38214ab37a0d00018b687d85c536c94f52
4
- data.tar.gz: 346c2e09376d2e5b77ffe256949377a42ae71bae
3
+ metadata.gz: e66c358327931880d7169668584b51ac36173cb6
4
+ data.tar.gz: 4fbc43b74fed40ba79dd98e9df6c946cff938088
5
5
  SHA512:
6
- metadata.gz: ebb5faef068045bc5186bd1cac47d0a1368651b553b2e19261cc18b0541fcca086b17638a096978318c38a9be78a0c514eccecfeda773183d421142f2817818f
7
- data.tar.gz: a7b29fdc33c31d3613f257dd0136990c332bc390a9f15e672f05d3f30706585c5cdd2f24f5549b3c0add012b79b9a7b091a6e9a95b927c3495066ca6139c51dd
6
+ metadata.gz: ae577f79b379d8d0a9eab1cb742915f5671c4e54cecec97cac9fbe9e82d7f58430558431293145f42da6fda5a6fa5dde22c9df560ff95549e7035f03d8ed3ed9
7
+ data.tar.gz: 6ae9cb9c792a607d46c0130057891aa4a5a3c9db2650677c3e8ceecd8be36ed6e06b5e95435c9f995edad0becf9a63f00fd4c7f4d3dd92a8e93298506681603b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.314
1
+ 1.0.315
@@ -732,15 +732,18 @@ module TencentCloud
732
732
  # @type ConsoleLogin: Integer
733
733
  # @param SessionDuration: 申请角色临时密钥的最长有效期限制(范围:0~43200)
734
734
  # @type SessionDuration: Integer
735
+ # @param Tags: 角色绑定标签
736
+ # @type Tags: Array
735
737
 
736
- attr_accessor :RoleName, :PolicyDocument, :Description, :ConsoleLogin, :SessionDuration
738
+ attr_accessor :RoleName, :PolicyDocument, :Description, :ConsoleLogin, :SessionDuration, :Tags
737
739
 
738
- def initialize(rolename=nil, policydocument=nil, description=nil, consolelogin=nil, sessionduration=nil)
740
+ def initialize(rolename=nil, policydocument=nil, description=nil, consolelogin=nil, sessionduration=nil, tags=nil)
739
741
  @RoleName = rolename
740
742
  @PolicyDocument = policydocument
741
743
  @Description = description
742
744
  @ConsoleLogin = consolelogin
743
745
  @SessionDuration = sessionduration
746
+ @Tags = tags
744
747
  end
745
748
 
746
749
  def deserialize(params)
@@ -749,6 +752,14 @@ module TencentCloud
749
752
  @Description = params['Description']
750
753
  @ConsoleLogin = params['ConsoleLogin']
751
754
  @SessionDuration = params['SessionDuration']
755
+ unless params['Tags'].nil?
756
+ @Tags = []
757
+ params['Tags'].each do |i|
758
+ roletags_tmp = RoleTags.new
759
+ roletags_tmp.deserialize(i)
760
+ @Tags << roletags_tmp
761
+ end
762
+ end
752
763
  end
753
764
  end
754
765
 
@@ -825,19 +836,30 @@ module TencentCloud
825
836
  # @type CustomSuffix: String
826
837
  # @param Description: 角色说明。
827
838
  # @type Description: String
839
+ # @param Tags: 角色绑定标签。
840
+ # @type Tags: Array
828
841
 
829
- attr_accessor :QCSServiceName, :CustomSuffix, :Description
842
+ attr_accessor :QCSServiceName, :CustomSuffix, :Description, :Tags
830
843
 
831
- def initialize(qcsservicename=nil, customsuffix=nil, description=nil)
844
+ def initialize(qcsservicename=nil, customsuffix=nil, description=nil, tags=nil)
832
845
  @QCSServiceName = qcsservicename
833
846
  @CustomSuffix = customsuffix
834
847
  @Description = description
848
+ @Tags = tags
835
849
  end
836
850
 
837
851
  def deserialize(params)
838
852
  @QCSServiceName = params['QCSServiceName']
839
853
  @CustomSuffix = params['CustomSuffix']
840
854
  @Description = params['Description']
855
+ unless params['Tags'].nil?
856
+ @Tags = []
857
+ params['Tags'].each do |i|
858
+ roletags_tmp = RoleTags.new
859
+ roletags_tmp.deserialize(i)
860
+ @Tags << roletags_tmp
861
+ end
862
+ end
841
863
  end
842
864
  end
843
865
 
@@ -1364,17 +1386,28 @@ module TencentCloud
1364
1386
  # @type Page: Integer
1365
1387
  # @param Rp: 每页行数,不能大于200
1366
1388
  # @type Rp: Integer
1389
+ # @param Tags: 标签筛选
1390
+ # @type Tags: Array
1367
1391
 
1368
- attr_accessor :Page, :Rp
1392
+ attr_accessor :Page, :Rp, :Tags
1369
1393
 
1370
- def initialize(page=nil, rp=nil)
1394
+ def initialize(page=nil, rp=nil, tags=nil)
1371
1395
  @Page = page
1372
1396
  @Rp = rp
1397
+ @Tags = tags
1373
1398
  end
1374
1399
 
1375
1400
  def deserialize(params)
1376
1401
  @Page = params['Page']
1377
1402
  @Rp = params['Rp']
1403
+ unless params['Tags'].nil?
1404
+ @Tags = []
1405
+ params['Tags'].each do |i|
1406
+ roletags_tmp = RoleTags.new
1407
+ roletags_tmp.deserialize(i)
1408
+ @Tags << roletags_tmp
1409
+ end
1410
+ end
1378
1411
  end
1379
1412
  end
1380
1413
 
@@ -3943,10 +3976,13 @@ module TencentCloud
3943
3976
  # @param DeletionTaskId: 服务相关角色删除TaskId
3944
3977
  # 注意:此字段可能返回 null,表示取不到有效值。
3945
3978
  # @type DeletionTaskId: String
3979
+ # @param Tags: 标签
3980
+ # 注意:此字段可能返回 null,表示取不到有效值。
3981
+ # @type Tags: Array
3946
3982
 
3947
- attr_accessor :RoleId, :RoleName, :PolicyDocument, :Description, :AddTime, :UpdateTime, :ConsoleLogin, :RoleType, :SessionDuration, :DeletionTaskId
3983
+ attr_accessor :RoleId, :RoleName, :PolicyDocument, :Description, :AddTime, :UpdateTime, :ConsoleLogin, :RoleType, :SessionDuration, :DeletionTaskId, :Tags
3948
3984
 
3949
- def initialize(roleid=nil, rolename=nil, policydocument=nil, description=nil, addtime=nil, updatetime=nil, consolelogin=nil, roletype=nil, sessionduration=nil, deletiontaskid=nil)
3985
+ def initialize(roleid=nil, rolename=nil, policydocument=nil, description=nil, addtime=nil, updatetime=nil, consolelogin=nil, roletype=nil, sessionduration=nil, deletiontaskid=nil, tags=nil)
3950
3986
  @RoleId = roleid
3951
3987
  @RoleName = rolename
3952
3988
  @PolicyDocument = policydocument
@@ -3957,6 +3993,7 @@ module TencentCloud
3957
3993
  @RoleType = roletype
3958
3994
  @SessionDuration = sessionduration
3959
3995
  @DeletionTaskId = deletiontaskid
3996
+ @Tags = tags
3960
3997
  end
3961
3998
 
3962
3999
  def deserialize(params)
@@ -3970,6 +4007,34 @@ module TencentCloud
3970
4007
  @RoleType = params['RoleType']
3971
4008
  @SessionDuration = params['SessionDuration']
3972
4009
  @DeletionTaskId = params['DeletionTaskId']
4010
+ unless params['Tags'].nil?
4011
+ @Tags = []
4012
+ params['Tags'].each do |i|
4013
+ roletags_tmp = RoleTags.new
4014
+ roletags_tmp.deserialize(i)
4015
+ @Tags << roletags_tmp
4016
+ end
4017
+ end
4018
+ end
4019
+ end
4020
+
4021
+ # 角色标签类型
4022
+ class RoleTags < TencentCloud::Common::AbstractModel
4023
+ # @param Key: 标签键
4024
+ # @type Key: String
4025
+ # @param Value: 标签值
4026
+ # @type Value: String
4027
+
4028
+ attr_accessor :Key, :Value
4029
+
4030
+ def initialize(key=nil, value=nil)
4031
+ @Key = key
4032
+ @Value = value
4033
+ end
4034
+
4035
+ def deserialize(params)
4036
+ @Key = params['Key']
4037
+ @Value = params['Value']
3973
4038
  end
3974
4039
  end
3975
4040
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.314
4
+ version: 1.0.315
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-05-17 00:00:00.000000000 Z
11
+ date: 2022-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common