tencentcloud-sdk-wedata 3.0.939 → 3.0.941
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/v20210820/client.rb +72 -0
- data/lib/v20210820/models.rb +164 -0
- 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: e2fc1caa6e46473802d33cb12a5e4aa373d49d14
|
4
|
+
data.tar.gz: 5743069822e55a7d35164e337746e822560e3e56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6219c771496a9fdbc71b3397a5ae06826d840af15ec28babda26dd5e3e367f831133cd0a74778c867986f8a723c6895c31b78ce1e5ad76c6949492fab6a6f5d
|
7
|
+
data.tar.gz: 03c228248dec91e5bb59e2023c4370fc0c5504afd636af107e68e208c2874d9de23f042314e411b351469add1f6cefa54b9c50b2f833d9ff1604065d117b9586
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.941
|
data/lib/v20210820/client.rb
CHANGED
@@ -629,6 +629,30 @@ module TencentCloud
|
|
629
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
630
|
end
|
631
631
|
|
632
|
+
# 创建数据建模,提供给云应用使用,实现“Wedata数据建模”的下单发货
|
633
|
+
|
634
|
+
# @param request: Request instance for CreateDataModel.
|
635
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateDataModelRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateDataModelResponse`
|
637
|
+
def CreateDataModel(request)
|
638
|
+
body = send_request('CreateDataModel', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = CreateDataModelResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
632
656
|
# 创建数据源
|
633
657
|
|
634
658
|
# @param request: Request instance for CreateDataSource.
|
@@ -1037,6 +1061,30 @@ module TencentCloud
|
|
1037
1061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
1062
|
end
|
1039
1063
|
|
1064
|
+
# 销毁数据建模,提供给云应用使用,实现“Wedata数据建模”的销毁
|
1065
|
+
|
1066
|
+
# @param request: Request instance for DeleteDataModel.
|
1067
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteDataModelRequest`
|
1068
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteDataModelResponse`
|
1069
|
+
def DeleteDataModel(request)
|
1070
|
+
body = send_request('DeleteDataModel', request.serialize)
|
1071
|
+
response = JSON.parse(body)
|
1072
|
+
if response['Response'].key?('Error') == false
|
1073
|
+
model = DeleteDataModelResponse.new
|
1074
|
+
model.deserialize(response['Response'])
|
1075
|
+
model
|
1076
|
+
else
|
1077
|
+
code = response['Response']['Error']['Code']
|
1078
|
+
message = response['Response']['Error']['Message']
|
1079
|
+
reqid = response['Response']['RequestId']
|
1080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1081
|
+
end
|
1082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1083
|
+
raise e
|
1084
|
+
rescue StandardError => e
|
1085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1086
|
+
end
|
1087
|
+
|
1040
1088
|
# 删除数据源
|
1041
1089
|
|
1042
1090
|
# @param request: Request instance for DeleteDataSources.
|
@@ -5632,6 +5680,30 @@ module TencentCloud
|
|
5632
5680
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5633
5681
|
end
|
5634
5682
|
|
5683
|
+
# 数语向wedata注册,提供自身cam角色信息,跳转域名、ip、端口信息等
|
5684
|
+
|
5685
|
+
# @param request: Request instance for UpdateDataModelRegistryInfo.
|
5686
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::UpdateDataModelRegistryInfoRequest`
|
5687
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::UpdateDataModelRegistryInfoResponse`
|
5688
|
+
def UpdateDataModelRegistryInfo(request)
|
5689
|
+
body = send_request('UpdateDataModelRegistryInfo', request.serialize)
|
5690
|
+
response = JSON.parse(body)
|
5691
|
+
if response['Response'].key?('Error') == false
|
5692
|
+
model = UpdateDataModelRegistryInfoResponse.new
|
5693
|
+
model.deserialize(response['Response'])
|
5694
|
+
model
|
5695
|
+
else
|
5696
|
+
code = response['Response']['Error']['Code']
|
5697
|
+
message = response['Response']['Error']['Message']
|
5698
|
+
reqid = response['Response']['RequestId']
|
5699
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5700
|
+
end
|
5701
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5702
|
+
raise e
|
5703
|
+
rescue StandardError => e
|
5704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5705
|
+
end
|
5706
|
+
|
5635
5707
|
# 修改工作流责任人
|
5636
5708
|
|
5637
5709
|
# @param request: Request instance for UpdateWorkflowOwner.
|
data/lib/v20210820/models.rb
CHANGED
@@ -3547,6 +3547,62 @@ module TencentCloud
|
|
3547
3547
|
end
|
3548
3548
|
end
|
3549
3549
|
|
3550
|
+
# CreateDataModel请求参数结构体
|
3551
|
+
class CreateDataModelRequest < TencentCloud::Common::AbstractModel
|
3552
|
+
# @param CloudappId: 云应用的实例id
|
3553
|
+
# @type CloudappId: String
|
3554
|
+
# @param UserId: 用户的子账号id
|
3555
|
+
# @type UserId: String
|
3556
|
+
# @param TimeUnit: Wedata数据建模购买参数,包年包月类型单位,年:y,月:m,默认m
|
3557
|
+
# @type TimeUnit: String
|
3558
|
+
# @param TimeSpan: Wedata数据建模购买参数,购买时长,默认1
|
3559
|
+
# @type TimeSpan: Integer
|
3560
|
+
# @param AutoRenewFlag: Wedata数据建模购买参数,是否自动续费,是:1,否:0,默认0
|
3561
|
+
# @type AutoRenewFlag: Integer
|
3562
|
+
# @param DataModelVersion: Wedata数据建模购买参数,标准版:DATA_MODEL_STANDARD,企业版:DATA_MODEL_PRO,默认DATA_MODEL_STANDARD
|
3563
|
+
# @type DataModelVersion: String
|
3564
|
+
|
3565
|
+
attr_accessor :CloudappId, :UserId, :TimeUnit, :TimeSpan, :AutoRenewFlag, :DataModelVersion
|
3566
|
+
|
3567
|
+
def initialize(cloudappid=nil, userid=nil, timeunit=nil, timespan=nil, autorenewflag=nil, datamodelversion=nil)
|
3568
|
+
@CloudappId = cloudappid
|
3569
|
+
@UserId = userid
|
3570
|
+
@TimeUnit = timeunit
|
3571
|
+
@TimeSpan = timespan
|
3572
|
+
@AutoRenewFlag = autorenewflag
|
3573
|
+
@DataModelVersion = datamodelversion
|
3574
|
+
end
|
3575
|
+
|
3576
|
+
def deserialize(params)
|
3577
|
+
@CloudappId = params['CloudappId']
|
3578
|
+
@UserId = params['UserId']
|
3579
|
+
@TimeUnit = params['TimeUnit']
|
3580
|
+
@TimeSpan = params['TimeSpan']
|
3581
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
3582
|
+
@DataModelVersion = params['DataModelVersion']
|
3583
|
+
end
|
3584
|
+
end
|
3585
|
+
|
3586
|
+
# CreateDataModel返回参数结构体
|
3587
|
+
class CreateDataModelResponse < TencentCloud::Common::AbstractModel
|
3588
|
+
# @param Data: “Wedata数据建模”的实例id
|
3589
|
+
# @type Data: String
|
3590
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3591
|
+
# @type RequestId: String
|
3592
|
+
|
3593
|
+
attr_accessor :Data, :RequestId
|
3594
|
+
|
3595
|
+
def initialize(data=nil, requestid=nil)
|
3596
|
+
@Data = data
|
3597
|
+
@RequestId = requestid
|
3598
|
+
end
|
3599
|
+
|
3600
|
+
def deserialize(params)
|
3601
|
+
@Data = params['Data']
|
3602
|
+
@RequestId = params['RequestId']
|
3603
|
+
end
|
3604
|
+
end
|
3605
|
+
|
3550
3606
|
# CreateDataSource请求参数结构体
|
3551
3607
|
class CreateDataSourceRequest < TencentCloud::Common::AbstractModel
|
3552
3608
|
# @param Name: 数据源名称,在相同SpaceName下,数据源名称不能为空
|
@@ -5573,6 +5629,50 @@ module TencentCloud
|
|
5573
5629
|
end
|
5574
5630
|
end
|
5575
5631
|
|
5632
|
+
# DeleteDataModel请求参数结构体
|
5633
|
+
class DeleteDataModelRequest < TencentCloud::Common::AbstractModel
|
5634
|
+
# @param CloudappId: 云应用的实例id
|
5635
|
+
# @type CloudappId: String
|
5636
|
+
# @param DataModelId: 数据建模的实例id
|
5637
|
+
# @type DataModelId: String
|
5638
|
+
# @param UserId: 用户的子账号id
|
5639
|
+
# @type UserId: String
|
5640
|
+
|
5641
|
+
attr_accessor :CloudappId, :DataModelId, :UserId
|
5642
|
+
|
5643
|
+
def initialize(cloudappid=nil, datamodelid=nil, userid=nil)
|
5644
|
+
@CloudappId = cloudappid
|
5645
|
+
@DataModelId = datamodelid
|
5646
|
+
@UserId = userid
|
5647
|
+
end
|
5648
|
+
|
5649
|
+
def deserialize(params)
|
5650
|
+
@CloudappId = params['CloudappId']
|
5651
|
+
@DataModelId = params['DataModelId']
|
5652
|
+
@UserId = params['UserId']
|
5653
|
+
end
|
5654
|
+
end
|
5655
|
+
|
5656
|
+
# DeleteDataModel返回参数结构体
|
5657
|
+
class DeleteDataModelResponse < TencentCloud::Common::AbstractModel
|
5658
|
+
# @param Data: 是否销毁成功
|
5659
|
+
# @type Data: Boolean
|
5660
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5661
|
+
# @type RequestId: String
|
5662
|
+
|
5663
|
+
attr_accessor :Data, :RequestId
|
5664
|
+
|
5665
|
+
def initialize(data=nil, requestid=nil)
|
5666
|
+
@Data = data
|
5667
|
+
@RequestId = requestid
|
5668
|
+
end
|
5669
|
+
|
5670
|
+
def deserialize(params)
|
5671
|
+
@Data = params['Data']
|
5672
|
+
@RequestId = params['RequestId']
|
5673
|
+
end
|
5674
|
+
end
|
5675
|
+
|
5576
5676
|
# DeleteDataSources请求参数结构体
|
5577
5677
|
class DeleteDataSourcesRequest < TencentCloud::Common::AbstractModel
|
5578
5678
|
# @param Ids: id列表
|
@@ -28958,6 +29058,70 @@ module TencentCloud
|
|
28958
29058
|
end
|
28959
29059
|
end
|
28960
29060
|
|
29061
|
+
# UpdateDataModelRegistryInfo请求参数结构体
|
29062
|
+
class UpdateDataModelRegistryInfoRequest < TencentCloud::Common::AbstractModel
|
29063
|
+
# @param CloudappId: 云应用的实例id
|
29064
|
+
# @type CloudappId: String
|
29065
|
+
# @param AppCamRole: 数语的CAM角色
|
29066
|
+
# @type AppCamRole: String
|
29067
|
+
# @param Vip: 数语的ip
|
29068
|
+
# @type Vip: String
|
29069
|
+
# @param Vport: 数语的端口
|
29070
|
+
# @type Vport: Integer
|
29071
|
+
# @param AppCamRoleId: 数语的CAM角色id
|
29072
|
+
# @type AppCamRoleId: String
|
29073
|
+
# @param Provider: 服务提供方
|
29074
|
+
# @type Provider: String
|
29075
|
+
# @param TenantId: 租户id
|
29076
|
+
# @type TenantId: String
|
29077
|
+
# @param OwnId: 主账号id
|
29078
|
+
# @type OwnId: String
|
29079
|
+
|
29080
|
+
attr_accessor :CloudappId, :AppCamRole, :Vip, :Vport, :AppCamRoleId, :Provider, :TenantId, :OwnId
|
29081
|
+
|
29082
|
+
def initialize(cloudappid=nil, appcamrole=nil, vip=nil, vport=nil, appcamroleid=nil, provider=nil, tenantid=nil, ownid=nil)
|
29083
|
+
@CloudappId = cloudappid
|
29084
|
+
@AppCamRole = appcamrole
|
29085
|
+
@Vip = vip
|
29086
|
+
@Vport = vport
|
29087
|
+
@AppCamRoleId = appcamroleid
|
29088
|
+
@Provider = provider
|
29089
|
+
@TenantId = tenantid
|
29090
|
+
@OwnId = ownid
|
29091
|
+
end
|
29092
|
+
|
29093
|
+
def deserialize(params)
|
29094
|
+
@CloudappId = params['CloudappId']
|
29095
|
+
@AppCamRole = params['AppCamRole']
|
29096
|
+
@Vip = params['Vip']
|
29097
|
+
@Vport = params['Vport']
|
29098
|
+
@AppCamRoleId = params['AppCamRoleId']
|
29099
|
+
@Provider = params['Provider']
|
29100
|
+
@TenantId = params['TenantId']
|
29101
|
+
@OwnId = params['OwnId']
|
29102
|
+
end
|
29103
|
+
end
|
29104
|
+
|
29105
|
+
# UpdateDataModelRegistryInfo返回参数结构体
|
29106
|
+
class UpdateDataModelRegistryInfoResponse < TencentCloud::Common::AbstractModel
|
29107
|
+
# @param Data: 数语向wedata注册成功
|
29108
|
+
# @type Data: Boolean
|
29109
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29110
|
+
# @type RequestId: String
|
29111
|
+
|
29112
|
+
attr_accessor :Data, :RequestId
|
29113
|
+
|
29114
|
+
def initialize(data=nil, requestid=nil)
|
29115
|
+
@Data = data
|
29116
|
+
@RequestId = requestid
|
29117
|
+
end
|
29118
|
+
|
29119
|
+
def deserialize(params)
|
29120
|
+
@Data = params['Data']
|
29121
|
+
@RequestId = params['RequestId']
|
29122
|
+
end
|
29123
|
+
end
|
29124
|
+
|
28961
29125
|
# UpdateWorkflowOwner请求参数结构体
|
28962
29126
|
class UpdateWorkflowOwnerRequest < TencentCloud::Common::AbstractModel
|
28963
29127
|
# @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.
|
4
|
+
version: 3.0.941
|
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-11-
|
11
|
+
date: 2024-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|