tencentcloud-sdk-teo 3.0.1030 → 3.0.1031

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: 7e494516cc2f6939a13037451cac96a69977dd91
4
- data.tar.gz: afba37e8ef797d1ab0d344ad49403d4795659d4a
3
+ metadata.gz: 9f1b25d6e8aad5c3c5f7b83a44cd801aed810825
4
+ data.tar.gz: a4f37b4de326d2a10cc870da2b762f75bb20ff40
5
5
  SHA512:
6
- metadata.gz: 364bb69b1cd96e9a5390e60f9deb4bace549420cbc21c83ed98e0664ba1ea65c68d3a59678831ef45f87d9f5b61ba39a948c0471f05a205e2b10c86045318a10
7
- data.tar.gz: 9fb547f8635c27fec6e0995e4a0ceb580b9f9871f1fa672c867f6bb362814f9d171d0ab47d677e0076b93ecda45dfb861ec571c7aff3eccefb67bcf775c41417
6
+ metadata.gz: ca2b8863c2c5488addee5b70503125ec48c2618330bc8089cef3a0a062ca63487d2d5c43bcbb4058dfa47f66a21f364737aa50b7ca2222179f57c4d776a98a44
7
+ data.tar.gz: 3d5d9c83e870af2bae495211deffe45b2a1aa6cf1dc0a9852a6c3b1ae16304dc5bbb6ae3b4c6395cf4562a01ba0532b5abbb26eeaeb697d2f1ca904ac403177b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1030
1
+ 3.0.1031
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20220901/client'
6
- require_relative 'v20220901/models'
7
-
8
5
  require_relative 'v20220106/client'
9
6
  require_relative 'v20220106/models'
10
7
 
8
+ require_relative 'v20220901/client'
9
+ require_relative 'v20220901/models'
10
+
11
11
  module TencentCloud
12
12
  module Teo
13
13
  end
@@ -1668,8 +1668,8 @@ module TencentCloud
1668
1668
 
1669
1669
  attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
1670
1670
  extend Gem::Deprecate
1671
- deprecate :IgnoreCacheControl, :none, 2025, 3
1672
- deprecate :IgnoreCacheControl=, :none, 2025, 3
1671
+ deprecate :IgnoreCacheControl, :none, 2025, 4
1672
+ deprecate :IgnoreCacheControl=, :none, 2025, 4
1673
1673
 
1674
1674
  def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
1675
1675
  @Switch = switch
@@ -3659,8 +3659,8 @@ module TencentCloud
3659
3659
 
3660
3660
  attr_accessor :ZoneId, :Targets, :EncodeUrl, :Headers
3661
3661
  extend Gem::Deprecate
3662
- deprecate :EncodeUrl, :none, 2025, 3
3663
- deprecate :EncodeUrl=, :none, 2025, 3
3662
+ deprecate :EncodeUrl, :none, 2025, 4
3663
+ deprecate :EncodeUrl=, :none, 2025, 4
3664
3664
 
3665
3665
  def initialize(zoneid=nil, targets=nil, encodeurl=nil, headers=nil)
3666
3666
  @ZoneId = zoneid
@@ -3740,8 +3740,8 @@ module TencentCloud
3740
3740
 
3741
3741
  attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl, :CacheTag
3742
3742
  extend Gem::Deprecate
3743
- deprecate :EncodeUrl, :none, 2025, 3
3744
- deprecate :EncodeUrl=, :none, 2025, 3
3743
+ deprecate :EncodeUrl, :none, 2025, 4
3744
+ deprecate :EncodeUrl=, :none, 2025, 4
3745
3745
 
3746
3746
  def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil, cachetag=nil)
3747
3747
  @ZoneId = zoneid
@@ -4108,10 +4108,10 @@ module TencentCloud
4108
4108
 
4109
4109
  attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
4110
4110
  extend Gem::Deprecate
4111
- deprecate :AllowDuplicates, :none, 2025, 3
4112
- deprecate :AllowDuplicates=, :none, 2025, 3
4113
- deprecate :JumpStart, :none, 2025, 3
4114
- deprecate :JumpStart=, :none, 2025, 3
4111
+ deprecate :AllowDuplicates, :none, 2025, 4
4112
+ deprecate :AllowDuplicates=, :none, 2025, 4
4113
+ deprecate :JumpStart, :none, 2025, 4
4114
+ deprecate :JumpStart=, :none, 2025, 4
4115
4115
 
4116
4116
  def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
4117
4117
  @Type = type
@@ -8000,7 +8000,7 @@ module TencentCloud
8000
8000
 
8001
8001
  # DescribeSecurityIPGroup返回参数结构体
8002
8002
  class DescribeSecurityIPGroupResponse < TencentCloud::Common::AbstractModel
8003
- # @param IPGroups: 安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称和 IP / 网段列表信息。
8003
+ # @param IPGroups: 安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称、 IP / 网段列表信息和过期时间信息。
8004
8004
  # @type IPGroups: Array
8005
8005
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8006
8006
  # @type RequestId: String
@@ -10621,27 +10621,62 @@ module TencentCloud
10621
10621
  end
10622
10622
  end
10623
10623
 
10624
+ # 存储定时过期时间和对应 IP。
10625
+ class IPExpireInfo < TencentCloud::Common::AbstractModel
10626
+ # @param ExpireTime: 定时过期时间,遵循 ISO 8601 标准的日期和时间格式。例如 "2022-01-01T00:00:00+08:00"。
10627
+ # @type ExpireTime: String
10628
+ # @param IPList: IP 列表。仅支持 IP 及 IP 网段。
10629
+ # @type IPList: Array
10630
+
10631
+ attr_accessor :ExpireTime, :IPList
10632
+
10633
+ def initialize(expiretime=nil, iplist=nil)
10634
+ @ExpireTime = expiretime
10635
+ @IPList = iplist
10636
+ end
10637
+
10638
+ def deserialize(params)
10639
+ @ExpireTime = params['ExpireTime']
10640
+ @IPList = params['IPList']
10641
+ end
10642
+ end
10643
+
10624
10644
  # IP 网段组
10625
10645
  class IPGroup < TencentCloud::Common::AbstractModel
10626
10646
  # @param GroupId: 组 Id,创建时填 0 即可。
10627
10647
  # @type GroupId: Integer
10628
10648
  # @param Name: 组名称。
10629
10649
  # @type Name: String
10630
- # @param Content: IP 组内容,仅支持 IP 及 IP 掩码。
10650
+ # @param Content: IP 组内容,仅支持 IP 及 IP 网段。
10631
10651
  # @type Content: Array
10652
+ # @param IPExpireInfo: IP 定时过期信息。
10653
+ # 作为入参:用于为指定的 IP 地址或网段配置定时过期时间。
10654
+ # 作为出参,包含以下两类信息:
10655
+ # <li>当前未到期的定时过期信息:尚未触发的过期配置。</li>
10656
+ # <li>一周内已到期的定时过期信息:已触发的过期配置。</li>
10657
+ # @type IPExpireInfo: Array
10632
10658
 
10633
- attr_accessor :GroupId, :Name, :Content
10659
+ attr_accessor :GroupId, :Name, :Content, :IPExpireInfo
10634
10660
 
10635
- def initialize(groupid=nil, name=nil, content=nil)
10661
+ def initialize(groupid=nil, name=nil, content=nil, ipexpireinfo=nil)
10636
10662
  @GroupId = groupid
10637
10663
  @Name = name
10638
10664
  @Content = content
10665
+ @IPExpireInfo = ipexpireinfo
10639
10666
  end
10640
10667
 
10641
10668
  def deserialize(params)
10642
10669
  @GroupId = params['GroupId']
10643
10670
  @Name = params['Name']
10644
10671
  @Content = params['Content']
10672
+ unless params['IPExpireInfo'].nil?
10673
+ @IPExpireInfo = []
10674
+ params['IPExpireInfo'].each do |i|
10675
+ ipexpireinfo_tmp = IPExpireInfo.new
10676
+ ipexpireinfo_tmp.deserialize(i)
10677
+ @IPExpireInfo << ipexpireinfo_tmp
10678
+ end
10679
+ end
10645
10680
  end
10646
10681
  end
10647
10682
 
@@ -12548,8 +12583,8 @@ module TencentCloud
12548
12583
 
12549
12584
  attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType, :ClientCertInfo
12550
12585
  extend Gem::Deprecate
12551
- deprecate :ApplyType, :none, 2025, 3
12552
- deprecate :ApplyType=, :none, 2025, 3
12586
+ deprecate :ApplyType, :none, 2025, 4
12587
+ deprecate :ApplyType=, :none, 2025, 4
12553
12588
 
12554
12589
  def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil, clientcertinfo=nil)
12555
12590
  @ZoneId = zoneid
@@ -13346,10 +13381,7 @@ module TencentCloud
13346
13381
  # @type ZoneId: String
13347
13382
  # @param IPGroup: IP 组配置。
13348
13383
  # @type IPGroup: :class:`Tencentcloud::Teo.v20220901.models.IPGroup`
13349
- # @param Mode: 操作类型,取值有:
13350
- # <li> append: 向 IPGroup 中追加 Content 参数中内容;</li>
13351
- # <li> remove: 从 IPGroup 中删除 Content 参数中内容;</li>
13352
- # <li> update: 全量替换 IPGroup 内容,并可修改 IPGroup 名称。 </li>
13384
+ # @param Mode: 操作类型,取值有:<li> append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;</li><li> remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;</li><li> update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。</li> 使用 append 操作时注意: <li> 为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。</li> 使用 remove 操作时注意: <li> 删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;</li> <li> 删除定时过期时间时,仅能删除当前未过期的时间。</li> 使用 update 操作时注意: <li> 替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;</li> <li> 替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。</li>
13353
13385
  # @type Mode: String
13354
13386
 
13355
13387
  attr_accessor :ZoneId, :IPGroup, :Mode
@@ -13969,12 +14001,12 @@ module TencentCloud
13969
14001
 
13970
14002
  attr_accessor :OriginType, :Origin, :BackupOrigin, :OriginGroupName, :BackOriginGroupName, :PrivateAccess, :PrivateParameters, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId, :VodOriginScope, :VodBucketId
13971
14003
  extend Gem::Deprecate
13972
- deprecate :VodeoSubAppId, :none, 2025, 3
13973
- deprecate :VodeoSubAppId=, :none, 2025, 3
13974
- deprecate :VodeoDistributionRange, :none, 2025, 3
13975
- deprecate :VodeoDistributionRange=, :none, 2025, 3
13976
- deprecate :VodeoBucketId, :none, 2025, 3
13977
- deprecate :VodeoBucketId=, :none, 2025, 3
14004
+ deprecate :VodeoSubAppId, :none, 2025, 4
14005
+ deprecate :VodeoSubAppId=, :none, 2025, 4
14006
+ deprecate :VodeoDistributionRange, :none, 2025, 4
14007
+ deprecate :VodeoDistributionRange=, :none, 2025, 4
14008
+ deprecate :VodeoBucketId, :none, 2025, 4
14009
+ deprecate :VodeoBucketId=, :none, 2025, 4
13978
14010
 
13979
14011
  def initialize(origintype=nil, origin=nil, backuporigin=nil, origingroupname=nil, backorigingroupname=nil, privateaccess=nil, privateparameters=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil, vodoriginscope=nil, vodbucketid=nil)
13980
14012
  @OriginType = origintype
@@ -14273,12 +14305,12 @@ module TencentCloud
14273
14305
 
14274
14306
  attr_accessor :OriginType, :Origin, :BackupOrigin, :PrivateAccess, :PrivateParameters, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId, :VodOriginScope, :VodBucketId
14275
14307
  extend Gem::Deprecate
14276
- deprecate :VodeoSubAppId, :none, 2025, 3
14277
- deprecate :VodeoSubAppId=, :none, 2025, 3
14278
- deprecate :VodeoDistributionRange, :none, 2025, 3
14279
- deprecate :VodeoDistributionRange=, :none, 2025, 3
14280
- deprecate :VodeoBucketId, :none, 2025, 3
14281
- deprecate :VodeoBucketId=, :none, 2025, 3
14308
+ deprecate :VodeoSubAppId, :none, 2025, 4
14309
+ deprecate :VodeoSubAppId=, :none, 2025, 4
14310
+ deprecate :VodeoDistributionRange, :none, 2025, 4
14311
+ deprecate :VodeoDistributionRange=, :none, 2025, 4
14312
+ deprecate :VodeoBucketId, :none, 2025, 4
14313
+ deprecate :VodeoBucketId=, :none, 2025, 4
14282
14314
 
14283
14315
  def initialize(origintype=nil, origin=nil, backuporigin=nil, privateaccess=nil, privateparameters=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil, vodoriginscope=nil, vodbucketid=nil)
14284
14316
  @OriginType = origintype
@@ -15662,8 +15694,8 @@ module TencentCloud
15662
15694
 
15663
15695
  attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
15664
15696
  extend Gem::Deprecate
15665
- deprecate :IgnoreNameCase, :none, 2025, 3
15666
- deprecate :IgnoreNameCase=, :none, 2025, 3
15697
+ deprecate :IgnoreNameCase, :none, 2025, 4
15698
+ deprecate :IgnoreNameCase=, :none, 2025, 4
15667
15699
 
15668
15700
  def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
15669
15701
  @Operator = operator
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.1030
4
+ version: 3.0.1031
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-03-30 00:00:00.000000000 Z
11
+ date: 2025-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20220106/models.rb
37
36
  - lib/v20220106/client.rb
38
- - lib/v20220901/models.rb
39
- - lib/v20220901/client.rb
37
+ - lib/v20220106/models.rb
40
38
  - lib/tencentcloud-sdk-teo.rb
39
+ - lib/v20220901/client.rb
40
+ - lib/v20220901/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: