tencentcloud-sdk-oceanus 3.0.679 → 3.0.681

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: d7a885a7724240cefc72cf44178d252544dc12b9
4
- data.tar.gz: a478ec610f0a039906a28fa5702845fe609156db
3
+ metadata.gz: f9ca3a5d0efc9aa6aad530a9af8557971a374136
4
+ data.tar.gz: 0a5f24bd6afed2012aebb7356050c2af260e2d59
5
5
  SHA512:
6
- metadata.gz: d582852da837f16c81004f763314e6037274a393bd5714a9e853077b2d0d5f8dcc0a7198b3c14ea2610aa1a50c7590a8743c5b964d420eb266a744e6213cf727
7
- data.tar.gz: 3870b6fae586110a6a363a47a44ec2d523924efa291853391eb5ae8780ee4f40ae7c4b24331b90fcde26a8768c0de9484cc36b84de4e5962fdf4ab0d70198a37
6
+ metadata.gz: 3058fe316671bc924daee3e7ae9425128c0c2ce59d3d933741edd2d151e172ac41470b2623fbd8dc8e80d33135c40c0677189fa42b3f52b76423fa30d2039343
7
+ data.tar.gz: ea1f7ca8092ab27b69551da8a1f2e52b8074973fb6883e04d6a143a725cf3a42aaa22ef6bf3d62309d6ca1c63a5a5f266a9b9672788ab30b9244391976495a37
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.679
1
+ 3.0.681
@@ -197,6 +197,78 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 创建工作空间
201
+
202
+ # @param request: Request instance for CreateWorkSpace.
203
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::CreateWorkSpaceRequest`
204
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::CreateWorkSpaceResponse`
205
+ def CreateWorkSpace(request)
206
+ body = send_request('CreateWorkSpace', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = CreateWorkSpaceResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
224
+ # 作业列表删除文件夹
225
+
226
+ # @param request: Request instance for DeleteFolders.
227
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DeleteFoldersRequest`
228
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DeleteFoldersResponse`
229
+ def DeleteFolders(request)
230
+ body = send_request('DeleteFolders', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DeleteFoldersResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
248
+ # 删除作业配置
249
+
250
+ # @param request: Request instance for DeleteJobConfigs.
251
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DeleteJobConfigsRequest`
252
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DeleteJobConfigsResponse`
253
+ def DeleteJobConfigs(request)
254
+ body = send_request('DeleteJobConfigs', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DeleteJobConfigsResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
200
272
  # 批量删除作业接口,批量操作数量上限20
201
273
 
202
274
  # @param request: Request instance for DeleteJobs.
@@ -605,6 +677,30 @@ module TencentCloud
605
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
678
  end
607
679
 
680
+ # 自定义树状结构页面拖拽文件夹
681
+
682
+ # @param request: Request instance for ModifyFolder.
683
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::ModifyFolderRequest`
684
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::ModifyFolderResponse`
685
+ def ModifyFolder(request)
686
+ body = send_request('ModifyFolder', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = ModifyFolderResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
608
704
  # 更新作业属性,仅允许以下3种操作,不支持组合操作:
609
705
  # (1) 更新作业名称
610
706
  # (2) 更新作业备注
@@ -638,6 +734,30 @@ module TencentCloud
638
734
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
639
735
  end
640
736
 
737
+ # 修改工作空间
738
+
739
+ # @param request: Request instance for ModifyWorkSpace.
740
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::ModifyWorkSpaceRequest`
741
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::ModifyWorkSpaceResponse`
742
+ def ModifyWorkSpace(request)
743
+ body = send_request('ModifyWorkSpace', request.serialize)
744
+ response = JSON.parse(body)
745
+ if response['Response'].key?('Error') == false
746
+ model = ModifyWorkSpaceResponse.new
747
+ model.deserialize(response['Response'])
748
+ model
749
+ else
750
+ code = response['Response']['Error']['Code']
751
+ message = response['Response']['Error']['Message']
752
+ reqid = response['Response']['RequestId']
753
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
754
+ end
755
+ rescue TencentCloud::Common::TencentCloudSDKException => e
756
+ raise e
757
+ rescue StandardError => e
758
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
759
+ end
760
+
641
761
  # 批量启动或者恢复作业,批量操作数量上限20
642
762
 
643
763
  # @param request: Request instance for RunJobs.
@@ -1034,6 +1034,126 @@ module TencentCloud
1034
1034
  end
1035
1035
  end
1036
1036
 
1037
+ # CreateWorkSpace请求参数结构体
1038
+ class CreateWorkSpaceRequest < TencentCloud::Common::AbstractModel
1039
+ # @param WorkSpaceName: 工作空间名称
1040
+ # @type WorkSpaceName: String
1041
+ # @param Description: 项目空间备注
1042
+ # @type Description: String
1043
+
1044
+ attr_accessor :WorkSpaceName, :Description
1045
+
1046
+ def initialize(workspacename=nil, description=nil)
1047
+ @WorkSpaceName = workspacename
1048
+ @Description = description
1049
+ end
1050
+
1051
+ def deserialize(params)
1052
+ @WorkSpaceName = params['WorkSpaceName']
1053
+ @Description = params['Description']
1054
+ end
1055
+ end
1056
+
1057
+ # CreateWorkSpace返回参数结构体
1058
+ class CreateWorkSpaceResponse < TencentCloud::Common::AbstractModel
1059
+ # @param WorkSpaceId: 工作空间 SerialId
1060
+ # @type WorkSpaceId: String
1061
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1062
+ # @type RequestId: String
1063
+
1064
+ attr_accessor :WorkSpaceId, :RequestId
1065
+
1066
+ def initialize(workspaceid=nil, requestid=nil)
1067
+ @WorkSpaceId = workspaceid
1068
+ @RequestId = requestid
1069
+ end
1070
+
1071
+ def deserialize(params)
1072
+ @WorkSpaceId = params['WorkSpaceId']
1073
+ @RequestId = params['RequestId']
1074
+ end
1075
+ end
1076
+
1077
+ # DeleteFolders请求参数结构体
1078
+ class DeleteFoldersRequest < TencentCloud::Common::AbstractModel
1079
+ # @param FolderIds: 需删除的文件夹唯一ID
1080
+ # @type FolderIds: Array
1081
+ # @param FolderType: 文件夹类型,0是任务文件夹,1是依赖文件夹
1082
+ # @type FolderType: Integer
1083
+ # @param WorkSpaceId: 工作空间 SerialId
1084
+ # @type WorkSpaceId: String
1085
+
1086
+ attr_accessor :FolderIds, :FolderType, :WorkSpaceId
1087
+
1088
+ def initialize(folderids=nil, foldertype=nil, workspaceid=nil)
1089
+ @FolderIds = folderids
1090
+ @FolderType = foldertype
1091
+ @WorkSpaceId = workspaceid
1092
+ end
1093
+
1094
+ def deserialize(params)
1095
+ @FolderIds = params['FolderIds']
1096
+ @FolderType = params['FolderType']
1097
+ @WorkSpaceId = params['WorkSpaceId']
1098
+ end
1099
+ end
1100
+
1101
+ # DeleteFolders返回参数结构体
1102
+ class DeleteFoldersResponse < TencentCloud::Common::AbstractModel
1103
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1104
+ # @type RequestId: String
1105
+
1106
+ attr_accessor :RequestId
1107
+
1108
+ def initialize(requestid=nil)
1109
+ @RequestId = requestid
1110
+ end
1111
+
1112
+ def deserialize(params)
1113
+ @RequestId = params['RequestId']
1114
+ end
1115
+ end
1116
+
1117
+ # DeleteJobConfigs请求参数结构体
1118
+ class DeleteJobConfigsRequest < TencentCloud::Common::AbstractModel
1119
+ # @param JobId: 作业ID
1120
+ # @type JobId: String
1121
+ # @param JobConfigVersions: 作业配置版本数组
1122
+ # @type JobConfigVersions: Array
1123
+ # @param WorkSpaceId: 工作空间 SerialId
1124
+ # @type WorkSpaceId: String
1125
+
1126
+ attr_accessor :JobId, :JobConfigVersions, :WorkSpaceId
1127
+
1128
+ def initialize(jobid=nil, jobconfigversions=nil, workspaceid=nil)
1129
+ @JobId = jobid
1130
+ @JobConfigVersions = jobconfigversions
1131
+ @WorkSpaceId = workspaceid
1132
+ end
1133
+
1134
+ def deserialize(params)
1135
+ @JobId = params['JobId']
1136
+ @JobConfigVersions = params['JobConfigVersions']
1137
+ @WorkSpaceId = params['WorkSpaceId']
1138
+ end
1139
+ end
1140
+
1141
+ # DeleteJobConfigs返回参数结构体
1142
+ class DeleteJobConfigsResponse < TencentCloud::Common::AbstractModel
1143
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1144
+ # @type RequestId: String
1145
+
1146
+ attr_accessor :RequestId
1147
+
1148
+ def initialize(requestid=nil)
1149
+ @RequestId = requestid
1150
+ end
1151
+
1152
+ def deserialize(params)
1153
+ @RequestId = params['RequestId']
1154
+ end
1155
+ end
1156
+
1037
1157
  # DeleteJobs请求参数结构体
1038
1158
  class DeleteJobsRequest < TencentCloud::Common::AbstractModel
1039
1159
  # @param JobIds: 作业Id列表
@@ -2785,6 +2905,58 @@ module TencentCloud
2785
2905
  end
2786
2906
  end
2787
2907
 
2908
+ # ModifyFolder请求参数结构体
2909
+ class ModifyFolderRequest < TencentCloud::Common::AbstractModel
2910
+ # @param SourceFolderId: 文件夹ID(必填)
2911
+ # @type SourceFolderId: String
2912
+ # @param TargetFolderId: 如需拖拽文件夹,需传入目标文件夹ID
2913
+ # @type TargetFolderId: String
2914
+ # @param FolderName: 如需修改文件夹名,需传入FolderName字段
2915
+ # @type FolderName: String
2916
+ # @param FolderType: 文件夹类型,0是任务文件夹,1是依赖文件夹
2917
+ # @type FolderType: Integer
2918
+ # @param SourceJobIds: 批量移动的作业serial id 列表
2919
+ # @type SourceJobIds: Array
2920
+ # @param WorkSpaceId: 工作空间 SerialId
2921
+ # @type WorkSpaceId: String
2922
+
2923
+ attr_accessor :SourceFolderId, :TargetFolderId, :FolderName, :FolderType, :SourceJobIds, :WorkSpaceId
2924
+
2925
+ def initialize(sourcefolderid=nil, targetfolderid=nil, foldername=nil, foldertype=nil, sourcejobids=nil, workspaceid=nil)
2926
+ @SourceFolderId = sourcefolderid
2927
+ @TargetFolderId = targetfolderid
2928
+ @FolderName = foldername
2929
+ @FolderType = foldertype
2930
+ @SourceJobIds = sourcejobids
2931
+ @WorkSpaceId = workspaceid
2932
+ end
2933
+
2934
+ def deserialize(params)
2935
+ @SourceFolderId = params['SourceFolderId']
2936
+ @TargetFolderId = params['TargetFolderId']
2937
+ @FolderName = params['FolderName']
2938
+ @FolderType = params['FolderType']
2939
+ @SourceJobIds = params['SourceJobIds']
2940
+ @WorkSpaceId = params['WorkSpaceId']
2941
+ end
2942
+ end
2943
+
2944
+ # ModifyFolder返回参数结构体
2945
+ class ModifyFolderResponse < TencentCloud::Common::AbstractModel
2946
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2947
+ # @type RequestId: String
2948
+
2949
+ attr_accessor :RequestId
2950
+
2951
+ def initialize(requestid=nil)
2952
+ @RequestId = requestid
2953
+ end
2954
+
2955
+ def deserialize(params)
2956
+ @RequestId = params['RequestId']
2957
+ end
2958
+ end
2959
+
2788
2960
  # ModifyJob请求参数结构体
2789
2961
  class ModifyJobRequest < TencentCloud::Common::AbstractModel
2790
2962
  # @param JobId: 作业Id
@@ -2833,6 +3005,46 @@ module TencentCloud
2833
3005
  end
2834
3006
  end
2835
3007
 
3008
+ # ModifyWorkSpace请求参数结构体
3009
+ class ModifyWorkSpaceRequest < TencentCloud::Common::AbstractModel
3010
+ # @param WorkSpaceId: 工作空间 SerialId
3011
+ # @type WorkSpaceId: String
3012
+ # @param WorkSpaceName: 待修改的工作空间名称
3013
+ # @type WorkSpaceName: String
3014
+ # @param Description: 待修改的工作空间备注
3015
+ # @type Description: String
3016
+
3017
+ attr_accessor :WorkSpaceId, :WorkSpaceName, :Description
3018
+
3019
+ def initialize(workspaceid=nil, workspacename=nil, description=nil)
3020
+ @WorkSpaceId = workspaceid
3021
+ @WorkSpaceName = workspacename
3022
+ @Description = description
3023
+ end
3024
+
3025
+ def deserialize(params)
3026
+ @WorkSpaceId = params['WorkSpaceId']
3027
+ @WorkSpaceName = params['WorkSpaceName']
3028
+ @Description = params['Description']
3029
+ end
3030
+ end
3031
+
3032
+ # ModifyWorkSpace返回参数结构体
3033
+ class ModifyWorkSpaceResponse < TencentCloud::Common::AbstractModel
3034
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3035
+ # @type RequestId: String
3036
+
3037
+ attr_accessor :RequestId
3038
+
3039
+ def initialize(requestid=nil)
3040
+ @RequestId = requestid
3041
+ end
3042
+
3043
+ def deserialize(params)
3044
+ @RequestId = params['RequestId']
3045
+ end
3046
+ end
3047
+
2836
3048
  # 专家模式 计算节点的配置信息
2837
3049
  class NodeConfig < TencentCloud::Common::AbstractModel
2838
3050
  # @param Id: Node ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-oceanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.679
4
+ version: 3.0.681
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-10-18 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20190422/models.rb
37
36
  - lib/v20190422/client.rb
37
+ - lib/v20190422/models.rb
38
38
  - lib/tencentcloud-sdk-oceanus.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby