tencentcloud-sdk-cls 3.0.694 → 3.0.695
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/v20201016/client.rb +24 -0
- data/lib/v20201016/models.rb +55 -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: 221b3333003874c609c03fdf36802f96a95e2856
|
4
|
+
data.tar.gz: ada02a6a989d6dfe103c37404dade66abc59c765
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d03038b140d0bf814b9cf3af128d03364302f6900ac753bd73fb05637c3b10281d6b6b92127517cb86c53559aee8b2dddef478ed58f4fc443cf696fd913cea4
|
7
|
+
data.tar.gz: f8176ceac51557ef1e33453c01d028c410ad66f0fc8ccbb73d8d0f230d049f5090ec080f7b63a09db8bf7200c0d56d16e539e4559a189b6086f9bccdcd929b6f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.695
|
data/lib/v20201016/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 本接口用于数据加工DSL函数的语法校验。
|
81
|
+
|
82
|
+
# @param request: Request instance for CheckFunction.
|
83
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CheckFunctionRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CheckFunctionResponse`
|
85
|
+
def CheckFunction(request)
|
86
|
+
body = send_request('CheckFunction', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CheckFunctionResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 本接口用于校验Kafka服务集群是否可以正常访问
|
81
105
|
|
82
106
|
# @param request: Request instance for CheckRechargeKafkaServer.
|
data/lib/v20201016/models.rb
CHANGED
@@ -580,6 +580,61 @@ module TencentCloud
|
|
580
580
|
end
|
581
581
|
end
|
582
582
|
|
583
|
+
# CheckFunction请求参数结构体
|
584
|
+
class CheckFunctionRequest < TencentCloud::Common::AbstractModel
|
585
|
+
# @param EtlContent: 用户输入的加工语句
|
586
|
+
# @type EtlContent: String
|
587
|
+
# @param DstResources: 加工任务目的topic_id以及别名
|
588
|
+
# @type DstResources: Array
|
589
|
+
# @param FuncType: 数据加工目标主题的类型. 1 固定主题 2动态创建
|
590
|
+
# @type FuncType: Integer
|
591
|
+
|
592
|
+
attr_accessor :EtlContent, :DstResources, :FuncType
|
593
|
+
|
594
|
+
def initialize(etlcontent=nil, dstresources=nil, functype=nil)
|
595
|
+
@EtlContent = etlcontent
|
596
|
+
@DstResources = dstresources
|
597
|
+
@FuncType = functype
|
598
|
+
end
|
599
|
+
|
600
|
+
def deserialize(params)
|
601
|
+
@EtlContent = params['EtlContent']
|
602
|
+
unless params['DstResources'].nil?
|
603
|
+
@DstResources = []
|
604
|
+
params['DstResources'].each do |i|
|
605
|
+
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
606
|
+
datatransformresouceinfo_tmp.deserialize(i)
|
607
|
+
@DstResources << datatransformresouceinfo_tmp
|
608
|
+
end
|
609
|
+
end
|
610
|
+
@FuncType = params['FuncType']
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# CheckFunction返回参数结构体
|
615
|
+
class CheckFunctionResponse < TencentCloud::Common::AbstractModel
|
616
|
+
# @param ErrorCode: 失败错误码
|
617
|
+
# @type ErrorCode: Integer
|
618
|
+
# @param ErrorMsg: 失败错误信息
|
619
|
+
# @type ErrorMsg: String
|
620
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
621
|
+
# @type RequestId: String
|
622
|
+
|
623
|
+
attr_accessor :ErrorCode, :ErrorMsg, :RequestId
|
624
|
+
|
625
|
+
def initialize(errorcode=nil, errormsg=nil, requestid=nil)
|
626
|
+
@ErrorCode = errorcode
|
627
|
+
@ErrorMsg = errormsg
|
628
|
+
@RequestId = requestid
|
629
|
+
end
|
630
|
+
|
631
|
+
def deserialize(params)
|
632
|
+
@ErrorCode = params['ErrorCode']
|
633
|
+
@ErrorMsg = params['ErrorMsg']
|
634
|
+
@RequestId = params['RequestId']
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
583
638
|
# CheckRechargeKafkaServer请求参数结构体
|
584
639
|
class CheckRechargeKafkaServerRequest < TencentCloud::Common::AbstractModel
|
585
640
|
# @param KafkaType: 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.695
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|