tencentcloud-sdk-teo 3.0.476 → 3.0.478

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: e58645acd9d616e6b55fa3bb6b894360561bb876
4
- data.tar.gz: c90227e9426dad56e35409f11a9f8a954877e66b
3
+ metadata.gz: fbd76f8cf2f3f3196c4dec41fd293ade66e3045e
4
+ data.tar.gz: 2903f08e61dbf47e45b4097f3ef546dd480e0bbb
5
5
  SHA512:
6
- metadata.gz: c117ae1491a70a6220c42a293daa63ee75b98e12ec8e0e05b81e2f4f33155952d325429d17eb4f4c1a6f66ea7bfaf9623d0a994a2236356c37d1f36292383211
7
- data.tar.gz: bee315f2f9174719acfd034a876db4360cccd97616432f00c1f3d0d08303c09e6d68ef79f0c62f308a07c0857c1850fdb2c0b8578c39e0f3e60647cac95af9c8
6
+ metadata.gz: ac385e7667d4dc2d29c657bc90de70621d6b4512a2700a21b4e934c4700c83094def82a5d2e6ca9d3272cdc67dd5111506c0ffe9aa989b581ee593557d286b00
7
+ data.tar.gz: 647698b81ff7c7a54d5f9b274493efcbde4d596b05b1aed4788d6a4b48bfe4f5eccae33baa2dc3d1943ec8dc611ab87afa92ff1feade07991b1cfa832245785c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.476
1
+ 3.0.478
@@ -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.
@@ -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.476
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-19 00:00:00.000000000 Z
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