tencentcloud-sdk-sts 1.0.311 → 1.0.314

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: 2403062c666ebe590c393354c777b738d3a9863c
4
- data.tar.gz: 4b4f060de7810aca01c585365e96dbf0be89f343
3
+ metadata.gz: 32daa1fd2632f2d591e953ac88117cceeb805e40
4
+ data.tar.gz: 6ca62b409289454605a9cf08787a42337873df4f
5
5
  SHA512:
6
- metadata.gz: 36d1012a474987d9f1286d59e85fd98d230462fe175c3ac5ce368d635df2e625b29630b0f4b7c4ef089bd9cfdad020f15f036e0f8fac31b97774d3445c46dd19
7
- data.tar.gz: 1c920e1ffda1e42181def2240398899ee2e1b52edc5bd8afdc121198132b17e52ebd25197c4e6843ee1d6c2a77e7d3fdc4067b85eebc95d1b7eb1d76872641bc
6
+ metadata.gz: 52dd0deb1b6303b6c4addeae06ac2a586bcb5c93a526770a5547e31a0f7d953ad69d6328f7eb0ce9d946bc4672ec70e1728732f0edce09ab564748723a4b41d6
7
+ data.tar.gz: 6bd4521187ae0c0736a070d04f3212adaa341df906bb8760d3882a252b72a460bf00965cf07b1475a14476dc87774f60f02382b56522d2202567fecbb5567d4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.311
1
+ 1.0.314
@@ -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.311
4
+ version: 1.0.314
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-12 00:00:00.000000000 Z
11
+ date: 2022-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common