tencentcloud-sdk-dlc 1.0.278 → 1.0.279

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/v20210125/models.rb +16 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21d134ac787a534bdcfa46fd35e6fd0ea4be3f59
4
- data.tar.gz: 091c651027090c1a365932e9453b81ce41e4b46a
3
+ metadata.gz: 07254f70ddbac52596af1337e178a1b17c42e789
4
+ data.tar.gz: 913d12a2c1fc9293b71e3a534a46c13a97a92f0f
5
5
  SHA512:
6
- metadata.gz: 81b9735a379c1bc92eedc66274ec8a693b71f7121ccee9e4408a50e296009ecf14285b5c611d597bac2f1d8e80dbb69dfaf6010319ae8f18a91da4ab2573ebb2
7
- data.tar.gz: 8b0ff8662ec1d172a6c02a932ee29b95a88d5542b7488f29476c6b7a70876f4806d606ee7a764742e10a0117ace0a1262d030d6285ffd343908f785a2ac36ea1
6
+ metadata.gz: d4c976347c38817ff03635ab3c705b6fd300cf3bd8ce25a6582fe235527ca1838a844d8040a0f6400c2168f5b78694bcd8f18635c2372729665fba17d900d157
7
+ data.tar.gz: 5a548bfd58fe94e8396d31de5eb1e0c1b7ec27c7c184ee852f0f158a299a5832d2f80d36bfbe17669417bf47e7c710d3e8d763ed7e8253c149b4ea381acc717c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.278
1
+ 1.0.279
@@ -648,13 +648,19 @@ module TencentCloud
648
648
  # @type UserDescription: String
649
649
  # @param PolicySet: 绑定到用户的权限集合
650
650
  # @type PolicySet: Array
651
+ # @param UserType: 用户类型。ADMIN:管理员 COMMON:一般用户。当用户类型为管理员的时候,不能设置权限集合和绑定的工作组集合,管理员默认拥有所有权限。该参数不填默认为COMMON
652
+ # @type UserType: String
653
+ # @param WorkGroupIds: 绑定到用户的工作组ID集合。
654
+ # @type WorkGroupIds: Array
651
655
 
652
- attr_accessor :UserId, :UserDescription, :PolicySet
656
+ attr_accessor :UserId, :UserDescription, :PolicySet, :UserType, :WorkGroupIds
653
657
 
654
- def initialize(userid=nil, userdescription=nil, policyset=nil)
658
+ def initialize(userid=nil, userdescription=nil, policyset=nil, usertype=nil, workgroupids=nil)
655
659
  @UserId = userid
656
660
  @UserDescription = userdescription
657
661
  @PolicySet = policyset
662
+ @UserType = usertype
663
+ @WorkGroupIds = workgroupids
658
664
  end
659
665
 
660
666
  def deserialize(params)
@@ -668,6 +674,8 @@ module TencentCloud
668
674
  @PolicySet << policy_tmp
669
675
  end
670
676
  end
677
+ @UserType = params['UserType']
678
+ @WorkGroupIds = params['WorkGroupIds']
671
679
  end
672
680
  end
673
681
 
@@ -695,13 +703,16 @@ module TencentCloud
695
703
  # @type WorkGroupDescription: String
696
704
  # @param PolicySet: 工作组绑定的鉴权策略集合
697
705
  # @type PolicySet: Array
706
+ # @param UserIds: 需要绑定到工作组的用户Id集合
707
+ # @type UserIds: Array
698
708
 
699
- attr_accessor :WorkGroupName, :WorkGroupDescription, :PolicySet
709
+ attr_accessor :WorkGroupName, :WorkGroupDescription, :PolicySet, :UserIds
700
710
 
701
- def initialize(workgroupname=nil, workgroupdescription=nil, policyset=nil)
711
+ def initialize(workgroupname=nil, workgroupdescription=nil, policyset=nil, userids=nil)
702
712
  @WorkGroupName = workgroupname
703
713
  @WorkGroupDescription = workgroupdescription
704
714
  @PolicySet = policyset
715
+ @UserIds = userids
705
716
  end
706
717
 
707
718
  def deserialize(params)
@@ -715,6 +726,7 @@ module TencentCloud
715
726
  @PolicySet << policy_tmp
716
727
  end
717
728
  end
729
+ @UserIds = params['UserIds']
718
730
  end
719
731
  end
720
732
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.278
4
+ version: 1.0.279
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-03-17 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common