tencentcloud-sdk-cam 1.0.313 → 1.0.316

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/v20190116/models.rb +73 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17b04989aa845519950f4e21f439cf9846826584
4
- data.tar.gz: 736f96689843442987f811d7e8dce37f070a3a50
3
+ metadata.gz: 6cb794c25ebfc283965ca3d7ad40c449b7ddbaab
4
+ data.tar.gz: 51c3b7e9d0458bf22b450ab7f6d44a76ced5d18f
5
5
  SHA512:
6
- metadata.gz: 4cfac3c0a40c01d3f68bc4d341f26316cb1d011d9fc76d8d1d9bf046e6296629c51fd209258d76acb2a4dda39d763b59365a834743b31281214b2affb6d15042
7
- data.tar.gz: e26200a3c490a7f476335c00e32db12bed4a3623be722d375378747b535ca20eefe4bcf939af7e14948bb7591625715cffd914014750bf2d988dc7960607ba79
6
+ metadata.gz: 33da3ba1a5d655c2b589c5822ba80f5b82092fd464daef878a32bb76abbe1222b2e4ed7a85c809bc0aa7cf252a12681adc80efb59f9b95d24ef40aeba323be51
7
+ data.tar.gz: 3cd63480651d531f33dd01bf80dc84da0d5944c52e8dd23ab6d74255e0df3ccfa65de5a4c16bb4d8e61cb28c7bfe9b192448bd3d8c6d7585a5490ad945b58721
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.313
1
+ 1.0.316
@@ -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.313
4
+ version: 1.0.316
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-16 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