tencentcloud-sdk-tcr 3.0.764 → 3.0.766

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: d4eab9c8c9e17ea69ef6f7c65d110ef6d72bb918
4
- data.tar.gz: d095468adcec385749b5f9ad0ef0b27a7c4432fb
3
+ metadata.gz: e01b7b68bfaacbba8ea69d7cdb13774ff74bd8dc
4
+ data.tar.gz: 1da4d6322bc63be940b4aefb8fbacac5bc2d6c13
5
5
  SHA512:
6
- metadata.gz: db4c31e1b03a145a53b890dc2fc82613e29d9bd51293f04ee29ebda75140535038bd8a306629604ba9914b0a9ed2239c6155f4a41d42920c83bae30eac57e7c6
7
- data.tar.gz: 07e59ac9a16c87070b3b4e86bda0874cb042b6d968f7a3364f487cf094708edad183e5c99d7315cc41d5f8bdd9dace4deccdb8c44a126ae96f9d4cff3494081a
6
+ metadata.gz: 28670fa0ef44599b0b528af04fe6fb6c429bcef63bd94367a6f03170c0d161187ce73e4cc7ef941f6547942fb044eef0d71c879ddc1bdffa84e1c433e941f173
7
+ data.tar.gz: c824edc042e9cd4a16286b3884cf613a3c1e3aaf711c35965f92e34bfc549cab6a9f900151d80e4bd6c5b1e41d924cb9992731b2def13a82f2d7095cac1b23f2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.764
1
+ 3.0.766
@@ -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.
@@ -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.764
4
+ version: 3.0.766
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-05 00:00:00.000000000 Z
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