tencentcloud-sdk-cam 3.0.1189 → 3.0.1211

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 +79 -15
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba0e86a9d2091f32190df6910aabaa27131a528c
4
- data.tar.gz: a17ef4e9a5b789fa9b3798c3f4af210f0233dfd2
3
+ metadata.gz: b220c9c8b88081423759533e021241a8de5a978c
4
+ data.tar.gz: ef2a49235b94a5457c08c5722981fc878d203893
5
5
  SHA512:
6
- metadata.gz: c5b30c2f96cf36b6f14284bdba70d5bd8c6218b0923cb8d6a15f4a797560d5fb7e246e12fbe6db39cdfcde756f69a8c68c2141cfe0efefa0a65fd0e403fd4754
7
- data.tar.gz: 921aaf972d1b26804753d0d9d61395b8f11b7dfa15644b0e3afc5477a2c3138f83f916240ff139d643dc5eb5ea0ba7aabe38b3cfd86a50309a1be8cc1677bfda
6
+ metadata.gz: c1d1691af86b02e9fe811c3788e4c6c80183caf53731b4db7668e2d7dbb369156db27d9d0f66a21af7a5bbe6bbb0a130e1c47e8feb54302578f90b07a926c470
7
+ data.tar.gz: f5790a9f0c4291cb7ea8db7496315f1d4b0e5c490d729e8802a947f239277256e3679946317a1710e413b68ba40ee0eeff5e5e43a252102cc16a86a9f75296ce
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1189
1
+ 3.0.1211
@@ -843,19 +843,30 @@ module TencentCloud
843
843
  # @type PolicyDocument: String
844
844
  # @param Description: 策略描述
845
845
  # @type Description: String
846
+ # @param Tags: 策略关联的标签列表
847
+ # @type Tags: Array
846
848
 
847
- attr_accessor :PolicyName, :PolicyDocument, :Description
849
+ attr_accessor :PolicyName, :PolicyDocument, :Description, :Tags
848
850
 
849
- def initialize(policyname=nil, policydocument=nil, description=nil)
851
+ def initialize(policyname=nil, policydocument=nil, description=nil, tags=nil)
850
852
  @PolicyName = policyname
851
853
  @PolicyDocument = policydocument
852
854
  @Description = description
855
+ @Tags = tags
853
856
  end
854
857
 
855
858
  def deserialize(params)
856
859
  @PolicyName = params['PolicyName']
857
860
  @PolicyDocument = params['PolicyDocument']
858
861
  @Description = params['Description']
862
+ unless params['Tags'].nil?
863
+ @Tags = []
864
+ params['Tags'].each do |i|
865
+ tag_tmp = Tag.new
866
+ tag_tmp.deserialize(i)
867
+ @Tags << tag_tmp
868
+ end
869
+ end
859
870
  end
860
871
  end
861
872
 
@@ -1162,10 +1173,12 @@ module TencentCloud
1162
1173
  # @type Scope: Array
1163
1174
  # @param Description: 描述信息。由用户自行定义。
1164
1175
  # @type Description: String
1176
+ # @param AutoRotateKey: OIDC公钥自动轮转开关(默认为0代表关闭,1代表开启)如果不传的话会默认置0
1177
+ # @type AutoRotateKey: Integer
1165
1178
 
1166
- attr_accessor :IdentityUrl, :ClientId, :AuthorizationEndpoint, :ResponseType, :ResponseMode, :MappingFiled, :IdentityKey, :Scope, :Description
1179
+ attr_accessor :IdentityUrl, :ClientId, :AuthorizationEndpoint, :ResponseType, :ResponseMode, :MappingFiled, :IdentityKey, :Scope, :Description, :AutoRotateKey
1167
1180
 
1168
- def initialize(identityurl=nil, clientid=nil, authorizationendpoint=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, identitykey=nil, scope=nil, description=nil)
1181
+ def initialize(identityurl=nil, clientid=nil, authorizationendpoint=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, identitykey=nil, scope=nil, description=nil, autorotatekey=nil)
1169
1182
  @IdentityUrl = identityurl
1170
1183
  @ClientId = clientid
1171
1184
  @AuthorizationEndpoint = authorizationendpoint
@@ -1175,6 +1188,7 @@ module TencentCloud
1175
1188
  @IdentityKey = identitykey
1176
1189
  @Scope = scope
1177
1190
  @Description = description
1191
+ @AutoRotateKey = autorotatekey
1178
1192
  end
1179
1193
 
1180
1194
  def deserialize(params)
@@ -1187,6 +1201,7 @@ module TencentCloud
1187
1201
  @IdentityKey = params['IdentityKey']
1188
1202
  @Scope = params['Scope']
1189
1203
  @Description = params['Description']
1204
+ @AutoRotateKey = params['AutoRotateKey']
1190
1205
  end
1191
1206
  end
1192
1207
 
@@ -2007,12 +2022,14 @@ module TencentCloud
2007
2022
  # @type MappingFiled: String
2008
2023
  # @param Description: 描述
2009
2024
  # @type Description: String
2025
+ # @param AutoRotateKey: OIDC公钥自动轮转开关(默认为0代表关闭,1代表开启)
2026
+ # @type AutoRotateKey: Integer
2010
2027
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2011
2028
  # @type RequestId: String
2012
2029
 
2013
- attr_accessor :ProviderType, :IdentityUrl, :IdentityKey, :ClientId, :Status, :AuthorizationEndpoint, :Scope, :ResponseType, :ResponseMode, :MappingFiled, :Description, :RequestId
2030
+ attr_accessor :ProviderType, :IdentityUrl, :IdentityKey, :ClientId, :Status, :AuthorizationEndpoint, :Scope, :ResponseType, :ResponseMode, :MappingFiled, :Description, :AutoRotateKey, :RequestId
2014
2031
 
2015
- def initialize(providertype=nil, identityurl=nil, identitykey=nil, clientid=nil, status=nil, authorizationendpoint=nil, scope=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, description=nil, requestid=nil)
2032
+ def initialize(providertype=nil, identityurl=nil, identitykey=nil, clientid=nil, status=nil, authorizationendpoint=nil, scope=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, description=nil, autorotatekey=nil, requestid=nil)
2016
2033
  @ProviderType = providertype
2017
2034
  @IdentityUrl = identityurl
2018
2035
  @IdentityKey = identitykey
@@ -2024,6 +2041,7 @@ module TencentCloud
2024
2041
  @ResponseMode = responsemode
2025
2042
  @MappingFiled = mappingfiled
2026
2043
  @Description = description
2044
+ @AutoRotateKey = autorotatekey
2027
2045
  @RequestId = requestid
2028
2046
  end
2029
2047
 
@@ -2039,6 +2057,7 @@ module TencentCloud
2039
2057
  @ResponseMode = params['ResponseMode']
2040
2058
  @MappingFiled = params['MappingFiled']
2041
2059
  @Description = params['Description']
2060
+ @AutoRotateKey = params['AutoRotateKey']
2042
2061
  @RequestId = params['RequestId']
2043
2062
  end
2044
2063
  end
@@ -2257,8 +2276,8 @@ module TencentCloud
2257
2276
 
2258
2277
  attr_accessor :Policies, :Roles, :Idps, :User, :Group, :Member, :IdentityProviders, :RequestId
2259
2278
  extend Gem::Deprecate
2260
- deprecate :Idps, :none, 2025, 12
2261
- deprecate :Idps=, :none, 2025, 12
2279
+ deprecate :Idps, :none, 2026, 1
2280
+ deprecate :Idps=, :none, 2026, 1
2262
2281
 
2263
2282
  def initialize(policies=nil, roles=nil, idps=nil, user=nil, group=nil, member=nil, identityproviders=nil, requestid=nil)
2264
2283
  @Policies = policies
@@ -2417,12 +2436,14 @@ module TencentCloud
2417
2436
  # @type PresetAlias: String
2418
2437
  # @param IsServiceLinkedRolePolicy: 是否是服务相关策略,0代表不是服务相关策略,1代表是服务相关策略。
2419
2438
  # @type IsServiceLinkedRolePolicy: Integer
2439
+ # @param Tags: 策略关联的标签列表
2440
+ # @type Tags: Array
2420
2441
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2421
2442
  # @type RequestId: String
2422
2443
 
2423
- attr_accessor :PolicyName, :Description, :Type, :AddTime, :UpdateTime, :PolicyDocument, :PresetAlias, :IsServiceLinkedRolePolicy, :RequestId
2444
+ attr_accessor :PolicyName, :Description, :Type, :AddTime, :UpdateTime, :PolicyDocument, :PresetAlias, :IsServiceLinkedRolePolicy, :Tags, :RequestId
2424
2445
 
2425
- def initialize(policyname=nil, description=nil, type=nil, addtime=nil, updatetime=nil, policydocument=nil, presetalias=nil, isservicelinkedrolepolicy=nil, requestid=nil)
2446
+ def initialize(policyname=nil, description=nil, type=nil, addtime=nil, updatetime=nil, policydocument=nil, presetalias=nil, isservicelinkedrolepolicy=nil, tags=nil, requestid=nil)
2426
2447
  @PolicyName = policyname
2427
2448
  @Description = description
2428
2449
  @Type = type
@@ -2431,6 +2452,7 @@ module TencentCloud
2431
2452
  @PolicyDocument = policydocument
2432
2453
  @PresetAlias = presetalias
2433
2454
  @IsServiceLinkedRolePolicy = isservicelinkedrolepolicy
2455
+ @Tags = tags
2434
2456
  @RequestId = requestid
2435
2457
  end
2436
2458
 
@@ -2443,6 +2465,14 @@ module TencentCloud
2443
2465
  @PolicyDocument = params['PolicyDocument']
2444
2466
  @PresetAlias = params['PresetAlias']
2445
2467
  @IsServiceLinkedRolePolicy = params['IsServiceLinkedRolePolicy']
2468
+ unless params['Tags'].nil?
2469
+ @Tags = []
2470
+ params['Tags'].each do |i|
2471
+ tag_tmp = Tag.new
2472
+ tag_tmp.deserialize(i)
2473
+ @Tags << tag_tmp
2474
+ end
2475
+ end
2446
2476
  @RequestId = params['RequestId']
2447
2477
  end
2448
2478
  end
@@ -4668,7 +4698,6 @@ module TencentCloud
4668
4698
  # @param PolicyName: 策略名称。
4669
4699
  # @type PolicyName: String
4670
4700
  # @param AddTime: 策略创建时间。
4671
- # 注意:此字段可能返回 null,表示取不到有效值。
4672
4701
  # @type AddTime: String
4673
4702
  # @param Type: 策略类型。1 表示自定义策略,2 表示预设策略。
4674
4703
  # @type Type: Integer
@@ -4703,10 +4732,12 @@ module TencentCloud
4703
4732
  # @param UpdateTime: 最后编辑时间
4704
4733
  # 注意:此字段可能返回 null,表示取不到有效值。
4705
4734
  # @type UpdateTime: String
4735
+ # @param Tags: 标签列表
4736
+ # @type Tags: Array
4706
4737
 
4707
- attr_accessor :PolicyId, :PolicyName, :AddTime, :Type, :Description, :CreateMode, :Attachments, :ServiceType, :IsAttached, :Deactived, :DeactivedDetail, :IsServiceLinkedPolicy, :AttachEntityCount, :AttachEntityBoundaryCount, :UpdateTime
4738
+ attr_accessor :PolicyId, :PolicyName, :AddTime, :Type, :Description, :CreateMode, :Attachments, :ServiceType, :IsAttached, :Deactived, :DeactivedDetail, :IsServiceLinkedPolicy, :AttachEntityCount, :AttachEntityBoundaryCount, :UpdateTime, :Tags
4708
4739
 
4709
- def initialize(policyid=nil, policyname=nil, addtime=nil, type=nil, description=nil, createmode=nil, attachments=nil, servicetype=nil, isattached=nil, deactived=nil, deactiveddetail=nil, isservicelinkedpolicy=nil, attachentitycount=nil, attachentityboundarycount=nil, updatetime=nil)
4740
+ def initialize(policyid=nil, policyname=nil, addtime=nil, type=nil, description=nil, createmode=nil, attachments=nil, servicetype=nil, isattached=nil, deactived=nil, deactiveddetail=nil, isservicelinkedpolicy=nil, attachentitycount=nil, attachentityboundarycount=nil, updatetime=nil, tags=nil)
4710
4741
  @PolicyId = policyid
4711
4742
  @PolicyName = policyname
4712
4743
  @AddTime = addtime
@@ -4722,6 +4753,7 @@ module TencentCloud
4722
4753
  @AttachEntityCount = attachentitycount
4723
4754
  @AttachEntityBoundaryCount = attachentityboundarycount
4724
4755
  @UpdateTime = updatetime
4756
+ @Tags = tags
4725
4757
  end
4726
4758
 
4727
4759
  def deserialize(params)
@@ -4740,6 +4772,14 @@ module TencentCloud
4740
4772
  @AttachEntityCount = params['AttachEntityCount']
4741
4773
  @AttachEntityBoundaryCount = params['AttachEntityBoundaryCount']
4742
4774
  @UpdateTime = params['UpdateTime']
4775
+ unless params['Tags'].nil?
4776
+ @Tags = []
4777
+ params['Tags'].each do |i|
4778
+ tag_tmp = Tag.new
4779
+ tag_tmp.deserialize(i)
4780
+ @Tags << tag_tmp
4781
+ end
4782
+ end
4743
4783
  end
4744
4784
  end
4745
4785
 
@@ -4841,6 +4881,26 @@ module TencentCloud
4841
4881
  end
4842
4882
  end
4843
4883
 
4884
+ # 标签
4885
+ class Tag < TencentCloud::Common::AbstractModel
4886
+ # @param Key: 标签键
4887
+ # @type Key: String
4888
+ # @param Value: 标签值
4889
+ # @type Value: String
4890
+
4891
+ attr_accessor :Key, :Value
4892
+
4893
+ def initialize(key=nil, value=nil)
4894
+ @Key = key
4895
+ @Value = value
4896
+ end
4897
+
4898
+ def deserialize(params)
4899
+ @Key = params['Key']
4900
+ @Value = params['Value']
4901
+ end
4902
+ end
4903
+
4844
4904
  # TagRole请求参数结构体
4845
4905
  class TagRoleRequest < TencentCloud::Common::AbstractModel
4846
4906
  # @param Tags: 标签
@@ -5329,10 +5389,12 @@ module TencentCloud
5329
5389
  # @type Scope: Array
5330
5390
  # @param Description: 描述,长度为1~255个英文或中文字符,默认值为空。
5331
5391
  # @type Description: String
5392
+ # @param AutoRotateKey: OIDC公钥自动轮转开关(默认为0代表关闭,1代表开启)如果不传的话,会默认置0
5393
+ # @type AutoRotateKey: Integer
5332
5394
 
5333
- attr_accessor :IdentityUrl, :ClientId, :AuthorizationEndpoint, :ResponseType, :ResponseMode, :MappingFiled, :IdentityKey, :Scope, :Description
5395
+ attr_accessor :IdentityUrl, :ClientId, :AuthorizationEndpoint, :ResponseType, :ResponseMode, :MappingFiled, :IdentityKey, :Scope, :Description, :AutoRotateKey
5334
5396
 
5335
- def initialize(identityurl=nil, clientid=nil, authorizationendpoint=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, identitykey=nil, scope=nil, description=nil)
5397
+ def initialize(identityurl=nil, clientid=nil, authorizationendpoint=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, identitykey=nil, scope=nil, description=nil, autorotatekey=nil)
5336
5398
  @IdentityUrl = identityurl
5337
5399
  @ClientId = clientid
5338
5400
  @AuthorizationEndpoint = authorizationendpoint
@@ -5342,6 +5404,7 @@ module TencentCloud
5342
5404
  @IdentityKey = identitykey
5343
5405
  @Scope = scope
5344
5406
  @Description = description
5407
+ @AutoRotateKey = autorotatekey
5345
5408
  end
5346
5409
 
5347
5410
  def deserialize(params)
@@ -5354,6 +5417,7 @@ module TencentCloud
5354
5417
  @IdentityKey = params['IdentityKey']
5355
5418
  @Scope = params['Scope']
5356
5419
  @Description = params['Description']
5420
+ @AutoRotateKey = params['AutoRotateKey']
5357
5421
  end
5358
5422
  end
5359
5423
 
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: 3.0.1189
4
+ version: 3.0.1211
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-24 00:00:00.000000000 Z
11
+ date: 2026-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common