tencentcloud-sdk-cdn 3.0.1139 → 3.0.1146
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/v20180606/client.rb +0 -77
- data/lib/v20180606/models.rb +26 -232
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd9a2fd1faf5447ef402e730dbeb8ab042276ba6
|
4
|
+
data.tar.gz: f9a413803ed24a5f18e5765207fa898a4a0018d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 770a057733df92cf52b8780e143391f9f40a11768aa045da48c167ccd2d8b47bd6cbf98643b3c40fa8d6690f711d1301184aa00b3c00ab84e16a2b70299823c6
|
7
|
+
data.tar.gz: 7e83eb9dd878af1dca55a57acacaed8bb9b01101e8bc8831acac2f0b5fbd8e3222f0d15c1874b2bf1ea487e52345db4396a3b0ec3f98410f84792a83c911f297
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1146
|
data/lib/v20180606/client.rb
CHANGED
@@ -894,31 +894,6 @@ module TencentCloud
|
|
894
894
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
895
895
|
end
|
896
896
|
|
897
|
-
# ### <font color=red>**该接口已废弃** </font><br>
|
898
|
-
# DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
|
899
|
-
|
900
|
-
# @param request: Request instance for DisableCaches.
|
901
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DisableCachesRequest`
|
902
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DisableCachesResponse`
|
903
|
-
def DisableCaches(request)
|
904
|
-
body = send_request('DisableCaches', request.serialize)
|
905
|
-
response = JSON.parse(body)
|
906
|
-
if response['Response'].key?('Error') == false
|
907
|
-
model = DisableCachesResponse.new
|
908
|
-
model.deserialize(response['Response'])
|
909
|
-
model
|
910
|
-
else
|
911
|
-
code = response['Response']['Error']['Code']
|
912
|
-
message = response['Response']['Error']['Message']
|
913
|
-
reqid = response['Response']['RequestId']
|
914
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
915
|
-
end
|
916
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
917
|
-
raise e
|
918
|
-
rescue StandardError => e
|
919
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
920
|
-
end
|
921
|
-
|
922
897
|
# DisableClsLogTopic 用于停止日志主题投递。注意:停止后,所有绑定该日志主题域名的日志将不再继续投递至该主题,已经投递的日志将会继续保留。生效时间约为 5~15 分钟。
|
923
898
|
|
924
899
|
# @param request: Request instance for DisableClsLogTopic.
|
@@ -967,31 +942,6 @@ module TencentCloud
|
|
967
942
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
968
943
|
end
|
969
944
|
|
970
|
-
# ### <font color=red>**该接口已废弃** </font><br>
|
971
|
-
# EnableCaches 用于解禁手工封禁的 URL,解禁成功后,全网生效时间约 5~10 分钟。
|
972
|
-
|
973
|
-
# @param request: Request instance for EnableCaches.
|
974
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::EnableCachesRequest`
|
975
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::EnableCachesResponse`
|
976
|
-
def EnableCaches(request)
|
977
|
-
body = send_request('EnableCaches', request.serialize)
|
978
|
-
response = JSON.parse(body)
|
979
|
-
if response['Response'].key?('Error') == false
|
980
|
-
model = EnableCachesResponse.new
|
981
|
-
model.deserialize(response['Response'])
|
982
|
-
model
|
983
|
-
else
|
984
|
-
code = response['Response']['Error']['Code']
|
985
|
-
message = response['Response']['Error']['Message']
|
986
|
-
reqid = response['Response']['RequestId']
|
987
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
988
|
-
end
|
989
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
990
|
-
raise e
|
991
|
-
rescue StandardError => e
|
992
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
993
|
-
end
|
994
|
-
|
995
945
|
# EnableClsLogTopic 用于启动日志主题投递。注意:启动后,所有绑定该日志主题域名的日志将继续投递至该主题。生效时间约为 5~15 分钟。
|
996
946
|
|
997
947
|
# @param request: Request instance for EnableClsLogTopic.
|
@@ -1016,33 +966,6 @@ module TencentCloud
|
|
1016
966
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1017
967
|
end
|
1018
968
|
|
1019
|
-
# 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
1020
|
-
|
1021
|
-
# ### <font color=red>**该接口已废弃** </font><br>
|
1022
|
-
# GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。
|
1023
|
-
|
1024
|
-
# @param request: Request instance for GetDisableRecords.
|
1025
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::GetDisableRecordsRequest`
|
1026
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::GetDisableRecordsResponse`
|
1027
|
-
def GetDisableRecords(request)
|
1028
|
-
body = send_request('GetDisableRecords', request.serialize)
|
1029
|
-
response = JSON.parse(body)
|
1030
|
-
if response['Response'].key?('Error') == false
|
1031
|
-
model = GetDisableRecordsResponse.new
|
1032
|
-
model.deserialize(response['Response'])
|
1033
|
-
model
|
1034
|
-
else
|
1035
|
-
code = response['Response']['Error']['Code']
|
1036
|
-
message = response['Response']['Error']['Message']
|
1037
|
-
reqid = response['Response']['RequestId']
|
1038
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1039
|
-
end
|
1040
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1041
|
-
raise e
|
1042
|
-
rescue StandardError => e
|
1043
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1044
|
-
end
|
1045
|
-
|
1046
969
|
# ListClsLogTopics 用于显示日志主题列表。注意:一个日志集下至多含10个日志主题。
|
1047
970
|
|
1048
971
|
# @param request: Request instance for ListClsLogTopics.
|
data/lib/v20180606/models.rb
CHANGED
@@ -96,14 +96,17 @@ module TencentCloud
|
|
96
96
|
# @type DomainAreaConfigs: Array
|
97
97
|
# @param Channel: 接入渠道,cdn或者ecdn,默认值为cdn
|
98
98
|
# @type Channel: String
|
99
|
+
# @param InheritDomainTags: 是否继承域名标签, 默认保留上一次更改的值
|
100
|
+
# @type InheritDomainTags: Boolean
|
99
101
|
|
100
|
-
attr_accessor :LogsetId, :TopicId, :DomainAreaConfigs, :Channel
|
102
|
+
attr_accessor :LogsetId, :TopicId, :DomainAreaConfigs, :Channel, :InheritDomainTags
|
101
103
|
|
102
|
-
def initialize(logsetid=nil, topicid=nil, domainareaconfigs=nil, channel=nil)
|
104
|
+
def initialize(logsetid=nil, topicid=nil, domainareaconfigs=nil, channel=nil, inheritdomaintags=nil)
|
103
105
|
@LogsetId = logsetid
|
104
106
|
@TopicId = topicid
|
105
107
|
@DomainAreaConfigs = domainareaconfigs
|
106
108
|
@Channel = channel
|
109
|
+
@InheritDomainTags = inheritdomaintags
|
107
110
|
end
|
108
111
|
|
109
112
|
def deserialize(params)
|
@@ -118,6 +121,7 @@ module TencentCloud
|
|
118
121
|
end
|
119
122
|
end
|
120
123
|
@Channel = params['Channel']
|
124
|
+
@InheritDomainTags = params['InheritDomainTags']
|
121
125
|
end
|
122
126
|
end
|
123
127
|
|
@@ -1665,28 +1669,6 @@ module TencentCloud
|
|
1665
1669
|
end
|
1666
1670
|
end
|
1667
1671
|
|
1668
|
-
# 违规资源封禁/解封返回类型
|
1669
|
-
class CacheOptResult < TencentCloud::Common::AbstractModel
|
1670
|
-
# @param SuccessUrls: 成功的url列表
|
1671
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1672
|
-
# @type SuccessUrls: Array
|
1673
|
-
# @param FailUrls: 失败的url列表
|
1674
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1675
|
-
# @type FailUrls: Array
|
1676
|
-
|
1677
|
-
attr_accessor :SuccessUrls, :FailUrls
|
1678
|
-
|
1679
|
-
def initialize(successurls=nil, failurls=nil)
|
1680
|
-
@SuccessUrls = successurls
|
1681
|
-
@FailUrls = failurls
|
1682
|
-
end
|
1683
|
-
|
1684
|
-
def deserialize(params)
|
1685
|
-
@SuccessUrls = params['SuccessUrls']
|
1686
|
-
@FailUrls = params['FailUrls']
|
1687
|
-
end
|
1688
|
-
end
|
1689
|
-
|
1690
1672
|
# 组成CacheKey的一部分
|
1691
1673
|
class CacheTagKey < TencentCloud::Common::AbstractModel
|
1692
1674
|
# @param Switch: 使用CacheTag作为CacheKey的一部分配置开关,取值有
|
@@ -2166,14 +2148,17 @@ module TencentCloud
|
|
2166
2148
|
# @type Channel: String
|
2167
2149
|
# @param DomainAreaConfigs: 域名区域信息
|
2168
2150
|
# @type DomainAreaConfigs: Array
|
2151
|
+
# @param InheritDomainTags: 是否继承域名标签,默认为false
|
2152
|
+
# @type InheritDomainTags: Boolean
|
2169
2153
|
|
2170
|
-
attr_accessor :TopicName, :LogsetId, :Channel, :DomainAreaConfigs
|
2154
|
+
attr_accessor :TopicName, :LogsetId, :Channel, :DomainAreaConfigs, :InheritDomainTags
|
2171
2155
|
|
2172
|
-
def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil)
|
2156
|
+
def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil, inheritdomaintags=nil)
|
2173
2157
|
@TopicName = topicname
|
2174
2158
|
@LogsetId = logsetid
|
2175
2159
|
@Channel = channel
|
2176
2160
|
@DomainAreaConfigs = domainareaconfigs
|
2161
|
+
@InheritDomainTags = inheritdomaintags
|
2177
2162
|
end
|
2178
2163
|
|
2179
2164
|
def deserialize(params)
|
@@ -2188,6 +2173,7 @@ module TencentCloud
|
|
2188
2173
|
@DomainAreaConfigs << domainareaconfig_tmp
|
2189
2174
|
end
|
2190
2175
|
end
|
2176
|
+
@InheritDomainTags = params['InheritDomainTags']
|
2191
2177
|
end
|
2192
2178
|
end
|
2193
2179
|
|
@@ -3424,10 +3410,7 @@ module TencentCloud
|
|
3424
3410
|
# last:表示回源层节点
|
3425
3411
|
# 不填充情况下,默认返回边缘节点信息
|
3426
3412
|
# @type Layer: String
|
3427
|
-
# @param Area: 查询区域:
|
3428
|
-
# mainland: 国内节点
|
3429
|
-
# overseas: 海外节点
|
3430
|
-
# global: 全球节点
|
3413
|
+
# @param Area: 查询区域:mainland: 中国境内节点overseas: 海外节点global: 全球节点
|
3431
3414
|
# @type Area: String
|
3432
3415
|
# @param Segment: 是否以IP段的格式返回。
|
3433
3416
|
# @type Segment: Boolean
|
@@ -5074,50 +5057,6 @@ module TencentCloud
|
|
5074
5057
|
end
|
5075
5058
|
end
|
5076
5059
|
|
5077
|
-
# DisableCaches请求参数结构体
|
5078
|
-
class DisableCachesRequest < TencentCloud::Common::AbstractModel
|
5079
|
-
# @param Urls: 禁用的 URL 列表(分协议生效,必须包含http://或https://)
|
5080
|
-
# 每次最多可提交 100 条,每日最多可提交 3000 条
|
5081
|
-
# @type Urls: Array
|
5082
|
-
|
5083
|
-
attr_accessor :Urls
|
5084
|
-
|
5085
|
-
def initialize(urls=nil)
|
5086
|
-
@Urls = urls
|
5087
|
-
end
|
5088
|
-
|
5089
|
-
def deserialize(params)
|
5090
|
-
@Urls = params['Urls']
|
5091
|
-
end
|
5092
|
-
end
|
5093
|
-
|
5094
|
-
# DisableCaches返回参数结构体
|
5095
|
-
class DisableCachesResponse < TencentCloud::Common::AbstractModel
|
5096
|
-
# @param CacheOptResult: 提交结果
|
5097
|
-
# @type CacheOptResult: :class:`Tencentcloud::Cdn.v20180606.models.CacheOptResult`
|
5098
|
-
# @param TaskId: 任务ID
|
5099
|
-
# @type TaskId: String
|
5100
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5101
|
-
# @type RequestId: String
|
5102
|
-
|
5103
|
-
attr_accessor :CacheOptResult, :TaskId, :RequestId
|
5104
|
-
|
5105
|
-
def initialize(cacheoptresult=nil, taskid=nil, requestid=nil)
|
5106
|
-
@CacheOptResult = cacheoptresult
|
5107
|
-
@TaskId = taskid
|
5108
|
-
@RequestId = requestid
|
5109
|
-
end
|
5110
|
-
|
5111
|
-
def deserialize(params)
|
5112
|
-
unless params['CacheOptResult'].nil?
|
5113
|
-
@CacheOptResult = CacheOptResult.new
|
5114
|
-
@CacheOptResult.deserialize(params['CacheOptResult'])
|
5115
|
-
end
|
5116
|
-
@TaskId = params['TaskId']
|
5117
|
-
@RequestId = params['RequestId']
|
5118
|
-
end
|
5119
|
-
end
|
5120
|
-
|
5121
5060
|
# DisableClsLogTopic请求参数结构体
|
5122
5061
|
class DisableClsLogTopicRequest < TencentCloud::Common::AbstractModel
|
5123
5062
|
# @param LogsetId: 日志集ID
|
@@ -5446,53 +5385,6 @@ module TencentCloud
|
|
5446
5385
|
end
|
5447
5386
|
end
|
5448
5387
|
|
5449
|
-
# EnableCaches请求参数结构体
|
5450
|
-
class EnableCachesRequest < TencentCloud::Common::AbstractModel
|
5451
|
-
# @param Urls: 解封 URL 列表
|
5452
|
-
# @type Urls: Array
|
5453
|
-
# @param Date: URL封禁日期
|
5454
|
-
# @type Date: String
|
5455
|
-
|
5456
|
-
attr_accessor :Urls, :Date
|
5457
|
-
|
5458
|
-
def initialize(urls=nil, date=nil)
|
5459
|
-
@Urls = urls
|
5460
|
-
@Date = date
|
5461
|
-
end
|
5462
|
-
|
5463
|
-
def deserialize(params)
|
5464
|
-
@Urls = params['Urls']
|
5465
|
-
@Date = params['Date']
|
5466
|
-
end
|
5467
|
-
end
|
5468
|
-
|
5469
|
-
# EnableCaches返回参数结构体
|
5470
|
-
class EnableCachesResponse < TencentCloud::Common::AbstractModel
|
5471
|
-
# @param CacheOptResult: 结果列表
|
5472
|
-
# @type CacheOptResult: :class:`Tencentcloud::Cdn.v20180606.models.CacheOptResult`
|
5473
|
-
# @param TaskId: 任务ID
|
5474
|
-
# @type TaskId: String
|
5475
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5476
|
-
# @type RequestId: String
|
5477
|
-
|
5478
|
-
attr_accessor :CacheOptResult, :TaskId, :RequestId
|
5479
|
-
|
5480
|
-
def initialize(cacheoptresult=nil, taskid=nil, requestid=nil)
|
5481
|
-
@CacheOptResult = cacheoptresult
|
5482
|
-
@TaskId = taskid
|
5483
|
-
@RequestId = requestid
|
5484
|
-
end
|
5485
|
-
|
5486
|
-
def deserialize(params)
|
5487
|
-
unless params['CacheOptResult'].nil?
|
5488
|
-
@CacheOptResult = CacheOptResult.new
|
5489
|
-
@CacheOptResult.deserialize(params['CacheOptResult'])
|
5490
|
-
end
|
5491
|
-
@TaskId = params['TaskId']
|
5492
|
-
@RequestId = params['RequestId']
|
5493
|
-
end
|
5494
|
-
end
|
5495
|
-
|
5496
5388
|
# EnableClsLogTopic请求参数结构体
|
5497
5389
|
class EnableClsLogTopicRequest < TencentCloud::Common::AbstractModel
|
5498
5390
|
# @param LogsetId: 日志集ID
|
@@ -5686,79 +5578,6 @@ module TencentCloud
|
|
5686
5578
|
end
|
5687
5579
|
end
|
5688
5580
|
|
5689
|
-
# GetDisableRecords请求参数结构体
|
5690
|
-
class GetDisableRecordsRequest < TencentCloud::Common::AbstractModel
|
5691
|
-
# @param Url: 指定 URL 查询
|
5692
|
-
# @type Url: String
|
5693
|
-
# @param StartTime: 开始时间,如:2018-12-12 10:24:00。
|
5694
|
-
# @type StartTime: String
|
5695
|
-
# @param EndTime: 结束时间,如:2018-12-14 10:24:00。
|
5696
|
-
# @type EndTime: String
|
5697
|
-
# @param Status: URL 当前状态
|
5698
|
-
# disable:当前仍为禁用状态,访问返回 403
|
5699
|
-
# enable:当前为可用状态,已解禁,可正常访问
|
5700
|
-
# @type Status: String
|
5701
|
-
# @param Offset: 分页查询偏移量,默认为 0
|
5702
|
-
# @type Offset: Integer
|
5703
|
-
# @param Limit: 分页查询限制数目,默认为20。
|
5704
|
-
# @type Limit: Integer
|
5705
|
-
# @param TaskId: 任务ID,任务ID和起始时间需要至少填写一项。
|
5706
|
-
# @type TaskId: String
|
5707
|
-
|
5708
|
-
attr_accessor :Url, :StartTime, :EndTime, :Status, :Offset, :Limit, :TaskId
|
5709
|
-
|
5710
|
-
def initialize(url=nil, starttime=nil, endtime=nil, status=nil, offset=nil, limit=nil, taskid=nil)
|
5711
|
-
@Url = url
|
5712
|
-
@StartTime = starttime
|
5713
|
-
@EndTime = endtime
|
5714
|
-
@Status = status
|
5715
|
-
@Offset = offset
|
5716
|
-
@Limit = limit
|
5717
|
-
@TaskId = taskid
|
5718
|
-
end
|
5719
|
-
|
5720
|
-
def deserialize(params)
|
5721
|
-
@Url = params['Url']
|
5722
|
-
@StartTime = params['StartTime']
|
5723
|
-
@EndTime = params['EndTime']
|
5724
|
-
@Status = params['Status']
|
5725
|
-
@Offset = params['Offset']
|
5726
|
-
@Limit = params['Limit']
|
5727
|
-
@TaskId = params['TaskId']
|
5728
|
-
end
|
5729
|
-
end
|
5730
|
-
|
5731
|
-
# GetDisableRecords返回参数结构体
|
5732
|
-
class GetDisableRecordsResponse < TencentCloud::Common::AbstractModel
|
5733
|
-
# @param UrlRecordList: 封禁历史记录
|
5734
|
-
# @type UrlRecordList: Array
|
5735
|
-
# @param TotalCount: 任务总数,用于分页
|
5736
|
-
# @type TotalCount: Integer
|
5737
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5738
|
-
# @type RequestId: String
|
5739
|
-
|
5740
|
-
attr_accessor :UrlRecordList, :TotalCount, :RequestId
|
5741
|
-
|
5742
|
-
def initialize(urlrecordlist=nil, totalcount=nil, requestid=nil)
|
5743
|
-
@UrlRecordList = urlrecordlist
|
5744
|
-
@TotalCount = totalcount
|
5745
|
-
@RequestId = requestid
|
5746
|
-
end
|
5747
|
-
|
5748
|
-
def deserialize(params)
|
5749
|
-
unless params['UrlRecordList'].nil?
|
5750
|
-
@UrlRecordList = []
|
5751
|
-
params['UrlRecordList'].each do |i|
|
5752
|
-
urlrecord_tmp = UrlRecord.new
|
5753
|
-
urlrecord_tmp.deserialize(i)
|
5754
|
-
@UrlRecordList << urlrecord_tmp
|
5755
|
-
end
|
5756
|
-
end
|
5757
|
-
@TotalCount = params['TotalCount']
|
5758
|
-
@RequestId = params['RequestId']
|
5759
|
-
end
|
5760
|
-
end
|
5761
|
-
|
5762
5581
|
# 图片优化-GuetzliAdapter配置
|
5763
5582
|
class GuetzliAdapter < TencentCloud::Common::AbstractModel
|
5764
5583
|
# @param Switch: 图片优化-GuetzliAdapter配置开关,取值有:
|
@@ -6247,7 +6066,7 @@ module TencentCloud
|
|
6247
6066
|
# 最多可填充 200 个白名单或 200 个黑名单;
|
6248
6067
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6249
6068
|
# @type Filters: Array
|
6250
|
-
# @param FilterRules: IP
|
6069
|
+
# @param FilterRules: IP 黑白名单分路径配置。黑白名单 IP 总数不能超过 1000 个。
|
6251
6070
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6252
6071
|
# @type FilterRules: Array
|
6253
6072
|
# @param ReturnCode: IP 黑白名单验证失败时返回的 code <br><font color=red>已下线,参数失效,不支持自定义状态码,固定返回514</font>
|
@@ -6589,12 +6408,14 @@ module TencentCloud
|
|
6589
6408
|
# @type TopicName: String
|
6590
6409
|
# @param UpdateTime: 日志主题最近更新时间
|
6591
6410
|
# @type UpdateTime: String
|
6411
|
+
# @param InheritDomainTags: 是否继承域名标签
|
6412
|
+
# @type InheritDomainTags: Boolean
|
6592
6413
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6593
6414
|
# @type RequestId: String
|
6594
6415
|
|
6595
|
-
attr_accessor :AppId, :Channel, :LogsetId, :TopicId, :DomainAreaConfigs, :TopicName, :UpdateTime, :RequestId
|
6416
|
+
attr_accessor :AppId, :Channel, :LogsetId, :TopicId, :DomainAreaConfigs, :TopicName, :UpdateTime, :InheritDomainTags, :RequestId
|
6596
6417
|
|
6597
|
-
def initialize(appid=nil, channel=nil, logsetid=nil, topicid=nil, domainareaconfigs=nil, topicname=nil, updatetime=nil, requestid=nil)
|
6418
|
+
def initialize(appid=nil, channel=nil, logsetid=nil, topicid=nil, domainareaconfigs=nil, topicname=nil, updatetime=nil, inheritdomaintags=nil, requestid=nil)
|
6598
6419
|
@AppId = appid
|
6599
6420
|
@Channel = channel
|
6600
6421
|
@LogsetId = logsetid
|
@@ -6602,6 +6423,7 @@ module TencentCloud
|
|
6602
6423
|
@DomainAreaConfigs = domainareaconfigs
|
6603
6424
|
@TopicName = topicname
|
6604
6425
|
@UpdateTime = updatetime
|
6426
|
+
@InheritDomainTags = inheritdomaintags
|
6605
6427
|
@RequestId = requestid
|
6606
6428
|
end
|
6607
6429
|
|
@@ -6620,6 +6442,7 @@ module TencentCloud
|
|
6620
6442
|
end
|
6621
6443
|
@TopicName = params['TopicName']
|
6622
6444
|
@UpdateTime = params['UpdateTime']
|
6445
|
+
@InheritDomainTags = params['InheritDomainTags']
|
6623
6446
|
@RequestId = params['RequestId']
|
6624
6447
|
end
|
6625
6448
|
end
|
@@ -7181,14 +7004,17 @@ module TencentCloud
|
|
7181
7004
|
# @type Channel: String
|
7182
7005
|
# @param DomainAreaConfigs: 域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名
|
7183
7006
|
# @type DomainAreaConfigs: Array
|
7007
|
+
# @param InheritDomainTags: 是否继承域名标签
|
7008
|
+
# @type InheritDomainTags: Boolean
|
7184
7009
|
|
7185
|
-
attr_accessor :LogsetId, :TopicId, :Channel, :DomainAreaConfigs
|
7010
|
+
attr_accessor :LogsetId, :TopicId, :Channel, :DomainAreaConfigs, :InheritDomainTags
|
7186
7011
|
|
7187
|
-
def initialize(logsetid=nil, topicid=nil, channel=nil, domainareaconfigs=nil)
|
7012
|
+
def initialize(logsetid=nil, topicid=nil, channel=nil, domainareaconfigs=nil, inheritdomaintags=nil)
|
7188
7013
|
@LogsetId = logsetid
|
7189
7014
|
@TopicId = topicid
|
7190
7015
|
@Channel = channel
|
7191
7016
|
@DomainAreaConfigs = domainareaconfigs
|
7017
|
+
@InheritDomainTags = inheritdomaintags
|
7192
7018
|
end
|
7193
7019
|
|
7194
7020
|
def deserialize(params)
|
@@ -7203,6 +7029,7 @@ module TencentCloud
|
|
7203
7029
|
@DomainAreaConfigs << domainareaconfig_tmp
|
7204
7030
|
end
|
7205
7031
|
end
|
7032
|
+
@InheritDomainTags = params['InheritDomainTags']
|
7206
7033
|
end
|
7207
7034
|
end
|
7208
7035
|
|
@@ -7516,7 +7343,6 @@ module TencentCloud
|
|
7516
7343
|
# 以下备源源站类型尚未全量支持,需要申请试用:
|
7517
7344
|
# ipv6_domain: 源站列表为多个 IPv6 地址以及域名
|
7518
7345
|
# ip_ipv6:源站列表为多个 IPv4 地址和IPv6 地址
|
7519
|
-
# ipv6_domain: 源站列表为多个 IPv6 地址以及域名
|
7520
7346
|
# ip_ipv6_domain:源站列表为多个 IPv4 地址IPv6 地址以及域名
|
7521
7347
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7522
7348
|
# @type BackupOriginType: String
|
@@ -10619,38 +10445,6 @@ module TencentCloud
|
|
10619
10445
|
end
|
10620
10446
|
end
|
10621
10447
|
|
10622
|
-
# 封禁url的详细信息
|
10623
|
-
class UrlRecord < TencentCloud::Common::AbstractModel
|
10624
|
-
# @param Status: 状态(disable表示封禁,enable表示解封)
|
10625
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10626
|
-
# @type Status: String
|
10627
|
-
# @param RealUrl: 对应的url
|
10628
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10629
|
-
# @type RealUrl: String
|
10630
|
-
# @param CreateTime: 创建时间
|
10631
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10632
|
-
# @type CreateTime: String
|
10633
|
-
# @param UpdateTime: 更新时间
|
10634
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10635
|
-
# @type UpdateTime: String
|
10636
|
-
|
10637
|
-
attr_accessor :Status, :RealUrl, :CreateTime, :UpdateTime
|
10638
|
-
|
10639
|
-
def initialize(status=nil, realurl=nil, createtime=nil, updatetime=nil)
|
10640
|
-
@Status = status
|
10641
|
-
@RealUrl = realurl
|
10642
|
-
@CreateTime = createtime
|
10643
|
-
@UpdateTime = updatetime
|
10644
|
-
end
|
10645
|
-
|
10646
|
-
def deserialize(params)
|
10647
|
-
@Status = params['Status']
|
10648
|
-
@RealUrl = params['RealUrl']
|
10649
|
-
@CreateTime = params['CreateTime']
|
10650
|
-
@UpdateTime = params['UpdateTime']
|
10651
|
-
end
|
10652
|
-
end
|
10653
|
-
|
10654
10448
|
# 访问URL重写配置
|
10655
10449
|
class UrlRedirect < TencentCloud::Common::AbstractModel
|
10656
10450
|
# @param Switch: 访问URL重写配置开关,取值有:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1146
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-cdn.rb
|
37
|
-
- lib/v20180606/models.rb
|
38
37
|
- lib/v20180606/client.rb
|
38
|
+
- lib/v20180606/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|