tencentcloud-sdk-postgres 3.0.553 → 3.0.555
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +41 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eac7753286d6aaeb3457e82c59abca32f6e2024
|
4
|
+
data.tar.gz: 81925851f91577593320de4143e41c04af4860b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d068cabedc544360ef5a8f154ff30eaea71ba55da9225470ecc2b22046dba7b2d9893045d63d88016c050c24ecc083c04fe9059d9f16a70f4397f3ee2d9e8ca
|
7
|
+
data.tar.gz: 8d01d91cbc6e39a89fb79e2515bb4df12bfcf282cf1901908d0275d544793e026eafb999084624f017d35b3fcb7fc04bd724827c5a2025e3d7de02d294feeffe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.555
|
data/lib/v20170312/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.555
|
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-
|
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
|