tencentcloud-sdk-postgres 3.0.552 → 3.0.554

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/v20170312/models.rb +41 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bba5e62c14fd956927fa50bac3f90e84e809502a
4
- data.tar.gz: 260a53052c8d35395ce0d3079001b13fb43801a9
3
+ metadata.gz: bace7a179528788c7e9d3961c2ea884e64d80cbe
4
+ data.tar.gz: d79341888dd6b88b44db2dea12d4e1d9df247a13
5
5
  SHA512:
6
- metadata.gz: 0843133236b0b8c763415065de9b0a986f7d1e882e481cc19bf07156d758ad5347279e95afe2c84025bebb7e81e91f6e7c6ba3a081c226afff21ff68af2064af
7
- data.tar.gz: 8204b782560a4726830f5c7f6c46acb75efe3b8b175cde365900fab33c183729866a98070cdbab6f2a62ebf4fb83c78c13e0847fbc23fd0d83359a04f25b2340
6
+ metadata.gz: 43cdea622a1e22a65176b27ee4cf55c37cdb1b1706f4e83cd40da4b9ac5ee5a8e3c612940862db316de85520027df4dd6b818adb8451c343c3eb87e05cfb32d7
7
+ data.tar.gz: 90f83737592d6b4ada76bc65996e47cf872477545ee547a773d5eaa0c16e7249336e73c1b6cf01a031ec3503604c5b6cd8e8ef7dc55c7e72a4dd5e0a33476d4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.552
1
+ 3.0.554
@@ -157,6 +157,38 @@ module TencentCloud
157
157
  end
158
158
  end
159
159
 
160
+ # 备份下载限制信息
161
+ class BackupDownloadRestriction < TencentCloud::Common::AbstractModel
162
+ # @param RestrictionType: 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。
163
+ # @type RestrictionType: String
164
+ # @param VpcRestrictionEffect: vpc限制效力,ALLOW 允许;DENY 拒绝。
165
+ # @type VpcRestrictionEffect: String
166
+ # @param VpcIdSet: 允许或拒绝下载备份文件的vpcId列表。
167
+ # @type VpcIdSet: Array
168
+ # @param IpRestrictionEffect: ip限制效力,ALLOW 允许;DENY 拒绝。
169
+ # @type IpRestrictionEffect: String
170
+ # @param IpSet: 允许或拒绝下载备份文件的ip列表。
171
+ # @type IpSet: Array
172
+
173
+ attr_accessor :RestrictionType, :VpcRestrictionEffect, :VpcIdSet, :IpRestrictionEffect, :IpSet
174
+
175
+ def initialize(restrictiontype=nil, vpcrestrictioneffect=nil, vpcidset=nil, iprestrictioneffect=nil, ipset=nil)
176
+ @RestrictionType = restrictiontype
177
+ @VpcRestrictionEffect = vpcrestrictioneffect
178
+ @VpcIdSet = vpcidset
179
+ @IpRestrictionEffect = iprestrictioneffect
180
+ @IpSet = ipset
181
+ end
182
+
183
+ def deserialize(params)
184
+ @RestrictionType = params['RestrictionType']
185
+ @VpcRestrictionEffect = params['VpcRestrictionEffect']
186
+ @VpcIdSet = params['VpcIdSet']
187
+ @IpRestrictionEffect = params['IpRestrictionEffect']
188
+ @IpSet = params['IpSet']
189
+ end
190
+ end
191
+
160
192
  # 备份计划
161
193
  class BackupPlan < TencentCloud::Common::AbstractModel
162
194
  # @param BackupPeriod: 备份周期
@@ -2024,14 +2056,17 @@ module TencentCloud
2024
2056
  # @type BackupId: String
2025
2057
  # @param URLExpireTime: 链接的有效时间,默认为12小时。
2026
2058
  # @type URLExpireTime: Integer
2059
+ # @param BackupDownloadRestriction: 备份下载限制
2060
+ # @type BackupDownloadRestriction: :class:`Tencentcloud::Postgres.v20170312.models.BackupDownloadRestriction`
2027
2061
 
2028
- attr_accessor :DBInstanceId, :BackupType, :BackupId, :URLExpireTime
2062
+ attr_accessor :DBInstanceId, :BackupType, :BackupId, :URLExpireTime, :BackupDownloadRestriction
2029
2063
 
2030
- def initialize(dbinstanceid=nil, backuptype=nil, backupid=nil, urlexpiretime=nil)
2064
+ def initialize(dbinstanceid=nil, backuptype=nil, backupid=nil, urlexpiretime=nil, backupdownloadrestriction=nil)
2031
2065
  @DBInstanceId = dbinstanceid
2032
2066
  @BackupType = backuptype
2033
2067
  @BackupId = backupid
2034
2068
  @URLExpireTime = urlexpiretime
2069
+ @BackupDownloadRestriction = backupdownloadrestriction
2035
2070
  end
2036
2071
 
2037
2072
  def deserialize(params)
@@ -2039,6 +2074,10 @@ module TencentCloud
2039
2074
  @BackupType = params['BackupType']
2040
2075
  @BackupId = params['BackupId']
2041
2076
  @URLExpireTime = params['URLExpireTime']
2077
+ unless params['BackupDownloadRestriction'].nil?
2078
+ @BackupDownloadRestriction = BackupDownloadRestriction.new
2079
+ @BackupDownloadRestriction.deserialize(params['BackupDownloadRestriction'])
2080
+ end
2042
2081
  end
2043
2082
  end
2044
2083
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.552
4
+ version: 3.0.554
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-17 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common