tencentcloud-sdk-tcr 3.0.764 → 3.0.765
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 +24 -0
- data/lib/v20190924/models.rb +48 -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: 82e9498ce92934bb3c8d9beacdcdda3c64c5b383
|
4
|
+
data.tar.gz: 75b4d1624ebbb22f0f8f7a9001a2d49f66f72bf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25b6251c06ac07a611ae392bf8bc06270ea32260cb34c96de1a2ee2bb17b11eb764456b4057c243af14d20d83244df4acf7276756df1ab5479577c2a9221f6a4
|
7
|
+
data.tar.gz: d2239da05bc67f2038a1b310bfd0c8e11d6c786e3174d7e9e2a68a03542831b5ef6bbde761abe32650b3b5c3801afb856b86563c4fd238c816e10f9b8ee6865d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.765
|
data/lib/v20190924/client.rb
CHANGED
@@ -2503,6 +2503,30 @@ module TencentCloud
|
|
2503
2503
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2504
2504
|
end
|
2505
2505
|
|
2506
|
+
# 更新服务级账号密码
|
2507
|
+
|
2508
|
+
# @param request: Request instance for ModifyServiceAccountPassword.
|
2509
|
+
# @type request: :class:`Tencentcloud::tcr::V20190924::ModifyServiceAccountPasswordRequest`
|
2510
|
+
# @rtype: :class:`Tencentcloud::tcr::V20190924::ModifyServiceAccountPasswordResponse`
|
2511
|
+
def ModifyServiceAccountPassword(request)
|
2512
|
+
body = send_request('ModifyServiceAccountPassword', request.serialize)
|
2513
|
+
response = JSON.parse(body)
|
2514
|
+
if response['Response'].key?('Error') == false
|
2515
|
+
model = ModifyServiceAccountPasswordResponse.new
|
2516
|
+
model.deserialize(response['Response'])
|
2517
|
+
model
|
2518
|
+
else
|
2519
|
+
code = response['Response']['Error']['Code']
|
2520
|
+
message = response['Response']['Error']['Message']
|
2521
|
+
reqid = response['Response']['RequestId']
|
2522
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2523
|
+
end
|
2524
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2525
|
+
raise e
|
2526
|
+
rescue StandardError => e
|
2527
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2528
|
+
end
|
2529
|
+
|
2506
2530
|
# 更新版本保留规则
|
2507
2531
|
|
2508
2532
|
# @param request: Request instance for ModifyTagRetentionRule.
|
data/lib/v20190924/models.rb
CHANGED
@@ -5388,6 +5388,54 @@ module TencentCloud
|
|
5388
5388
|
end
|
5389
5389
|
end
|
5390
5390
|
|
5391
|
+
# ModifyServiceAccountPassword请求参数结构体
|
5392
|
+
class ModifyServiceAccountPasswordRequest < TencentCloud::Common::AbstractModel
|
5393
|
+
# @param RegistryId: 实例Id
|
5394
|
+
# @type RegistryId: String
|
5395
|
+
# @param Name: 服务级账号名
|
5396
|
+
# @type Name: String
|
5397
|
+
# @param Random: 是否随机生成密码
|
5398
|
+
# @type Random: Boolean
|
5399
|
+
# @param Password: 服务级账号密码,长度在8到20之间且需包含至少一个大写字符,一个小写字符和一个数字
|
5400
|
+
# @type Password: String
|
5401
|
+
|
5402
|
+
attr_accessor :RegistryId, :Name, :Random, :Password
|
5403
|
+
|
5404
|
+
def initialize(registryid=nil, name=nil, random=nil, password=nil)
|
5405
|
+
@RegistryId = registryid
|
5406
|
+
@Name = name
|
5407
|
+
@Random = random
|
5408
|
+
@Password = password
|
5409
|
+
end
|
5410
|
+
|
5411
|
+
def deserialize(params)
|
5412
|
+
@RegistryId = params['RegistryId']
|
5413
|
+
@Name = params['Name']
|
5414
|
+
@Random = params['Random']
|
5415
|
+
@Password = params['Password']
|
5416
|
+
end
|
5417
|
+
end
|
5418
|
+
|
5419
|
+
# ModifyServiceAccountPassword返回参数结构体
|
5420
|
+
class ModifyServiceAccountPasswordResponse < TencentCloud::Common::AbstractModel
|
5421
|
+
# @param Password: 自定义用户密码,仅展示一次,请注意留存
|
5422
|
+
# @type Password: String
|
5423
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5424
|
+
# @type RequestId: String
|
5425
|
+
|
5426
|
+
attr_accessor :Password, :RequestId
|
5427
|
+
|
5428
|
+
def initialize(password=nil, requestid=nil)
|
5429
|
+
@Password = password
|
5430
|
+
@RequestId = requestid
|
5431
|
+
end
|
5432
|
+
|
5433
|
+
def deserialize(params)
|
5434
|
+
@Password = params['Password']
|
5435
|
+
@RequestId = params['RequestId']
|
5436
|
+
end
|
5437
|
+
end
|
5438
|
+
|
5391
5439
|
# ModifyServiceAccount请求参数结构体
|
5392
5440
|
class ModifyServiceAccountRequest < TencentCloud::Common::AbstractModel
|
5393
5441
|
# @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.765
|
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-02-
|
11
|
+
date: 2024-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|