tencentcloud-sdk-teo 3.0.671 → 3.0.673

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: 523b5e5431243ebab5af091922db14b331599c0d
4
- data.tar.gz: 4f60273288ac8997a100774a96dc555468d5686d
3
+ metadata.gz: e7da0892f5ff4fe96d8270f7b0ac7fc3d511818d
4
+ data.tar.gz: 183b89d5834031c104612ea8e78eafdccf68f889
5
5
  SHA512:
6
- metadata.gz: 1576c721ccc8943968dee8c4f0a0c1d12b161bb5dacc52b99a602819bc6c5a10e2f27d88014a64eda3b554e72e0c48b55a6c8bf398e303ae847197e82bf8c834
7
- data.tar.gz: af5481cd3da08a52b7a6767f2f1806838194f1cbcab919eef2388b8ef84859a7d372b7cfe9a1bacf644c3d640d4b06016b43570e6a13bc45b872d624e6f46eaa
6
+ metadata.gz: 704a4a491a1f2aae08d84111c449061f97e24206057e91d73b756c5deeb8f4819e2cfeae49e8488ce0a4acd855e8692cd2ba6f934906280ac848be811e7d18b4
7
+ data.tar.gz: 3c44eb72c455035965558dc00851aeb012dc1928a699ba2a8cb34445be5ac24391de777d5b2c39403d9de8a1eb6560afb9a3b2b89796b94f46e8774888bcaada
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.671
1
+ 3.0.673
@@ -175,30 +175,6 @@ module TencentCloud
175
175
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
176
  end
177
177
 
178
- # 创建源站组
179
-
180
- # @param request: Request instance for CreateOriginGroup.
181
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupRequest`
182
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupResponse`
183
- def CreateOriginGroup(request)
184
- body = send_request('CreateOriginGroup', request.serialize)
185
- response = JSON.parse(body)
186
- if response['Response'].key?('Error') == false
187
- model = CreateOriginGroupResponse.new
188
- model.deserialize(response['Response'])
189
- model
190
- else
191
- code = response['Response']['Error']['Code']
192
- message = response['Response']['Error']['Message']
193
- reqid = response['Response']['RequestId']
194
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
195
- end
196
- rescue TencentCloud::Common::TencentCloudSDKException => e
197
- raise e
198
- rescue StandardError => e
199
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
200
- end
201
-
202
178
  # 为未购买套餐的站点购买套餐
203
179
 
204
180
  # @param request: Request instance for CreatePlanForZone.
@@ -467,30 +443,6 @@ module TencentCloud
467
443
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
468
444
  end
469
445
 
470
- # 删除源站组
471
-
472
- # @param request: Request instance for DeleteOriginGroup.
473
- # @type request: :class:`Tencentcloud::teo::V20220901::DeleteOriginGroupRequest`
474
- # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteOriginGroupResponse`
475
- def DeleteOriginGroup(request)
476
- body = send_request('DeleteOriginGroup', request.serialize)
477
- response = JSON.parse(body)
478
- if response['Response'].key?('Error') == false
479
- model = DeleteOriginGroupResponse.new
480
- model.deserialize(response['Response'])
481
- model
482
- else
483
- code = response['Response']['Error']['Code']
484
- message = response['Response']['Error']['Message']
485
- reqid = response['Response']['RequestId']
486
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
487
- end
488
- rescue TencentCloud::Common::TencentCloudSDKException => e
489
- raise e
490
- rescue StandardError => e
491
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
492
- end
493
-
494
446
  # 批量删除规则引擎规则。
495
447
 
496
448
  # @param request: Request instance for DeleteRules.
@@ -1453,30 +1405,6 @@ module TencentCloud
1453
1405
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1454
1406
  end
1455
1407
 
1456
- # 修改源站组
1457
-
1458
- # @param request: Request instance for ModifyOriginGroup.
1459
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupRequest`
1460
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupResponse`
1461
- def ModifyOriginGroup(request)
1462
- body = send_request('ModifyOriginGroup', request.serialize)
1463
- response = JSON.parse(body)
1464
- if response['Response'].key?('Error') == false
1465
- model = ModifyOriginGroupResponse.new
1466
- model.deserialize(response['Response'])
1467
- model
1468
- else
1469
- code = response['Response']['Error']['Code']
1470
- message = response['Response']['Error']['Message']
1471
- reqid = response['Response']['RequestId']
1472
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1473
- end
1474
- rescue TencentCloud::Common::TencentCloudSDKException => e
1475
- raise e
1476
- rescue StandardError => e
1477
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1478
- end
1479
-
1480
1408
  # 修改规则引擎规则。
1481
1409
 
1482
1410
  # @param request: Request instance for ModifyRule.
@@ -1274,8 +1274,8 @@ module TencentCloud
1274
1274
 
1275
1275
  attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
1276
1276
  extend Gem::Deprecate
1277
- deprecate :IgnoreCacheControl, :none, 2023, 9
1278
- deprecate :IgnoreCacheControl=, :none, 2023, 9
1277
+ deprecate :IgnoreCacheControl, :none, 2023, 10
1278
+ deprecate :IgnoreCacheControl=, :none, 2023, 10
1279
1279
 
1280
1280
  def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
1281
1281
  @Switch = switch
@@ -1895,75 +1895,6 @@ module TencentCloud
1895
1895
  end
1896
1896
  end
1897
1897
 
1898
- # CreateOriginGroup请求参数结构体
1899
- class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
1900
- # @param ZoneId: 站点ID。
1901
- # @type ZoneId: String
1902
- # @param OriginType: 源站类型,取值有:
1903
- # <li>self:自有源站;</li>
1904
- # <li>third_party:第三方源站;</li>
1905
- # <li>cos:腾讯云COS源站。</li>
1906
- # @type OriginType: String
1907
- # @param OriginGroupName: 源站组名称。
1908
- # @type OriginGroupName: String
1909
- # @param ConfigurationType: 源站配置类型,当OriginType=self时,取值有:
1910
- # <li>area:按区域配置;</li>
1911
- # <li>weight: 按权重配置;</li>
1912
- # <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
1913
- # @type ConfigurationType: String
1914
- # @param OriginRecords: 源站记录信息。
1915
- # @type OriginRecords: Array
1916
- # @param HostHeader: 回源Host,仅当OriginType=self时可以设置。
1917
- # @type HostHeader: String
1918
-
1919
- attr_accessor :ZoneId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :HostHeader
1920
-
1921
- def initialize(zoneid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, hostheader=nil)
1922
- @ZoneId = zoneid
1923
- @OriginType = origintype
1924
- @OriginGroupName = origingroupname
1925
- @ConfigurationType = configurationtype
1926
- @OriginRecords = originrecords
1927
- @HostHeader = hostheader
1928
- end
1929
-
1930
- def deserialize(params)
1931
- @ZoneId = params['ZoneId']
1932
- @OriginType = params['OriginType']
1933
- @OriginGroupName = params['OriginGroupName']
1934
- @ConfigurationType = params['ConfigurationType']
1935
- unless params['OriginRecords'].nil?
1936
- @OriginRecords = []
1937
- params['OriginRecords'].each do |i|
1938
- originrecord_tmp = OriginRecord.new
1939
- originrecord_tmp.deserialize(i)
1940
- @OriginRecords << originrecord_tmp
1941
- end
1942
- end
1943
- @HostHeader = params['HostHeader']
1944
- end
1945
- end
1946
-
1947
- # CreateOriginGroup返回参数结构体
1948
- class CreateOriginGroupResponse < TencentCloud::Common::AbstractModel
1949
- # @param OriginGroupId: 源站组ID。
1950
- # @type OriginGroupId: String
1951
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1952
- # @type RequestId: String
1953
-
1954
- attr_accessor :OriginGroupId, :RequestId
1955
-
1956
- def initialize(origingroupid=nil, requestid=nil)
1957
- @OriginGroupId = origingroupid
1958
- @RequestId = requestid
1959
- end
1960
-
1961
- def deserialize(params)
1962
- @OriginGroupId = params['OriginGroupId']
1963
- @RequestId = params['RequestId']
1964
- end
1965
- end
1966
-
1967
1898
  # CreatePlanForZone请求参数结构体
1968
1899
  class CreatePlanForZoneRequest < TencentCloud::Common::AbstractModel
1969
1900
  # @param ZoneId: 站点ID。
@@ -2110,8 +2041,8 @@ module TencentCloud
2110
2041
 
2111
2042
  attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
2112
2043
  extend Gem::Deprecate
2113
- deprecate :EncodeUrl, :none, 2023, 9
2114
- deprecate :EncodeUrl=, :none, 2023, 9
2044
+ deprecate :EncodeUrl, :none, 2023, 10
2045
+ deprecate :EncodeUrl=, :none, 2023, 10
2115
2046
 
2116
2047
  def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
2117
2048
  @ZoneId = zoneid
@@ -2341,10 +2272,10 @@ module TencentCloud
2341
2272
 
2342
2273
  attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
2343
2274
  extend Gem::Deprecate
2344
- deprecate :AllowDuplicates, :none, 2023, 9
2345
- deprecate :AllowDuplicates=, :none, 2023, 9
2346
- deprecate :JumpStart, :none, 2023, 9
2347
- deprecate :JumpStart=, :none, 2023, 9
2275
+ deprecate :AllowDuplicates, :none, 2023, 10
2276
+ deprecate :AllowDuplicates=, :none, 2023, 10
2277
+ deprecate :JumpStart, :none, 2023, 10
2278
+ deprecate :JumpStart=, :none, 2023, 10
2348
2279
 
2349
2280
  def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
2350
2281
  @Type = type
@@ -2743,42 +2674,6 @@ module TencentCloud
2743
2674
  end
2744
2675
  end
2745
2676
 
2746
- # DeleteOriginGroup请求参数结构体
2747
- class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
2748
- # @param ZoneId: 站点ID。
2749
- # @type ZoneId: String
2750
- # @param OriginGroupId: 源站组ID。
2751
- # @type OriginGroupId: String
2752
-
2753
- attr_accessor :ZoneId, :OriginGroupId
2754
-
2755
- def initialize(zoneid=nil, origingroupid=nil)
2756
- @ZoneId = zoneid
2757
- @OriginGroupId = origingroupid
2758
- end
2759
-
2760
- def deserialize(params)
2761
- @ZoneId = params['ZoneId']
2762
- @OriginGroupId = params['OriginGroupId']
2763
- end
2764
- end
2765
-
2766
- # DeleteOriginGroup返回参数结构体
2767
- class DeleteOriginGroupResponse < TencentCloud::Common::AbstractModel
2768
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2769
- # @type RequestId: String
2770
-
2771
- attr_accessor :RequestId
2772
-
2773
- def initialize(requestid=nil)
2774
- @RequestId = requestid
2775
- end
2776
-
2777
- def deserialize(params)
2778
- @RequestId = params['RequestId']
2779
- end
2780
- end
2781
-
2782
2677
  # DeleteRules请求参数结构体
2783
2678
  class DeleteRulesRequest < TencentCloud::Common::AbstractModel
2784
2679
  # @param ZoneId: 站点 ID。
@@ -6621,8 +6516,8 @@ module TencentCloud
6621
6516
 
6622
6517
  attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType
6623
6518
  extend Gem::Deprecate
6624
- deprecate :ApplyType, :none, 2023, 9
6625
- deprecate :ApplyType=, :none, 2023, 9
6519
+ deprecate :ApplyType, :none, 2023, 10
6520
+ deprecate :ApplyType=, :none, 2023, 10
6626
6521
 
6627
6522
  def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil)
6628
6523
  @ZoneId = zoneid
@@ -6664,76 +6559,6 @@ module TencentCloud
6664
6559
  end
6665
6560
  end
6666
6561
 
6667
- # ModifyOriginGroup请求参数结构体
6668
- class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
6669
- # @param ZoneId: 站点ID。
6670
- # @type ZoneId: String
6671
- # @param OriginGroupId: 源站组ID。
6672
- # @type OriginGroupId: String
6673
- # @param OriginType: 源站类型,取值有:
6674
- # <li>self:自有源站;</li>
6675
- # <li>third_party:第三方源站;</li>
6676
- # <li>cos:腾讯云COS源站。</li>
6677
- # @type OriginType: String
6678
- # @param OriginGroupName: 源站组名称。
6679
- # @type OriginGroupName: String
6680
- # @param ConfigurationType: 源站配置类型,当OriginType=self时,取值有:
6681
- # <li>area:按区域配置;</li>
6682
- # <li>weight: 按权重配置;</li>
6683
- # <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
6684
- # @type ConfigurationType: String
6685
- # @param OriginRecords: 源站记录信息。
6686
- # @type OriginRecords: Array
6687
- # @param HostHeader: 回源Host,仅当OriginType=self时可以设置。
6688
- # 不填写,表示使用已有配置。
6689
- # @type HostHeader: String
6690
-
6691
- attr_accessor :ZoneId, :OriginGroupId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :HostHeader
6692
-
6693
- def initialize(zoneid=nil, origingroupid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, hostheader=nil)
6694
- @ZoneId = zoneid
6695
- @OriginGroupId = origingroupid
6696
- @OriginType = origintype
6697
- @OriginGroupName = origingroupname
6698
- @ConfigurationType = configurationtype
6699
- @OriginRecords = originrecords
6700
- @HostHeader = hostheader
6701
- end
6702
-
6703
- def deserialize(params)
6704
- @ZoneId = params['ZoneId']
6705
- @OriginGroupId = params['OriginGroupId']
6706
- @OriginType = params['OriginType']
6707
- @OriginGroupName = params['OriginGroupName']
6708
- @ConfigurationType = params['ConfigurationType']
6709
- unless params['OriginRecords'].nil?
6710
- @OriginRecords = []
6711
- params['OriginRecords'].each do |i|
6712
- originrecord_tmp = OriginRecord.new
6713
- originrecord_tmp.deserialize(i)
6714
- @OriginRecords << originrecord_tmp
6715
- end
6716
- end
6717
- @HostHeader = params['HostHeader']
6718
- end
6719
- end
6720
-
6721
- # ModifyOriginGroup返回参数结构体
6722
- class ModifyOriginGroupResponse < TencentCloud::Common::AbstractModel
6723
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6724
- # @type RequestId: String
6725
-
6726
- attr_accessor :RequestId
6727
-
6728
- def initialize(requestid=nil)
6729
- @RequestId = requestid
6730
- end
6731
-
6732
- def deserialize(params)
6733
- @RequestId = params['RequestId']
6734
- end
6735
- end
6736
-
6737
6562
  # ModifyRule请求参数结构体
6738
6563
  class ModifyRuleRequest < TencentCloud::Common::AbstractModel
6739
6564
  # @param ZoneId: 站点 ID。
@@ -8410,8 +8235,8 @@ module TencentCloud
8410
8235
 
8411
8236
  attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
8412
8237
  extend Gem::Deprecate
8413
- deprecate :IgnoreNameCase, :none, 2023, 9
8414
- deprecate :IgnoreNameCase=, :none, 2023, 9
8238
+ deprecate :IgnoreNameCase, :none, 2023, 10
8239
+ deprecate :IgnoreNameCase=, :none, 2023, 10
8415
8240
 
8416
8241
  def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
8417
8242
  @Operator = operator
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.671
4
+ version: 3.0.673
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-10-07 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common