tencentcloud-sdk-tcr 3.0.607 → 3.0.608
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/v20190924/client.rb +96 -0
- data/lib/v20190924/models.rb +307 -0
- 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: c380fc8843143f0a41d300e5e1379cd151bd0947
|
4
|
+
data.tar.gz: e635866b656d1e6230cca83e16ab824ef01d0c77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaf9c57ce17bca3c588d5d8e6209cfeddf3002ae7dc3b802d9fde5cfe1bb127ae9313fe2cae8284897bb5508dec3896d87c94ca68cab011b7cb0be8835b2d99c
|
7
|
+
data.tar.gz: aa224c0047611b90b2b87a78574db9518764f87c4e3a0461c3c5058d2addb4359cd9f48e13b209af3991bbb9d1b143edc12d62c518c37341d1ecb2136d7eddd7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.608
|
data/lib/v20190924/client.rb
CHANGED
@@ -485,6 +485,30 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
+
# 创建自定义账户
|
489
|
+
|
490
|
+
# @param request: Request instance for CreateServiceAccount.
|
491
|
+
# @type request: :class:`Tencentcloud::tcr::V20190924::CreateServiceAccountRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::tcr::V20190924::CreateServiceAccountResponse`
|
493
|
+
def CreateServiceAccount(request)
|
494
|
+
body = send_request('CreateServiceAccount', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = CreateServiceAccountResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
488
512
|
# 为一个镜像版本创建签名
|
489
513
|
|
490
514
|
# @param request: Request instance for CreateSignature.
|
@@ -1087,6 +1111,30 @@ module TencentCloud
|
|
1087
1111
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1088
1112
|
end
|
1089
1113
|
|
1114
|
+
# 删除服务级账号
|
1115
|
+
|
1116
|
+
# @param request: Request instance for DeleteServiceAccount.
|
1117
|
+
# @type request: :class:`Tencentcloud::tcr::V20190924::DeleteServiceAccountRequest`
|
1118
|
+
# @rtype: :class:`Tencentcloud::tcr::V20190924::DeleteServiceAccountResponse`
|
1119
|
+
def DeleteServiceAccount(request)
|
1120
|
+
body = send_request('DeleteServiceAccount', request.serialize)
|
1121
|
+
response = JSON.parse(body)
|
1122
|
+
if response['Response'].key?('Error') == false
|
1123
|
+
model = DeleteServiceAccountResponse.new
|
1124
|
+
model.deserialize(response['Response'])
|
1125
|
+
model
|
1126
|
+
else
|
1127
|
+
code = response['Response']['Error']['Code']
|
1128
|
+
message = response['Response']['Error']['Message']
|
1129
|
+
reqid = response['Response']['RequestId']
|
1130
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1131
|
+
end
|
1132
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1133
|
+
raise e
|
1134
|
+
rescue StandardError => e
|
1135
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1136
|
+
end
|
1137
|
+
|
1090
1138
|
# 删除命名空间加签策略
|
1091
1139
|
|
1092
1140
|
# @param request: Request instance for DeleteSignaturePolicy.
|
@@ -1951,6 +1999,30 @@ module TencentCloud
|
|
1951
1999
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1952
2000
|
end
|
1953
2001
|
|
2002
|
+
# 查询服务级账号
|
2003
|
+
|
2004
|
+
# @param request: Request instance for DescribeServiceAccounts.
|
2005
|
+
# @type request: :class:`Tencentcloud::tcr::V20190924::DescribeServiceAccountsRequest`
|
2006
|
+
# @rtype: :class:`Tencentcloud::tcr::V20190924::DescribeServiceAccountsResponse`
|
2007
|
+
def DescribeServiceAccounts(request)
|
2008
|
+
body = send_request('DescribeServiceAccounts', request.serialize)
|
2009
|
+
response = JSON.parse(body)
|
2010
|
+
if response['Response'].key?('Error') == false
|
2011
|
+
model = DescribeServiceAccountsResponse.new
|
2012
|
+
model.deserialize(response['Response'])
|
2013
|
+
model
|
2014
|
+
else
|
2015
|
+
code = response['Response']['Error']['Code']
|
2016
|
+
message = response['Response']['Error']['Message']
|
2017
|
+
reqid = response['Response']['RequestId']
|
2018
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2019
|
+
end
|
2020
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2021
|
+
raise e
|
2022
|
+
rescue StandardError => e
|
2023
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2024
|
+
end
|
2025
|
+
|
1954
2026
|
# 查询版本保留执行记录
|
1955
2027
|
|
1956
2028
|
# @param request: Request instance for DescribeTagRetentionExecution.
|
@@ -2479,6 +2551,30 @@ module TencentCloud
|
|
2479
2551
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2480
2552
|
end
|
2481
2553
|
|
2554
|
+
# 更新服务级账号
|
2555
|
+
|
2556
|
+
# @param request: Request instance for ModifyServiceAccount.
|
2557
|
+
# @type request: :class:`Tencentcloud::tcr::V20190924::ModifyServiceAccountRequest`
|
2558
|
+
# @rtype: :class:`Tencentcloud::tcr::V20190924::ModifyServiceAccountResponse`
|
2559
|
+
def ModifyServiceAccount(request)
|
2560
|
+
body = send_request('ModifyServiceAccount', request.serialize)
|
2561
|
+
response = JSON.parse(body)
|
2562
|
+
if response['Response'].key?('Error') == false
|
2563
|
+
model = ModifyServiceAccountResponse.new
|
2564
|
+
model.deserialize(response['Response'])
|
2565
|
+
model
|
2566
|
+
else
|
2567
|
+
code = response['Response']['Error']['Code']
|
2568
|
+
message = response['Response']['Error']['Message']
|
2569
|
+
reqid = response['Response']['RequestId']
|
2570
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2571
|
+
end
|
2572
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2573
|
+
raise e
|
2574
|
+
rescue StandardError => e
|
2575
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2576
|
+
end
|
2577
|
+
|
2482
2578
|
# 更新版本保留规则
|
2483
2579
|
|
2484
2580
|
# @param request: Request instance for ModifyTagRetentionRule.
|
data/lib/v20190924/models.rb
CHANGED
@@ -1074,6 +1074,85 @@ module TencentCloud
|
|
1074
1074
|
end
|
1075
1075
|
end
|
1076
1076
|
|
1077
|
+
# CreateServiceAccount请求参数结构体
|
1078
|
+
class CreateServiceAccountRequest < TencentCloud::Common::AbstractModel
|
1079
|
+
# @param RegistryId: 实例Id
|
1080
|
+
# @type RegistryId: String
|
1081
|
+
# @param Name: 服务级账号名
|
1082
|
+
# @type Name: String
|
1083
|
+
# @param Permissions: 策略列表
|
1084
|
+
# @type Permissions: Array
|
1085
|
+
# @param Description: 服务级账号描述
|
1086
|
+
# @type Description: String
|
1087
|
+
# @param Duration: 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt
|
1088
|
+
# @type Duration: Integer
|
1089
|
+
# @param ExpiresAt: 过期时间(时间戳,单位:毫秒)
|
1090
|
+
# @type ExpiresAt: Integer
|
1091
|
+
# @param Disable: 是否禁用服务级账号
|
1092
|
+
# @type Disable: Boolean
|
1093
|
+
|
1094
|
+
attr_accessor :RegistryId, :Name, :Permissions, :Description, :Duration, :ExpiresAt, :Disable
|
1095
|
+
|
1096
|
+
def initialize(registryid=nil, name=nil, permissions=nil, description=nil, duration=nil, expiresat=nil, disable=nil)
|
1097
|
+
@RegistryId = registryid
|
1098
|
+
@Name = name
|
1099
|
+
@Permissions = permissions
|
1100
|
+
@Description = description
|
1101
|
+
@Duration = duration
|
1102
|
+
@ExpiresAt = expiresat
|
1103
|
+
@Disable = disable
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
def deserialize(params)
|
1107
|
+
@RegistryId = params['RegistryId']
|
1108
|
+
@Name = params['Name']
|
1109
|
+
unless params['Permissions'].nil?
|
1110
|
+
@Permissions = []
|
1111
|
+
params['Permissions'].each do |i|
|
1112
|
+
permission_tmp = Permission.new
|
1113
|
+
permission_tmp.deserialize(i)
|
1114
|
+
@Permissions << permission_tmp
|
1115
|
+
end
|
1116
|
+
end
|
1117
|
+
@Description = params['Description']
|
1118
|
+
@Duration = params['Duration']
|
1119
|
+
@ExpiresAt = params['ExpiresAt']
|
1120
|
+
@Disable = params['Disable']
|
1121
|
+
end
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# CreateServiceAccount返回参数结构体
|
1125
|
+
class CreateServiceAccountResponse < TencentCloud::Common::AbstractModel
|
1126
|
+
# @param Name: 服务级账号名(会自动加上前缀tcr$)
|
1127
|
+
# @type Name: String
|
1128
|
+
# @param Password: 服务级账号密码,仅展示一次,请注意留存
|
1129
|
+
# @type Password: String
|
1130
|
+
# @param ExpiresAt: 服务级账号失效时间(时间戳)
|
1131
|
+
# @type ExpiresAt: Integer
|
1132
|
+
# @param CreateTime: 服务级账号创建时间
|
1133
|
+
# @type CreateTime: String
|
1134
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1135
|
+
# @type RequestId: String
|
1136
|
+
|
1137
|
+
attr_accessor :Name, :Password, :ExpiresAt, :CreateTime, :RequestId
|
1138
|
+
|
1139
|
+
def initialize(name=nil, password=nil, expiresat=nil, createtime=nil, requestid=nil)
|
1140
|
+
@Name = name
|
1141
|
+
@Password = password
|
1142
|
+
@ExpiresAt = expiresat
|
1143
|
+
@CreateTime = createtime
|
1144
|
+
@RequestId = requestid
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
def deserialize(params)
|
1148
|
+
@Name = params['Name']
|
1149
|
+
@Password = params['Password']
|
1150
|
+
@ExpiresAt = params['ExpiresAt']
|
1151
|
+
@CreateTime = params['CreateTime']
|
1152
|
+
@RequestId = params['RequestId']
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
|
1077
1156
|
# CreateSignaturePolicy请求参数结构体
|
1078
1157
|
class CreateSignaturePolicyRequest < TencentCloud::Common::AbstractModel
|
1079
1158
|
# @param RegistryId: 实例 Id
|
@@ -2160,6 +2239,42 @@ module TencentCloud
|
|
2160
2239
|
end
|
2161
2240
|
end
|
2162
2241
|
|
2242
|
+
# DeleteServiceAccount请求参数结构体
|
2243
|
+
class DeleteServiceAccountRequest < TencentCloud::Common::AbstractModel
|
2244
|
+
# @param RegistryId: 实例Id
|
2245
|
+
# @type RegistryId: String
|
2246
|
+
# @param Name: 服务级账号名
|
2247
|
+
# @type Name: String
|
2248
|
+
|
2249
|
+
attr_accessor :RegistryId, :Name
|
2250
|
+
|
2251
|
+
def initialize(registryid=nil, name=nil)
|
2252
|
+
@RegistryId = registryid
|
2253
|
+
@Name = name
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def deserialize(params)
|
2257
|
+
@RegistryId = params['RegistryId']
|
2258
|
+
@Name = params['Name']
|
2259
|
+
end
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
# DeleteServiceAccount返回参数结构体
|
2263
|
+
class DeleteServiceAccountResponse < TencentCloud::Common::AbstractModel
|
2264
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2265
|
+
# @type RequestId: String
|
2266
|
+
|
2267
|
+
attr_accessor :RequestId
|
2268
|
+
|
2269
|
+
def initialize(requestid=nil)
|
2270
|
+
@RequestId = requestid
|
2271
|
+
end
|
2272
|
+
|
2273
|
+
def deserialize(params)
|
2274
|
+
@RequestId = params['RequestId']
|
2275
|
+
end
|
2276
|
+
end
|
2277
|
+
|
2163
2278
|
# DeleteSignaturePolicy请求参数结构体
|
2164
2279
|
class DeleteSignaturePolicyRequest < TencentCloud::Common::AbstractModel
|
2165
2280
|
# @param RegistryId: 实例ID
|
@@ -4034,6 +4149,81 @@ module TencentCloud
|
|
4034
4149
|
end
|
4035
4150
|
end
|
4036
4151
|
|
4152
|
+
# DescribeServiceAccounts请求参数结构体
|
4153
|
+
class DescribeServiceAccountsRequest < TencentCloud::Common::AbstractModel
|
4154
|
+
# @param RegistryId: 实例Id
|
4155
|
+
# @type RegistryId: String
|
4156
|
+
# @param All: 列出所有服务级账号
|
4157
|
+
# @type All: Boolean
|
4158
|
+
# @param EmbedPermission: 是否填充策略
|
4159
|
+
# @type EmbedPermission: Boolean
|
4160
|
+
# @param Filters: 过滤条件
|
4161
|
+
# @type Filters: Array
|
4162
|
+
# @param Offset: 偏移量,默认0
|
4163
|
+
# @type Offset: Integer
|
4164
|
+
# @param Limit: 最大输出条数,默认20,最大为100(超出最大值,调整到最大值)
|
4165
|
+
# @type Limit: Integer
|
4166
|
+
|
4167
|
+
attr_accessor :RegistryId, :All, :EmbedPermission, :Filters, :Offset, :Limit
|
4168
|
+
|
4169
|
+
def initialize(registryid=nil, all=nil, embedpermission=nil, filters=nil, offset=nil, limit=nil)
|
4170
|
+
@RegistryId = registryid
|
4171
|
+
@All = all
|
4172
|
+
@EmbedPermission = embedpermission
|
4173
|
+
@Filters = filters
|
4174
|
+
@Offset = offset
|
4175
|
+
@Limit = limit
|
4176
|
+
end
|
4177
|
+
|
4178
|
+
def deserialize(params)
|
4179
|
+
@RegistryId = params['RegistryId']
|
4180
|
+
@All = params['All']
|
4181
|
+
@EmbedPermission = params['EmbedPermission']
|
4182
|
+
unless params['Filters'].nil?
|
4183
|
+
@Filters = []
|
4184
|
+
params['Filters'].each do |i|
|
4185
|
+
filter_tmp = Filter.new
|
4186
|
+
filter_tmp.deserialize(i)
|
4187
|
+
@Filters << filter_tmp
|
4188
|
+
end
|
4189
|
+
end
|
4190
|
+
@Offset = params['Offset']
|
4191
|
+
@Limit = params['Limit']
|
4192
|
+
end
|
4193
|
+
end
|
4194
|
+
|
4195
|
+
# DescribeServiceAccounts返回参数结构体
|
4196
|
+
class DescribeServiceAccountsResponse < TencentCloud::Common::AbstractModel
|
4197
|
+
# @param ServiceAccounts: 服务级账号列表
|
4198
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4199
|
+
# @type ServiceAccounts: Array
|
4200
|
+
# @param TotalCount: 自定义账户数量
|
4201
|
+
# @type TotalCount: Integer
|
4202
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4203
|
+
# @type RequestId: String
|
4204
|
+
|
4205
|
+
attr_accessor :ServiceAccounts, :TotalCount, :RequestId
|
4206
|
+
|
4207
|
+
def initialize(serviceaccounts=nil, totalcount=nil, requestid=nil)
|
4208
|
+
@ServiceAccounts = serviceaccounts
|
4209
|
+
@TotalCount = totalcount
|
4210
|
+
@RequestId = requestid
|
4211
|
+
end
|
4212
|
+
|
4213
|
+
def deserialize(params)
|
4214
|
+
unless params['ServiceAccounts'].nil?
|
4215
|
+
@ServiceAccounts = []
|
4216
|
+
params['ServiceAccounts'].each do |i|
|
4217
|
+
serviceaccount_tmp = ServiceAccount.new
|
4218
|
+
serviceaccount_tmp.deserialize(i)
|
4219
|
+
@ServiceAccounts << serviceaccount_tmp
|
4220
|
+
end
|
4221
|
+
end
|
4222
|
+
@TotalCount = params['TotalCount']
|
4223
|
+
@RequestId = params['RequestId']
|
4224
|
+
end
|
4225
|
+
end
|
4226
|
+
|
4037
4227
|
# DescribeTagRetentionExecution请求参数结构体
|
4038
4228
|
class DescribeTagRetentionExecutionRequest < TencentCloud::Common::AbstractModel
|
4039
4229
|
# @param RegistryId: 主实例iD
|
@@ -5445,6 +5635,69 @@ module TencentCloud
|
|
5445
5635
|
end
|
5446
5636
|
end
|
5447
5637
|
|
5638
|
+
# ModifyServiceAccount请求参数结构体
|
5639
|
+
class ModifyServiceAccountRequest < TencentCloud::Common::AbstractModel
|
5640
|
+
# @param RegistryId: 实例Id
|
5641
|
+
# @type RegistryId: String
|
5642
|
+
# @param Name: 服务级账号名
|
5643
|
+
# @type Name: String
|
5644
|
+
# @param Description: 服务级账号描述
|
5645
|
+
# @type Description: String
|
5646
|
+
# @param Duration: 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt
|
5647
|
+
# @type Duration: Integer
|
5648
|
+
# @param ExpiresAt: 过期时间(时间戳,单位:毫秒)
|
5649
|
+
# @type ExpiresAt: Integer
|
5650
|
+
# @param Disable: 是否禁用服务级账号
|
5651
|
+
# @type Disable: Boolean
|
5652
|
+
# @param Permissions: 策略列表
|
5653
|
+
# @type Permissions: Array
|
5654
|
+
|
5655
|
+
attr_accessor :RegistryId, :Name, :Description, :Duration, :ExpiresAt, :Disable, :Permissions
|
5656
|
+
|
5657
|
+
def initialize(registryid=nil, name=nil, description=nil, duration=nil, expiresat=nil, disable=nil, permissions=nil)
|
5658
|
+
@RegistryId = registryid
|
5659
|
+
@Name = name
|
5660
|
+
@Description = description
|
5661
|
+
@Duration = duration
|
5662
|
+
@ExpiresAt = expiresat
|
5663
|
+
@Disable = disable
|
5664
|
+
@Permissions = permissions
|
5665
|
+
end
|
5666
|
+
|
5667
|
+
def deserialize(params)
|
5668
|
+
@RegistryId = params['RegistryId']
|
5669
|
+
@Name = params['Name']
|
5670
|
+
@Description = params['Description']
|
5671
|
+
@Duration = params['Duration']
|
5672
|
+
@ExpiresAt = params['ExpiresAt']
|
5673
|
+
@Disable = params['Disable']
|
5674
|
+
unless params['Permissions'].nil?
|
5675
|
+
@Permissions = []
|
5676
|
+
params['Permissions'].each do |i|
|
5677
|
+
permission_tmp = Permission.new
|
5678
|
+
permission_tmp.deserialize(i)
|
5679
|
+
@Permissions << permission_tmp
|
5680
|
+
end
|
5681
|
+
end
|
5682
|
+
end
|
5683
|
+
end
|
5684
|
+
|
5685
|
+
# ModifyServiceAccount返回参数结构体
|
5686
|
+
class ModifyServiceAccountResponse < TencentCloud::Common::AbstractModel
|
5687
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5688
|
+
# @type RequestId: String
|
5689
|
+
|
5690
|
+
attr_accessor :RequestId
|
5691
|
+
|
5692
|
+
def initialize(requestid=nil)
|
5693
|
+
@RequestId = requestid
|
5694
|
+
end
|
5695
|
+
|
5696
|
+
def deserialize(params)
|
5697
|
+
@RequestId = params['RequestId']
|
5698
|
+
end
|
5699
|
+
end
|
5700
|
+
|
5448
5701
|
# ModifyTagRetentionRule请求参数结构体
|
5449
5702
|
class ModifyTagRetentionRuleRequest < TencentCloud::Common::AbstractModel
|
5450
5703
|
# @param RegistryId: 主实例iD
|
@@ -6486,6 +6739,60 @@ module TencentCloud
|
|
6486
6739
|
end
|
6487
6740
|
end
|
6488
6741
|
|
6742
|
+
# 服务级账号
|
6743
|
+
class ServiceAccount < TencentCloud::Common::AbstractModel
|
6744
|
+
# @param Name: 服务级账号名
|
6745
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6746
|
+
# @type Name: String
|
6747
|
+
# @param Description: 描述
|
6748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6749
|
+
# @type Description: String
|
6750
|
+
# @param Disable: 是否禁用
|
6751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6752
|
+
# @type Disable: Boolean
|
6753
|
+
# @param ExpiresAt: 过期时间
|
6754
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6755
|
+
# @type ExpiresAt: Integer
|
6756
|
+
# @param CreateTime: 创建时间
|
6757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6758
|
+
# @type CreateTime: String
|
6759
|
+
# @param UpdateTime: 更新时间
|
6760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6761
|
+
# @type UpdateTime: String
|
6762
|
+
# @param Permissions: 策略
|
6763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6764
|
+
# @type Permissions: Array
|
6765
|
+
|
6766
|
+
attr_accessor :Name, :Description, :Disable, :ExpiresAt, :CreateTime, :UpdateTime, :Permissions
|
6767
|
+
|
6768
|
+
def initialize(name=nil, description=nil, disable=nil, expiresat=nil, createtime=nil, updatetime=nil, permissions=nil)
|
6769
|
+
@Name = name
|
6770
|
+
@Description = description
|
6771
|
+
@Disable = disable
|
6772
|
+
@ExpiresAt = expiresat
|
6773
|
+
@CreateTime = createtime
|
6774
|
+
@UpdateTime = updatetime
|
6775
|
+
@Permissions = permissions
|
6776
|
+
end
|
6777
|
+
|
6778
|
+
def deserialize(params)
|
6779
|
+
@Name = params['Name']
|
6780
|
+
@Description = params['Description']
|
6781
|
+
@Disable = params['Disable']
|
6782
|
+
@ExpiresAt = params['ExpiresAt']
|
6783
|
+
@CreateTime = params['CreateTime']
|
6784
|
+
@UpdateTime = params['UpdateTime']
|
6785
|
+
unless params['Permissions'].nil?
|
6786
|
+
@Permissions = []
|
6787
|
+
params['Permissions'].each do |i|
|
6788
|
+
permission_tmp = Permission.new
|
6789
|
+
permission_tmp.deserialize(i)
|
6790
|
+
@Permissions << permission_tmp
|
6791
|
+
end
|
6792
|
+
end
|
6793
|
+
end
|
6794
|
+
end
|
6795
|
+
|
6489
6796
|
# 云标签Tag
|
6490
6797
|
class Tag < TencentCloud::Common::AbstractModel
|
6491
6798
|
# @param Key: 云标签的key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.608
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|