tencentcloud-sdk-cam 3.0.1189 → 3.0.1190

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 +59 -7
  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: 5942c51a716156e08765173f1e9cd1580308b5cc
4
+ data.tar.gz: 9bb6e749297aa9871a681ae9db5969172135064a
5
5
  SHA512:
6
- metadata.gz: c5b30c2f96cf36b6f14284bdba70d5bd8c6218b0923cb8d6a15f4a797560d5fb7e246e12fbe6db39cdfcde756f69a8c68c2141cfe0efefa0a65fd0e403fd4754
7
- data.tar.gz: 921aaf972d1b26804753d0d9d61395b8f11b7dfa15644b0e3afc5477a2c3138f83f916240ff139d643dc5eb5ea0ba7aabe38b3cfd86a50309a1be8cc1677bfda
6
+ metadata.gz: 08302864d87880bfb88524a2d678f5f6a385f715e50863b264f980370d3cdfd922f5140426ded41e13f390684b17ead74313721f4f5be7d23f3c37b5353e2a86
7
+ data.tar.gz: c41987f89b99bde2983b0d99e322cd179c86290e2dfaa8753371a66739847e792207b1ae852d345c048450362f7fc5b3c3857f5190b04f399f8ca9256848d720
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1189
1
+ 3.0.1190
@@ -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
 
@@ -2417,12 +2428,14 @@ module TencentCloud
2417
2428
  # @type PresetAlias: String
2418
2429
  # @param IsServiceLinkedRolePolicy: 是否是服务相关策略,0代表不是服务相关策略,1代表是服务相关策略。
2419
2430
  # @type IsServiceLinkedRolePolicy: Integer
2431
+ # @param Tags: 策略关联的标签列表
2432
+ # @type Tags: Array
2420
2433
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2421
2434
  # @type RequestId: String
2422
2435
 
2423
- attr_accessor :PolicyName, :Description, :Type, :AddTime, :UpdateTime, :PolicyDocument, :PresetAlias, :IsServiceLinkedRolePolicy, :RequestId
2436
+ attr_accessor :PolicyName, :Description, :Type, :AddTime, :UpdateTime, :PolicyDocument, :PresetAlias, :IsServiceLinkedRolePolicy, :Tags, :RequestId
2424
2437
 
2425
- def initialize(policyname=nil, description=nil, type=nil, addtime=nil, updatetime=nil, policydocument=nil, presetalias=nil, isservicelinkedrolepolicy=nil, requestid=nil)
2438
+ def initialize(policyname=nil, description=nil, type=nil, addtime=nil, updatetime=nil, policydocument=nil, presetalias=nil, isservicelinkedrolepolicy=nil, tags=nil, requestid=nil)
2426
2439
  @PolicyName = policyname
2427
2440
  @Description = description
2428
2441
  @Type = type
@@ -2431,6 +2444,7 @@ module TencentCloud
2431
2444
  @PolicyDocument = policydocument
2432
2445
  @PresetAlias = presetalias
2433
2446
  @IsServiceLinkedRolePolicy = isservicelinkedrolepolicy
2447
+ @Tags = tags
2434
2448
  @RequestId = requestid
2435
2449
  end
2436
2450
 
@@ -2443,6 +2457,14 @@ module TencentCloud
2443
2457
  @PolicyDocument = params['PolicyDocument']
2444
2458
  @PresetAlias = params['PresetAlias']
2445
2459
  @IsServiceLinkedRolePolicy = params['IsServiceLinkedRolePolicy']
2460
+ unless params['Tags'].nil?
2461
+ @Tags = []
2462
+ params['Tags'].each do |i|
2463
+ tag_tmp = Tag.new
2464
+ tag_tmp.deserialize(i)
2465
+ @Tags << tag_tmp
2466
+ end
2467
+ end
2446
2468
  @RequestId = params['RequestId']
2447
2469
  end
2448
2470
  end
@@ -4668,7 +4690,6 @@ module TencentCloud
4668
4690
  # @param PolicyName: 策略名称。
4669
4691
  # @type PolicyName: String
4670
4692
  # @param AddTime: 策略创建时间。
4671
- # 注意:此字段可能返回 null,表示取不到有效值。
4672
4693
  # @type AddTime: String
4673
4694
  # @param Type: 策略类型。1 表示自定义策略,2 表示预设策略。
4674
4695
  # @type Type: Integer
@@ -4703,10 +4724,12 @@ module TencentCloud
4703
4724
  # @param UpdateTime: 最后编辑时间
4704
4725
  # 注意:此字段可能返回 null,表示取不到有效值。
4705
4726
  # @type UpdateTime: String
4727
+ # @param Tags: 标签列表
4728
+ # @type Tags: Array
4706
4729
 
4707
- attr_accessor :PolicyId, :PolicyName, :AddTime, :Type, :Description, :CreateMode, :Attachments, :ServiceType, :IsAttached, :Deactived, :DeactivedDetail, :IsServiceLinkedPolicy, :AttachEntityCount, :AttachEntityBoundaryCount, :UpdateTime
4730
+ attr_accessor :PolicyId, :PolicyName, :AddTime, :Type, :Description, :CreateMode, :Attachments, :ServiceType, :IsAttached, :Deactived, :DeactivedDetail, :IsServiceLinkedPolicy, :AttachEntityCount, :AttachEntityBoundaryCount, :UpdateTime, :Tags
4708
4731
 
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)
4732
+ 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
4733
  @PolicyId = policyid
4711
4734
  @PolicyName = policyname
4712
4735
  @AddTime = addtime
@@ -4722,6 +4745,7 @@ module TencentCloud
4722
4745
  @AttachEntityCount = attachentitycount
4723
4746
  @AttachEntityBoundaryCount = attachentityboundarycount
4724
4747
  @UpdateTime = updatetime
4748
+ @Tags = tags
4725
4749
  end
4726
4750
 
4727
4751
  def deserialize(params)
@@ -4740,6 +4764,14 @@ module TencentCloud
4740
4764
  @AttachEntityCount = params['AttachEntityCount']
4741
4765
  @AttachEntityBoundaryCount = params['AttachEntityBoundaryCount']
4742
4766
  @UpdateTime = params['UpdateTime']
4767
+ unless params['Tags'].nil?
4768
+ @Tags = []
4769
+ params['Tags'].each do |i|
4770
+ tag_tmp = Tag.new
4771
+ tag_tmp.deserialize(i)
4772
+ @Tags << tag_tmp
4773
+ end
4774
+ end
4743
4775
  end
4744
4776
  end
4745
4777
 
@@ -4841,6 +4873,26 @@ module TencentCloud
4841
4873
  end
4842
4874
  end
4843
4875
 
4876
+ # 标签
4877
+ class Tag < TencentCloud::Common::AbstractModel
4878
+ # @param Key: 标签键
4879
+ # @type Key: String
4880
+ # @param Value: 标签值
4881
+ # @type Value: String
4882
+
4883
+ attr_accessor :Key, :Value
4884
+
4885
+ def initialize(key=nil, value=nil)
4886
+ @Key = key
4887
+ @Value = value
4888
+ end
4889
+
4890
+ def deserialize(params)
4891
+ @Key = params['Key']
4892
+ @Value = params['Value']
4893
+ end
4894
+ end
4895
+
4844
4896
  # TagRole请求参数结构体
4845
4897
  class TagRoleRequest < TencentCloud::Common::AbstractModel
4846
4898
  # @param Tags: 标签
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.1190
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: 2025-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common