tencentcloud-sdk-sts 1.0.312 → 1.0.315

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: a427950b30835ef3b051998a6a9ba0a85ccf5478
4
- data.tar.gz: d28c19925185898a24ac9d7e9c927b961537409c
3
+ metadata.gz: f6f80098a353facbb5ca929c7671cbde83892e36
4
+ data.tar.gz: 7c8a517dd70b681d6d028aa9b2b7a8509a5a11a4
5
5
  SHA512:
6
- metadata.gz: 944874af179a6e442b79f450b4ba0eaaf0d6209029647664a2bdcebe449e94b20694091b3c632dbbd641a4224392fd144f92280dabd6612ef8c3059093a93be2
7
- data.tar.gz: 6b282972b00ec34ce1de375ccf38ffde8cf8a68bc2c6ab89b0ecc00d0a134fea21d5dd75898eb65620037d418a808fd501689cba46c0f58f5d455f655a220b97
6
+ metadata.gz: 3bcfcb39287f3a65fa0b230177247ad6cbd407bbad0bf4831e8c19f0db02d9151eb52b26cd3f7df5c897a147b12a280a6959589e71bfd54e6378668971c61525
7
+ data.tar.gz: 060893d19f3f4ba360d2a5e6d30b892bbfb208ca67de5da3cc04d3265ce8878a05ed2f90ce81cc40d353957b1dc4db38e4e2b5383fc839a7a04c9239b0c78fb9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.312
1
+ 1.0.315
@@ -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.312
4
+ version: 1.0.315
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-15 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