tencentcloud-sdk-cls 3.0.712 → 3.0.713

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: fdad479ed4d5301091601c349abb7f79498baf2b
4
- data.tar.gz: 89341b4a91b5dee6ecf8cd1d9c9098fd6261c37d
3
+ metadata.gz: 8bf7b2b14fbf55422e350802e415a1ffcb16c513
4
+ data.tar.gz: 557b4c0043c3b3872f5676c9ea1dc50189dbe0ee
5
5
  SHA512:
6
- metadata.gz: 6b047ebdbb2637e5dc6a49e23c8b4edede80c346a6a3ba3cb531a33ce98588bae679120a69ea84a6608d0add63e33f95d1318b689b7d52b755cabf07e42fe9e1
7
- data.tar.gz: d4b71940eb8f0526eb0e8a1b0631d7b0c7a611a0788350c7e0acd2338d4986f0ed03c4ade06872079cf43c052898c92eda06a2d4afb8c5fcf6f100412d1cd560
6
+ metadata.gz: 731922e631c516c428231d138f241fb9d62bbf082657ada2571486e96931b1163bad285058fd62194016375e64719152c1841ec160f2a9caad9752ccfa6fe9f8
7
+ data.tar.gz: 88ca8780a9ff42d35669f9efc221eb0a96337002705720bf2a1339b8511e8ab2d8156b28f70160e835bb8fdb159a6cce068138adfa86391725d5ad82421ca4bc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.712
1
+ 3.0.713
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 本接口用于创建投递SCF任务
321
+
322
+ # @param request: Request instance for CreateDeliverCloudFunction.
323
+ # @type request: :class:`Tencentcloud::cls::V20201016::CreateDeliverCloudFunctionRequest`
324
+ # @rtype: :class:`Tencentcloud::cls::V20201016::CreateDeliverCloudFunctionResponse`
325
+ def CreateDeliverCloudFunction(request)
326
+ body = send_request('CreateDeliverCloudFunction', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = CreateDeliverCloudFunctionResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。参考文档https://cloud.tencent.com/document/product/614/56449
321
345
 
322
346
  # @param request: Request instance for CreateExport.
@@ -2019,6 +2019,58 @@ module TencentCloud
2019
2019
  end
2020
2020
  end
2021
2021
 
2022
+ # CreateDeliverCloudFunction请求参数结构体
2023
+ class CreateDeliverCloudFunctionRequest < TencentCloud::Common::AbstractModel
2024
+ # @param TopicId: 投递规则属于的 topic id
2025
+ # @type TopicId: String
2026
+ # @param FunctionName: 投递的云函数名字
2027
+ # @type FunctionName: String
2028
+ # @param Namespace: 命名空间
2029
+ # @type Namespace: String
2030
+ # @param Qualifier: 函数版本
2031
+ # @type Qualifier: String
2032
+ # @param Timeout: 投递最长等待时间,单位:秒
2033
+ # @type Timeout: Integer
2034
+ # @param MaxMsgNum: 投递最大消息数
2035
+ # @type MaxMsgNum: Integer
2036
+
2037
+ attr_accessor :TopicId, :FunctionName, :Namespace, :Qualifier, :Timeout, :MaxMsgNum
2038
+
2039
+ def initialize(topicid=nil, functionname=nil, namespace=nil, qualifier=nil, timeout=nil, maxmsgnum=nil)
2040
+ @TopicId = topicid
2041
+ @FunctionName = functionname
2042
+ @Namespace = namespace
2043
+ @Qualifier = qualifier
2044
+ @Timeout = timeout
2045
+ @MaxMsgNum = maxmsgnum
2046
+ end
2047
+
2048
+ def deserialize(params)
2049
+ @TopicId = params['TopicId']
2050
+ @FunctionName = params['FunctionName']
2051
+ @Namespace = params['Namespace']
2052
+ @Qualifier = params['Qualifier']
2053
+ @Timeout = params['Timeout']
2054
+ @MaxMsgNum = params['MaxMsgNum']
2055
+ end
2056
+ end
2057
+
2058
+ # CreateDeliverCloudFunction返回参数结构体
2059
+ class CreateDeliverCloudFunctionResponse < TencentCloud::Common::AbstractModel
2060
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2061
+ # @type RequestId: String
2062
+
2063
+ attr_accessor :RequestId
2064
+
2065
+ def initialize(requestid=nil)
2066
+ @RequestId = requestid
2067
+ end
2068
+
2069
+ def deserialize(params)
2070
+ @RequestId = params['RequestId']
2071
+ end
2072
+ end
2073
+
2022
2074
  # CreateExport请求参数结构体
2023
2075
  class CreateExportRequest < TencentCloud::Common::AbstractModel
2024
2076
  # @param TopicId: 日志主题ID
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.712
4
+ version: 3.0.713
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-24 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common