tencentcloud-sdk-goosefs 3.0.614 → 3.0.615

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: 755c5a73fd101078a8a7d1b612d67ec22d0b121c
4
- data.tar.gz: ae099f70a916d9235b80931eda9692056e827de6
3
+ metadata.gz: dbd5c7ed6fb9f6905196b0f0264c337ae4624ae1
4
+ data.tar.gz: 2098f2b3ce5c1d8298ef06da145254e311fbdf73
5
5
  SHA512:
6
- metadata.gz: ffd9e26ad009c4398e667a9ad3ec574230a161a28f9f4ab44342567c4ad61b8cfc2f9d76a8c65c045d003e6f0546478fbd132766a8a91c18a2c5791383bf8904
7
- data.tar.gz: 50f6551f205967dda7cf8b5303a35a3fd10de62165dd72d9ef8a126f313a5f34fb037f1111392461e1e9a4871ade33dafbbc66e417967c3a0b45d6c7fa166395
6
+ metadata.gz: 0ca590befd7038a3e08bc091448baf67faaffec3a0ca7b7e3a003f98c771464710829ff583c3feee7047ff314f8d55f5da6d1f3fb5876d3cf5e563e318e665ff
7
+ data.tar.gz: d8c5626ebea31344ebaa261293cd54940d015f07d86b9e0ea2a8b81f7c3dc5dbb4126689b2254ac8dca2192d8d0bb80c77d31af3c3f9ca6f6751a87ca356bf79
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.614
1
+ 3.0.615
@@ -53,6 +53,78 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 查询GooseFS集群客户端凭证
57
+
58
+ # @param request: Request instance for DescribeClusterClientToken.
59
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DescribeClusterClientTokenRequest`
60
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DescribeClusterClientTokenResponse`
61
+ def DescribeClusterClientToken(request)
62
+ body = send_request('DescribeClusterClientToken', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = DescribeClusterClientTokenResponse.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
+
80
+ # 查询GooseFS集群角色凭证
81
+
82
+ # @param request: Request instance for DescribeClusterRoleToken.
83
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DescribeClusterRoleTokenRequest`
84
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DescribeClusterRoleTokenResponse`
85
+ def DescribeClusterRoleToken(request)
86
+ body = send_request('DescribeClusterRoleToken', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeClusterRoleTokenResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 查询GooseFS集群角色
105
+
106
+ # @param request: Request instance for DescribeClusterRoles.
107
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DescribeClusterRolesRequest`
108
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DescribeClusterRolesResponse`
109
+ def DescribeClusterRoles(request)
110
+ body = send_request('DescribeClusterRoles', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeClusterRolesResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
56
128
  # 获取数据流通任务实时状态,用作客户端控制
57
129
 
58
130
  # @param request: Request instance for DescribeDataRepositoryTaskStatus.
@@ -17,6 +17,51 @@
17
17
  module TencentCloud
18
18
  module Goosefs
19
19
  module V20220519
20
+ # 查询Client Token
21
+ class ClientToken < TencentCloud::Common::AbstractModel
22
+ # @param LocalDirectory: 挂载点
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type LocalDirectory: String
25
+
26
+ attr_accessor :LocalDirectory
27
+
28
+ def initialize(localdirectory=nil)
29
+ @LocalDirectory = localdirectory
30
+ end
31
+
32
+ def deserialize(params)
33
+ @LocalDirectory = params['LocalDirectory']
34
+ end
35
+ end
36
+
37
+ # ClusterRole
38
+ class ClusterRole < TencentCloud::Common::AbstractModel
39
+ # @param ClusterId: 集群ID
40
+ # @type ClusterId: String
41
+ # @param RoleName: 角色名
42
+ # @type RoleName: String
43
+ # @param Description: 描述
44
+ # @type Description: String
45
+ # @param DirectoryList: 目录列表
46
+ # @type DirectoryList: Array
47
+
48
+ attr_accessor :ClusterId, :RoleName, :Description, :DirectoryList
49
+
50
+ def initialize(clusterid=nil, rolename=nil, description=nil, directorylist=nil)
51
+ @ClusterId = clusterid
52
+ @RoleName = rolename
53
+ @Description = description
54
+ @DirectoryList = directorylist
55
+ end
56
+
57
+ def deserialize(params)
58
+ @ClusterId = params['ClusterId']
59
+ @RoleName = params['RoleName']
60
+ @Description = params['Description']
61
+ @DirectoryList = params['DirectoryList']
62
+ end
63
+ end
64
+
20
65
  # CreateDataRepositoryTask请求参数结构体
21
66
  class CreateDataRepositoryTaskRequest < TencentCloud::Common::AbstractModel
22
67
  # @param TaskType: 数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)
@@ -77,6 +122,139 @@ module TencentCloud
77
122
  end
78
123
  end
79
124
 
125
+ # DescribeClusterClientToken请求参数结构体
126
+ class DescribeClusterClientTokenRequest < TencentCloud::Common::AbstractModel
127
+ # @param ClusterId: 集群ID
128
+ # @type ClusterId: String
129
+
130
+ attr_accessor :ClusterId
131
+
132
+ def initialize(clusterid=nil)
133
+ @ClusterId = clusterid
134
+ end
135
+
136
+ def deserialize(params)
137
+ @ClusterId = params['ClusterId']
138
+ end
139
+ end
140
+
141
+ # DescribeClusterClientToken返回参数结构体
142
+ class DescribeClusterClientTokenResponse < TencentCloud::Common::AbstractModel
143
+ # @param ClientTokens: 客户端凭证
144
+ # @type ClientTokens: Array
145
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
146
+ # @type RequestId: String
147
+
148
+ attr_accessor :ClientTokens, :RequestId
149
+
150
+ def initialize(clienttokens=nil, requestid=nil)
151
+ @ClientTokens = clienttokens
152
+ @RequestId = requestid
153
+ end
154
+
155
+ def deserialize(params)
156
+ unless params['ClientTokens'].nil?
157
+ @ClientTokens = []
158
+ params['ClientTokens'].each do |i|
159
+ clienttoken_tmp = ClientToken.new
160
+ clienttoken_tmp.deserialize(i)
161
+ @ClientTokens << clienttoken_tmp
162
+ end
163
+ end
164
+ @RequestId = params['RequestId']
165
+ end
166
+ end
167
+
168
+ # DescribeClusterRoleToken请求参数结构体
169
+ class DescribeClusterRoleTokenRequest < TencentCloud::Common::AbstractModel
170
+ # @param ClusterId: 集群ID
171
+ # @type ClusterId: String
172
+ # @param RoleName: 角色名
173
+ # @type RoleName: String
174
+
175
+ attr_accessor :ClusterId, :RoleName
176
+
177
+ def initialize(clusterid=nil, rolename=nil)
178
+ @ClusterId = clusterid
179
+ @RoleName = rolename
180
+ end
181
+
182
+ def deserialize(params)
183
+ @ClusterId = params['ClusterId']
184
+ @RoleName = params['RoleName']
185
+ end
186
+ end
187
+
188
+ # DescribeClusterRoleToken返回参数结构体
189
+ class DescribeClusterRoleTokenResponse < TencentCloud::Common::AbstractModel
190
+ # @param RoleTokens: 角色凭证
191
+ # @type RoleTokens: Array
192
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
193
+ # @type RequestId: String
194
+
195
+ attr_accessor :RoleTokens, :RequestId
196
+
197
+ def initialize(roletokens=nil, requestid=nil)
198
+ @RoleTokens = roletokens
199
+ @RequestId = requestid
200
+ end
201
+
202
+ def deserialize(params)
203
+ unless params['RoleTokens'].nil?
204
+ @RoleTokens = []
205
+ params['RoleTokens'].each do |i|
206
+ roletoken_tmp = RoleToken.new
207
+ roletoken_tmp.deserialize(i)
208
+ @RoleTokens << roletoken_tmp
209
+ end
210
+ end
211
+ @RequestId = params['RequestId']
212
+ end
213
+ end
214
+
215
+ # DescribeClusterRoles请求参数结构体
216
+ class DescribeClusterRolesRequest < TencentCloud::Common::AbstractModel
217
+ # @param ClusterId: 集群ID
218
+ # @type ClusterId: String
219
+
220
+ attr_accessor :ClusterId
221
+
222
+ def initialize(clusterid=nil)
223
+ @ClusterId = clusterid
224
+ end
225
+
226
+ def deserialize(params)
227
+ @ClusterId = params['ClusterId']
228
+ end
229
+ end
230
+
231
+ # DescribeClusterRoles返回参数结构体
232
+ class DescribeClusterRolesResponse < TencentCloud::Common::AbstractModel
233
+ # @param ClusterRoles: 集群角色
234
+ # @type ClusterRoles: Array
235
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
236
+ # @type RequestId: String
237
+
238
+ attr_accessor :ClusterRoles, :RequestId
239
+
240
+ def initialize(clusterroles=nil, requestid=nil)
241
+ @ClusterRoles = clusterroles
242
+ @RequestId = requestid
243
+ end
244
+
245
+ def deserialize(params)
246
+ unless params['ClusterRoles'].nil?
247
+ @ClusterRoles = []
248
+ params['ClusterRoles'].each do |i|
249
+ clusterrole_tmp = ClusterRole.new
250
+ clusterrole_tmp.deserialize(i)
251
+ @ClusterRoles << clusterrole_tmp
252
+ end
253
+ end
254
+ @RequestId = params['RequestId']
255
+ end
256
+ end
257
+
80
258
  # DescribeDataRepositoryTaskStatus请求参数结构体
81
259
  class DescribeDataRepositoryTaskStatusRequest < TencentCloud::Common::AbstractModel
82
260
  # @param TaskId: task id
@@ -129,6 +307,27 @@ module TencentCloud
129
307
  end
130
308
  end
131
309
 
310
+ # 角色凭证
311
+ class RoleToken < TencentCloud::Common::AbstractModel
312
+ # @param RoleName: 角色名
313
+ # @type RoleName: String
314
+ # @param Token: 用于goosefs client/sdk等
315
+ # 注意:此字段可能返回 null,表示取不到有效值。
316
+ # @type Token: String
317
+
318
+ attr_accessor :RoleName, :Token
319
+
320
+ def initialize(rolename=nil, token=nil)
321
+ @RoleName = rolename
322
+ @Token = token
323
+ end
324
+
325
+ def deserialize(params)
326
+ @RoleName = params['RoleName']
327
+ @Token = params['Token']
328
+ end
329
+ end
330
+
132
331
  end
133
332
  end
134
333
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-goosefs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.614
4
+ version: 3.0.615
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-17 00:00:00.000000000 Z
11
+ date: 2023-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common