tencentcloud-sdk-cfs 3.0.984 → 3.0.986

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: 8c872e0f75a0ee6545d0ce5a362c27702d5b5710
4
- data.tar.gz: a6d71a06feb59015194f4a34eb364dc8a58b8c0b
3
+ metadata.gz: 4bc7759eebc27ef8347ea4d1391ed61a53af65a3
4
+ data.tar.gz: fda03ff02fc73daf7312897f4fc4aa63bede8262
5
5
  SHA512:
6
- metadata.gz: 6dac97a0527b8ebfff55177bb1eadabf1cdc387006333d5a00e4a7b7d8cb0703fcdcbc9c9483d5c1b0fcd4fd90ca5272a61ebbdc44b15400ee33f7591075697e
7
- data.tar.gz: 94fc27b33f2a17d3fb9e34b4b630ee9c373527a330e912b717f5fc0f8c053473a46880c5ffd572036a5c6a013d015ac0026a2e02b1a8b0a4811b75c236546396
6
+ metadata.gz: ef263921a29cd4ff8b15e15316470d383aee83472d74375f536eebf5186b4d2931fd764464b136ef0955dd2c3cf93be55bd63e91609ecec0154b040b2db4093e
7
+ data.tar.gz: 4e91b2fcac1248c93caa21cb2ea17b33f14b814cb0fa9285afed9f58c66b9050098f2bf096af4f0f58987bbbaf298ce0d70553dbd30bbebf6230424b77f2ee68
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.984
1
+ 3.0.986
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建用于访问文件系统的凭证
57
+
58
+ # @param request: Request instance for CreateAccessCert.
59
+ # @type request: :class:`Tencentcloud::cfs::V20190719::CreateAccessCertRequest`
60
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::CreateAccessCertResponse`
61
+ def CreateAccessCert(request)
62
+ body = send_request('CreateAccessCert', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateAccessCertResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 创建定期快照策略
57
81
 
58
82
  # @param request: Request instance for CreateAutoSnapshotPolicy.
@@ -316,6 +316,42 @@ module TencentCloud
316
316
  end
317
317
  end
318
318
 
319
+ # CreateAccessCert请求参数结构体
320
+ class CreateAccessCertRequest < TencentCloud::Common::AbstractModel
321
+ # @param CertDesc: 证书描述
322
+ # @type CertDesc: String
323
+
324
+ attr_accessor :CertDesc
325
+
326
+ def initialize(certdesc=nil)
327
+ @CertDesc = certdesc
328
+ end
329
+
330
+ def deserialize(params)
331
+ @CertDesc = params['CertDesc']
332
+ end
333
+ end
334
+
335
+ # CreateAccessCert返回参数结构体
336
+ class CreateAccessCertResponse < TencentCloud::Common::AbstractModel
337
+ # @param CertId: 凭证唯一标识
338
+ # @type CertId: String
339
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
340
+ # @type RequestId: String
341
+
342
+ attr_accessor :CertId, :RequestId
343
+
344
+ def initialize(certid=nil, requestid=nil)
345
+ @CertId = certid
346
+ @RequestId = requestid
347
+ end
348
+
349
+ def deserialize(params)
350
+ @CertId = params['CertId']
351
+ @RequestId = params['RequestId']
352
+ end
353
+ end
354
+
319
355
  # CreateAutoSnapshotPolicy请求参数结构体
320
356
  class CreateAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
321
357
  # @param Hour: 快照重复时间点,0-23
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.984
4
+ version: 3.0.986
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-01-16 00:00:00.000000000 Z
11
+ date: 2025-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common