tencentcloud-sdk-vpc 3.0.995 → 3.0.996

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 332031eb5e7018553adeaa5e562d7794182224ff
4
- data.tar.gz: 9b4af641330c7a7a05024604ca9ed550b8b0c2dc
3
+ metadata.gz: 58d007566c2f62cf623892a6cb652b5e2260deda
4
+ data.tar.gz: a16d6616355a3629b9f0730a7037176818d91790
5
5
  SHA512:
6
- metadata.gz: a3cfc06d854961740b70ad482f43600663e8a47f4aba798a64b56e41a1c13eb94f684cd3f7ecabd6b40954339ea4342eec266bf25b91291c3c51aab074121d9b
7
- data.tar.gz: 5aeecd8caf1e9b162920627dd2bf1ad51d53091e0e680cc61685caa57156adc86eb2460c99cafe6455f428d4988e705933ea1373a483505231d6ce0f3016b044
6
+ metadata.gz: c4791b00c98b744bb510350af8836f2c21bca69739a5ae26dda5da13758519a189d6bce2f6a4c21df5c9ab7c11bfdcf0ec3fd54a60d212cbd914011a79ea49c1
7
+ data.tar.gz: 4b8e7e3d19ec31f880dcdd723085377b0b2f328a73529f89836fe240237406be93d07bbc6ca4ef4dbda02dfea527ef3e6e37f1f3dbafc1c13954ae73e398027f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.995
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.995
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-10 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