tencentcloud-sdk-tcr 3.0.602 → 3.0.603

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f599c2f3f67ac075065c9ca767e86fca93a1744e
4
- data.tar.gz: f4595497698abd623f2c71f21b1ce89fd2b2770b
3
+ metadata.gz: 884648f3e8eec5ab92759f209266bf3fec5474ec
4
+ data.tar.gz: 41f149530265b463c2b7f667b7631fcefef4a6c2
5
5
  SHA512:
6
- metadata.gz: 47bf2fa4f90ea7d5e4bc2e1f0c43f2c51dc1f9a0d164607bd9ff16a58bf054f784df1a3dd388690d3339b1ca6e91d26ed2c58e73f76d42bc1d2da16d4d188db8
7
- data.tar.gz: 8cabb105320b8e03b66e576e13bbc78f8b232918f92e2402990a8579f89e561d00abdb25eb25f10673a7039f75702993f937d48340deec2606e6cf44b588831e
6
+ metadata.gz: 37cb57b032c0eb0cb8f4f22a6cd48747e6714f097159997c2a9716ce44fb7c91d4c8b8755bfc6a590f920c75adf50edb05e3680f11f57326d1be8372e98c5b17
7
+ data.tar.gz: 982c1ab0c4f37c2c1e18d460fd9e68212e8b6c776ecc9ab3dd08b6a1a675b0be3f5bcd2483ef0b6a781482778e96f68d0ba5394720b1852fbd295cdfe56f1aa0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.602
1
+ 3.0.603
@@ -197,32 +197,6 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
- # 前端与现有逻辑均不再使用,可下线
201
-
202
- # 用于在个人版中创建清理策略
203
-
204
- # @param request: Request instance for CreateImageLifecyclePersonal.
205
- # @type request: :class:`Tencentcloud::tcr::V20190924::CreateImageLifecyclePersonalRequest`
206
- # @rtype: :class:`Tencentcloud::tcr::V20190924::CreateImageLifecyclePersonalResponse`
207
- def CreateImageLifecyclePersonal(request)
208
- body = send_request('CreateImageLifecyclePersonal', request.serialize)
209
- response = JSON.parse(body)
210
- if response['Response'].key?('Error') == false
211
- model = CreateImageLifecyclePersonalResponse.new
212
- model.deserialize(response['Response'])
213
- model
214
- else
215
- code = response['Response']['Error']['Code']
216
- message = response['Response']['Error']['Message']
217
- reqid = response['Response']['RequestId']
218
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
219
- end
220
- rescue TencentCloud::Common::TencentCloudSDKException => e
221
- raise e
222
- rescue StandardError => e
223
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
224
- end
225
-
226
200
  # 创建镜像不可变规则
227
201
 
228
202
  # @param request: Request instance for CreateImmutableTagRules.
@@ -775,32 +749,6 @@ module TencentCloud
775
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
776
750
  end
777
751
 
778
- # 前端与后端目前现有逻辑均不再使用,可下线
779
-
780
- # 用于在个人版镜像仓库中删除仓库Tag自动清理策略
781
-
782
- # @param request: Request instance for DeleteImageLifecyclePersonal.
783
- # @type request: :class:`Tencentcloud::tcr::V20190924::DeleteImageLifecyclePersonalRequest`
784
- # @rtype: :class:`Tencentcloud::tcr::V20190924::DeleteImageLifecyclePersonalResponse`
785
- def DeleteImageLifecyclePersonal(request)
786
- body = send_request('DeleteImageLifecyclePersonal', request.serialize)
787
- response = JSON.parse(body)
788
- if response['Response'].key?('Error') == false
789
- model = DeleteImageLifecyclePersonalResponse.new
790
- model.deserialize(response['Response'])
791
- model
792
- else
793
- code = response['Response']['Error']['Code']
794
- message = response['Response']['Error']['Message']
795
- reqid = response['Response']['RequestId']
796
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
797
- end
798
- rescue TencentCloud::Common::TencentCloudSDKException => e
799
- raise e
800
- rescue StandardError => e
801
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
802
- end
803
-
804
752
  # 用于在个人版中删除tag
805
753
 
806
754
  # @param request: Request instance for DeleteImagePersonal.
@@ -480,46 +480,6 @@ module TencentCloud
480
480
  end
481
481
  end
482
482
 
483
- # CreateImageLifecyclePersonal请求参数结构体
484
- class CreateImageLifecyclePersonalRequest < TencentCloud::Common::AbstractModel
485
- # @param RepoName: 仓库名称
486
- # @type RepoName: String
487
- # @param Type: keep_last_days:保留最近几天的数据;keep_last_nums:保留最近多少个
488
- # @type Type: String
489
- # @param Val: 策略值
490
- # @type Val: Integer
491
-
492
- attr_accessor :RepoName, :Type, :Val
493
-
494
- def initialize(reponame=nil, type=nil, val=nil)
495
- @RepoName = reponame
496
- @Type = type
497
- @Val = val
498
- end
499
-
500
- def deserialize(params)
501
- @RepoName = params['RepoName']
502
- @Type = params['Type']
503
- @Val = params['Val']
504
- end
505
- end
506
-
507
- # CreateImageLifecyclePersonal返回参数结构体
508
- class CreateImageLifecyclePersonalResponse < TencentCloud::Common::AbstractModel
509
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
510
- # @type RequestId: String
511
-
512
- attr_accessor :RequestId
513
-
514
- def initialize(requestid=nil)
515
- @RequestId = requestid
516
- end
517
-
518
- def deserialize(params)
519
- @RequestId = params['RequestId']
520
- end
521
- end
522
-
523
483
  # CreateImmutableTagRules请求参数结构体
524
484
  class CreateImmutableTagRulesRequest < TencentCloud::Common::AbstractModel
525
485
  # @param RegistryId: 实例 Id
@@ -1592,38 +1552,6 @@ module TencentCloud
1592
1552
  end
1593
1553
  end
1594
1554
 
1595
- # DeleteImageLifecyclePersonal请求参数结构体
1596
- class DeleteImageLifecyclePersonalRequest < TencentCloud::Common::AbstractModel
1597
- # @param RepoName: 仓库名称
1598
- # @type RepoName: String
1599
-
1600
- attr_accessor :RepoName
1601
-
1602
- def initialize(reponame=nil)
1603
- @RepoName = reponame
1604
- end
1605
-
1606
- def deserialize(params)
1607
- @RepoName = params['RepoName']
1608
- end
1609
- end
1610
-
1611
- # DeleteImageLifecyclePersonal返回参数结构体
1612
- class DeleteImageLifecyclePersonalResponse < TencentCloud::Common::AbstractModel
1613
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1614
- # @type RequestId: String
1615
-
1616
- attr_accessor :RequestId
1617
-
1618
- def initialize(requestid=nil)
1619
- @RequestId = requestid
1620
- end
1621
-
1622
- def deserialize(params)
1623
- @RequestId = params['RequestId']
1624
- end
1625
- end
1626
-
1627
1555
  # DeleteImagePersonal请求参数结构体
1628
1556
  class DeleteImagePersonalRequest < TencentCloud::Common::AbstractModel
1629
1557
  # @param RepoName: 仓库名称
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.602
4
+ version: 3.0.603
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-06-29 00:00:00.000000000 Z
11
+ date: 2023-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common