tencentcloud-sdk-vpc 3.0.994 → 3.0.996

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: 8d9977371bb97ed24513010a57a9c1363998abbe
4
- data.tar.gz: 197b34baf828093a40f79d74273bd72e4b68b6c4
3
+ metadata.gz: 58d007566c2f62cf623892a6cb652b5e2260deda
4
+ data.tar.gz: a16d6616355a3629b9f0730a7037176818d91790
5
5
  SHA512:
6
- metadata.gz: 309adeb8749f3964fa91f9b4350529c7da1713a6336eccf9fe23a4c644bad2fbf833499d1fbb02079a9328347d795925cbbc30adb26ad2b9aa7fe95827f8e1f3
7
- data.tar.gz: 5e215a6f6beb6355050be433a09be1edf609990cee04296d50d46f6cbc3405d767d90a2b472626f89b53f9c164675c37a98dabdb79f9019ad8511989f55b8b2d
6
+ metadata.gz: c4791b00c98b744bb510350af8836f2c21bca69739a5ae26dda5da13758519a189d6bce2f6a4c21df5c9ab7c11bfdcf0ec3fd54a60d212cbd914011a79ea49c1
7
+ data.tar.gz: 4b8e7e3d19ec31f880dcdd723085377b0b2f328a73529f89836fe240237406be93d07bbc6ca4ef4dbda02dfea527ef3e6e37f1f3dbafc1c13954ae73e398027f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.994
1
+ 3.0.996
@@ -1804,7 +1804,7 @@ module TencentCloud
1804
1804
  # * Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。
1805
1805
  # * Action字段只允许输入ACCEPT或DROP。
1806
1806
  # * CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
1807
- # * 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
1807
+ # * 请求中可以同时指定入站和出站两个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
1808
1808
 
1809
1809
  # @param request: Request instance for CreateSecurityGroupWithPolicies.
1810
1810
  # @type request: :class:`Tencentcloud::vpc::V20170312::CreateSecurityGroupWithPoliciesRequest`
@@ -3112,7 +3112,7 @@ module TencentCloud
3112
3112
  # @type RemoteRegion: String
3113
3113
  # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
3114
3114
  # 若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
3115
- # @type Tags: :class:`Tencentcloud::Vpc.v20170312.models.Tag`
3115
+ # @type Tags: Array
3116
3116
 
3117
3117
  attr_accessor :SecurityGroupId, :GroupName, :GroupDescription, :ProjectId, :RemoteRegion, :Tags
3118
3118
 
@@ -3132,8 +3132,12 @@ module TencentCloud
3132
3132
  @ProjectId = params['ProjectId']
3133
3133
  @RemoteRegion = params['RemoteRegion']
3134
3134
  unless params['Tags'].nil?
3135
- @Tags = Tag.new
3136
- @Tags.deserialize(params['Tags'])
3135
+ @Tags = []
3136
+ params['Tags'].each do |i|
3137
+ tag_tmp = Tag.new
3138
+ tag_tmp.deserialize(i)
3139
+ @Tags << tag_tmp
3140
+ end
3137
3141
  end
3138
3142
  end
3139
3143
  end
@@ -4533,8 +4537,8 @@ module TencentCloud
4533
4537
 
4534
4538
  attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion
4535
4539
  extend Gem::Deprecate
4536
- deprecate :SubnetId, :none, 2025, 1
4537
- deprecate :SubnetId=, :none, 2025, 1
4540
+ deprecate :SubnetId, :none, 2025, 2
4541
+ deprecate :SubnetId=, :none, 2025, 2
4538
4542
 
4539
4543
  def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, natproductversion=nil)
4540
4544
  @NatGatewayName = natgatewayname
@@ -17824,8 +17828,8 @@ module TencentCloud
17824
17828
 
17825
17829
  attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
17826
17830
  extend Gem::Deprecate
17827
- deprecate :IntegrityAlgorith, :none, 2025, 1
17828
- deprecate :IntegrityAlgorith=, :none, 2025, 1
17831
+ deprecate :IntegrityAlgorith, :none, 2025, 2
17832
+ deprecate :IntegrityAlgorith=, :none, 2025, 2
17829
17833
 
17830
17834
  def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
17831
17835
  @EncryptAlgorithm = encryptalgorithm
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.994
4
+ version: 3.0.996
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-02-09 00:00:00.000000000 Z
11
+ date: 2025-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common