tencentcloud-sdk-tsf 3.0.861 → 3.0.862

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: dd4593beccb21c7397cb86a34da93d37692a2b6b
4
- data.tar.gz: 2f5aa4dac78b6d7aa79ed9d50eb4231a46e2df78
3
+ metadata.gz: 6c5823844ff0850b800dc28ae1d9bfeb6826cf98
4
+ data.tar.gz: d51bd4d08baead6f625f4e30349b2daa0306dd99
5
5
  SHA512:
6
- metadata.gz: 086bb1f5c6960a23de3be3eb59f9803f4ba68ac8c5e6f6ba3769c3e8ca2e502d69c0852366c980bf273e17a17643e7f59b570762a6c828ca6172b74eb57ef2c7
7
- data.tar.gz: cecc669b94f02fce5f9be8c160139f1f344b4468e517378626da0ef1f487329db5c3af60a41937436d7ec7bc61d19473a21a5b098c4c0ff70fc2b62cce3dd2ba
6
+ metadata.gz: 8d1d6ebfa9d20c25defd244f114eaca08fe27e9680dcecee228fecc5e9d48526365bb9eb09c52dd9b8623174379e985f958b02add0a0818ac910f7906b9b1d8c
7
+ data.tar.gz: 7916458597caabb8ae02c07631b44b6b61ead38d6bdc45dbdb86827ed22196a8bcf907e37b52624e32c1a1b3bd0ee974a59323939c85d423364d2541423753b4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.861
1
+ 3.0.862
@@ -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.
@@ -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, 6
1213
- deprecate :ConfigAssociatedGroups=, :none, 2024, 6
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.861
4
+ version: 3.0.862
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-09 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common