tencentcloud-sdk-cdn 1.0.288 → 1.0.291

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4ca131a870795287ba57b723d9b32d240f48930
4
- data.tar.gz: 7b50dda5aced3db94ceffd376798020c846abdc6
3
+ metadata.gz: 552be2b30af9f0108bf31ed8790916e831c1e0dd
4
+ data.tar.gz: 272455c8a283d9017e8fb480faf37bd3cc017d32
5
5
  SHA512:
6
- metadata.gz: 3be747c53e91fbdceb67d2fdfd017b048b5236895cef59b832cd301c985bdd50dba4eec1514e46848e7352d2ea259ca25a4f8308d2d740bb8258733a206c632a
7
- data.tar.gz: 191f9aa9bcf124e31ea86a347474b16e3540aaf880e5fe9223e28bd1ccb0c49493e0c39736c43a97c96dbd434305c9a979400d58486b4415d144768c58fdfc80
6
+ metadata.gz: 7631304330d54d599c42be897ba19834b3c5eb948dd84de3d3ef55e43142f5656dd7b9932df4ee891ae3fad81d7c44ab2d2e66292fd037419fc0d92f3b29fc1c
7
+ data.tar.gz: e25dfb76b4b57ba3015147d32f27e49770ad68f29fb7c18887f4df9c0463f6c981c5bc649c91bcf2e3a0d6d40cb4ea718c27ec1b63256935267a37138f086059
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.288
1
+ 1.0.291
@@ -1053,7 +1053,7 @@ module TencentCloud
1053
1053
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1054
1054
  end
1055
1055
 
1056
- # DescribeTrafficPackages 用于查询中国境内 CDN 流量包详情。
1056
+ # DescribeTrafficPackages 用于查询 CDN 流量包详情。
1057
1057
 
1058
1058
  # @param request: Request instance for DescribeTrafficPackages.
1059
1059
  # @type request: :class:`Tencentcloud::cdn::V20180606::DescribeTrafficPackagesRequest`
@@ -1615,7 +1615,7 @@ module TencentCloud
1615
1615
  end
1616
1616
 
1617
1617
  # PurgePathCache 用于批量提交目录刷新,根据域名的加速区域进行对应区域的刷新。
1618
- # 默认情况下境内、境外加速区域每日目录刷新额度为各 100 条,每次最多可提交 20 条。
1618
+ # 默认情况下境内、境外加速区域每日目录刷新额度为各 100 条,每次最多可提交 500 条。
1619
1619
 
1620
1620
  # @param request: Request instance for PurgePathCache.
1621
1621
  # @type request: :class:`Tencentcloud::cdn::V20180606::PurgePathCacheRequest`
@@ -1665,7 +1665,7 @@ module TencentCloud
1665
1665
  end
1666
1666
 
1667
1667
  # PushUrlsCache 用于将指定 URL 资源列表加载至 CDN 节点,支持指定加速区域预热。
1668
- # 默认情况下境内、境外每日预热 URL 限额为各 1000 条,每次最多可提交 20 条。注意:中国境外区域预热,资源默认加载至中国境外边缘节点,所产生的边缘层流量会计入计费流量。
1668
+ # 默认情况下境内、境外每日预热 URL 限额为各 1000 条,每次最多可提交 500 条。注意:中国境外区域预热,资源默认加载至中国境外边缘节点,所产生的边缘层流量会计入计费流量。
1669
1669
 
1670
1670
  # @param request: Request instance for PushUrlsCache.
1671
1671
  # @type request: :class:`Tencentcloud::cdn::V20180606::PushUrlsCacheRequest`
@@ -3931,12 +3931,15 @@ module TencentCloud
3931
3931
  # @type MidNodeInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
3932
3932
  # @param OriginInfo: 源站检测信息
3933
3933
  # @type OriginInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
3934
+ # @param PurgeInfo: 刷新检测信息
3935
+ # 注意:此字段可能返回 null,表示取不到有效值。
3936
+ # @type PurgeInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
3934
3937
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3935
3938
  # @type RequestId: String
3936
3939
 
3937
- attr_accessor :BaskInfo, :CnameInfo, :ClientInfo, :DnsInfo, :NetworkInfo, :OcNodeInfo, :MidNodeInfo, :OriginInfo, :RequestId
3940
+ attr_accessor :BaskInfo, :CnameInfo, :ClientInfo, :DnsInfo, :NetworkInfo, :OcNodeInfo, :MidNodeInfo, :OriginInfo, :PurgeInfo, :RequestId
3938
3941
 
3939
- def initialize(baskinfo=nil, cnameinfo=nil, clientinfo=nil, dnsinfo=nil, networkinfo=nil, ocnodeinfo=nil, midnodeinfo=nil, origininfo=nil, requestid=nil)
3942
+ def initialize(baskinfo=nil, cnameinfo=nil, clientinfo=nil, dnsinfo=nil, networkinfo=nil, ocnodeinfo=nil, midnodeinfo=nil, origininfo=nil, purgeinfo=nil, requestid=nil)
3940
3943
  @BaskInfo = baskinfo
3941
3944
  @CnameInfo = cnameinfo
3942
3945
  @ClientInfo = clientinfo
@@ -3945,6 +3948,7 @@ module TencentCloud
3945
3948
  @OcNodeInfo = ocnodeinfo
3946
3949
  @MidNodeInfo = midnodeinfo
3947
3950
  @OriginInfo = origininfo
3951
+ @PurgeInfo = purgeinfo
3948
3952
  @RequestId = requestid
3949
3953
  end
3950
3954
 
@@ -3981,6 +3985,10 @@ module TencentCloud
3981
3985
  @OriginInfo = DiagnoseData.new
3982
3986
  @OriginInfo.deserialize(params['OriginInfo'])
3983
3987
  end
3988
+ unless params['PurgeInfo'].nil?
3989
+ @PurgeInfo = DiagnoseData.new
3990
+ @PurgeInfo.deserialize(params['PurgeInfo'])
3991
+ end
3984
3992
  @RequestId = params['RequestId']
3985
3993
  end
3986
3994
  end
@@ -5654,17 +5662,27 @@ module TencentCloud
5654
5662
  # @type Offset: Integer
5655
5663
  # @param Limit: 分页查询记录个数,默认100,最大1000
5656
5664
  # @type Limit: Integer
5657
-
5658
- attr_accessor :Offset, :Limit
5659
-
5660
- def initialize(offset=nil, limit=nil)
5665
+ # @param SortBy: 流量包排序方式,支持以下值:
5666
+ # expireTimeDesc:默认值,按过期时间倒序
5667
+ # expireTimeAsc:按过期时间正序
5668
+ # createTimeDesc:按创建时间倒序
5669
+ # createTimeAsc:按创建时间正序
5670
+ # status:按状态排序,正常抵扣>未生效>已用尽>已过期
5671
+ # channel:按来源排序,主动购买>自动续订>CDN赠送
5672
+ # @type SortBy: String
5673
+
5674
+ attr_accessor :Offset, :Limit, :SortBy
5675
+
5676
+ def initialize(offset=nil, limit=nil, sortby=nil)
5661
5677
  @Offset = offset
5662
5678
  @Limit = limit
5679
+ @SortBy = sortby
5663
5680
  end
5664
5681
 
5665
5682
  def deserialize(params)
5666
5683
  @Offset = params['Offset']
5667
5684
  @Limit = params['Limit']
5685
+ @SortBy = params['SortBy']
5668
5686
  end
5669
5687
  end
5670
5688
 
@@ -5678,16 +5696,19 @@ module TencentCloud
5678
5696
  # @type ExpiringCount: Integer
5679
5697
  # @param EnabledCount: 有效流量包个数
5680
5698
  # @type EnabledCount: Integer
5699
+ # @param PaidCount: 付费流量包个数
5700
+ # @type PaidCount: Integer
5681
5701
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5682
5702
  # @type RequestId: String
5683
5703
 
5684
- attr_accessor :TotalCount, :TrafficPackages, :ExpiringCount, :EnabledCount, :RequestId
5704
+ attr_accessor :TotalCount, :TrafficPackages, :ExpiringCount, :EnabledCount, :PaidCount, :RequestId
5685
5705
 
5686
- def initialize(totalcount=nil, trafficpackages=nil, expiringcount=nil, enabledcount=nil, requestid=nil)
5706
+ def initialize(totalcount=nil, trafficpackages=nil, expiringcount=nil, enabledcount=nil, paidcount=nil, requestid=nil)
5687
5707
  @TotalCount = totalcount
5688
5708
  @TrafficPackages = trafficpackages
5689
5709
  @ExpiringCount = expiringcount
5690
5710
  @EnabledCount = enabledcount
5711
+ @PaidCount = paidcount
5691
5712
  @RequestId = requestid
5692
5713
  end
5693
5714
 
@@ -5703,6 +5724,7 @@ module TencentCloud
5703
5724
  end
5704
5725
  @ExpiringCount = params['ExpiringCount']
5705
5726
  @EnabledCount = params['EnabledCount']
5727
+ @PaidCount = params['PaidCount']
5706
5728
  @RequestId = params['RequestId']
5707
5729
  end
5708
5730
  end
@@ -12350,14 +12372,14 @@ module TencentCloud
12350
12372
  # @type Referer: :class:`Tencentcloud::Cdn.v20180606.models.Referer`
12351
12373
  # @param MaxAge: 浏览器缓存配置(功能灰度中,尚未全量)
12352
12374
  # @type MaxAge: :class:`Tencentcloud::Cdn.v20180606.models.MaxAge`
12375
+ # @param SpecificConfig: 地域属性特殊配置
12376
+ # 适用于域名境内加速、境外加速配置不一致场景
12377
+ # @type SpecificConfig: :class:`Tencentcloud::Cdn.v20180606.models.SpecificConfig`
12353
12378
  # @param ServiceType: 域名业务类型
12354
12379
  # web:静态加速
12355
12380
  # download:下载加速
12356
12381
  # media:流媒体点播加速
12357
12382
  # @type ServiceType: String
12358
- # @param SpecificConfig: 地域属性特殊配置
12359
- # 适用于域名境内加速、境外加速配置不一致场景
12360
- # @type SpecificConfig: :class:`Tencentcloud::Cdn.v20180606.models.SpecificConfig`
12361
12383
  # @param Area: 域名加速区域
12362
12384
  # mainland:中国境内加速
12363
12385
  # overseas:中国境外加速
@@ -12397,9 +12419,9 @@ module TencentCloud
12397
12419
  # @param ShareCname: 共享CNAME配置,白名单功能
12398
12420
  # @type ShareCname: :class:`Tencentcloud::Cdn.v20180606.models.ShareCname`
12399
12421
 
12400
- attr_accessor :Domain, :ProjectId, :Origin, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :ForceRedirect, :Referer, :MaxAge, :ServiceType, :SpecificConfig, :Area, :OriginPullTimeout, :AwsPrivateAccess, :UserAgentFilter, :AccessControl, :UrlRedirect, :AccessPort, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :OfflineCache, :OriginCombine, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname
12422
+ attr_accessor :Domain, :ProjectId, :Origin, :IpFilter, :IpFreqLimit, :StatusCodeCache, :Compression, :BandwidthAlert, :RangeOriginPull, :FollowRedirect, :ErrorPage, :RequestHeader, :ResponseHeader, :DownstreamCapping, :CacheKey, :ResponseHeaderCache, :VideoSeek, :Cache, :OriginPullOptimization, :Https, :Authentication, :Seo, :ForceRedirect, :Referer, :MaxAge, :SpecificConfig, :ServiceType, :Area, :OriginPullTimeout, :AwsPrivateAccess, :UserAgentFilter, :AccessControl, :UrlRedirect, :AccessPort, :AdvancedAuthentication, :OriginAuthentication, :Ipv6Access, :OfflineCache, :OriginCombine, :Quic, :OssPrivateAccess, :WebSocket, :RemoteAuthentication, :ShareCname
12401
12423
 
12402
- def initialize(domain=nil, projectid=nil, origin=nil, ipfilter=nil, ipfreqlimit=nil, statuscodecache=nil, compression=nil, bandwidthalert=nil, rangeoriginpull=nil, followredirect=nil, errorpage=nil, requestheader=nil, responseheader=nil, downstreamcapping=nil, cachekey=nil, responseheadercache=nil, videoseek=nil, cache=nil, originpulloptimization=nil, https=nil, authentication=nil, seo=nil, forceredirect=nil, referer=nil, maxage=nil, servicetype=nil, specificconfig=nil, area=nil, originpulltimeout=nil, awsprivateaccess=nil, useragentfilter=nil, accesscontrol=nil, urlredirect=nil, accessport=nil, advancedauthentication=nil, originauthentication=nil, ipv6access=nil, offlinecache=nil, origincombine=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil, sharecname=nil)
12424
+ def initialize(domain=nil, projectid=nil, origin=nil, ipfilter=nil, ipfreqlimit=nil, statuscodecache=nil, compression=nil, bandwidthalert=nil, rangeoriginpull=nil, followredirect=nil, errorpage=nil, requestheader=nil, responseheader=nil, downstreamcapping=nil, cachekey=nil, responseheadercache=nil, videoseek=nil, cache=nil, originpulloptimization=nil, https=nil, authentication=nil, seo=nil, forceredirect=nil, referer=nil, maxage=nil, specificconfig=nil, servicetype=nil, area=nil, originpulltimeout=nil, awsprivateaccess=nil, useragentfilter=nil, accesscontrol=nil, urlredirect=nil, accessport=nil, advancedauthentication=nil, originauthentication=nil, ipv6access=nil, offlinecache=nil, origincombine=nil, quic=nil, ossprivateaccess=nil, websocket=nil, remoteauthentication=nil, sharecname=nil)
12403
12425
  @Domain = domain
12404
12426
  @ProjectId = projectid
12405
12427
  @Origin = origin
@@ -12425,8 +12447,8 @@ module TencentCloud
12425
12447
  @ForceRedirect = forceredirect
12426
12448
  @Referer = referer
12427
12449
  @MaxAge = maxage
12428
- @ServiceType = servicetype
12429
12450
  @SpecificConfig = specificconfig
12451
+ @ServiceType = servicetype
12430
12452
  @Area = area
12431
12453
  @OriginPullTimeout = originpulltimeout
12432
12454
  @AwsPrivateAccess = awsprivateaccess
@@ -12541,11 +12563,11 @@ module TencentCloud
12541
12563
  @MaxAge = MaxAge.new
12542
12564
  @MaxAge.deserialize(params['MaxAge'])
12543
12565
  end
12544
- @ServiceType = params['ServiceType']
12545
12566
  unless params['SpecificConfig'].nil?
12546
12567
  @SpecificConfig = SpecificConfig.new
12547
12568
  @SpecificConfig.deserialize(params['SpecificConfig'])
12548
12569
  end
12570
+ @ServiceType = params['ServiceType']
12549
12571
  @Area = params['Area']
12550
12572
  unless params['OriginPullTimeout'].nil?
12551
12573
  @OriginPullTimeout = OriginPullTimeout.new
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: 1.0.288
4
+ version: 1.0.291
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-03-29 00:00:00.000000000 Z
11
+ date: 2022-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common