tencentcloud-sdk-cls 3.0.694 → 3.0.696

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: d136337c67100fa0f046d4c0118fe5f37ebbd751
4
- data.tar.gz: a89ab8b9b8d7afada39a057737674d42dc23382a
3
+ metadata.gz: cc1d857d8fb1d1643d4e099669d2ac18328c0ad1
4
+ data.tar.gz: 978b7c5adfa6d0551a92a145050c2e8f3d4b3971
5
5
  SHA512:
6
- metadata.gz: d918f73fb7cae45ad1e2920a83b2346d9849080bdcf77b92226fc1bc9b9867fd4d3f97d4c352a482bd65a95e81dabb054bcccb224be843c101ff75502095f4a6
7
- data.tar.gz: 2114bd27132760c816a97fbe9dbc73bbc7700bddc32bddff74ca656ecdb0a9480b963fbc224ebb2980ea947af29b51e79fecf8513aff040c5e8d40d7b3d19a30
6
+ metadata.gz: 5aa28ea434f7a5a7c24d16c453b3b051a01b521cbf405fc072cb09f7e0e7aea1332833fe09f14565e1bf8d0a6ce3797654fee70a175610f4cb8bcc6c21600884
7
+ data.tar.gz: fee647d9620bc9bcb353703711c2ca7b3082eea561bb42379fddd1a24b73c98d66ddc5e55aab120262fc4639612da0321821f94007e55e9a775895ad60402056
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.694
1
+ 3.0.696
@@ -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.694
4
+ version: 3.0.696
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-06 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-cls.rb
37
- - lib/v20201016/models.rb
38
37
  - lib/v20201016/client.rb
38
+ - lib/v20201016/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: