tencentcloud-sdk-wedata 3.0.413 → 3.0.414

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4945c4617b372f20662c9b7581a0e3971c7f8ce4
4
- data.tar.gz: d50e84aac947329439e3c5da973486d311cba965
3
+ metadata.gz: c3cf6565132a358ae58850096b4371ba4770d0d0
4
+ data.tar.gz: f162267966d581521f2b11e84ec017f6e03a7f1c
5
5
  SHA512:
6
- metadata.gz: a0f102311cf9f06dd271a8b4587dc414010a1c271253d0c4213f286ce41bb6efb38e53c53f3b8bcd2bd6935421ee1a3b91bd9f2f01a6eece1ea5a6d79d43b7a8
7
- data.tar.gz: 4576bc82466fef8d9b2b4658b911aef27b54ca4376c3764fbe8366143179385e42514e4f7f187fdc4cb0686d2c4c2124ee6c98a6d4b7e79665b9586ead9fef64
6
+ metadata.gz: 35413579fdf13070c4b9e0ae2f9bc83edd01a3f41657e83273550d87c65bb1eca70ea72b9fd0a022042b43ba6004ae92c15dc32fc96eae9240cca51d1359a57f
7
+ data.tar.gz: bf9c23726675fd04d7dec1392e5f3dc9e84741c436aaebd254f98bc24caab93b33be2f06eea886ce3513a4098ec5767e3ffa49145cb6fc2a6309ddb08e864236
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.413
1
+ 3.0.414
@@ -104,6 +104,31 @@ module TencentCloud
104
104
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
105
  end
106
106
 
107
+ # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
108
+ # 创建数据源
109
+
110
+ # @param request: Request instance for CreateDataSource.
111
+ # @type request: :class:`Tencentcloud::wedata::V20210820::CreateDataSourceRequest`
112
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::CreateDataSourceResponse`
113
+ def CreateDataSource(request)
114
+ body = send_request('CreateDataSource', request.serialize)
115
+ response = JSON.parse(body)
116
+ if response['Response'].key?('Error') == false
117
+ model = CreateDataSourceResponse.new
118
+ model.deserialize(response['Response'])
119
+ model
120
+ else
121
+ code = response['Response']['Error']['Code']
122
+ message = response['Response']['Error']['Message']
123
+ reqid = response['Response']['RequestId']
124
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
125
+ end
126
+ rescue TencentCloud::Common::TencentCloudSDKException => e
127
+ raise e
128
+ rescue StandardError => e
129
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
130
+ end
131
+
107
132
  # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
108
133
  # 创建文件夹
109
134
 
@@ -179,6 +204,31 @@ module TencentCloud
179
204
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
180
205
  end
181
206
 
207
+ # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
208
+ # 删除数据源
209
+
210
+ # @param request: Request instance for DeleteDataSources.
211
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DeleteDataSourcesRequest`
212
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteDataSourcesResponse`
213
+ def DeleteDataSources(request)
214
+ body = send_request('DeleteDataSources', request.serialize)
215
+ response = JSON.parse(body)
216
+ if response['Response'].key?('Error') == false
217
+ model = DeleteDataSourcesResponse.new
218
+ model.deserialize(response['Response'])
219
+ model
220
+ else
221
+ code = response['Response']['Error']['Code']
222
+ message = response['Response']['Error']['Message']
223
+ reqid = response['Response']['RequestId']
224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
225
+ end
226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
227
+ raise e
228
+ rescue StandardError => e
229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
230
+ end
231
+
182
232
  # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
183
233
  # 删除文件夹
184
234
 
@@ -229,6 +279,31 @@ module TencentCloud
229
279
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
230
280
  end
231
281
 
282
+ # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
283
+ # 数据源详情
284
+
285
+ # @param request: Request instance for DescribeDatasource.
286
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDatasourceRequest`
287
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDatasourceResponse`
288
+ def DescribeDatasource(request)
289
+ body = send_request('DescribeDatasource', request.serialize)
290
+ response = JSON.parse(body)
291
+ if response['Response'].key?('Error') == false
292
+ model = DescribeDatasourceResponse.new
293
+ model.deserialize(response['Response'])
294
+ model
295
+ else
296
+ code = response['Response']['Error']['Code']
297
+ message = response['Response']['Error']['Message']
298
+ reqid = response['Response']['RequestId']
299
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
300
+ end
301
+ rescue TencentCloud::Common::TencentCloudSDKException => e
302
+ raise e
303
+ rescue StandardError => e
304
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
305
+ end
306
+
232
307
  # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
233
308
  # 根据层级查找上/下游任务节点
234
309
 
@@ -628,6 +703,31 @@ module TencentCloud
628
703
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
629
704
  end
630
705
 
706
+ # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
707
+ # 修改数据源
708
+
709
+ # @param request: Request instance for ModifyDataSource.
710
+ # @type request: :class:`Tencentcloud::wedata::V20210820::ModifyDataSourceRequest`
711
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::ModifyDataSourceResponse`
712
+ def ModifyDataSource(request)
713
+ body = send_request('ModifyDataSource', request.serialize)
714
+ response = JSON.parse(body)
715
+ if response['Response'].key?('Error') == false
716
+ model = ModifyDataSourceResponse.new
717
+ model.deserialize(response['Response'])
718
+ model
719
+ else
720
+ code = response['Response']['Error']['Code']
721
+ message = response['Response']['Error']['Message']
722
+ reqid = response['Response']['RequestId']
723
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
724
+ end
725
+ rescue TencentCloud::Common::TencentCloudSDKException => e
726
+ raise e
727
+ rescue StandardError => e
728
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
729
+ end
730
+
631
731
  # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
632
732
  # 文件夹更新
633
733
 
@@ -358,6 +358,107 @@ module TencentCloud
358
358
  end
359
359
  end
360
360
 
361
+ # CreateDataSource请求参数结构体
362
+ class CreateDataSourceRequest < TencentCloud::Common::AbstractModel
363
+ # @param Name: 数据源名称,在相同SpaceName下,数据源名称不能为空
364
+ # @type Name: String
365
+ # @param Category: 数据源类别:绑定引擎、绑定数据库
366
+ # @type Category: String
367
+ # @param Type: 数据源类型:枚举值
368
+ # @type Type: String
369
+ # @param OwnerProjectId: 归属项目ID
370
+ # @type OwnerProjectId: String
371
+ # @param OwnerProjectName: 归属项目Name
372
+ # @type OwnerProjectName: String
373
+ # @param OwnerProjectIdent: 归属项目Name中文
374
+ # @type OwnerProjectIdent: String
375
+ # @param BizParams: 业务侧数据源的配置信息扩展
376
+ # @type BizParams: String
377
+ # @param Params: 数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同
378
+ # @type Params: String
379
+ # @param Description: 数据源描述信息
380
+ # @type Description: String
381
+ # @param Display: 数据源展示名,为了可视化查看
382
+ # @type Display: String
383
+ # @param DatabaseName: 若数据源列表为绑定数据库,则为db名称
384
+ # @type DatabaseName: String
385
+ # @param Instance: 数据源引擎的实例ID,如CDB实例ID
386
+ # @type Instance: String
387
+ # @param Status: 数据源数据源的可见性,1为可见、0为不可见。默认为1
388
+ # @type Status: Integer
389
+ # @param ClusterId: 数据源所属的业务空间名称
390
+ # @type ClusterId: String
391
+ # @param Collect: 是否采集
392
+ # @type Collect: String
393
+ # @param COSBucket: cos桶信息
394
+ # @type COSBucket: String
395
+ # @param COSRegion: cos region
396
+ # @type COSRegion: String
397
+
398
+ attr_accessor :Name, :Category, :Type, :OwnerProjectId, :OwnerProjectName, :OwnerProjectIdent, :BizParams, :Params, :Description, :Display, :DatabaseName, :Instance, :Status, :ClusterId, :Collect, :COSBucket, :COSRegion
399
+
400
+ def initialize(name=nil, category=nil, type=nil, ownerprojectid=nil, ownerprojectname=nil, ownerprojectident=nil, bizparams=nil, params=nil, description=nil, display=nil, databasename=nil, instance=nil, status=nil, clusterid=nil, collect=nil, cosbucket=nil, cosregion=nil)
401
+ @Name = name
402
+ @Category = category
403
+ @Type = type
404
+ @OwnerProjectId = ownerprojectid
405
+ @OwnerProjectName = ownerprojectname
406
+ @OwnerProjectIdent = ownerprojectident
407
+ @BizParams = bizparams
408
+ @Params = params
409
+ @Description = description
410
+ @Display = display
411
+ @DatabaseName = databasename
412
+ @Instance = instance
413
+ @Status = status
414
+ @ClusterId = clusterid
415
+ @Collect = collect
416
+ @COSBucket = cosbucket
417
+ @COSRegion = cosregion
418
+ end
419
+
420
+ def deserialize(params)
421
+ @Name = params['Name']
422
+ @Category = params['Category']
423
+ @Type = params['Type']
424
+ @OwnerProjectId = params['OwnerProjectId']
425
+ @OwnerProjectName = params['OwnerProjectName']
426
+ @OwnerProjectIdent = params['OwnerProjectIdent']
427
+ @BizParams = params['BizParams']
428
+ @Params = params['Params']
429
+ @Description = params['Description']
430
+ @Display = params['Display']
431
+ @DatabaseName = params['DatabaseName']
432
+ @Instance = params['Instance']
433
+ @Status = params['Status']
434
+ @ClusterId = params['ClusterId']
435
+ @Collect = params['Collect']
436
+ @COSBucket = params['COSBucket']
437
+ @COSRegion = params['COSRegion']
438
+ end
439
+ end
440
+
441
+ # CreateDataSource返回参数结构体
442
+ class CreateDataSourceResponse < TencentCloud::Common::AbstractModel
443
+ # @param Data: 主键ID
444
+ # 注意:此字段可能返回 null,表示取不到有效值。
445
+ # @type Data: Integer
446
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
447
+ # @type RequestId: String
448
+
449
+ attr_accessor :Data, :RequestId
450
+
451
+ def initialize(data=nil, requestid=nil)
452
+ @Data = data
453
+ @RequestId = requestid
454
+ end
455
+
456
+ def deserialize(params)
457
+ @Data = params['Data']
458
+ @RequestId = params['RequestId']
459
+ end
460
+ end
461
+
361
462
  # CreateFolder请求参数结构体
362
463
  class CreateFolderRequest < TencentCloud::Common::AbstractModel
363
464
  # @param ProjectId: 项目Id
@@ -517,6 +618,200 @@ module TencentCloud
517
618
  end
518
619
  end
519
620
 
621
+ # 数据源对象
622
+ class DataSourceInfo < TencentCloud::Common::AbstractModel
623
+ # @param DatabaseName: 若数据源列表为绑定数据库,则为db名称
624
+ # 注意:此字段可能返回 null,表示取不到有效值。
625
+ # @type DatabaseName: String
626
+ # @param Description: 数据源描述信息
627
+ # 注意:此字段可能返回 null,表示取不到有效值。
628
+ # @type Description: String
629
+ # @param ID: 数据源ID
630
+ # 注意:此字段可能返回 null,表示取不到有效值。
631
+ # @type ID: Integer
632
+ # @param Instance: 数据源引擎的实例ID,如CDB实例ID
633
+ # 注意:此字段可能返回 null,表示取不到有效值。
634
+ # @type Instance: String
635
+ # @param Name: 数据源名称,在相同SpaceName下,数据源名称不能为空
636
+ # 注意:此字段可能返回 null,表示取不到有效值。
637
+ # @type Name: String
638
+ # @param Region: 数据源引擎所属区域
639
+ # 注意:此字段可能返回 null,表示取不到有效值。
640
+ # @type Region: String
641
+ # @param Type: 数据源类型:枚举值
642
+ # 注意:此字段可能返回 null,表示取不到有效值。
643
+ # @type Type: String
644
+ # @param ClusterId: 数据源所属的集群id
645
+ # 注意:此字段可能返回 null,表示取不到有效值。
646
+ # @type ClusterId: String
647
+ # @param AppId: 应用ID AppId
648
+ # 注意:此字段可能返回 null,表示取不到有效值。
649
+ # @type AppId: Integer
650
+ # @param BizParams: 业务侧数据源的配置信息扩展
651
+ # 注意:此字段可能返回 null,表示取不到有效值。
652
+ # @type BizParams: String
653
+ # @param Category: 数据源类别:绑定引擎、绑定数据库
654
+ # 注意:此字段可能返回 null,表示取不到有效值。
655
+ # @type Category: String
656
+ # @param Display: 数据源展示名,为了可视化查看
657
+ # 注意:此字段可能返回 null,表示取不到有效值。
658
+ # @type Display: String
659
+ # @param OwnerAccount: 数据源责任人账号ID
660
+ # 注意:此字段可能返回 null,表示取不到有效值。
661
+ # @type OwnerAccount: String
662
+ # @param Params: 数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同
663
+ # 注意:此字段可能返回 null,表示取不到有效值。
664
+ # @type Params: String
665
+ # @param Status: 数据源数据源的可见性,1为可见、0为不可见。默认为1
666
+ # 注意:此字段可能返回 null,表示取不到有效值。
667
+ # @type Status: Integer
668
+ # @param OwnerAccountName: 数据源责任人账号名称
669
+ # 注意:此字段可能返回 null,表示取不到有效值。
670
+ # @type OwnerAccountName: String
671
+ # @param ClusterName: 集群名称
672
+ # 注意:此字段可能返回 null,表示取不到有效值。
673
+ # @type ClusterName: String
674
+ # @param OwnerProjectId: 归属项目ID
675
+ # 注意:此字段可能返回 null,表示取不到有效值。
676
+ # @type OwnerProjectId: String
677
+ # @param OwnerProjectName: 归属项目Name
678
+ # 注意:此字段可能返回 null,表示取不到有效值。
679
+ # @type OwnerProjectName: String
680
+ # @param OwnerProjectIdent: 归属项目标识
681
+ # 注意:此字段可能返回 null,表示取不到有效值。
682
+ # @type OwnerProjectIdent: String
683
+ # @param AuthorityProjectName: 授权项目
684
+ # 注意:此字段可能返回 null,表示取不到有效值。
685
+ # @type AuthorityProjectName: String
686
+ # @param AuthorityUserName: 授权用户
687
+ # 注意:此字段可能返回 null,表示取不到有效值。
688
+ # @type AuthorityUserName: String
689
+ # @param Edit: 是否有编辑权限
690
+ # 注意:此字段可能返回 null,表示取不到有效值。
691
+ # @type Edit: Boolean
692
+ # @param Author: 是否有授权权限
693
+ # 注意:此字段可能返回 null,表示取不到有效值。
694
+ # @type Author: Boolean
695
+ # @param Deliver: 是否有转交权限
696
+ # 注意:此字段可能返回 null,表示取不到有效值。
697
+ # @type Deliver: Boolean
698
+ # @param DataSourceStatus: 数据源状态
699
+ # 注意:此字段可能返回 null,表示取不到有效值。
700
+ # @type DataSourceStatus: String
701
+ # @param CreateTime: 时间
702
+ # 注意:此字段可能返回 null,表示取不到有效值。
703
+ # @type CreateTime: Integer
704
+ # @param ParamsString: Params json字符串
705
+ # 注意:此字段可能返回 null,表示取不到有效值。
706
+ # @type ParamsString: String
707
+ # @param BizParamsString: BizParams json字符串
708
+ # 注意:此字段可能返回 null,表示取不到有效值。
709
+ # @type BizParamsString: String
710
+
711
+ attr_accessor :DatabaseName, :Description, :ID, :Instance, :Name, :Region, :Type, :ClusterId, :AppId, :BizParams, :Category, :Display, :OwnerAccount, :Params, :Status, :OwnerAccountName, :ClusterName, :OwnerProjectId, :OwnerProjectName, :OwnerProjectIdent, :AuthorityProjectName, :AuthorityUserName, :Edit, :Author, :Deliver, :DataSourceStatus, :CreateTime, :ParamsString, :BizParamsString
712
+
713
+ def initialize(databasename=nil, description=nil, id=nil, instance=nil, name=nil, region=nil, type=nil, clusterid=nil, appid=nil, bizparams=nil, category=nil, display=nil, owneraccount=nil, params=nil, status=nil, owneraccountname=nil, clustername=nil, ownerprojectid=nil, ownerprojectname=nil, ownerprojectident=nil, authorityprojectname=nil, authorityusername=nil, edit=nil, author=nil, deliver=nil, datasourcestatus=nil, createtime=nil, paramsstring=nil, bizparamsstring=nil)
714
+ @DatabaseName = databasename
715
+ @Description = description
716
+ @ID = id
717
+ @Instance = instance
718
+ @Name = name
719
+ @Region = region
720
+ @Type = type
721
+ @ClusterId = clusterid
722
+ @AppId = appid
723
+ @BizParams = bizparams
724
+ @Category = category
725
+ @Display = display
726
+ @OwnerAccount = owneraccount
727
+ @Params = params
728
+ @Status = status
729
+ @OwnerAccountName = owneraccountname
730
+ @ClusterName = clustername
731
+ @OwnerProjectId = ownerprojectid
732
+ @OwnerProjectName = ownerprojectname
733
+ @OwnerProjectIdent = ownerprojectident
734
+ @AuthorityProjectName = authorityprojectname
735
+ @AuthorityUserName = authorityusername
736
+ @Edit = edit
737
+ @Author = author
738
+ @Deliver = deliver
739
+ @DataSourceStatus = datasourcestatus
740
+ @CreateTime = createtime
741
+ @ParamsString = paramsstring
742
+ @BizParamsString = bizparamsstring
743
+ end
744
+
745
+ def deserialize(params)
746
+ @DatabaseName = params['DatabaseName']
747
+ @Description = params['Description']
748
+ @ID = params['ID']
749
+ @Instance = params['Instance']
750
+ @Name = params['Name']
751
+ @Region = params['Region']
752
+ @Type = params['Type']
753
+ @ClusterId = params['ClusterId']
754
+ @AppId = params['AppId']
755
+ @BizParams = params['BizParams']
756
+ @Category = params['Category']
757
+ @Display = params['Display']
758
+ @OwnerAccount = params['OwnerAccount']
759
+ @Params = params['Params']
760
+ @Status = params['Status']
761
+ @OwnerAccountName = params['OwnerAccountName']
762
+ @ClusterName = params['ClusterName']
763
+ @OwnerProjectId = params['OwnerProjectId']
764
+ @OwnerProjectName = params['OwnerProjectName']
765
+ @OwnerProjectIdent = params['OwnerProjectIdent']
766
+ @AuthorityProjectName = params['AuthorityProjectName']
767
+ @AuthorityUserName = params['AuthorityUserName']
768
+ @Edit = params['Edit']
769
+ @Author = params['Author']
770
+ @Deliver = params['Deliver']
771
+ @DataSourceStatus = params['DataSourceStatus']
772
+ @CreateTime = params['CreateTime']
773
+ @ParamsString = params['ParamsString']
774
+ @BizParamsString = params['BizParamsString']
775
+ end
776
+ end
777
+
778
+ # DeleteDataSources请求参数结构体
779
+ class DeleteDataSourcesRequest < TencentCloud::Common::AbstractModel
780
+ # @param Ids: id列表
781
+ # @type Ids: Array
782
+
783
+ attr_accessor :Ids
784
+
785
+ def initialize(ids=nil)
786
+ @Ids = ids
787
+ end
788
+
789
+ def deserialize(params)
790
+ @Ids = params['Ids']
791
+ end
792
+ end
793
+
794
+ # DeleteDataSources返回参数结构体
795
+ class DeleteDataSourcesResponse < TencentCloud::Common::AbstractModel
796
+ # @param Data: 是否删除成功
797
+ # 注意:此字段可能返回 null,表示取不到有效值。
798
+ # @type Data: Boolean
799
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
800
+ # @type RequestId: String
801
+
802
+ attr_accessor :Data, :RequestId
803
+
804
+ def initialize(data=nil, requestid=nil)
805
+ @Data = data
806
+ @RequestId = requestid
807
+ end
808
+
809
+ def deserialize(params)
810
+ @Data = params['Data']
811
+ @RequestId = params['RequestId']
812
+ end
813
+ end
814
+
520
815
  # DeleteFolder请求参数结构体
521
816
  class DeleteFolderRequest < TencentCloud::Common::AbstractModel
522
817
  # @param ProjectId: 项目Id
@@ -651,6 +946,46 @@ module TencentCloud
651
946
  end
652
947
  end
653
948
 
949
+ # DescribeDatasource请求参数结构体
950
+ class DescribeDatasourceRequest < TencentCloud::Common::AbstractModel
951
+ # @param Id: 对象唯一ID
952
+ # @type Id: Integer
953
+
954
+ attr_accessor :Id
955
+
956
+ def initialize(id=nil)
957
+ @Id = id
958
+ end
959
+
960
+ def deserialize(params)
961
+ @Id = params['Id']
962
+ end
963
+ end
964
+
965
+ # DescribeDatasource返回参数结构体
966
+ class DescribeDatasourceResponse < TencentCloud::Common::AbstractModel
967
+ # @param Data: 数据源对象
968
+ # 注意:此字段可能返回 null,表示取不到有效值。
969
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DataSourceInfo`
970
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
971
+ # @type RequestId: String
972
+
973
+ attr_accessor :Data, :RequestId
974
+
975
+ def initialize(data=nil, requestid=nil)
976
+ @Data = data
977
+ @RequestId = requestid
978
+ end
979
+
980
+ def deserialize(params)
981
+ unless params['Data'].nil?
982
+ @Data = DataSourceInfo.new
983
+ @Data.deserialize(params['Data'])
984
+ end
985
+ @RequestId = params['RequestId']
986
+ end
987
+ end
988
+
654
989
  # DescribeDependTasksNew请求参数结构体
655
990
  class DescribeDependTasksNewRequest < TencentCloud::Common::AbstractModel
656
991
  # @param TaskId: 任务Id
@@ -1957,6 +2292,111 @@ module TencentCloud
1957
2292
  end
1958
2293
  end
1959
2294
 
2295
+ # ModifyDataSource请求参数结构体
2296
+ class ModifyDataSourceRequest < TencentCloud::Common::AbstractModel
2297
+ # @param Name: 数据源名称,在相同SpaceName下,数据源名称不能为空
2298
+ # @type Name: String
2299
+ # @param Category: 数据源类别:绑定引擎、绑定数据库
2300
+ # @type Category: String
2301
+ # @param Type: 数据源类型:枚举值
2302
+ # @type Type: String
2303
+ # @param ID: 数据源ID
2304
+ # @type ID: Integer
2305
+ # @param BizParams: 业务侧数据源的配置信息扩展
2306
+ # @type BizParams: String
2307
+ # @param Params: 数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同
2308
+ # @type Params: String
2309
+ # @param Description: 数据源描述信息
2310
+ # @type Description: String
2311
+ # @param Display: 数据源展示名,为了可视化查看
2312
+ # @type Display: String
2313
+ # @param DatabaseName: 若数据源列表为绑定数据库,则为db名称
2314
+ # @type DatabaseName: String
2315
+ # @param Instance: 数据源引擎的实例ID,如CDB实例ID
2316
+ # @type Instance: String
2317
+ # @param Status: 数据源数据源的可见性,1为可见、0为不可见。默认为1
2318
+ # @type Status: Integer
2319
+ # @param ClusterId: 数据源所属的业务空间名称
2320
+ # @type ClusterId: String
2321
+ # @param Collect: 是否采集
2322
+ # @type Collect: String
2323
+ # @param OwnerProjectId: 项目id
2324
+ # @type OwnerProjectId: String
2325
+ # @param OwnerProjectName: 项目名称
2326
+ # @type OwnerProjectName: String
2327
+ # @param OwnerProjectIdent: 项目中文名
2328
+ # @type OwnerProjectIdent: String
2329
+ # @param COSBucket: cos bucket
2330
+ # @type COSBucket: String
2331
+ # @param COSRegion: cos region
2332
+ # @type COSRegion: String
2333
+
2334
+ attr_accessor :Name, :Category, :Type, :ID, :BizParams, :Params, :Description, :Display, :DatabaseName, :Instance, :Status, :ClusterId, :Collect, :OwnerProjectId, :OwnerProjectName, :OwnerProjectIdent, :COSBucket, :COSRegion
2335
+
2336
+ def initialize(name=nil, category=nil, type=nil, id=nil, bizparams=nil, params=nil, description=nil, display=nil, databasename=nil, instance=nil, status=nil, clusterid=nil, collect=nil, ownerprojectid=nil, ownerprojectname=nil, ownerprojectident=nil, cosbucket=nil, cosregion=nil)
2337
+ @Name = name
2338
+ @Category = category
2339
+ @Type = type
2340
+ @ID = id
2341
+ @BizParams = bizparams
2342
+ @Params = params
2343
+ @Description = description
2344
+ @Display = display
2345
+ @DatabaseName = databasename
2346
+ @Instance = instance
2347
+ @Status = status
2348
+ @ClusterId = clusterid
2349
+ @Collect = collect
2350
+ @OwnerProjectId = ownerprojectid
2351
+ @OwnerProjectName = ownerprojectname
2352
+ @OwnerProjectIdent = ownerprojectident
2353
+ @COSBucket = cosbucket
2354
+ @COSRegion = cosregion
2355
+ end
2356
+
2357
+ def deserialize(params)
2358
+ @Name = params['Name']
2359
+ @Category = params['Category']
2360
+ @Type = params['Type']
2361
+ @ID = params['ID']
2362
+ @BizParams = params['BizParams']
2363
+ @Params = params['Params']
2364
+ @Description = params['Description']
2365
+ @Display = params['Display']
2366
+ @DatabaseName = params['DatabaseName']
2367
+ @Instance = params['Instance']
2368
+ @Status = params['Status']
2369
+ @ClusterId = params['ClusterId']
2370
+ @Collect = params['Collect']
2371
+ @OwnerProjectId = params['OwnerProjectId']
2372
+ @OwnerProjectName = params['OwnerProjectName']
2373
+ @OwnerProjectIdent = params['OwnerProjectIdent']
2374
+ @COSBucket = params['COSBucket']
2375
+ @COSRegion = params['COSRegion']
2376
+ end
2377
+ end
2378
+
2379
+ # ModifyDataSource返回参数结构体
2380
+ class ModifyDataSourceResponse < TencentCloud::Common::AbstractModel
2381
+ # @param Data: 是否成功
2382
+ # 注意:此字段可能返回 null,表示取不到有效值。
2383
+ # @type Data: Boolean
2384
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2385
+ # @type RequestId: String
2386
+
2387
+ attr_accessor :Data, :RequestId
2388
+
2389
+ def initialize(data=nil, requestid=nil)
2390
+ @Data = data
2391
+ @RequestId = requestid
2392
+ end
2393
+
2394
+ def deserialize(params)
2395
+ @Data = params['Data']
2396
+ @RequestId = params['RequestId']
2397
+ end
2398
+ end
2399
+
1960
2400
  # ModifyFolder请求参数结构体
1961
2401
  class ModifyFolderRequest < TencentCloud::Common::AbstractModel
1962
2402
  # @param ProjectId: 项目Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-wedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.413
4
+ version: 3.0.414
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-19 00:00:00.000000000 Z
11
+ date: 2022-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common