tencentcloud-sdk-cfs 3.0.984 → 3.0.985

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: 739f3c5eff0c819bbd7ee44b5ea6e1f29b4c6c98
4
+ data.tar.gz: 8e503026906441521d598fd357c5cc809768c3ae
5
5
  SHA512:
6
- metadata.gz: 6dac97a0527b8ebfff55177bb1eadabf1cdc387006333d5a00e4a7b7d8cb0703fcdcbc9c9483d5c1b0fcd4fd90ca5272a61ebbdc44b15400ee33f7591075697e
7
- data.tar.gz: 94fc27b33f2a17d3fb9e34b4b630ee9c373527a330e912b717f5fc0f8c053473a46880c5ffd572036a5c6a013d015ac0026a2e02b1a8b0a4811b75c236546396
6
+ metadata.gz: 3de8f736ff9b2d6131615f530d2a6bd7382bbe9048a825943e4fa40e837a34075f885ab09a9f27d46cfd5d1f4024bf365154cf900e1ebda4f68e8a90d13a8160
7
+ data.tar.gz: fddabd8b9200204cfe69065d147f1d55406ff043c03cb74cd1ce09e0e0f58559d47e32cd4dd9718de855233c206f4527cb40419237c8128ea160bdd95dd2f7fa
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.984
1
+ 3.0.985
@@ -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.985
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-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common