tencentcloud-sdk-teo 3.0.817 → 3.0.818

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220901/models.rb +34 -4
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7d9f2acc23cde290dbb96e567488e7f1df10eff
4
- data.tar.gz: 1808d291eef33099bafb3b4e8758f0f4acfbd44e
3
+ metadata.gz: 50ac736311b3cd16f03e0da442978a2b9eb83a75
4
+ data.tar.gz: 5cabd24a74860b5a0b421cf68f2bacb8d49b0b65
5
5
  SHA512:
6
- metadata.gz: 376773847bcbb57b43ec6158be76a73a6e6a1730a45e6d3a638a1c067f1cecd8c280335fd6849e0cc5a0a6b465affd7f771bf095d362108c81f2b96fde402a1c
7
- data.tar.gz: 9d9eb2da8e7ac842f850489152393bffb487989735efec40576e0e3f598cf97240abd2b969ee0a849a612abf05ab89e698c13a4e98a366d90e56c4a691e90304
6
+ metadata.gz: 2a4c5c9939e62cbaba75ddc60fdab64f484ca8cbfdc3dcd5e62ead161b795286be44dc4ca95db886de22d9610a834bcc86ebbabd81cf81c08ebe24b42ae0ac2e
7
+ data.tar.gz: ea379c193c17abe95047527cab8eacdff3446d6c2e40c6980768b647ac7ecd29d4bfebaca53e305890813d170904e9daeeb035327638f968723777dc7c48461e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.817
1
+ 3.0.818
@@ -1615,6 +1615,22 @@ module TencentCloud
1615
1615
  end
1616
1616
  end
1617
1617
 
1618
+ # 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。
1619
+ class CacheTag < TencentCloud::Common::AbstractModel
1620
+ # @param Domains: 待清除缓存的域名列表。
1621
+ # @type Domains: Array
1622
+
1623
+ attr_accessor :Domains
1624
+
1625
+ def initialize(domains=nil)
1626
+ @Domains = domains
1627
+ end
1628
+
1629
+ def deserialize(params)
1630
+ @Domains = params['Domains']
1631
+ end
1632
+ end
1633
+
1618
1634
  # https 服务端证书配置
1619
1635
  class CertificateInfo < TencentCloud::Common::AbstractModel
1620
1636
  # @param CertId: 服务器证书 ID。
@@ -2664,18 +2680,21 @@ module TencentCloud
2664
2680
  # @param EncodeUrl: 若有编码转换,仅清除编码转换后匹配的资源。
2665
2681
  # 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
2666
2682
  # @type EncodeUrl: Boolean
2683
+ # @param CacheTag: 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。
2684
+ # @type CacheTag: :class:`Tencentcloud::Teo.v20220901.models.CacheTag`
2667
2685
 
2668
- attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
2686
+ attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl, :CacheTag
2669
2687
  extend Gem::Deprecate
2670
2688
  deprecate :EncodeUrl, :none, 2024, 5
2671
2689
  deprecate :EncodeUrl=, :none, 2024, 5
2672
2690
 
2673
- def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
2691
+ def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil, cachetag=nil)
2674
2692
  @ZoneId = zoneid
2675
2693
  @Type = type
2676
2694
  @Method = method
2677
2695
  @Targets = targets
2678
2696
  @EncodeUrl = encodeurl
2697
+ @CacheTag = cachetag
2679
2698
  end
2680
2699
 
2681
2700
  def deserialize(params)
@@ -2684,6 +2703,10 @@ module TencentCloud
2684
2703
  @Method = params['Method']
2685
2704
  @Targets = params['Targets']
2686
2705
  @EncodeUrl = params['EncodeUrl']
2706
+ unless params['CacheTag'].nil?
2707
+ @CacheTag = CacheTag.new
2708
+ @CacheTag.deserialize(params['CacheTag'])
2709
+ end
2687
2710
  end
2688
2711
  end
2689
2712
 
@@ -12133,6 +12156,11 @@ module TencentCloud
12133
12156
  # @type Target: String
12134
12157
  # @param Type: 任务类型。
12135
12158
  # @type Type: String
12159
+ # @param Method: 节点缓存清除方法,取值有:
12160
+ # <li>invalidate:标记过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
12161
+ # <li>delete:直接删除节点缓存,用户请求时触发回源拉取资源。</li>
12162
+ # 注意:此字段可能返回 null,表示取不到有效值。
12163
+ # @type Method: String
12136
12164
  # @param Status: 状态。取值有:
12137
12165
  # <li>processing:处理中;</li>
12138
12166
  # <li>success:成功;</li>
@@ -12144,12 +12172,13 @@ module TencentCloud
12144
12172
  # @param UpdateTime: 任务完成时间。
12145
12173
  # @type UpdateTime: String
12146
12174
 
12147
- attr_accessor :JobId, :Target, :Type, :Status, :CreateTime, :UpdateTime
12175
+ attr_accessor :JobId, :Target, :Type, :Method, :Status, :CreateTime, :UpdateTime
12148
12176
 
12149
- def initialize(jobid=nil, target=nil, type=nil, status=nil, createtime=nil, updatetime=nil)
12177
+ def initialize(jobid=nil, target=nil, type=nil, method=nil, status=nil, createtime=nil, updatetime=nil)
12150
12178
  @JobId = jobid
12151
12179
  @Target = target
12152
12180
  @Type = type
12181
+ @Method = method
12153
12182
  @Status = status
12154
12183
  @CreateTime = createtime
12155
12184
  @UpdateTime = updatetime
@@ -12159,6 +12188,7 @@ module TencentCloud
12159
12188
  @JobId = params['JobId']
12160
12189
  @Target = params['Target']
12161
12190
  @Type = params['Type']
12191
+ @Method = params['Method']
12162
12192
  @Status = params['Status']
12163
12193
  @CreateTime = params['CreateTime']
12164
12194
  @UpdateTime = params['UpdateTime']
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.817
4
+ version: 3.0.818
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-08 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,10 +33,10 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20220106/models.rb
37
- - lib/v20220106/client.rb
38
- - lib/v20220901/models.rb
39
36
  - lib/v20220901/client.rb
37
+ - lib/v20220901/models.rb
38
+ - lib/v20220106/client.rb
39
+ - lib/v20220106/models.rb
40
40
  - lib/tencentcloud-sdk-teo.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby