tencentcloud-sdk-cdn 1.0.302 → 1.0.303

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180606/models.rb +86 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 573e7a73134f14ec62b7b18c5b0a0ac17005e7e8
4
- data.tar.gz: 6557523e81dab3385787d636c1755474cb7a49fb
3
+ metadata.gz: 15cf92d86bd1c4d93ff7f5c82e7eb656e972c0bc
4
+ data.tar.gz: 41db31cb6c0d29d2e4c6280e4816b7900b7d4280
5
5
  SHA512:
6
- metadata.gz: 53f4b6b7e60c2e33e68fe9f86563e07e5d690d183214403dd6441ee3ec143d9f9883f15087d412ad825b9078f491336c5494bf4db0c9a4135827240f38eb506d
7
- data.tar.gz: 9e25509c0d829ec4d34981fc6b532ea7189c2bbba9f893aecc93c48f65875a974028444f6db86c1f792346cca81082fab846a18011bd4526569bd7400d132843
6
+ metadata.gz: 68a217ee0a6c4de461e96a32702e7774de2fc7627a62cbfa52dac4c0b460731090f6d4b665c8644ef3832b9b523519b7971bb4d6009bec638e4620c37aff53b0
7
+ data.tar.gz: ada3d5ccb3a9409e99f8bee1e38db08fc38b65c4499327547072f26eb4f34620412256c3de3824d5f1203999bb7ed6d9e1fa4df9eaa112b3b78fec9ab6a0c23c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.302
1
+ 1.0.303
@@ -1525,10 +1525,13 @@ module TencentCloud
1525
1525
  # 流量:flux
1526
1526
  # 注意:此字段可能返回 null,表示取不到有效值。
1527
1527
  # @type Metric: String
1528
+ # @param StatisticItems: 累计用量配置
1529
+ # 注意:此字段可能返回 null,表示取不到有效值。
1530
+ # @type StatisticItems: Array
1528
1531
 
1529
- attr_accessor :Switch, :BpsThreshold, :CounterMeasure, :LastTriggerTime, :AlertSwitch, :AlertPercentage, :LastTriggerTimeOverseas, :Metric
1532
+ attr_accessor :Switch, :BpsThreshold, :CounterMeasure, :LastTriggerTime, :AlertSwitch, :AlertPercentage, :LastTriggerTimeOverseas, :Metric, :StatisticItems
1530
1533
 
1531
- def initialize(switch=nil, bpsthreshold=nil, countermeasure=nil, lasttriggertime=nil, alertswitch=nil, alertpercentage=nil, lasttriggertimeoverseas=nil, metric=nil)
1534
+ def initialize(switch=nil, bpsthreshold=nil, countermeasure=nil, lasttriggertime=nil, alertswitch=nil, alertpercentage=nil, lasttriggertimeoverseas=nil, metric=nil, statisticitems=nil)
1532
1535
  @Switch = switch
1533
1536
  @BpsThreshold = bpsthreshold
1534
1537
  @CounterMeasure = countermeasure
@@ -1537,6 +1540,7 @@ module TencentCloud
1537
1540
  @AlertPercentage = alertpercentage
1538
1541
  @LastTriggerTimeOverseas = lasttriggertimeoverseas
1539
1542
  @Metric = metric
1543
+ @StatisticItems = statisticitems
1540
1544
  end
1541
1545
 
1542
1546
  def deserialize(params)
@@ -1548,6 +1552,14 @@ module TencentCloud
1548
1552
  @AlertPercentage = params['AlertPercentage']
1549
1553
  @LastTriggerTimeOverseas = params['LastTriggerTimeOverseas']
1550
1554
  @Metric = params['Metric']
1555
+ unless params['StatisticItems'].nil?
1556
+ @StatisticItems = []
1557
+ params['StatisticItems'].each do |i|
1558
+ statisticitem_tmp = StatisticItem.new
1559
+ statisticitem_tmp.deserialize(i)
1560
+ @StatisticItems << statisticitem_tmp
1561
+ end
1562
+ end
1551
1563
  end
1552
1564
  end
1553
1565
 
@@ -3066,15 +3078,19 @@ module TencentCloud
3066
3078
  # @type Record: String
3067
3079
  # @param RecordType: 解析类型
3068
3080
  # @type RecordType: String
3081
+ # @param FileVerifyUrl: 文件验证 URL 指引
3082
+ # 注意:此字段可能返回 null,表示取不到有效值。
3083
+ # @type FileVerifyUrl: String
3069
3084
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3070
3085
  # @type RequestId: String
3071
3086
 
3072
- attr_accessor :SubDomain, :Record, :RecordType, :RequestId
3087
+ attr_accessor :SubDomain, :Record, :RecordType, :FileVerifyUrl, :RequestId
3073
3088
 
3074
- def initialize(subdomain=nil, record=nil, recordtype=nil, requestid=nil)
3089
+ def initialize(subdomain=nil, record=nil, recordtype=nil, fileverifyurl=nil, requestid=nil)
3075
3090
  @SubDomain = subdomain
3076
3091
  @Record = record
3077
3092
  @RecordType = recordtype
3093
+ @FileVerifyUrl = fileverifyurl
3078
3094
  @RequestId = requestid
3079
3095
  end
3080
3096
 
@@ -3082,6 +3098,7 @@ module TencentCloud
3082
3098
  @SubDomain = params['SubDomain']
3083
3099
  @Record = params['Record']
3084
3100
  @RecordType = params['RecordType']
3101
+ @FileVerifyUrl = params['FileVerifyUrl']
3085
3102
  @RequestId = params['RequestId']
3086
3103
  end
3087
3104
  end
@@ -12095,6 +12112,63 @@ module TencentCloud
12095
12112
  end
12096
12113
  end
12097
12114
 
12115
+ # 累计用量封顶的配置
12116
+ class StatisticItem < TencentCloud::Common::AbstractModel
12117
+ # @param Type: 封顶类型,累计用量total,瞬时用量moment
12118
+ # 注意:此字段可能返回 null,表示取不到有效值。
12119
+ # @type Type: String
12120
+ # @param UnBlockTime: 自动解封时间
12121
+ # 注意:此字段可能返回 null,表示取不到有效值。
12122
+ # @type UnBlockTime: Integer
12123
+ # @param BpsThreshold: 带宽、流量阈值
12124
+ # 注意:此字段可能返回 null,表示取不到有效值。
12125
+ # @type BpsThreshold: Integer
12126
+ # @param CounterMeasure: 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN
12127
+ # 注意:此字段可能返回 null,表示取不到有效值。
12128
+ # @type CounterMeasure: String
12129
+ # @param AlertPercentage: 触发提醒阈值百分比
12130
+ # 注意:此字段可能返回 null,表示取不到有效值。
12131
+ # @type AlertPercentage: Integer
12132
+ # @param AlertSwitch: 提醒开关 on/off
12133
+ # 注意:此字段可能返回 null,表示取不到有效值。
12134
+ # @type AlertSwitch: String
12135
+ # @param Metric: 指标类型,流量flux或带宽bandwidth
12136
+ # 注意:此字段可能返回 null,表示取不到有效值。
12137
+ # @type Metric: String
12138
+ # @param Cycle: 检测周期,单位分钟,60或1440
12139
+ # 注意:此字段可能返回 null,表示取不到有效值。
12140
+ # @type Cycle: Integer
12141
+ # @param Switch: 是否开启该选项,on/off
12142
+ # 注意:此字段可能返回 null,表示取不到有效值。
12143
+ # @type Switch: String
12144
+
12145
+ attr_accessor :Type, :UnBlockTime, :BpsThreshold, :CounterMeasure, :AlertPercentage, :AlertSwitch, :Metric, :Cycle, :Switch
12146
+
12147
+ def initialize(type=nil, unblocktime=nil, bpsthreshold=nil, countermeasure=nil, alertpercentage=nil, alertswitch=nil, metric=nil, cycle=nil, switch=nil)
12148
+ @Type = type
12149
+ @UnBlockTime = unblocktime
12150
+ @BpsThreshold = bpsthreshold
12151
+ @CounterMeasure = countermeasure
12152
+ @AlertPercentage = alertpercentage
12153
+ @AlertSwitch = alertswitch
12154
+ @Metric = metric
12155
+ @Cycle = cycle
12156
+ @Switch = switch
12157
+ end
12158
+
12159
+ def deserialize(params)
12160
+ @Type = params['Type']
12161
+ @UnBlockTime = params['UnBlockTime']
12162
+ @BpsThreshold = params['BpsThreshold']
12163
+ @CounterMeasure = params['CounterMeasure']
12164
+ @AlertPercentage = params['AlertPercentage']
12165
+ @AlertSwitch = params['AlertSwitch']
12166
+ @Metric = params['Metric']
12167
+ @Cycle = params['Cycle']
12168
+ @Switch = params['Switch']
12169
+ end
12170
+ end
12171
+
12098
12172
  # 状态码缓存过期配置,默认情况下会对 404 状态码缓存 10 秒
12099
12173
  class StatusCodeCache < TencentCloud::Common::AbstractModel
12100
12174
  # @param Switch: 状态码缓存过期配置开关
@@ -13215,15 +13289,21 @@ module TencentCloud
13215
13289
  class VerifyDomainRecordRequest < TencentCloud::Common::AbstractModel
13216
13290
  # @param Domain: 域名
13217
13291
  # @type Domain: String
13292
+ # @param VerifyType: 验证方式
13293
+ # dns: DNS 解析验证(默认值)
13294
+ # file: 文件验证
13295
+ # @type VerifyType: String
13218
13296
 
13219
- attr_accessor :Domain
13297
+ attr_accessor :Domain, :VerifyType
13220
13298
 
13221
- def initialize(domain=nil)
13299
+ def initialize(domain=nil, verifytype=nil)
13222
13300
  @Domain = domain
13301
+ @VerifyType = verifytype
13223
13302
  end
13224
13303
 
13225
13304
  def deserialize(params)
13226
13305
  @Domain = params['Domain']
13306
+ @VerifyType = params['VerifyType']
13227
13307
  end
13228
13308
  end
13229
13309
 
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.302
4
+ version: 1.0.303
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-04-20 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common