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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180813/models.rb +33 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abacc66f564e09dd6a059fb8d5e12d25c2a4e7e3
|
4
|
+
data.tar.gz: af56cf715a93b587fa652c301500c29002de02ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f942a8d0704d76b489d492716f0a4e65de6b7ec13b7eae5e223d00d117202155fe9e68f11027c82d55618e981adbde82e850793ea2e920f44cb5aca4e63251d2
|
7
|
+
data.tar.gz: ac5161c1741c5a6a4c7b65d3e2fd9b666b3919bd4ce2adb7a1908dd09b9aa0e4a1d35cf60dae3909269eb858caf72c2c1eb8075bd62900306ebbb67f2478a396
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.316
|
data/lib/v20180813/models.rb
CHANGED
@@ -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.
|
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-
|
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
|