tencentcloud-sdk-wedata 3.0.930 → 3.0.932
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 +48 -0
- data/lib/v20210820/models.rb +431 -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: 6accc5975594a3c894b240fdfb36a2a1a2be3739
|
4
|
+
data.tar.gz: bef551cf52868467598d548502ccb96a0d7ba227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16b9861d79eb311856ff5850193699274c076d375cd62b18831a2e748b830e8c283fbb002ffb3d3104d5bd05677bf115581e79e6a8802608e765909c72cd9851
|
7
|
+
data.tar.gz: 48f15d9787d05c2152f93a9dfe10b0f90690a451e2cb5dcf2d35e1970a6fe5cad5c3f212239e4a33fa91bb5a6f7cb5fc0fd130fb28472273bff9285d9b64ea07
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.932
|
data/lib/v20210820/client.rb
CHANGED
@@ -1661,6 +1661,54 @@ module TencentCloud
|
|
1661
1661
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
1662
|
end
|
1663
1663
|
|
1664
|
+
# 查询数据服务API的发布态信息
|
1665
|
+
|
1666
|
+
# @param request: Request instance for DescribeDataServicePublishedApiDetail.
|
1667
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDataServicePublishedApiDetailRequest`
|
1668
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDataServicePublishedApiDetailResponse`
|
1669
|
+
def DescribeDataServicePublishedApiDetail(request)
|
1670
|
+
body = send_request('DescribeDataServicePublishedApiDetail', request.serialize)
|
1671
|
+
response = JSON.parse(body)
|
1672
|
+
if response['Response'].key?('Error') == false
|
1673
|
+
model = DescribeDataServicePublishedApiDetailResponse.new
|
1674
|
+
model.deserialize(response['Response'])
|
1675
|
+
model
|
1676
|
+
else
|
1677
|
+
code = response['Response']['Error']['Code']
|
1678
|
+
message = response['Response']['Error']['Message']
|
1679
|
+
reqid = response['Response']['RequestId']
|
1680
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1681
|
+
end
|
1682
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1683
|
+
raise e
|
1684
|
+
rescue StandardError => e
|
1685
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
# 获取数据服务API的发布态信息列表
|
1689
|
+
|
1690
|
+
# @param request: Request instance for DescribeDataServicePublishedApiList.
|
1691
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDataServicePublishedApiListRequest`
|
1692
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDataServicePublishedApiListResponse`
|
1693
|
+
def DescribeDataServicePublishedApiList(request)
|
1694
|
+
body = send_request('DescribeDataServicePublishedApiList', request.serialize)
|
1695
|
+
response = JSON.parse(body)
|
1696
|
+
if response['Response'].key?('Error') == false
|
1697
|
+
model = DescribeDataServicePublishedApiListResponse.new
|
1698
|
+
model.deserialize(response['Response'])
|
1699
|
+
model
|
1700
|
+
else
|
1701
|
+
code = response['Response']['Error']['Code']
|
1702
|
+
message = response['Response']['Error']['Message']
|
1703
|
+
reqid = response['Response']['RequestId']
|
1704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1705
|
+
end
|
1706
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1707
|
+
raise e
|
1708
|
+
rescue StandardError => e
|
1709
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
|
+
end
|
1711
|
+
|
1664
1712
|
# 获取数据源信息-数据源分页列表
|
1665
1713
|
|
1666
1714
|
# @param request: Request instance for DescribeDataSourceInfoList.
|
data/lib/v20210820/models.rb
CHANGED
@@ -4852,6 +4852,155 @@ module TencentCloud
|
|
4852
4852
|
end
|
4853
4853
|
end
|
4854
4854
|
|
4855
|
+
# 获取数据服务API的发布态信息列表过滤条件
|
4856
|
+
class DataServicePublishedApiListFilter < TencentCloud::Common::AbstractModel
|
4857
|
+
# @param PathUrl: 请求路径关键词筛选
|
4858
|
+
# @type PathUrl: String
|
4859
|
+
# @param Keyword: Api名称关键词筛选
|
4860
|
+
# @type Keyword: String
|
4861
|
+
# @param AuthTypes: Api认证方式筛选 0:免认证 1:应用认证
|
4862
|
+
# @type AuthTypes: Array
|
4863
|
+
# @param ApiStatus: 服务Api状态 1:已上线 3:已下线
|
4864
|
+
# @type ApiStatus: Array
|
4865
|
+
# @param ConfigTypes: API配置方式 0:向导、1、脚本、2、注册Api
|
4866
|
+
# @type ConfigTypes: Array
|
4867
|
+
|
4868
|
+
attr_accessor :PathUrl, :Keyword, :AuthTypes, :ApiStatus, :ConfigTypes
|
4869
|
+
|
4870
|
+
def initialize(pathurl=nil, keyword=nil, authtypes=nil, apistatus=nil, configtypes=nil)
|
4871
|
+
@PathUrl = pathurl
|
4872
|
+
@Keyword = keyword
|
4873
|
+
@AuthTypes = authtypes
|
4874
|
+
@ApiStatus = apistatus
|
4875
|
+
@ConfigTypes = configtypes
|
4876
|
+
end
|
4877
|
+
|
4878
|
+
def deserialize(params)
|
4879
|
+
@PathUrl = params['PathUrl']
|
4880
|
+
@Keyword = params['Keyword']
|
4881
|
+
@AuthTypes = params['AuthTypes']
|
4882
|
+
@ApiStatus = params['ApiStatus']
|
4883
|
+
@ConfigTypes = params['ConfigTypes']
|
4884
|
+
end
|
4885
|
+
end
|
4886
|
+
|
4887
|
+
# 数据服务通用排序参数
|
4888
|
+
class DataServiceRequestListOrder < TencentCloud::Common::AbstractModel
|
4889
|
+
# @param Name: 排序参数名称
|
4890
|
+
# 取值:
|
4891
|
+
# CreateTime 表示按照创建时间排序
|
4892
|
+
# ModifyTime 表示按照更新时间排序
|
4893
|
+
# @type Name: String
|
4894
|
+
# @param Direction: 排序参数顺序
|
4895
|
+
# @type Direction: String
|
4896
|
+
|
4897
|
+
attr_accessor :Name, :Direction
|
4898
|
+
|
4899
|
+
def initialize(name=nil, direction=nil)
|
4900
|
+
@Name = name
|
4901
|
+
@Direction = direction
|
4902
|
+
end
|
4903
|
+
|
4904
|
+
def deserialize(params)
|
4905
|
+
@Name = params['Name']
|
4906
|
+
@Direction = params['Direction']
|
4907
|
+
end
|
4908
|
+
end
|
4909
|
+
|
4910
|
+
# 数据服务入参
|
4911
|
+
class DataServiceRequestParam < TencentCloud::Common::AbstractModel
|
4912
|
+
# @param ParamName: 参数名称
|
4913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4914
|
+
# @type ParamName: String
|
4915
|
+
# @param BindField: 绑定字段
|
4916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4917
|
+
# @type BindField: String
|
4918
|
+
# @param ParamType: 参数类型
|
4919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4920
|
+
# @type ParamType: String
|
4921
|
+
# @param ParamPosition: 参数位置
|
4922
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4923
|
+
# @type ParamPosition: String
|
4924
|
+
# @param Operator: 操作符
|
4925
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4926
|
+
# @type Operator: String
|
4927
|
+
# @param NonEmpty: 是否为空
|
4928
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4929
|
+
# @type NonEmpty: Integer
|
4930
|
+
# @param DefaultValue: 默认值
|
4931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4932
|
+
# @type DefaultValue: String
|
4933
|
+
# @param ExampleValue: 示例值
|
4934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4935
|
+
# @type ExampleValue: String
|
4936
|
+
# @param Description: 参数描述
|
4937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4938
|
+
# @type Description: String
|
4939
|
+
|
4940
|
+
attr_accessor :ParamName, :BindField, :ParamType, :ParamPosition, :Operator, :NonEmpty, :DefaultValue, :ExampleValue, :Description
|
4941
|
+
|
4942
|
+
def initialize(paramname=nil, bindfield=nil, paramtype=nil, paramposition=nil, operator=nil, nonempty=nil, defaultvalue=nil, examplevalue=nil, description=nil)
|
4943
|
+
@ParamName = paramname
|
4944
|
+
@BindField = bindfield
|
4945
|
+
@ParamType = paramtype
|
4946
|
+
@ParamPosition = paramposition
|
4947
|
+
@Operator = operator
|
4948
|
+
@NonEmpty = nonempty
|
4949
|
+
@DefaultValue = defaultvalue
|
4950
|
+
@ExampleValue = examplevalue
|
4951
|
+
@Description = description
|
4952
|
+
end
|
4953
|
+
|
4954
|
+
def deserialize(params)
|
4955
|
+
@ParamName = params['ParamName']
|
4956
|
+
@BindField = params['BindField']
|
4957
|
+
@ParamType = params['ParamType']
|
4958
|
+
@ParamPosition = params['ParamPosition']
|
4959
|
+
@Operator = params['Operator']
|
4960
|
+
@NonEmpty = params['NonEmpty']
|
4961
|
+
@DefaultValue = params['DefaultValue']
|
4962
|
+
@ExampleValue = params['ExampleValue']
|
4963
|
+
@Description = params['Description']
|
4964
|
+
end
|
4965
|
+
end
|
4966
|
+
|
4967
|
+
# 数据服务入参
|
4968
|
+
class DataServiceResponseParam < TencentCloud::Common::AbstractModel
|
4969
|
+
# @param ParamName: 参数名称
|
4970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4971
|
+
# @type ParamName: String
|
4972
|
+
# @param BindField: 绑定字段
|
4973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4974
|
+
# @type BindField: String
|
4975
|
+
# @param ParamType: 参数类型
|
4976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4977
|
+
# @type ParamType: String
|
4978
|
+
# @param ExampleValue: 示例值
|
4979
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4980
|
+
# @type ExampleValue: String
|
4981
|
+
# @param Description: 参数描述
|
4982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4983
|
+
# @type Description: String
|
4984
|
+
|
4985
|
+
attr_accessor :ParamName, :BindField, :ParamType, :ExampleValue, :Description
|
4986
|
+
|
4987
|
+
def initialize(paramname=nil, bindfield=nil, paramtype=nil, examplevalue=nil, description=nil)
|
4988
|
+
@ParamName = paramname
|
4989
|
+
@BindField = bindfield
|
4990
|
+
@ParamType = paramtype
|
4991
|
+
@ExampleValue = examplevalue
|
4992
|
+
@Description = description
|
4993
|
+
end
|
4994
|
+
|
4995
|
+
def deserialize(params)
|
4996
|
+
@ParamName = params['ParamName']
|
4997
|
+
@BindField = params['BindField']
|
4998
|
+
@ParamType = params['ParamType']
|
4999
|
+
@ExampleValue = params['ExampleValue']
|
5000
|
+
@Description = params['Description']
|
5001
|
+
end
|
5002
|
+
end
|
5003
|
+
|
4855
5004
|
# 数据源对象
|
4856
5005
|
class DataSourceInfo < TencentCloud::Common::AbstractModel
|
4857
5006
|
# @param DatabaseName: 若数据源列表为绑定数据库,则为db名称
|
@@ -7141,6 +7290,288 @@ module TencentCloud
|
|
7141
7290
|
end
|
7142
7291
|
end
|
7143
7292
|
|
7293
|
+
# DescribeDataServicePublishedApiDetail请求参数结构体
|
7294
|
+
class DescribeDataServicePublishedApiDetailRequest < TencentCloud::Common::AbstractModel
|
7295
|
+
# @param Id: 服务Id
|
7296
|
+
# @type Id: String
|
7297
|
+
# @param ProjectId: 项目ID
|
7298
|
+
# @type ProjectId: String
|
7299
|
+
|
7300
|
+
attr_accessor :Id, :ProjectId
|
7301
|
+
|
7302
|
+
def initialize(id=nil, projectid=nil)
|
7303
|
+
@Id = id
|
7304
|
+
@ProjectId = projectid
|
7305
|
+
end
|
7306
|
+
|
7307
|
+
def deserialize(params)
|
7308
|
+
@Id = params['Id']
|
7309
|
+
@ProjectId = params['ProjectId']
|
7310
|
+
end
|
7311
|
+
end
|
7312
|
+
|
7313
|
+
# 查询数据服务API的发布态信息详情出参
|
7314
|
+
class DescribeDataServicePublishedApiDetailResp < TencentCloud::Common::AbstractModel
|
7315
|
+
# @param ApiName: 服务Api名称
|
7316
|
+
# @type ApiName: String
|
7317
|
+
# @param PathUrl: 服务请求Path
|
7318
|
+
# @type PathUrl: String
|
7319
|
+
# @param OwnerName: 服务责任人名称
|
7320
|
+
# @type OwnerName: String
|
7321
|
+
# @param RequestType: 服务请求方式
|
7322
|
+
# @type RequestType: String
|
7323
|
+
# @param ApiTagNames: 服务标签名称集合
|
7324
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7325
|
+
# @type ApiTagNames: String
|
7326
|
+
# @param ApiDescription: 服务描述
|
7327
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7328
|
+
# @type ApiDescription: String
|
7329
|
+
# @param RequestExample: 服务请求返回示例
|
7330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7331
|
+
# @type RequestExample: String
|
7332
|
+
# @param RequestSuccess: 服务请求成功返回示例
|
7333
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7334
|
+
# @type RequestSuccess: String
|
7335
|
+
# @param RequestError: 服务请求失败返回示例
|
7336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7337
|
+
# @type RequestError: String
|
7338
|
+
# @param RequestParam: 服务请求参数列表
|
7339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7340
|
+
# @type RequestParam: Array
|
7341
|
+
# @param ResponseParam: 服务响应参数列表
|
7342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7343
|
+
# @type ResponseParam: Array
|
7344
|
+
# @param MaxAllowQps: 最大qps
|
7345
|
+
# @type MaxAllowQps: Integer
|
7346
|
+
# @param MaxAllowPageSize: 最大记录数
|
7347
|
+
# @type MaxAllowPageSize: Integer
|
7348
|
+
# @param TimeoutPeriod: 超时时间,单位ms
|
7349
|
+
# @type TimeoutPeriod: Integer
|
7350
|
+
# @param ApiId: ApiId
|
7351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7352
|
+
# @type ApiId: String
|
7353
|
+
# @param AuthType: 0:免认证 1:应用认证
|
7354
|
+
# @type AuthType: Integer
|
7355
|
+
# @param GatewayApiUrl: 请求地址
|
7356
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7357
|
+
# @type GatewayApiUrl: String
|
7358
|
+
# @param ApiStatus: 服务Api状态 1:已上线 3:已下线
|
7359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7360
|
+
# @type ApiStatus: Integer
|
7361
|
+
|
7362
|
+
attr_accessor :ApiName, :PathUrl, :OwnerName, :RequestType, :ApiTagNames, :ApiDescription, :RequestExample, :RequestSuccess, :RequestError, :RequestParam, :ResponseParam, :MaxAllowQps, :MaxAllowPageSize, :TimeoutPeriod, :ApiId, :AuthType, :GatewayApiUrl, :ApiStatus
|
7363
|
+
|
7364
|
+
def initialize(apiname=nil, pathurl=nil, ownername=nil, requesttype=nil, apitagnames=nil, apidescription=nil, requestexample=nil, requestsuccess=nil, requesterror=nil, requestparam=nil, responseparam=nil, maxallowqps=nil, maxallowpagesize=nil, timeoutperiod=nil, apiid=nil, authtype=nil, gatewayapiurl=nil, apistatus=nil)
|
7365
|
+
@ApiName = apiname
|
7366
|
+
@PathUrl = pathurl
|
7367
|
+
@OwnerName = ownername
|
7368
|
+
@RequestType = requesttype
|
7369
|
+
@ApiTagNames = apitagnames
|
7370
|
+
@ApiDescription = apidescription
|
7371
|
+
@RequestExample = requestexample
|
7372
|
+
@RequestSuccess = requestsuccess
|
7373
|
+
@RequestError = requesterror
|
7374
|
+
@RequestParam = requestparam
|
7375
|
+
@ResponseParam = responseparam
|
7376
|
+
@MaxAllowQps = maxallowqps
|
7377
|
+
@MaxAllowPageSize = maxallowpagesize
|
7378
|
+
@TimeoutPeriod = timeoutperiod
|
7379
|
+
@ApiId = apiid
|
7380
|
+
@AuthType = authtype
|
7381
|
+
@GatewayApiUrl = gatewayapiurl
|
7382
|
+
@ApiStatus = apistatus
|
7383
|
+
end
|
7384
|
+
|
7385
|
+
def deserialize(params)
|
7386
|
+
@ApiName = params['ApiName']
|
7387
|
+
@PathUrl = params['PathUrl']
|
7388
|
+
@OwnerName = params['OwnerName']
|
7389
|
+
@RequestType = params['RequestType']
|
7390
|
+
@ApiTagNames = params['ApiTagNames']
|
7391
|
+
@ApiDescription = params['ApiDescription']
|
7392
|
+
@RequestExample = params['RequestExample']
|
7393
|
+
@RequestSuccess = params['RequestSuccess']
|
7394
|
+
@RequestError = params['RequestError']
|
7395
|
+
unless params['RequestParam'].nil?
|
7396
|
+
@RequestParam = []
|
7397
|
+
params['RequestParam'].each do |i|
|
7398
|
+
dataservicerequestparam_tmp = DataServiceRequestParam.new
|
7399
|
+
dataservicerequestparam_tmp.deserialize(i)
|
7400
|
+
@RequestParam << dataservicerequestparam_tmp
|
7401
|
+
end
|
7402
|
+
end
|
7403
|
+
unless params['ResponseParam'].nil?
|
7404
|
+
@ResponseParam = []
|
7405
|
+
params['ResponseParam'].each do |i|
|
7406
|
+
dataserviceresponseparam_tmp = DataServiceResponseParam.new
|
7407
|
+
dataserviceresponseparam_tmp.deserialize(i)
|
7408
|
+
@ResponseParam << dataserviceresponseparam_tmp
|
7409
|
+
end
|
7410
|
+
end
|
7411
|
+
@MaxAllowQps = params['MaxAllowQps']
|
7412
|
+
@MaxAllowPageSize = params['MaxAllowPageSize']
|
7413
|
+
@TimeoutPeriod = params['TimeoutPeriod']
|
7414
|
+
@ApiId = params['ApiId']
|
7415
|
+
@AuthType = params['AuthType']
|
7416
|
+
@GatewayApiUrl = params['GatewayApiUrl']
|
7417
|
+
@ApiStatus = params['ApiStatus']
|
7418
|
+
end
|
7419
|
+
end
|
7420
|
+
|
7421
|
+
# DescribeDataServicePublishedApiDetail返回参数结构体
|
7422
|
+
class DescribeDataServicePublishedApiDetailResponse < TencentCloud::Common::AbstractModel
|
7423
|
+
# @param Data: 服务详情
|
7424
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DescribeDataServicePublishedApiDetailResp`
|
7425
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7426
|
+
# @type RequestId: String
|
7427
|
+
|
7428
|
+
attr_accessor :Data, :RequestId
|
7429
|
+
|
7430
|
+
def initialize(data=nil, requestid=nil)
|
7431
|
+
@Data = data
|
7432
|
+
@RequestId = requestid
|
7433
|
+
end
|
7434
|
+
|
7435
|
+
def deserialize(params)
|
7436
|
+
unless params['Data'].nil?
|
7437
|
+
@Data = DescribeDataServicePublishedApiDetailResp.new
|
7438
|
+
@Data.deserialize(params['Data'])
|
7439
|
+
end
|
7440
|
+
@RequestId = params['RequestId']
|
7441
|
+
end
|
7442
|
+
end
|
7443
|
+
|
7444
|
+
# DescribeDataServicePublishedApiList请求参数结构体
|
7445
|
+
class DescribeDataServicePublishedApiListRequest < TencentCloud::Common::AbstractModel
|
7446
|
+
# @param PageNumber: 页码
|
7447
|
+
# @type PageNumber: Integer
|
7448
|
+
# @param PageSize: 每页大小
|
7449
|
+
# @type PageSize: Integer
|
7450
|
+
# @param ProjectId: 项目ID
|
7451
|
+
# @type ProjectId: String
|
7452
|
+
# @param Filters: 查询参数
|
7453
|
+
# @type Filters: :class:`Tencentcloud::Wedata.v20210820.models.DataServicePublishedApiListFilter`
|
7454
|
+
# @param OrderFields: 排序配置
|
7455
|
+
# @type OrderFields: Array
|
7456
|
+
|
7457
|
+
attr_accessor :PageNumber, :PageSize, :ProjectId, :Filters, :OrderFields
|
7458
|
+
|
7459
|
+
def initialize(pagenumber=nil, pagesize=nil, projectid=nil, filters=nil, orderfields=nil)
|
7460
|
+
@PageNumber = pagenumber
|
7461
|
+
@PageSize = pagesize
|
7462
|
+
@ProjectId = projectid
|
7463
|
+
@Filters = filters
|
7464
|
+
@OrderFields = orderfields
|
7465
|
+
end
|
7466
|
+
|
7467
|
+
def deserialize(params)
|
7468
|
+
@PageNumber = params['PageNumber']
|
7469
|
+
@PageSize = params['PageSize']
|
7470
|
+
@ProjectId = params['ProjectId']
|
7471
|
+
unless params['Filters'].nil?
|
7472
|
+
@Filters = DataServicePublishedApiListFilter.new
|
7473
|
+
@Filters.deserialize(params['Filters'])
|
7474
|
+
end
|
7475
|
+
unless params['OrderFields'].nil?
|
7476
|
+
@OrderFields = []
|
7477
|
+
params['OrderFields'].each do |i|
|
7478
|
+
dataservicerequestlistorder_tmp = DataServiceRequestListOrder.new
|
7479
|
+
dataservicerequestlistorder_tmp.deserialize(i)
|
7480
|
+
@OrderFields << dataservicerequestlistorder_tmp
|
7481
|
+
end
|
7482
|
+
end
|
7483
|
+
end
|
7484
|
+
end
|
7485
|
+
|
7486
|
+
# 获取数据服务API的发布态信息列表响应内容
|
7487
|
+
class DescribeDataServicePublishedApiListResp < TencentCloud::Common::AbstractModel
|
7488
|
+
# @param Id: 服务id
|
7489
|
+
# @type Id: String
|
7490
|
+
# @param ApiName: 服务Api名称
|
7491
|
+
# @type ApiName: String
|
7492
|
+
# @param ApiFolderName: 所属目录名称
|
7493
|
+
# @type ApiFolderName: String
|
7494
|
+
# @param ApiTagNames: 服务Api标签名称集合
|
7495
|
+
# @type ApiTagNames: String
|
7496
|
+
# @param OwnerName: 服务负责人
|
7497
|
+
# @type OwnerName: String
|
7498
|
+
# @param CreateTime: 服务创建时间
|
7499
|
+
# @type CreateTime: String
|
7500
|
+
# @param ApiId: Api的id
|
7501
|
+
# @type ApiId: String
|
7502
|
+
# @param AuthType: 服务Api认证方式 0:免认证 1:应用认证
|
7503
|
+
# @type AuthType: Integer
|
7504
|
+
# @param ApiStatus: 服务Api状态 0:创建 1:已上线 2:已删除 3:已下线
|
7505
|
+
# @type ApiStatus: Integer
|
7506
|
+
# @param ConfigType: 配置方式 0:向导、1、脚本、2、注册Api
|
7507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7508
|
+
# @type ConfigType: Integer
|
7509
|
+
# @param ModifyTime: 更新时间
|
7510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7511
|
+
# @type ModifyTime: String
|
7512
|
+
|
7513
|
+
attr_accessor :Id, :ApiName, :ApiFolderName, :ApiTagNames, :OwnerName, :CreateTime, :ApiId, :AuthType, :ApiStatus, :ConfigType, :ModifyTime
|
7514
|
+
|
7515
|
+
def initialize(id=nil, apiname=nil, apifoldername=nil, apitagnames=nil, ownername=nil, createtime=nil, apiid=nil, authtype=nil, apistatus=nil, configtype=nil, modifytime=nil)
|
7516
|
+
@Id = id
|
7517
|
+
@ApiName = apiname
|
7518
|
+
@ApiFolderName = apifoldername
|
7519
|
+
@ApiTagNames = apitagnames
|
7520
|
+
@OwnerName = ownername
|
7521
|
+
@CreateTime = createtime
|
7522
|
+
@ApiId = apiid
|
7523
|
+
@AuthType = authtype
|
7524
|
+
@ApiStatus = apistatus
|
7525
|
+
@ConfigType = configtype
|
7526
|
+
@ModifyTime = modifytime
|
7527
|
+
end
|
7528
|
+
|
7529
|
+
def deserialize(params)
|
7530
|
+
@Id = params['Id']
|
7531
|
+
@ApiName = params['ApiName']
|
7532
|
+
@ApiFolderName = params['ApiFolderName']
|
7533
|
+
@ApiTagNames = params['ApiTagNames']
|
7534
|
+
@OwnerName = params['OwnerName']
|
7535
|
+
@CreateTime = params['CreateTime']
|
7536
|
+
@ApiId = params['ApiId']
|
7537
|
+
@AuthType = params['AuthType']
|
7538
|
+
@ApiStatus = params['ApiStatus']
|
7539
|
+
@ConfigType = params['ConfigType']
|
7540
|
+
@ModifyTime = params['ModifyTime']
|
7541
|
+
end
|
7542
|
+
end
|
7543
|
+
|
7544
|
+
# DescribeDataServicePublishedApiList返回参数结构体
|
7545
|
+
class DescribeDataServicePublishedApiListResponse < TencentCloud::Common::AbstractModel
|
7546
|
+
# @param TotalCount: 总条数
|
7547
|
+
# @type TotalCount: Integer
|
7548
|
+
# @param DataSet: 服务列表
|
7549
|
+
# @type DataSet: Array
|
7550
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7551
|
+
# @type RequestId: String
|
7552
|
+
|
7553
|
+
attr_accessor :TotalCount, :DataSet, :RequestId
|
7554
|
+
|
7555
|
+
def initialize(totalcount=nil, dataset=nil, requestid=nil)
|
7556
|
+
@TotalCount = totalcount
|
7557
|
+
@DataSet = dataset
|
7558
|
+
@RequestId = requestid
|
7559
|
+
end
|
7560
|
+
|
7561
|
+
def deserialize(params)
|
7562
|
+
@TotalCount = params['TotalCount']
|
7563
|
+
unless params['DataSet'].nil?
|
7564
|
+
@DataSet = []
|
7565
|
+
params['DataSet'].each do |i|
|
7566
|
+
describedataservicepublishedapilistresp_tmp = DescribeDataServicePublishedApiListResp.new
|
7567
|
+
describedataservicepublishedapilistresp_tmp.deserialize(i)
|
7568
|
+
@DataSet << describedataservicepublishedapilistresp_tmp
|
7569
|
+
end
|
7570
|
+
end
|
7571
|
+
@RequestId = params['RequestId']
|
7572
|
+
end
|
7573
|
+
end
|
7574
|
+
|
7144
7575
|
# DescribeDataSourceInfoList请求参数结构体
|
7145
7576
|
class DescribeDataSourceInfoListRequest < TencentCloud::Common::AbstractModel
|
7146
7577
|
# @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.932
|
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-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|