tencentcloud-sdk-cdn 1.0.289 → 1.0.292

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: 5716e53a0843b52eb8cc0ad2d564d55b1c679f0b
4
- data.tar.gz: 9a4b7f0801a30a22be33221c4e0976994afc0ec3
3
+ metadata.gz: f86d5e8f85e61a4d8eca0dddf04c61bcb3692f0a
4
+ data.tar.gz: 12dfd56a5780cf459730cce833b434e11da2ef01
5
5
  SHA512:
6
- metadata.gz: 1c2145314a66a27d6aad763eeb5980ce100f81731fb162cfa5fbfdf91de759d7cb07672bf057db3a1ae66ce902b066aa7c8029deb2d19a8ede5e01245ec1c628
7
- data.tar.gz: 5befe67b9a0acfd6badc3af94a2d137e648102465cb9d0cd14d7b213d69e8b197e02748f22529f252d57e2e7fee8496953fce2aaee1956e8317c79b9a9d281c4
6
+ metadata.gz: 475114f66480e1594fffe920e35ebf62cc930ba799d62a124ae6971228e4bb14925b5c4f7b6e789b0628485410e9ffe7fc3d9a849426ac36628acf6d88bf9e59
7
+ data.tar.gz: 372cd065649cff587fefef74b7f1688d0a0f30e5ce8fec76ba726c8c965ec1ac72f751e7400c36cc1adec7baa0ad5c00a80085fb0ac25a066bf2bcb251937024
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.289
1
+ 1.0.292
@@ -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
@@ -5571,10 +5579,14 @@ module TencentCloud
5571
5579
  # DescribeTopData请求参数结构体
5572
5580
  class DescribeTopDataRequest < TencentCloud::Common::AbstractModel
5573
5581
  # @param StartTime: 查询起始日期:yyyy-MM-dd HH:mm:ss
5574
- # 当前仅支持按天粒度的数据查询,参数需为某天的起点时刻
5582
+ # 仅支持按天粒度的数据查询,取入参中的天信息作为起始日期
5583
+ # 返回大于等于起始日期当天 00:00:00 点产生的数据,如 StartTime为2018-09-04 10:40:00,返回数据的起始时间为2018-09-04 00:00:00
5584
+ # 仅支持 90 天内数据查询
5575
5585
  # @type StartTime: String
5576
- # @param EndTime: 查询起始日期:yyyy-MM-dd HH:mm:ss
5577
- # 当前仅支持按天粒度的数据查询,参数需为某天的结束时刻
5586
+ # @param EndTime: 查询结束日期:yyyy-MM-dd HH:mm:ss
5587
+ # 仅支持按天粒度的数据查询,取入参中的天信息作为结束日期
5588
+ # 返回小于等于结束日期当天 23:59:59 产生的数据,如EndTime为2018-09-05 22:40:00,返回数据的结束时间为2018-09-05 23:59:59
5589
+ # EndTime 需要大于等于 StartTime
5578
5590
  # @type EndTime: String
5579
5591
  # @param Metric: 排序对象,支持以下几种形式:
5580
5592
  # ip、ua_device、ua_browser、ua_os、referer
@@ -5589,9 +5601,11 @@ module TencentCloud
5589
5601
  # @type Project: Integer
5590
5602
  # @param Detail: 是否详细显示每个域名的的具体数值
5591
5603
  # @type Detail: Boolean
5592
- # @param Area: 地域,目前可不填,默认是大陆
5604
+ # @param Area: 指定服务地域查询,不填充表示查询中国境内 CDN 数据
5605
+ # mainland:指定查询中国境内 CDN 数据
5606
+ # overseas:指定查询中国境外 CDN 数据
5593
5607
  # @type Area: String
5594
- # @param Product: 产品名,目前仅可使用cdn
5608
+ # @param Product: 指定查询的产品数据,目前仅可使用cdn
5595
5609
  # @type Product: String
5596
5610
 
5597
5611
  attr_accessor :StartTime, :EndTime, :Metric, :Filter, :Domains, :Project, :Detail, :Area, :Product
@@ -5654,17 +5668,27 @@ module TencentCloud
5654
5668
  # @type Offset: Integer
5655
5669
  # @param Limit: 分页查询记录个数,默认100,最大1000
5656
5670
  # @type Limit: Integer
5657
-
5658
- attr_accessor :Offset, :Limit
5659
-
5660
- def initialize(offset=nil, limit=nil)
5671
+ # @param SortBy: 流量包排序方式,支持以下值:
5672
+ # expireTimeDesc:默认值,按过期时间倒序
5673
+ # expireTimeAsc:按过期时间正序
5674
+ # createTimeDesc:按创建时间倒序
5675
+ # createTimeAsc:按创建时间正序
5676
+ # status:按状态排序,正常抵扣>未生效>已用尽>已过期
5677
+ # channel:按来源排序,主动购买>自动续订>CDN赠送
5678
+ # @type SortBy: String
5679
+
5680
+ attr_accessor :Offset, :Limit, :SortBy
5681
+
5682
+ def initialize(offset=nil, limit=nil, sortby=nil)
5661
5683
  @Offset = offset
5662
5684
  @Limit = limit
5685
+ @SortBy = sortby
5663
5686
  end
5664
5687
 
5665
5688
  def deserialize(params)
5666
5689
  @Offset = params['Offset']
5667
5690
  @Limit = params['Limit']
5691
+ @SortBy = params['SortBy']
5668
5692
  end
5669
5693
  end
5670
5694
 
@@ -5678,16 +5702,19 @@ module TencentCloud
5678
5702
  # @type ExpiringCount: Integer
5679
5703
  # @param EnabledCount: 有效流量包个数
5680
5704
  # @type EnabledCount: Integer
5705
+ # @param PaidCount: 付费流量包个数
5706
+ # @type PaidCount: Integer
5681
5707
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5682
5708
  # @type RequestId: String
5683
5709
 
5684
- attr_accessor :TotalCount, :TrafficPackages, :ExpiringCount, :EnabledCount, :RequestId
5710
+ attr_accessor :TotalCount, :TrafficPackages, :ExpiringCount, :EnabledCount, :PaidCount, :RequestId
5685
5711
 
5686
- def initialize(totalcount=nil, trafficpackages=nil, expiringcount=nil, enabledcount=nil, requestid=nil)
5712
+ def initialize(totalcount=nil, trafficpackages=nil, expiringcount=nil, enabledcount=nil, paidcount=nil, requestid=nil)
5687
5713
  @TotalCount = totalcount
5688
5714
  @TrafficPackages = trafficpackages
5689
5715
  @ExpiringCount = expiringcount
5690
5716
  @EnabledCount = enabledcount
5717
+ @PaidCount = paidcount
5691
5718
  @RequestId = requestid
5692
5719
  end
5693
5720
 
@@ -5703,6 +5730,7 @@ module TencentCloud
5703
5730
  end
5704
5731
  @ExpiringCount = params['ExpiringCount']
5705
5732
  @EnabledCount = params['EnabledCount']
5733
+ @PaidCount = params['PaidCount']
5706
5734
  @RequestId = params['RequestId']
5707
5735
  end
5708
5736
  end
@@ -12350,14 +12378,14 @@ module TencentCloud
12350
12378
  # @type Referer: :class:`Tencentcloud::Cdn.v20180606.models.Referer`
12351
12379
  # @param MaxAge: 浏览器缓存配置(功能灰度中,尚未全量)
12352
12380
  # @type MaxAge: :class:`Tencentcloud::Cdn.v20180606.models.MaxAge`
12381
+ # @param SpecificConfig: 地域属性特殊配置
12382
+ # 适用于域名境内加速、境外加速配置不一致场景
12383
+ # @type SpecificConfig: :class:`Tencentcloud::Cdn.v20180606.models.SpecificConfig`
12353
12384
  # @param ServiceType: 域名业务类型
12354
12385
  # web:静态加速
12355
12386
  # download:下载加速
12356
12387
  # media:流媒体点播加速
12357
12388
  # @type ServiceType: String
12358
- # @param SpecificConfig: 地域属性特殊配置
12359
- # 适用于域名境内加速、境外加速配置不一致场景
12360
- # @type SpecificConfig: :class:`Tencentcloud::Cdn.v20180606.models.SpecificConfig`
12361
12389
  # @param Area: 域名加速区域
12362
12390
  # mainland:中国境内加速
12363
12391
  # overseas:中国境外加速
@@ -12397,9 +12425,9 @@ module TencentCloud
12397
12425
  # @param ShareCname: 共享CNAME配置,白名单功能
12398
12426
  # @type ShareCname: :class:`Tencentcloud::Cdn.v20180606.models.ShareCname`
12399
12427
 
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
12428
+ 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
12429
 
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)
12430
+ 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
12431
  @Domain = domain
12404
12432
  @ProjectId = projectid
12405
12433
  @Origin = origin
@@ -12425,8 +12453,8 @@ module TencentCloud
12425
12453
  @ForceRedirect = forceredirect
12426
12454
  @Referer = referer
12427
12455
  @MaxAge = maxage
12428
- @ServiceType = servicetype
12429
12456
  @SpecificConfig = specificconfig
12457
+ @ServiceType = servicetype
12430
12458
  @Area = area
12431
12459
  @OriginPullTimeout = originpulltimeout
12432
12460
  @AwsPrivateAccess = awsprivateaccess
@@ -12541,11 +12569,11 @@ module TencentCloud
12541
12569
  @MaxAge = MaxAge.new
12542
12570
  @MaxAge.deserialize(params['MaxAge'])
12543
12571
  end
12544
- @ServiceType = params['ServiceType']
12545
12572
  unless params['SpecificConfig'].nil?
12546
12573
  @SpecificConfig = SpecificConfig.new
12547
12574
  @SpecificConfig.deserialize(params['SpecificConfig'])
12548
12575
  end
12576
+ @ServiceType = params['ServiceType']
12549
12577
  @Area = params['Area']
12550
12578
  unless params['OriginPullTimeout'].nil?
12551
12579
  @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.289
4
+ version: 1.0.292
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-30 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