tencentcloud-sdk-tsf 3.0.861 → 3.0.863
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180326/client.rb +48 -0
- data/lib/v20180326/models.rb +112 -2
- 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: 88d374f3628463b0fd4fe0f71b5faee09a459f8f
|
4
|
+
data.tar.gz: c22ab2cf40b2fe4df82682dfb092be08b04abefe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34be4ecf90a382ca76468f80f1e5b91a7d317f6043ffc839fdf5d474829b9d70002f13cc0ec6cab435c4c61fdcb8d55a28cccd6baaf0f2ffda6b1cef861c9b6f
|
7
|
+
data.tar.gz: 95118f278e89c9df84fed3a7e8b40d1ec34346c375f6f3398efb498ef130db5a6f936153dfb5ed50c5865220ce0be3dca667936acf1bf88aca6eec8427b3bbdf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.863
|
data/lib/v20180326/client.rb
CHANGED
@@ -749,6 +749,30 @@ module TencentCloud
|
|
749
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
750
|
end
|
751
751
|
|
752
|
+
# 创建数据集
|
753
|
+
|
754
|
+
# @param request: Request instance for CreateProgram.
|
755
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::CreateProgramRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::CreateProgramResponse`
|
757
|
+
def CreateProgram(request)
|
758
|
+
body = send_request('CreateProgram', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = CreateProgramResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
752
776
|
# 创建公共配置项
|
753
777
|
|
754
778
|
# @param request: Request instance for CreatePublicConfig.
|
@@ -4402,6 +4426,30 @@ module TencentCloud
|
|
4402
4426
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4403
4427
|
end
|
4404
4428
|
|
4429
|
+
# 更新数据集
|
4430
|
+
|
4431
|
+
# @param request: Request instance for ModifyProgram.
|
4432
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::ModifyProgramRequest`
|
4433
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::ModifyProgramResponse`
|
4434
|
+
def ModifyProgram(request)
|
4435
|
+
body = send_request('ModifyProgram', request.serialize)
|
4436
|
+
response = JSON.parse(body)
|
4437
|
+
if response['Response'].key?('Error') == false
|
4438
|
+
model = ModifyProgramResponse.new
|
4439
|
+
model.deserialize(response['Response'])
|
4440
|
+
model
|
4441
|
+
else
|
4442
|
+
code = response['Response']['Error']['Code']
|
4443
|
+
message = response['Response']['Error']['Message']
|
4444
|
+
reqid = response['Response']['RequestId']
|
4445
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4446
|
+
end
|
4447
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4448
|
+
raise e
|
4449
|
+
rescue StandardError => e
|
4450
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4451
|
+
end
|
4452
|
+
|
4405
4453
|
# 修改任务
|
4406
4454
|
|
4407
4455
|
# @param request: Request instance for ModifyTask.
|
data/lib/v20180326/models.rb
CHANGED
@@ -1209,8 +1209,8 @@ module TencentCloud
|
|
1209
1209
|
|
1210
1210
|
attr_accessor :ConfigId, :ConfigName, :ConfigPath, :ConfigDesc, :ConfigTags, :ConfigPipeline, :ConfigCreateTime, :ConfigUpdateTime, :ConfigSchema, :ConfigAssociatedGroups, :ConfigAssociatedGroupList
|
1211
1211
|
extend Gem::Deprecate
|
1212
|
-
deprecate :ConfigAssociatedGroups, :none, 2024,
|
1213
|
-
deprecate :ConfigAssociatedGroups=, :none, 2024,
|
1212
|
+
deprecate :ConfigAssociatedGroups, :none, 2024, 7
|
1213
|
+
deprecate :ConfigAssociatedGroups=, :none, 2024, 7
|
1214
1214
|
|
1215
1215
|
def initialize(configid=nil, configname=nil, configpath=nil, configdesc=nil, configtags=nil, configpipeline=nil, configcreatetime=nil, configupdatetime=nil, configschema=nil, configassociatedgroups=nil, configassociatedgrouplist=nil)
|
1216
1216
|
@ConfigId = configid
|
@@ -4431,6 +4431,57 @@ module TencentCloud
|
|
4431
4431
|
end
|
4432
4432
|
end
|
4433
4433
|
|
4434
|
+
# CreateProgram请求参数结构体
|
4435
|
+
class CreateProgramRequest < TencentCloud::Common::AbstractModel
|
4436
|
+
# @param ProgramName: 数据集名称
|
4437
|
+
# @type ProgramName: String
|
4438
|
+
# @param ProgramDesc: 数据集描述
|
4439
|
+
# @type ProgramDesc: String
|
4440
|
+
# @param ProgramItemList: 数据项列表,传入null或空数组时不新增
|
4441
|
+
# @type ProgramItemList: Array
|
4442
|
+
|
4443
|
+
attr_accessor :ProgramName, :ProgramDesc, :ProgramItemList
|
4444
|
+
|
4445
|
+
def initialize(programname=nil, programdesc=nil, programitemlist=nil)
|
4446
|
+
@ProgramName = programname
|
4447
|
+
@ProgramDesc = programdesc
|
4448
|
+
@ProgramItemList = programitemlist
|
4449
|
+
end
|
4450
|
+
|
4451
|
+
def deserialize(params)
|
4452
|
+
@ProgramName = params['ProgramName']
|
4453
|
+
@ProgramDesc = params['ProgramDesc']
|
4454
|
+
unless params['ProgramItemList'].nil?
|
4455
|
+
@ProgramItemList = []
|
4456
|
+
params['ProgramItemList'].each do |i|
|
4457
|
+
programitem_tmp = ProgramItem.new
|
4458
|
+
programitem_tmp.deserialize(i)
|
4459
|
+
@ProgramItemList << programitem_tmp
|
4460
|
+
end
|
4461
|
+
end
|
4462
|
+
end
|
4463
|
+
end
|
4464
|
+
|
4465
|
+
# CreateProgram返回参数结构体
|
4466
|
+
class CreateProgramResponse < TencentCloud::Common::AbstractModel
|
4467
|
+
# @param Result: true: 创建成功;false: 创建失败
|
4468
|
+
# @type Result: Boolean
|
4469
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4470
|
+
# @type RequestId: String
|
4471
|
+
|
4472
|
+
attr_accessor :Result, :RequestId
|
4473
|
+
|
4474
|
+
def initialize(result=nil, requestid=nil)
|
4475
|
+
@Result = result
|
4476
|
+
@RequestId = requestid
|
4477
|
+
end
|
4478
|
+
|
4479
|
+
def deserialize(params)
|
4480
|
+
@Result = params['Result']
|
4481
|
+
@RequestId = params['RequestId']
|
4482
|
+
end
|
4483
|
+
end
|
4484
|
+
|
4434
4485
|
# CreatePublicConfig请求参数结构体
|
4435
4486
|
class CreatePublicConfigRequest < TencentCloud::Common::AbstractModel
|
4436
4487
|
# @param ConfigName: 配置项名称
|
@@ -15421,6 +15472,65 @@ module TencentCloud
|
|
15421
15472
|
end
|
15422
15473
|
end
|
15423
15474
|
|
15475
|
+
# ModifyProgram请求参数结构体
|
15476
|
+
class ModifyProgramRequest < TencentCloud::Common::AbstractModel
|
15477
|
+
# @param ProgramId: 数据集ID
|
15478
|
+
# @type ProgramId: String
|
15479
|
+
# @param ProgramName: 数据集名称,不传入时不更新
|
15480
|
+
# @type ProgramName: String
|
15481
|
+
# @param ProgramDesc: 数据集描述,不传入时不更新
|
15482
|
+
# @type ProgramDesc: String
|
15483
|
+
# @param ProgramItemList: 数据项列表,传入null不更新,传入空数组全量删除
|
15484
|
+
# @type ProgramItemList: Array
|
15485
|
+
# @param EmptyProgramItemList: ProgramItemList是否是空数组
|
15486
|
+
# @type EmptyProgramItemList: Boolean
|
15487
|
+
|
15488
|
+
attr_accessor :ProgramId, :ProgramName, :ProgramDesc, :ProgramItemList, :EmptyProgramItemList
|
15489
|
+
|
15490
|
+
def initialize(programid=nil, programname=nil, programdesc=nil, programitemlist=nil, emptyprogramitemlist=nil)
|
15491
|
+
@ProgramId = programid
|
15492
|
+
@ProgramName = programname
|
15493
|
+
@ProgramDesc = programdesc
|
15494
|
+
@ProgramItemList = programitemlist
|
15495
|
+
@EmptyProgramItemList = emptyprogramitemlist
|
15496
|
+
end
|
15497
|
+
|
15498
|
+
def deserialize(params)
|
15499
|
+
@ProgramId = params['ProgramId']
|
15500
|
+
@ProgramName = params['ProgramName']
|
15501
|
+
@ProgramDesc = params['ProgramDesc']
|
15502
|
+
unless params['ProgramItemList'].nil?
|
15503
|
+
@ProgramItemList = []
|
15504
|
+
params['ProgramItemList'].each do |i|
|
15505
|
+
programitem_tmp = ProgramItem.new
|
15506
|
+
programitem_tmp.deserialize(i)
|
15507
|
+
@ProgramItemList << programitem_tmp
|
15508
|
+
end
|
15509
|
+
end
|
15510
|
+
@EmptyProgramItemList = params['EmptyProgramItemList']
|
15511
|
+
end
|
15512
|
+
end
|
15513
|
+
|
15514
|
+
# ModifyProgram返回参数结构体
|
15515
|
+
class ModifyProgramResponse < TencentCloud::Common::AbstractModel
|
15516
|
+
# @param Result: true: 更新成功;false: 更新失败
|
15517
|
+
# @type Result: Boolean
|
15518
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15519
|
+
# @type RequestId: String
|
15520
|
+
|
15521
|
+
attr_accessor :Result, :RequestId
|
15522
|
+
|
15523
|
+
def initialize(result=nil, requestid=nil)
|
15524
|
+
@Result = result
|
15525
|
+
@RequestId = requestid
|
15526
|
+
end
|
15527
|
+
|
15528
|
+
def deserialize(params)
|
15529
|
+
@Result = params['Result']
|
15530
|
+
@RequestId = params['RequestId']
|
15531
|
+
end
|
15532
|
+
end
|
15533
|
+
|
15424
15534
|
# ModifyTask请求参数结构体
|
15425
15535
|
class ModifyTaskRequest < TencentCloud::Common::AbstractModel
|
15426
15536
|
# @param TaskId: 任务ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tsf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.863
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|