tencentcloud-sdk-cfs 3.0.1115 → 3.0.1120
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/v20190719/client.rb +24 -0
- data/lib/v20190719/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: f4606f3684098c47fb02f5f3229a8723216303cc
|
4
|
+
data.tar.gz: c353f08d7db77ccc069ae45dae77114836dffb7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d38442c7141849a9499bc8fc7a2270e55478a85a0a2a6d5d94490b2ca88fdbafffbcb3b5e7db21c1e5fe5da01114e39ac9b9b0254cd57866955697545a74db9
|
7
|
+
data.tar.gz: 9990983d652029be63dc3eef815a4b14300a748584e91e0d2dbe5c9cca729b1f55d36c0279ebbdf7c01385c03e3136d1a375a0180dd921c644c259398c8afdc5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1120
|
data/lib/v20190719/client.rb
CHANGED
@@ -991,6 +991,30 @@ module TencentCloud
|
|
991
991
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
992
992
|
end
|
993
993
|
|
994
|
+
# 文件系统目录操作接口
|
995
|
+
|
996
|
+
# @param request: Request instance for DoDirectoryOperation.
|
997
|
+
# @type request: :class:`Tencentcloud::cfs::V20190719::DoDirectoryOperationRequest`
|
998
|
+
# @rtype: :class:`Tencentcloud::cfs::V20190719::DoDirectoryOperationResponse`
|
999
|
+
def DoDirectoryOperation(request)
|
1000
|
+
body = send_request('DoDirectoryOperation', request.serialize)
|
1001
|
+
response = JSON.parse(body)
|
1002
|
+
if response['Response'].key?('Error') == false
|
1003
|
+
model = DoDirectoryOperationResponse.new
|
1004
|
+
model.deserialize(response['Response'])
|
1005
|
+
model
|
1006
|
+
else
|
1007
|
+
code = response['Response']['Error']['Code']
|
1008
|
+
message = response['Response']['Error']['Message']
|
1009
|
+
reqid = response['Response']['RequestId']
|
1010
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1011
|
+
end
|
1012
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1013
|
+
raise e
|
1014
|
+
rescue StandardError => e
|
1015
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1016
|
+
end
|
1017
|
+
|
994
1018
|
# 修改数据流动相关参数
|
995
1019
|
|
996
1020
|
# @param request: Request instance for ModifyDataFlow.
|
data/lib/v20190719/models.rb
CHANGED
@@ -2528,6 +2528,54 @@ module TencentCloud
|
|
2528
2528
|
end
|
2529
2529
|
end
|
2530
2530
|
|
2531
|
+
# DoDirectoryOperation请求参数结构体
|
2532
|
+
class DoDirectoryOperationRequest < TencentCloud::Common::AbstractModel
|
2533
|
+
# @param FileSystemId: 文件系统Id
|
2534
|
+
# @type FileSystemId: String
|
2535
|
+
# @param OpetationType: create:创建目录 check:确认目录是否存在
|
2536
|
+
# @type OpetationType: String
|
2537
|
+
# @param DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
2538
|
+
# @type DirectoryPath: String
|
2539
|
+
# @param Mode: 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
|
2540
|
+
# @type Mode: String
|
2541
|
+
|
2542
|
+
attr_accessor :FileSystemId, :OpetationType, :DirectoryPath, :Mode
|
2543
|
+
|
2544
|
+
def initialize(filesystemid=nil, opetationtype=nil, directorypath=nil, mode=nil)
|
2545
|
+
@FileSystemId = filesystemid
|
2546
|
+
@OpetationType = opetationtype
|
2547
|
+
@DirectoryPath = directorypath
|
2548
|
+
@Mode = mode
|
2549
|
+
end
|
2550
|
+
|
2551
|
+
def deserialize(params)
|
2552
|
+
@FileSystemId = params['FileSystemId']
|
2553
|
+
@OpetationType = params['OpetationType']
|
2554
|
+
@DirectoryPath = params['DirectoryPath']
|
2555
|
+
@Mode = params['Mode']
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
# DoDirectoryOperation返回参数结构体
|
2560
|
+
class DoDirectoryOperationResponse < TencentCloud::Common::AbstractModel
|
2561
|
+
# @param Result: 1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
|
2562
|
+
# @type Result: Integer
|
2563
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2564
|
+
# @type RequestId: String
|
2565
|
+
|
2566
|
+
attr_accessor :Result, :RequestId
|
2567
|
+
|
2568
|
+
def initialize(result=nil, requestid=nil)
|
2569
|
+
@Result = result
|
2570
|
+
@RequestId = requestid
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
def deserialize(params)
|
2574
|
+
@Result = params['Result']
|
2575
|
+
@RequestId = params['RequestId']
|
2576
|
+
end
|
2577
|
+
end
|
2578
|
+
|
2531
2579
|
# 购买完额外性能之后的值
|
2532
2580
|
class ExstraPerformanceInfo < TencentCloud::Common::AbstractModel
|
2533
2581
|
# @param Type: fixed: 最终值固定
|
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.
|
4
|
+
version: 3.0.1120
|
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-08-
|
11
|
+
date: 2025-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|