tencentcloud-sdk-tsf 3.0.826 → 3.0.827
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/v20180326/client.rb +48 -0
- data/lib/v20180326/models.rb +75 -1
- 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: e0a4cc9cd1da7ab84ef538357c16aba9dcf2690a
|
4
|
+
data.tar.gz: 7d2978227b5a0c6fb3208cc6ea0ec40453badd9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 751bdb2b5d99eb7c3d6056e3f261e7f7f1fece3601bcf0bbfe3769f1e27ecc758ceee76ecf22a34daa91b6fbb48514cd02a26e82685fd6625eedc7adaca71ea5
|
7
|
+
data.tar.gz: c1b3e07fbac070f9e4402d722b724d9b3b7e510fa0ed5a7a8792dc7962bbca3892c50b4e5aee07a0e4af3a5b1f890483a64bf6efca2101889ec005e9ef593f8b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.827
|
data/lib/v20180326/client.rb
CHANGED
@@ -3776,6 +3776,30 @@ module TencentCloud
|
|
3776
3776
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3777
3777
|
end
|
3778
3778
|
|
3779
|
+
# 禁用泳道规则
|
3780
|
+
|
3781
|
+
# @param request: Request instance for DisableLaneRule.
|
3782
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DisableLaneRuleRequest`
|
3783
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DisableLaneRuleResponse`
|
3784
|
+
def DisableLaneRule(request)
|
3785
|
+
body = send_request('DisableLaneRule', request.serialize)
|
3786
|
+
response = JSON.parse(body)
|
3787
|
+
if response['Response'].key?('Error') == false
|
3788
|
+
model = DisableLaneRuleResponse.new
|
3789
|
+
model.deserialize(response['Response'])
|
3790
|
+
model
|
3791
|
+
else
|
3792
|
+
code = response['Response']['Error']['Code']
|
3793
|
+
message = response['Response']['Error']['Message']
|
3794
|
+
reqid = response['Response']['RequestId']
|
3795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3796
|
+
end
|
3797
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3798
|
+
raise e
|
3799
|
+
rescue StandardError => e
|
3800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3801
|
+
end
|
3802
|
+
|
3779
3803
|
# 停用任务
|
3780
3804
|
|
3781
3805
|
# @param request: Request instance for DisableTask.
|
@@ -3944,6 +3968,30 @@ module TencentCloud
|
|
3944
3968
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3945
3969
|
end
|
3946
3970
|
|
3971
|
+
# 启用泳道规则
|
3972
|
+
|
3973
|
+
# @param request: Request instance for EnableLaneRule.
|
3974
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::EnableLaneRuleRequest`
|
3975
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::EnableLaneRuleResponse`
|
3976
|
+
def EnableLaneRule(request)
|
3977
|
+
body = send_request('EnableLaneRule', request.serialize)
|
3978
|
+
response = JSON.parse(body)
|
3979
|
+
if response['Response'].key?('Error') == false
|
3980
|
+
model = EnableLaneRuleResponse.new
|
3981
|
+
model.deserialize(response['Response'])
|
3982
|
+
model
|
3983
|
+
else
|
3984
|
+
code = response['Response']['Error']['Code']
|
3985
|
+
message = response['Response']['Error']['Message']
|
3986
|
+
reqid = response['Response']['RequestId']
|
3987
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3988
|
+
end
|
3989
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3990
|
+
raise e
|
3991
|
+
rescue StandardError => e
|
3992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3993
|
+
end
|
3994
|
+
|
3947
3995
|
# 启用任务
|
3948
3996
|
|
3949
3997
|
# @param request: Request instance for EnableTask.
|
data/lib/v20180326/models.rb
CHANGED
@@ -11510,6 +11510,43 @@ module TencentCloud
|
|
11510
11510
|
end
|
11511
11511
|
end
|
11512
11512
|
|
11513
|
+
# DisableLaneRule请求参数结构体
|
11514
|
+
class DisableLaneRuleRequest < TencentCloud::Common::AbstractModel
|
11515
|
+
# @param RuleId: 泳道规则ID
|
11516
|
+
# @type RuleId: String
|
11517
|
+
|
11518
|
+
attr_accessor :RuleId
|
11519
|
+
|
11520
|
+
def initialize(ruleid=nil)
|
11521
|
+
@RuleId = ruleid
|
11522
|
+
end
|
11523
|
+
|
11524
|
+
def deserialize(params)
|
11525
|
+
@RuleId = params['RuleId']
|
11526
|
+
end
|
11527
|
+
end
|
11528
|
+
|
11529
|
+
# DisableLaneRule返回参数结构体
|
11530
|
+
class DisableLaneRuleResponse < TencentCloud::Common::AbstractModel
|
11531
|
+
# @param Result: 操作状态。成功:true,失败:false
|
11532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11533
|
+
# @type Result: Boolean
|
11534
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11535
|
+
# @type RequestId: String
|
11536
|
+
|
11537
|
+
attr_accessor :Result, :RequestId
|
11538
|
+
|
11539
|
+
def initialize(result=nil, requestid=nil)
|
11540
|
+
@Result = result
|
11541
|
+
@RequestId = requestid
|
11542
|
+
end
|
11543
|
+
|
11544
|
+
def deserialize(params)
|
11545
|
+
@Result = params['Result']
|
11546
|
+
@RequestId = params['RequestId']
|
11547
|
+
end
|
11548
|
+
end
|
11549
|
+
|
11513
11550
|
# DisableTaskFlow请求参数结构体
|
11514
11551
|
class DisableTaskFlowRequest < TencentCloud::Common::AbstractModel
|
11515
11552
|
# @param FlowId: 工作流 ID
|
@@ -11774,6 +11811,43 @@ module TencentCloud
|
|
11774
11811
|
end
|
11775
11812
|
end
|
11776
11813
|
|
11814
|
+
# EnableLaneRule请求参数结构体
|
11815
|
+
class EnableLaneRuleRequest < TencentCloud::Common::AbstractModel
|
11816
|
+
# @param RuleId: 泳道规则ID
|
11817
|
+
# @type RuleId: String
|
11818
|
+
|
11819
|
+
attr_accessor :RuleId
|
11820
|
+
|
11821
|
+
def initialize(ruleid=nil)
|
11822
|
+
@RuleId = ruleid
|
11823
|
+
end
|
11824
|
+
|
11825
|
+
def deserialize(params)
|
11826
|
+
@RuleId = params['RuleId']
|
11827
|
+
end
|
11828
|
+
end
|
11829
|
+
|
11830
|
+
# EnableLaneRule返回参数结构体
|
11831
|
+
class EnableLaneRuleResponse < TencentCloud::Common::AbstractModel
|
11832
|
+
# @param Result: 操作状态。成功:true,失败:false
|
11833
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11834
|
+
# @type Result: Boolean
|
11835
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11836
|
+
# @type RequestId: String
|
11837
|
+
|
11838
|
+
attr_accessor :Result, :RequestId
|
11839
|
+
|
11840
|
+
def initialize(result=nil, requestid=nil)
|
11841
|
+
@Result = result
|
11842
|
+
@RequestId = requestid
|
11843
|
+
end
|
11844
|
+
|
11845
|
+
def deserialize(params)
|
11846
|
+
@Result = params['Result']
|
11847
|
+
@RequestId = params['RequestId']
|
11848
|
+
end
|
11849
|
+
end
|
11850
|
+
|
11777
11851
|
# EnableTaskFlow请求参数结构体
|
11778
11852
|
class EnableTaskFlowRequest < TencentCloud::Common::AbstractModel
|
11779
11853
|
# @param FlowId: 工作流 ID
|
@@ -15154,7 +15228,7 @@ module TencentCloud
|
|
15154
15228
|
|
15155
15229
|
# ModifyLaneRule返回参数结构体
|
15156
15230
|
class ModifyLaneRuleResponse < TencentCloud::Common::AbstractModel
|
15157
|
-
# @param Result:
|
15231
|
+
# @param Result: 操作状态。成功:true,失败:false
|
15158
15232
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15159
15233
|
# @type Result: Boolean
|
15160
15234
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tsf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.827
|
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-05-
|
11
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|