tencentcloud-sdk-cls 3.0.693 → 3.0.695

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: 2e60f7d54bfc251e30e5888dbdd9207754d0e6b8
4
- data.tar.gz: fa4832fc584bcf971d6e276065d68d02eb2aac9f
3
+ metadata.gz: 221b3333003874c609c03fdf36802f96a95e2856
4
+ data.tar.gz: ada02a6a989d6dfe103c37404dade66abc59c765
5
5
  SHA512:
6
- metadata.gz: 42f7b4ab3f38fdc039b241c9428a20232b977bb29e1d7a2ad0ad1c90dfb3642c93afc2b919b66e626577d33e868db6dc406fb3d99aec39d62c60a1cfb0bb0b33
7
- data.tar.gz: 927601ed364e3fc5fa0cb1151b2153961520bc53a0528c5f7730632ad857f96302a33e5000177c1b8f645b66b39643ee05eaa726ad47f904e7f14cb421bf54aa
6
+ metadata.gz: 9d03038b140d0bf814b9cf3af128d03364302f6900ac753bd73fb05637c3b10281d6b6b92127517cb86c53559aee8b2dddef478ed58f4fc443cf696fd913cea4
7
+ data.tar.gz: f8176ceac51557ef1e33453c01d028c410ad66f0fc8ccbb73d8d0f230d049f5090ec080f7b63a09db8bf7200c0d56d16e539e4559a189b6086f9bccdcd929b6f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.693
1
+ 3.0.695
@@ -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.
@@ -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.693
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-05 00:00:00.000000000 Z
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