tencentcloud-sdk-kms 3.0.1092 → 3.0.1101

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a74a6090c68ba64c190a3c87a23e5d22d7695298
4
- data.tar.gz: 281decc77276fc3d7aa73c3cb16a7273b6eeb931
3
+ metadata.gz: 8520bfc347d4f2180b505555fb5f1374cceb590a
4
+ data.tar.gz: 973e17664a14cb79dc53f9998fa5710823470f3e
5
5
  SHA512:
6
- metadata.gz: c95606166f553d667a7dacbef24868f4eeaf7c81e92ddaa2e6e62ee13901c5416cf7e8d35fde1496f2252a583edc7943f68daa992a44e5320e425410235ad52a
7
- data.tar.gz: 8538eeb11d58f1e0038cf6cae659c0313cbe548b628daa746ef24aa0f2ace9ad48474f7d8866a2dd5b837e56f7a02cb2aaa2b5e6fbfd2ed30ebef9f4e1d809a0
6
+ metadata.gz: 051a059526a785076b36765da310d3c6ad3cef15d94d2f48a8135d3d955dce0121fc236ca70d55a414b33b9ca4ca0db0a212c5e3ddc72fba9e4877ef3ae6ed97
7
+ data.tar.gz: 2947f94c3c83e4ee817c393728d190e43fa5c8985e97dc18ae56ef4a6036f99d6b99a9ad32acad9243a52aac77e831aa31fd3e906aab8e47d446c135d15a1c77
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1092
1
+ 3.0.1101
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -515,10 +515,24 @@ module TencentCloud
515
515
  # @type HsmClusterId: String
516
516
  # @param ResourceId: 资源ID,格式:creatorUin/$creatorUin/$dataKeyId
517
517
  # @type ResourceId: String
518
-
519
- attr_accessor :DataKeyId, :KeyId, :DataKeyName, :NumberOfBytes, :CreateTime, :Description, :KeyState, :CreatorUin, :Owner, :DeletionDate, :Origin, :HsmClusterId, :ResourceId
520
-
521
- def initialize(datakeyid=nil, keyid=nil, datakeyname=nil, numberofbytes=nil, createtime=nil, description=nil, keystate=nil, creatoruin=nil, owner=nil, deletiondate=nil, origin=nil, hsmclusterid=nil, resourceid=nil)
518
+ # @param IsSyncReplica: 密钥是否是主副本。0:主本,1:同步副本。
519
+ # @type IsSyncReplica: Integer
520
+ # @param SourceRegion: 同步的原始地域
521
+ # @type SourceRegion: String
522
+ # @param SyncStatus: 密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。
523
+ # @type SyncStatus: Integer
524
+ # @param SyncMessages: 同步的结果描述
525
+ # @type SyncMessages: String
526
+ # @param SyncStartTime: 同步的开始时间
527
+ # @type SyncStartTime: Integer
528
+ # @param SyncEndTime: 同步的结束时间
529
+ # @type SyncEndTime: Integer
530
+ # @param SourceHsmClusterId: 同步的原始集群,如果为空,是公有云公共集群
531
+ # @type SourceHsmClusterId: String
532
+
533
+ attr_accessor :DataKeyId, :KeyId, :DataKeyName, :NumberOfBytes, :CreateTime, :Description, :KeyState, :CreatorUin, :Owner, :DeletionDate, :Origin, :HsmClusterId, :ResourceId, :IsSyncReplica, :SourceRegion, :SyncStatus, :SyncMessages, :SyncStartTime, :SyncEndTime, :SourceHsmClusterId
534
+
535
+ def initialize(datakeyid=nil, keyid=nil, datakeyname=nil, numberofbytes=nil, createtime=nil, description=nil, keystate=nil, creatoruin=nil, owner=nil, deletiondate=nil, origin=nil, hsmclusterid=nil, resourceid=nil, issyncreplica=nil, sourceregion=nil, syncstatus=nil, syncmessages=nil, syncstarttime=nil, syncendtime=nil, sourcehsmclusterid=nil)
522
536
  @DataKeyId = datakeyid
523
537
  @KeyId = keyid
524
538
  @DataKeyName = datakeyname
@@ -532,6 +546,13 @@ module TencentCloud
532
546
  @Origin = origin
533
547
  @HsmClusterId = hsmclusterid
534
548
  @ResourceId = resourceid
549
+ @IsSyncReplica = issyncreplica
550
+ @SourceRegion = sourceregion
551
+ @SyncStatus = syncstatus
552
+ @SyncMessages = syncmessages
553
+ @SyncStartTime = syncstarttime
554
+ @SyncEndTime = syncendtime
555
+ @SourceHsmClusterId = sourcehsmclusterid
535
556
  end
536
557
 
537
558
  def deserialize(params)
@@ -548,6 +569,13 @@ module TencentCloud
548
569
  @Origin = params['Origin']
549
570
  @HsmClusterId = params['HsmClusterId']
550
571
  @ResourceId = params['ResourceId']
572
+ @IsSyncReplica = params['IsSyncReplica']
573
+ @SourceRegion = params['SourceRegion']
574
+ @SyncStatus = params['SyncStatus']
575
+ @SyncMessages = params['SyncMessages']
576
+ @SyncStartTime = params['SyncStartTime']
577
+ @SyncEndTime = params['SyncEndTime']
578
+ @SourceHsmClusterId = params['SourceHsmClusterId']
551
579
  end
552
580
  end
553
581
 
@@ -1047,6 +1075,26 @@ module TencentCloud
1047
1075
  end
1048
1076
  end
1049
1077
 
1078
+ # 同步任务的目标地域列表,包括地域和集群信息。如果集群为空,表示公有云共享集群,如果集群不为空,表示独享集群。
1079
+ class DestinationSyncConfig < TencentCloud::Common::AbstractModel
1080
+ # @param DestinationRegion: 同步任务的目标地域
1081
+ # @type DestinationRegion: String
1082
+ # @param HsmClusterId: HsmClusterId为空表示公有云共享版,如果不为空表示地域下独享版集群。
1083
+ # @type HsmClusterId: String
1084
+
1085
+ attr_accessor :DestinationRegion, :HsmClusterId
1086
+
1087
+ def initialize(destinationregion=nil, hsmclusterid=nil)
1088
+ @DestinationRegion = destinationregion
1089
+ @HsmClusterId = hsmclusterid
1090
+ end
1091
+
1092
+ def deserialize(params)
1093
+ @DestinationRegion = params['DestinationRegion']
1094
+ @HsmClusterId = params['HsmClusterId']
1095
+ end
1096
+ end
1097
+
1050
1098
  # 设备指纹
1051
1099
  class DeviceFingerprint < TencentCloud::Common::AbstractModel
1052
1100
  # @param Identity: 指纹信息,由设备指纹采集工具采集获得,格式满足正则表达式:^[0-9a-f]{8}[\-][0-9a-f]{14}[\-][0-9a-f]{14}[\-][0-9a-f]{14}[\-][0-9a-f]{16}$
@@ -2048,12 +2096,16 @@ module TencentCloud
2048
2096
  # @type FreeDataKeyLimit: Integer
2049
2097
  # @param DataKeyUsedCount: IsAllowedDataKeyHosted为1时有效,已使用的数据密钥数量。
2050
2098
  # @type DataKeyUsedCount: Integer
2099
+ # @param SyncTaskList: 同步任务的目标地域信息
2100
+ # @type SyncTaskList: Array
2101
+ # @param IsAllowedSync: 是否支持同步任务。true:支持,false:不支持。
2102
+ # @type IsAllowedSync: Boolean
2051
2103
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2052
2104
  # @type RequestId: String
2053
2105
 
2054
- attr_accessor :ServiceEnabled, :InvalidType, :UserLevel, :ProExpireTime, :ProRenewFlag, :ProResourceId, :ExclusiveVSMEnabled, :ExclusiveHSMEnabled, :SubscriptionInfo, :CmkUserCount, :CmkLimit, :ExclusiveHSMList, :IsAllowedDataKeyHosted, :DataKeyLimit, :FreeDataKeyLimit, :DataKeyUsedCount, :RequestId
2106
+ attr_accessor :ServiceEnabled, :InvalidType, :UserLevel, :ProExpireTime, :ProRenewFlag, :ProResourceId, :ExclusiveVSMEnabled, :ExclusiveHSMEnabled, :SubscriptionInfo, :CmkUserCount, :CmkLimit, :ExclusiveHSMList, :IsAllowedDataKeyHosted, :DataKeyLimit, :FreeDataKeyLimit, :DataKeyUsedCount, :SyncTaskList, :IsAllowedSync, :RequestId
2055
2107
 
2056
- def initialize(serviceenabled=nil, invalidtype=nil, userlevel=nil, proexpiretime=nil, prorenewflag=nil, proresourceid=nil, exclusivevsmenabled=nil, exclusivehsmenabled=nil, subscriptioninfo=nil, cmkusercount=nil, cmklimit=nil, exclusivehsmlist=nil, isalloweddatakeyhosted=nil, datakeylimit=nil, freedatakeylimit=nil, datakeyusedcount=nil, requestid=nil)
2108
+ def initialize(serviceenabled=nil, invalidtype=nil, userlevel=nil, proexpiretime=nil, prorenewflag=nil, proresourceid=nil, exclusivevsmenabled=nil, exclusivehsmenabled=nil, subscriptioninfo=nil, cmkusercount=nil, cmklimit=nil, exclusivehsmlist=nil, isalloweddatakeyhosted=nil, datakeylimit=nil, freedatakeylimit=nil, datakeyusedcount=nil, synctasklist=nil, isallowedsync=nil, requestid=nil)
2057
2109
  @ServiceEnabled = serviceenabled
2058
2110
  @InvalidType = invalidtype
2059
2111
  @UserLevel = userlevel
@@ -2070,6 +2122,8 @@ module TencentCloud
2070
2122
  @DataKeyLimit = datakeylimit
2071
2123
  @FreeDataKeyLimit = freedatakeylimit
2072
2124
  @DataKeyUsedCount = datakeyusedcount
2125
+ @SyncTaskList = synctasklist
2126
+ @IsAllowedSync = isallowedsync
2073
2127
  @RequestId = requestid
2074
2128
  end
2075
2129
 
@@ -2097,6 +2151,15 @@ module TencentCloud
2097
2151
  @DataKeyLimit = params['DataKeyLimit']
2098
2152
  @FreeDataKeyLimit = params['FreeDataKeyLimit']
2099
2153
  @DataKeyUsedCount = params['DataKeyUsedCount']
2154
+ unless params['SyncTaskList'].nil?
2155
+ @SyncTaskList = []
2156
+ params['SyncTaskList'].each do |i|
2157
+ destinationsyncconfig_tmp = DestinationSyncConfig.new
2158
+ destinationsyncconfig_tmp.deserialize(i)
2159
+ @SyncTaskList << destinationsyncconfig_tmp
2160
+ end
2161
+ end
2162
+ @IsAllowedSync = params['IsAllowedSync']
2100
2163
  @RequestId = params['RequestId']
2101
2164
  end
2102
2165
  end
@@ -2260,10 +2323,24 @@ module TencentCloud
2260
2323
  # @type RotateDays: Integer
2261
2324
  # @param LastRotateTime: 上次乱转时间(Unix timestamp)
2262
2325
  # @type LastRotateTime: Integer
2263
-
2264
- attr_accessor :KeyId, :Alias, :CreateTime, :Description, :KeyState, :KeyUsage, :Type, :CreatorUin, :KeyRotationEnabled, :Owner, :NextRotateTime, :DeletionDate, :Origin, :ValidTo, :ResourceId, :HsmClusterId, :RotateDays, :LastRotateTime
2265
-
2266
- def initialize(keyid=nil, _alias=nil, createtime=nil, description=nil, keystate=nil, keyusage=nil, type=nil, creatoruin=nil, keyrotationenabled=nil, owner=nil, nextrotatetime=nil, deletiondate=nil, origin=nil, validto=nil, resourceid=nil, hsmclusterid=nil, rotatedays=nil, lastrotatetime=nil)
2326
+ # @param IsSyncReplica: 密钥是否是主副本。0:主本,1:同步副本。
2327
+ # @type IsSyncReplica: Integer
2328
+ # @param SourceRegion: 同步的原始地域
2329
+ # @type SourceRegion: String
2330
+ # @param SyncStatus: 密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。
2331
+ # @type SyncStatus: Integer
2332
+ # @param SyncMessages: 同步的结果描述
2333
+ # @type SyncMessages: String
2334
+ # @param SyncStartTime: 同步的开始时间
2335
+ # @type SyncStartTime: Integer
2336
+ # @param SyncEndTime: 同步的结束时间
2337
+ # @type SyncEndTime: Integer
2338
+ # @param SourceHsmClusterId: 同步的原始集群,如果为空,是公有云公共集群
2339
+ # @type SourceHsmClusterId: String
2340
+
2341
+ attr_accessor :KeyId, :Alias, :CreateTime, :Description, :KeyState, :KeyUsage, :Type, :CreatorUin, :KeyRotationEnabled, :Owner, :NextRotateTime, :DeletionDate, :Origin, :ValidTo, :ResourceId, :HsmClusterId, :RotateDays, :LastRotateTime, :IsSyncReplica, :SourceRegion, :SyncStatus, :SyncMessages, :SyncStartTime, :SyncEndTime, :SourceHsmClusterId
2342
+
2343
+ def initialize(keyid=nil, _alias=nil, createtime=nil, description=nil, keystate=nil, keyusage=nil, type=nil, creatoruin=nil, keyrotationenabled=nil, owner=nil, nextrotatetime=nil, deletiondate=nil, origin=nil, validto=nil, resourceid=nil, hsmclusterid=nil, rotatedays=nil, lastrotatetime=nil, issyncreplica=nil, sourceregion=nil, syncstatus=nil, syncmessages=nil, syncstarttime=nil, syncendtime=nil, sourcehsmclusterid=nil)
2267
2344
  @KeyId = keyid
2268
2345
  @Alias = _alias
2269
2346
  @CreateTime = createtime
@@ -2282,6 +2359,13 @@ module TencentCloud
2282
2359
  @HsmClusterId = hsmclusterid
2283
2360
  @RotateDays = rotatedays
2284
2361
  @LastRotateTime = lastrotatetime
2362
+ @IsSyncReplica = issyncreplica
2363
+ @SourceRegion = sourceregion
2364
+ @SyncStatus = syncstatus
2365
+ @SyncMessages = syncmessages
2366
+ @SyncStartTime = syncstarttime
2367
+ @SyncEndTime = syncendtime
2368
+ @SourceHsmClusterId = sourcehsmclusterid
2285
2369
  end
2286
2370
 
2287
2371
  def deserialize(params)
@@ -2303,6 +2387,13 @@ module TencentCloud
2303
2387
  @HsmClusterId = params['HsmClusterId']
2304
2388
  @RotateDays = params['RotateDays']
2305
2389
  @LastRotateTime = params['LastRotateTime']
2390
+ @IsSyncReplica = params['IsSyncReplica']
2391
+ @SourceRegion = params['SourceRegion']
2392
+ @SyncStatus = params['SyncStatus']
2393
+ @SyncMessages = params['SyncMessages']
2394
+ @SyncStartTime = params['SyncStartTime']
2395
+ @SyncEndTime = params['SyncEndTime']
2396
+ @SourceHsmClusterId = params['SourceHsmClusterId']
2306
2397
  end
2307
2398
  end
2308
2399
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1092
4
+ version: 3.0.1101
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-03 00:00:00.000000000 Z
11
+ date: 2025-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common