tencentcloud-sdk-teo 3.0.476 → 3.0.478
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +0 -24
- data/lib/v20220901/models.rb +7 -44
- 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: fbd76f8cf2f3f3196c4dec41fd293ade66e3045e
|
4
|
+
data.tar.gz: 2903f08e61dbf47e45b4097f3ef546dd480e0bbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac385e7667d4dc2d29c657bc90de70621d6b4512a2700a21b4e934c4700c83094def82a5d2e6ca9d3272cdc67dd5111506c0ffe9aa989b581ee593557d286b00
|
7
|
+
data.tar.gz: 647698b81ff7c7a54d5f9b274493efcbde4d596b05b1aed4788d6a4b48bfe4f5eccae33baa2dc3d1943ec8dc611ab87afa92ff1feade07991b1cfa832245785c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.478
|
data/lib/v20220901/client.rb
CHANGED
@@ -2693,30 +2693,6 @@ module TencentCloud
|
|
2693
2693
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2694
2694
|
end
|
2695
2695
|
|
2696
|
-
# 修改负载均衡状态
|
2697
|
-
|
2698
|
-
# @param request: Request instance for ModifyLoadBalancingStatus.
|
2699
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancingStatusRequest`
|
2700
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancingStatusResponse`
|
2701
|
-
def ModifyLoadBalancingStatus(request)
|
2702
|
-
body = send_request('ModifyLoadBalancingStatus', request.serialize)
|
2703
|
-
response = JSON.parse(body)
|
2704
|
-
if response['Response'].key?('Error') == false
|
2705
|
-
model = ModifyLoadBalancingStatusResponse.new
|
2706
|
-
model.deserialize(response['Response'])
|
2707
|
-
model
|
2708
|
-
else
|
2709
|
-
code = response['Response']['Error']['Code']
|
2710
|
-
message = response['Response']['Error']['Message']
|
2711
|
-
reqid = response['Response']['RequestId']
|
2712
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2713
|
-
end
|
2714
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2715
|
-
raise e
|
2716
|
-
rescue StandardError => e
|
2717
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2718
|
-
end
|
2719
|
-
|
2720
2696
|
# 本接口(ModifyLogTopicTask)用于修改日志推送任务信息。
|
2721
2697
|
|
2722
2698
|
# @param request: Request instance for ModifyLogTopicTask.
|
data/lib/v20220901/models.rb
CHANGED
@@ -8954,19 +8954,24 @@ module TencentCloud
|
|
8954
8954
|
# @param DefaultCache: 源站未返回 Cache-Control 头时, 设置缓存/不缓存
|
8955
8955
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8956
8956
|
# @type DefaultCache: String
|
8957
|
+
# @param DefaultCacheStrategy: 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略
|
8958
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8959
|
+
# @type DefaultCacheStrategy: String
|
8957
8960
|
|
8958
|
-
attr_accessor :Switch, :DefaultCacheTime, :DefaultCache
|
8961
|
+
attr_accessor :Switch, :DefaultCacheTime, :DefaultCache, :DefaultCacheStrategy
|
8959
8962
|
|
8960
|
-
def initialize(switch=nil, defaultcachetime=nil, defaultcache=nil)
|
8963
|
+
def initialize(switch=nil, defaultcachetime=nil, defaultcache=nil, defaultcachestrategy=nil)
|
8961
8964
|
@Switch = switch
|
8962
8965
|
@DefaultCacheTime = defaultcachetime
|
8963
8966
|
@DefaultCache = defaultcache
|
8967
|
+
@DefaultCacheStrategy = defaultcachestrategy
|
8964
8968
|
end
|
8965
8969
|
|
8966
8970
|
def deserialize(params)
|
8967
8971
|
@Switch = params['Switch']
|
8968
8972
|
@DefaultCacheTime = params['DefaultCacheTime']
|
8969
8973
|
@DefaultCache = params['DefaultCache']
|
8974
|
+
@DefaultCacheStrategy = params['DefaultCacheStrategy']
|
8970
8975
|
end
|
8971
8976
|
end
|
8972
8977
|
|
@@ -10472,48 +10477,6 @@ module TencentCloud
|
|
10472
10477
|
end
|
10473
10478
|
end
|
10474
10479
|
|
10475
|
-
# ModifyLoadBalancingStatus请求参数结构体
|
10476
|
-
class ModifyLoadBalancingStatusRequest < TencentCloud::Common::AbstractModel
|
10477
|
-
# @param ZoneId: 站点ID。
|
10478
|
-
# @type ZoneId: String
|
10479
|
-
# @param LoadBalancingId: 负载均衡ID。
|
10480
|
-
# @type LoadBalancingId: String
|
10481
|
-
# @param Status: 负载均衡状态,取值有:
|
10482
|
-
# <li>online:启用;</li>
|
10483
|
-
# <li>offline:停用。</li>
|
10484
|
-
# @type Status: String
|
10485
|
-
|
10486
|
-
attr_accessor :ZoneId, :LoadBalancingId, :Status
|
10487
|
-
|
10488
|
-
def initialize(zoneid=nil, loadbalancingid=nil, status=nil)
|
10489
|
-
@ZoneId = zoneid
|
10490
|
-
@LoadBalancingId = loadbalancingid
|
10491
|
-
@Status = status
|
10492
|
-
end
|
10493
|
-
|
10494
|
-
def deserialize(params)
|
10495
|
-
@ZoneId = params['ZoneId']
|
10496
|
-
@LoadBalancingId = params['LoadBalancingId']
|
10497
|
-
@Status = params['Status']
|
10498
|
-
end
|
10499
|
-
end
|
10500
|
-
|
10501
|
-
# ModifyLoadBalancingStatus返回参数结构体
|
10502
|
-
class ModifyLoadBalancingStatusResponse < TencentCloud::Common::AbstractModel
|
10503
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10504
|
-
# @type RequestId: String
|
10505
|
-
|
10506
|
-
attr_accessor :RequestId
|
10507
|
-
|
10508
|
-
def initialize(requestid=nil)
|
10509
|
-
@RequestId = requestid
|
10510
|
-
end
|
10511
|
-
|
10512
|
-
def deserialize(params)
|
10513
|
-
@RequestId = params['RequestId']
|
10514
|
-
end
|
10515
|
-
end
|
10516
|
-
|
10517
10480
|
# ModifyLogTopicTask请求参数结构体
|
10518
10481
|
class ModifyLogTopicTaskRequest < TencentCloud::Common::AbstractModel
|
10519
10482
|
# @param ZoneId: 站点ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.478
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|