tencentcloud-sdk-tcr 3.0.712 → 3.0.713
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190924/client.rb +0 -78
- data/lib/v20190924/models.rb +0 -178
- 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: f87f764344a581e69049fef7e353835a403d00f8
|
4
|
+
data.tar.gz: 5b0bd91f472b8c536f737d3301a88d6b7a482fb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 782bb2d3bd3bf0acf42375e0d4c4a166551e5f135ec7fd0b1ca0b57bb1527f6de727604778e347b9b38a112f86b7deda99f093b9c80f0106a9b00b3dc7f5ca2f
|
7
|
+
data.tar.gz: 709c8147424bbdaa3408886fc1fef5a161333a43014600bf0012562adfb1a00b3bd85cea102fe38736bed1a5bbcb6c398b8944f703f9661733714efad3cdcd64
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.713
|
data/lib/v20190924/client.rb
CHANGED
@@ -149,32 +149,6 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
-
# 接口未使用
|
153
|
-
|
154
|
-
# 创建自定义账户
|
155
|
-
|
156
|
-
# @param request: Request instance for CreateCustomAccount.
|
157
|
-
# @type request: :class:`Tencentcloud::tcr::V20190924::CreateCustomAccountRequest`
|
158
|
-
# @rtype: :class:`Tencentcloud::tcr::V20190924::CreateCustomAccountResponse`
|
159
|
-
def CreateCustomAccount(request)
|
160
|
-
body = send_request('CreateCustomAccount', request.serialize)
|
161
|
-
response = JSON.parse(body)
|
162
|
-
if response['Response'].key?('Error') == false
|
163
|
-
model = CreateCustomAccountResponse.new
|
164
|
-
model.deserialize(response['Response'])
|
165
|
-
model
|
166
|
-
else
|
167
|
-
code = response['Response']['Error']['Code']
|
168
|
-
message = response['Response']['Error']['Message']
|
169
|
-
reqid = response['Response']['RequestId']
|
170
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
171
|
-
end
|
172
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
173
|
-
raise e
|
174
|
-
rescue StandardError => e
|
175
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
176
|
-
end
|
177
|
-
|
178
152
|
# 创建镜像加速服务
|
179
153
|
|
180
154
|
# @param request: Request instance for CreateImageAccelerationService.
|
@@ -679,32 +653,6 @@ module TencentCloud
|
|
679
653
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
680
654
|
end
|
681
655
|
|
682
|
-
# 接口未使用
|
683
|
-
|
684
|
-
# 删除自定义账号
|
685
|
-
|
686
|
-
# @param request: Request instance for DeleteCustomAccount.
|
687
|
-
# @type request: :class:`Tencentcloud::tcr::V20190924::DeleteCustomAccountRequest`
|
688
|
-
# @rtype: :class:`Tencentcloud::tcr::V20190924::DeleteCustomAccountResponse`
|
689
|
-
def DeleteCustomAccount(request)
|
690
|
-
body = send_request('DeleteCustomAccount', request.serialize)
|
691
|
-
response = JSON.parse(body)
|
692
|
-
if response['Response'].key?('Error') == false
|
693
|
-
model = DeleteCustomAccountResponse.new
|
694
|
-
model.deserialize(response['Response'])
|
695
|
-
model
|
696
|
-
else
|
697
|
-
code = response['Response']['Error']['Code']
|
698
|
-
message = response['Response']['Error']['Message']
|
699
|
-
reqid = response['Response']['RequestId']
|
700
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
701
|
-
end
|
702
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
703
|
-
raise e
|
704
|
-
rescue StandardError => e
|
705
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
706
|
-
end
|
707
|
-
|
708
656
|
# 删除指定镜像
|
709
657
|
|
710
658
|
# @param request: Request instance for DeleteImage.
|
@@ -2365,32 +2313,6 @@ module TencentCloud
|
|
2365
2313
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2366
2314
|
end
|
2367
2315
|
|
2368
|
-
# 接口未使用
|
2369
|
-
|
2370
|
-
# 更新自定义账户
|
2371
|
-
|
2372
|
-
# @param request: Request instance for ModifyCustomAccount.
|
2373
|
-
# @type request: :class:`Tencentcloud::tcr::V20190924::ModifyCustomAccountRequest`
|
2374
|
-
# @rtype: :class:`Tencentcloud::tcr::V20190924::ModifyCustomAccountResponse`
|
2375
|
-
def ModifyCustomAccount(request)
|
2376
|
-
body = send_request('ModifyCustomAccount', request.serialize)
|
2377
|
-
response = JSON.parse(body)
|
2378
|
-
if response['Response'].key?('Error') == false
|
2379
|
-
model = ModifyCustomAccountResponse.new
|
2380
|
-
model.deserialize(response['Response'])
|
2381
|
-
model
|
2382
|
-
else
|
2383
|
-
code = response['Response']['Error']['Code']
|
2384
|
-
message = response['Response']['Error']['Message']
|
2385
|
-
reqid = response['Response']['RequestId']
|
2386
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2387
|
-
end
|
2388
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2389
|
-
raise e
|
2390
|
-
rescue StandardError => e
|
2391
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2392
|
-
end
|
2393
|
-
|
2394
2316
|
# 更新镜像不可变规则
|
2395
2317
|
|
2396
2318
|
# @param request: Request instance for ModifyImmutableTagRules.
|
data/lib/v20190924/models.rb
CHANGED
@@ -338,85 +338,6 @@ module TencentCloud
|
|
338
338
|
end
|
339
339
|
end
|
340
340
|
|
341
|
-
# CreateCustomAccount请求参数结构体
|
342
|
-
class CreateCustomAccountRequest < TencentCloud::Common::AbstractModel
|
343
|
-
# @param RegistryId: 实例Id
|
344
|
-
# @type RegistryId: String
|
345
|
-
# @param Name: 自定义的账户名
|
346
|
-
# @type Name: String
|
347
|
-
# @param Permissions: 策略列表
|
348
|
-
# @type Permissions: Array
|
349
|
-
# @param Description: 自定义的账户描述
|
350
|
-
# @type Description: String
|
351
|
-
# @param Duration: 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt
|
352
|
-
# @type Duration: Integer
|
353
|
-
# @param ExpiresAt: 自定义的账户过期时间(时间戳,单位:毫秒)
|
354
|
-
# @type ExpiresAt: Integer
|
355
|
-
# @param Disable: 是否禁用自定义的账户
|
356
|
-
# @type Disable: Boolean
|
357
|
-
|
358
|
-
attr_accessor :RegistryId, :Name, :Permissions, :Description, :Duration, :ExpiresAt, :Disable
|
359
|
-
|
360
|
-
def initialize(registryid=nil, name=nil, permissions=nil, description=nil, duration=nil, expiresat=nil, disable=nil)
|
361
|
-
@RegistryId = registryid
|
362
|
-
@Name = name
|
363
|
-
@Permissions = permissions
|
364
|
-
@Description = description
|
365
|
-
@Duration = duration
|
366
|
-
@ExpiresAt = expiresat
|
367
|
-
@Disable = disable
|
368
|
-
end
|
369
|
-
|
370
|
-
def deserialize(params)
|
371
|
-
@RegistryId = params['RegistryId']
|
372
|
-
@Name = params['Name']
|
373
|
-
unless params['Permissions'].nil?
|
374
|
-
@Permissions = []
|
375
|
-
params['Permissions'].each do |i|
|
376
|
-
permission_tmp = Permission.new
|
377
|
-
permission_tmp.deserialize(i)
|
378
|
-
@Permissions << permission_tmp
|
379
|
-
end
|
380
|
-
end
|
381
|
-
@Description = params['Description']
|
382
|
-
@Duration = params['Duration']
|
383
|
-
@ExpiresAt = params['ExpiresAt']
|
384
|
-
@Disable = params['Disable']
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
# CreateCustomAccount返回参数结构体
|
389
|
-
class CreateCustomAccountResponse < TencentCloud::Common::AbstractModel
|
390
|
-
# @param Name: 自定义用户名(会自动加上前缀tcr$)
|
391
|
-
# @type Name: String
|
392
|
-
# @param Password: 自定义用户密码,仅展示一次,请注意留存
|
393
|
-
# @type Password: String
|
394
|
-
# @param ExpiresAt: 自定义用户失效时间(时间戳)
|
395
|
-
# @type ExpiresAt: Integer
|
396
|
-
# @param CreateTime: 自定义用户创建时间
|
397
|
-
# @type CreateTime: String
|
398
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
399
|
-
# @type RequestId: String
|
400
|
-
|
401
|
-
attr_accessor :Name, :Password, :ExpiresAt, :CreateTime, :RequestId
|
402
|
-
|
403
|
-
def initialize(name=nil, password=nil, expiresat=nil, createtime=nil, requestid=nil)
|
404
|
-
@Name = name
|
405
|
-
@Password = password
|
406
|
-
@ExpiresAt = expiresat
|
407
|
-
@CreateTime = createtime
|
408
|
-
@RequestId = requestid
|
409
|
-
end
|
410
|
-
|
411
|
-
def deserialize(params)
|
412
|
-
@Name = params['Name']
|
413
|
-
@Password = params['Password']
|
414
|
-
@ExpiresAt = params['ExpiresAt']
|
415
|
-
@CreateTime = params['CreateTime']
|
416
|
-
@RequestId = params['RequestId']
|
417
|
-
end
|
418
|
-
end
|
419
|
-
|
420
341
|
# CreateImageAccelerationService请求参数结构体
|
421
342
|
class CreateImageAccelerationServiceRequest < TencentCloud::Common::AbstractModel
|
422
343
|
# @param RegistryId: 实例Id
|
@@ -1540,42 +1461,6 @@ module TencentCloud
|
|
1540
1461
|
end
|
1541
1462
|
end
|
1542
1463
|
|
1543
|
-
# DeleteCustomAccount请求参数结构体
|
1544
|
-
class DeleteCustomAccountRequest < TencentCloud::Common::AbstractModel
|
1545
|
-
# @param RegistryId: 实例Id
|
1546
|
-
# @type RegistryId: String
|
1547
|
-
# @param Name: 自定义的账户名
|
1548
|
-
# @type Name: String
|
1549
|
-
|
1550
|
-
attr_accessor :RegistryId, :Name
|
1551
|
-
|
1552
|
-
def initialize(registryid=nil, name=nil)
|
1553
|
-
@RegistryId = registryid
|
1554
|
-
@Name = name
|
1555
|
-
end
|
1556
|
-
|
1557
|
-
def deserialize(params)
|
1558
|
-
@RegistryId = params['RegistryId']
|
1559
|
-
@Name = params['Name']
|
1560
|
-
end
|
1561
|
-
end
|
1562
|
-
|
1563
|
-
# DeleteCustomAccount返回参数结构体
|
1564
|
-
class DeleteCustomAccountResponse < TencentCloud::Common::AbstractModel
|
1565
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1566
|
-
# @type RequestId: String
|
1567
|
-
|
1568
|
-
attr_accessor :RequestId
|
1569
|
-
|
1570
|
-
def initialize(requestid=nil)
|
1571
|
-
@RequestId = requestid
|
1572
|
-
end
|
1573
|
-
|
1574
|
-
def deserialize(params)
|
1575
|
-
@RequestId = params['RequestId']
|
1576
|
-
end
|
1577
|
-
end
|
1578
|
-
|
1579
1464
|
# DeleteImageAccelerateService请求参数结构体
|
1580
1465
|
class DeleteImageAccelerateServiceRequest < TencentCloud::Common::AbstractModel
|
1581
1466
|
# @param RegistryId: 实例Id
|
@@ -5263,69 +5148,6 @@ module TencentCloud
|
|
5263
5148
|
end
|
5264
5149
|
end
|
5265
5150
|
|
5266
|
-
# ModifyCustomAccount请求参数结构体
|
5267
|
-
class ModifyCustomAccountRequest < TencentCloud::Common::AbstractModel
|
5268
|
-
# @param RegistryId: 实例Id
|
5269
|
-
# @type RegistryId: String
|
5270
|
-
# @param Name: 自定义的账户名
|
5271
|
-
# @type Name: String
|
5272
|
-
# @param Description: 自定义的账户描述
|
5273
|
-
# @type Description: String
|
5274
|
-
# @param Duration: 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt
|
5275
|
-
# @type Duration: Integer
|
5276
|
-
# @param ExpiresAt: 自定义的账户过期时间(时间戳)
|
5277
|
-
# @type ExpiresAt: Integer
|
5278
|
-
# @param Disable: 是否禁用自定义的账户
|
5279
|
-
# @type Disable: Boolean
|
5280
|
-
# @param Permissions: 策略列表
|
5281
|
-
# @type Permissions: Array
|
5282
|
-
|
5283
|
-
attr_accessor :RegistryId, :Name, :Description, :Duration, :ExpiresAt, :Disable, :Permissions
|
5284
|
-
|
5285
|
-
def initialize(registryid=nil, name=nil, description=nil, duration=nil, expiresat=nil, disable=nil, permissions=nil)
|
5286
|
-
@RegistryId = registryid
|
5287
|
-
@Name = name
|
5288
|
-
@Description = description
|
5289
|
-
@Duration = duration
|
5290
|
-
@ExpiresAt = expiresat
|
5291
|
-
@Disable = disable
|
5292
|
-
@Permissions = permissions
|
5293
|
-
end
|
5294
|
-
|
5295
|
-
def deserialize(params)
|
5296
|
-
@RegistryId = params['RegistryId']
|
5297
|
-
@Name = params['Name']
|
5298
|
-
@Description = params['Description']
|
5299
|
-
@Duration = params['Duration']
|
5300
|
-
@ExpiresAt = params['ExpiresAt']
|
5301
|
-
@Disable = params['Disable']
|
5302
|
-
unless params['Permissions'].nil?
|
5303
|
-
@Permissions = []
|
5304
|
-
params['Permissions'].each do |i|
|
5305
|
-
permission_tmp = Permission.new
|
5306
|
-
permission_tmp.deserialize(i)
|
5307
|
-
@Permissions << permission_tmp
|
5308
|
-
end
|
5309
|
-
end
|
5310
|
-
end
|
5311
|
-
end
|
5312
|
-
|
5313
|
-
# ModifyCustomAccount返回参数结构体
|
5314
|
-
class ModifyCustomAccountResponse < TencentCloud::Common::AbstractModel
|
5315
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5316
|
-
# @type RequestId: String
|
5317
|
-
|
5318
|
-
attr_accessor :RequestId
|
5319
|
-
|
5320
|
-
def initialize(requestid=nil)
|
5321
|
-
@RequestId = requestid
|
5322
|
-
end
|
5323
|
-
|
5324
|
-
def deserialize(params)
|
5325
|
-
@RequestId = params['RequestId']
|
5326
|
-
end
|
5327
|
-
end
|
5328
|
-
|
5329
5151
|
# ModifyImmutableTagRules请求参数结构体
|
5330
5152
|
class ModifyImmutableTagRulesRequest < TencentCloud::Common::AbstractModel
|
5331
5153
|
# @param RegistryId: 实例 Id
|
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.713
|
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-11-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|