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.
- 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: f6f80098a353facbb5ca929c7671cbde83892e36
|
4
|
+
data.tar.gz: 7c8a517dd70b681d6d028aa9b2b7a8509a5a11a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bcfcb39287f3a65fa0b230177247ad6cbd407bbad0bf4831e8c19f0db02d9151eb52b26cd3f7df5c897a147b12a280a6959589e71bfd54e6378668971c61525
|
7
|
+
data.tar.gz: 060893d19f3f4ba360d2a5e6d30b892bbfb208ca67de5da3cc04d3265ce8878a05ed2f90ce81cc40d353957b1dc4db38e4e2b5383fc839a7a04c9239b0c78fb9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.315
|
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.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-
|
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
|