tencentcloud-sdk-cfw 3.0.740 → 3.0.742
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/v20190904/client.rb +0 -26
- data/lib/v20190904/models.rb +0 -45
- 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: 10de0deae1cf43692138b972247fb17f87cf0807
|
4
|
+
data.tar.gz: f6b2ac8d89b253e31b3ef6d8a22065ea3414df39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 508406a420775b57969a66917ec633c9a6169f3bee017f8ff9d85451bec75a5ac9f303f5a8ccb032b08a4608cf17929cebf235d57daa92ed04c4dbb78bc803f3
|
7
|
+
data.tar.gz: 1e56bdd1aca90c99d37c0063442ff88f7bb339e21f5383f508fe11fdb2417de7fe46e41ef11668670a30ee1a5eca039fd76bb1b8aaa80d92436536fa83b70b3b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.742
|
data/lib/v20190904/client.rb
CHANGED
@@ -2169,32 +2169,6 @@ module TencentCloud
|
|
2169
2169
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2170
2170
|
end
|
2171
2171
|
|
2172
|
-
# 已上新接口,支持串行
|
2173
|
-
|
2174
|
-
# 单个修改互联网边界防火墙开关
|
2175
|
-
|
2176
|
-
# @param request: Request instance for ModifyPublicIPSwitchStatus.
|
2177
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyPublicIPSwitchStatusRequest`
|
2178
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyPublicIPSwitchStatusResponse`
|
2179
|
-
def ModifyPublicIPSwitchStatus(request)
|
2180
|
-
body = send_request('ModifyPublicIPSwitchStatus', request.serialize)
|
2181
|
-
response = JSON.parse(body)
|
2182
|
-
if response['Response'].key?('Error') == false
|
2183
|
-
model = ModifyPublicIPSwitchStatusResponse.new
|
2184
|
-
model.deserialize(response['Response'])
|
2185
|
-
model
|
2186
|
-
else
|
2187
|
-
code = response['Response']['Error']['Code']
|
2188
|
-
message = response['Response']['Error']['Message']
|
2189
|
-
reqid = response['Response']['RequestId']
|
2190
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2191
|
-
end
|
2192
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2193
|
-
raise e
|
2194
|
-
rescue StandardError => e
|
2195
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2196
|
-
end
|
2197
|
-
|
2198
2172
|
# ModifyResourceGroup-资产中心资产组信息修改
|
2199
2173
|
|
2200
2174
|
|
data/lib/v20190904/models.rb
CHANGED
@@ -6613,51 +6613,6 @@ module TencentCloud
|
|
6613
6613
|
end
|
6614
6614
|
end
|
6615
6615
|
|
6616
|
-
# ModifyPublicIPSwitchStatus请求参数结构体
|
6617
|
-
class ModifyPublicIPSwitchStatusRequest < TencentCloud::Common::AbstractModel
|
6618
|
-
# @param FireWallPublicIP: 公网IP
|
6619
|
-
# @type FireWallPublicIP: String
|
6620
|
-
# @param Status: 状态值,0: 关闭 ,1:开启
|
6621
|
-
# @type Status: Integer
|
6622
|
-
|
6623
|
-
attr_accessor :FireWallPublicIP, :Status
|
6624
|
-
|
6625
|
-
def initialize(firewallpublicip=nil, status=nil)
|
6626
|
-
@FireWallPublicIP = firewallpublicip
|
6627
|
-
@Status = status
|
6628
|
-
end
|
6629
|
-
|
6630
|
-
def deserialize(params)
|
6631
|
-
@FireWallPublicIP = params['FireWallPublicIP']
|
6632
|
-
@Status = params['Status']
|
6633
|
-
end
|
6634
|
-
end
|
6635
|
-
|
6636
|
-
# ModifyPublicIPSwitchStatus返回参数结构体
|
6637
|
-
class ModifyPublicIPSwitchStatusResponse < TencentCloud::Common::AbstractModel
|
6638
|
-
# @param ReturnMsg: 接口返回信息
|
6639
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6640
|
-
# @type ReturnMsg: String
|
6641
|
-
# @param ReturnCode: 接口返回错误码,0请求成功 非0失败
|
6642
|
-
# @type ReturnCode: Integer
|
6643
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6644
|
-
# @type RequestId: String
|
6645
|
-
|
6646
|
-
attr_accessor :ReturnMsg, :ReturnCode, :RequestId
|
6647
|
-
|
6648
|
-
def initialize(returnmsg=nil, returncode=nil, requestid=nil)
|
6649
|
-
@ReturnMsg = returnmsg
|
6650
|
-
@ReturnCode = returncode
|
6651
|
-
@RequestId = requestid
|
6652
|
-
end
|
6653
|
-
|
6654
|
-
def deserialize(params)
|
6655
|
-
@ReturnMsg = params['ReturnMsg']
|
6656
|
-
@ReturnCode = params['ReturnCode']
|
6657
|
-
@RequestId = params['RequestId']
|
6658
|
-
end
|
6659
|
-
end
|
6660
|
-
|
6661
6616
|
# ModifyResourceGroup请求参数结构体
|
6662
6617
|
class ModifyResourceGroupRequest < TencentCloud::Common::AbstractModel
|
6663
6618
|
# @param GroupId: 组id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cfw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.742
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|