tencentcloud-sdk-tcr 3.0.869 → 3.0.870
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 +2 -2
- data/lib/v20190924/models.rb +27 -8
- 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: 5dac8fbc8ca1c1a33e9cf0c0250c60eab7480074
|
4
|
+
data.tar.gz: 9864c3328e69e100233be5d9b49ca017d436c13a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03163aac31360c206698f51ceab001912d299c793d718050a17ea3ca86f9dc10eb511e2a461d60994e217cd6f5381c625d21ff9ba57a245938922e21e824b520
|
7
|
+
data.tar.gz: 6a468dc80282ee4fede497f49785977841d5022b2f2dee919b8c486bd2eb3ed0b97bd347c7b12d3ac7e70b92a4d8aa4528164d92030aee13473b6927ddad49fe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.870
|
data/lib/v20190924/client.rb
CHANGED
@@ -1495,7 +1495,7 @@ module TencentCloud
|
|
1495
1495
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1496
1496
|
end
|
1497
1497
|
|
1498
|
-
#
|
1498
|
+
# 查询所有有实例命名空间列表
|
1499
1499
|
|
1500
1500
|
# @param request: Request instance for DescribeInstanceAllNamespaces.
|
1501
1501
|
# @type request: :class:`Tencentcloud::tcr::V20190924::DescribeInstanceAllNamespacesRequest`
|
@@ -1999,7 +1999,7 @@ module TencentCloud
|
|
1999
1999
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2000
2000
|
end
|
2001
2001
|
|
2002
|
-
#
|
2002
|
+
# 查询镜像版本保留规则
|
2003
2003
|
|
2004
2004
|
# @param request: Request instance for DescribeTagRetentionRules.
|
2005
2005
|
# @type request: :class:`Tencentcloud::tcr::V20190924::DescribeTagRetentionRulesRequest`
|
data/lib/v20190924/models.rb
CHANGED
@@ -1511,27 +1511,27 @@ module TencentCloud
|
|
1511
1511
|
class DeleteImageRequest < TencentCloud::Common::AbstractModel
|
1512
1512
|
# @param RegistryId: 实例Id
|
1513
1513
|
# @type RegistryId: String
|
1514
|
+
# @param NamespaceName: 命名空间名称
|
1515
|
+
# @type NamespaceName: String
|
1514
1516
|
# @param RepositoryName: 镜像仓库名称
|
1515
1517
|
# @type RepositoryName: String
|
1516
1518
|
# @param ImageVersion: 镜像版本
|
1517
1519
|
# @type ImageVersion: String
|
1518
|
-
# @param NamespaceName: 命名空间名称
|
1519
|
-
# @type NamespaceName: String
|
1520
1520
|
|
1521
|
-
attr_accessor :RegistryId, :
|
1521
|
+
attr_accessor :RegistryId, :NamespaceName, :RepositoryName, :ImageVersion
|
1522
1522
|
|
1523
|
-
def initialize(registryid=nil,
|
1523
|
+
def initialize(registryid=nil, namespacename=nil, repositoryname=nil, imageversion=nil)
|
1524
1524
|
@RegistryId = registryid
|
1525
|
+
@NamespaceName = namespacename
|
1525
1526
|
@RepositoryName = repositoryname
|
1526
1527
|
@ImageVersion = imageversion
|
1527
|
-
@NamespaceName = namespacename
|
1528
1528
|
end
|
1529
1529
|
|
1530
1530
|
def deserialize(params)
|
1531
1531
|
@RegistryId = params['RegistryId']
|
1532
|
+
@NamespaceName = params['NamespaceName']
|
1532
1533
|
@RepositoryName = params['RepositoryName']
|
1533
1534
|
@ImageVersion = params['ImageVersion']
|
1534
|
-
@NamespaceName = params['NamespaceName']
|
1535
1535
|
end
|
1536
1536
|
end
|
1537
1537
|
|
@@ -2757,20 +2757,37 @@ module TencentCloud
|
|
2757
2757
|
# @type Manifest: String
|
2758
2758
|
# @param Config: 镜像的配置信息
|
2759
2759
|
# @type Config: String
|
2760
|
+
# @param Labels: 镜像的Labels信息
|
2761
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2762
|
+
# @type Labels: Array
|
2763
|
+
# @param Size: 镜像大小,单位:byte
|
2764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2765
|
+
# @type Size: Integer
|
2760
2766
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2761
2767
|
# @type RequestId: String
|
2762
2768
|
|
2763
|
-
attr_accessor :Manifest, :Config, :RequestId
|
2769
|
+
attr_accessor :Manifest, :Config, :Labels, :Size, :RequestId
|
2764
2770
|
|
2765
|
-
def initialize(manifest=nil, config=nil, requestid=nil)
|
2771
|
+
def initialize(manifest=nil, config=nil, labels=nil, size=nil, requestid=nil)
|
2766
2772
|
@Manifest = manifest
|
2767
2773
|
@Config = config
|
2774
|
+
@Labels = labels
|
2775
|
+
@Size = size
|
2768
2776
|
@RequestId = requestid
|
2769
2777
|
end
|
2770
2778
|
|
2771
2779
|
def deserialize(params)
|
2772
2780
|
@Manifest = params['Manifest']
|
2773
2781
|
@Config = params['Config']
|
2782
|
+
unless params['Labels'].nil?
|
2783
|
+
@Labels = []
|
2784
|
+
params['Labels'].each do |i|
|
2785
|
+
keyvaluestring_tmp = KeyValueString.new
|
2786
|
+
keyvaluestring_tmp.deserialize(i)
|
2787
|
+
@Labels << keyvaluestring_tmp
|
2788
|
+
end
|
2789
|
+
end
|
2790
|
+
@Size = params['Size']
|
2774
2791
|
@RequestId = params['RequestId']
|
2775
2792
|
end
|
2776
2793
|
end
|
@@ -6395,8 +6412,10 @@ module TencentCloud
|
|
6395
6412
|
# 版本保留规则
|
6396
6413
|
class RetentionRule < TencentCloud::Common::AbstractModel
|
6397
6414
|
# @param Key: 支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)
|
6415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6398
6416
|
# @type Key: String
|
6399
6417
|
# @param Value: 规则设置下的对应值
|
6418
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6400
6419
|
# @type Value: Integer
|
6401
6420
|
|
6402
6421
|
attr_accessor :Key, :Value
|
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.870
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|