tencentcloud-sdk-sts 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/v20180813/models.rb +33 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66db970813e10ff3affd650adbd4e8fbf3fdc4b9
4
- data.tar.gz: e462ef9d2e2f8891983414adcfb1f1a386a518e2
3
+ metadata.gz: abacc66f564e09dd6a059fb8d5e12d25c2a4e7e3
4
+ data.tar.gz: af56cf715a93b587fa652c301500c29002de02ff
5
5
  SHA512:
6
- metadata.gz: 1bba37b1f4f06eb5c10fc70c76844debe0e29c43c83dc6df5218370bf584af612ea5cb4e31784ea1af3da58733f5400336369bc3da44bdba7d1b791f69980f2d
7
- data.tar.gz: d0b81a00c0d7c89408c6a9f1202f88978a38997c5c40babec712a5d82138d4cbb8a753e2350506bbff143f1e2de29dd6412f3f430b626f77bb1d07aa76e9827c
6
+ metadata.gz: f942a8d0704d76b489d492716f0a4e65de6b7ec13b7eae5e223d00d117202155fe9e68f11027c82d55618e981adbde82e850793ea2e920f44cb5aca4e63251d2
7
+ data.tar.gz: ac5161c1741c5a6a4c7b65d3e2fd9b666b3919bd4ce2adb7a1908dd09b9aa0e4a1d35cf60dae3909269eb858caf72c2c1eb8075bd62900306ebbb67f2478a396
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.313
1
+ 1.0.316
@@ -63,15 +63,18 @@ module TencentCloud
63
63
  # @param ExternalId: 角色外部ID,可在[访问管理](https://console.cloud.tencent.com/cam/role),点击角色名获取。
64
64
  # 长度在2到128之间,可包含大小写字符,数字以及特殊字符:=,.@:/-。 正则为:[\w+=,.@:\/-]*
65
65
  # @type ExternalId: String
66
+ # @param Tags: 会话标签列表。最多可以传递 50 个会话标签,不支持包含相同标签键。
67
+ # @type Tags: Array
66
68
 
67
- attr_accessor :RoleArn, :RoleSessionName, :DurationSeconds, :Policy, :ExternalId
69
+ attr_accessor :RoleArn, :RoleSessionName, :DurationSeconds, :Policy, :ExternalId, :Tags
68
70
 
69
- def initialize(rolearn=nil, rolesessionname=nil, durationseconds=nil, policy=nil, externalid=nil)
71
+ def initialize(rolearn=nil, rolesessionname=nil, durationseconds=nil, policy=nil, externalid=nil, tags=nil)
70
72
  @RoleArn = rolearn
71
73
  @RoleSessionName = rolesessionname
72
74
  @DurationSeconds = durationseconds
73
75
  @Policy = policy
74
76
  @ExternalId = externalid
77
+ @Tags = tags
75
78
  end
76
79
 
77
80
  def deserialize(params)
@@ -80,6 +83,14 @@ module TencentCloud
80
83
  @DurationSeconds = params['DurationSeconds']
81
84
  @Policy = params['Policy']
82
85
  @ExternalId = params['ExternalId']
86
+ unless params['Tags'].nil?
87
+ @Tags = []
88
+ params['Tags'].each do |i|
89
+ tag_tmp = Tag.new
90
+ tag_tmp.deserialize(i)
91
+ @Tags << tag_tmp
92
+ end
93
+ end
83
94
  end
84
95
  end
85
96
 
@@ -419,6 +430,26 @@ module TencentCloud
419
430
  end
420
431
  end
421
432
 
433
+ # 标签
434
+ class Tag < TencentCloud::Common::AbstractModel
435
+ # @param Key: 标签键,最长128个字符,区分大小写。
436
+ # @type Key: String
437
+ # @param Value: 标签值,最长256个字符,区分大小写。
438
+ # @type Value: String
439
+
440
+ attr_accessor :Key, :Value
441
+
442
+ def initialize(key=nil, value=nil)
443
+ @Key = key
444
+ @Value = value
445
+ end
446
+
447
+ def deserialize(params)
448
+ @Key = params['Key']
449
+ @Value = params['Value']
450
+ end
451
+ end
452
+
422
453
  end
423
454
  end
424
455
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-sts
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