tencentcloud-sdk-cfw 3.0.741 → 3.0.743
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: a870ee21d6b55176d79aa29849fde2432d82abae
|
4
|
+
data.tar.gz: bc150209e54a0fdd9e7fe0c1af826ba222f2adf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fc5cb85a0e4cb6699c99274048380ea78686a2b4c1e1dcfc52c725e5daf85c680039121ddd4808b064782266910bf2bafc9cb6c3d4ea1ec7276ed85438f9ec3
|
7
|
+
data.tar.gz: 19e60db6b021a0f04feaaaabe5234e861dc401a5a05127c84d881a5240cd6981d2d4e1c07665bfa16ea01589339dd0a0ee106f675a9cf03f9fabb014490a928f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.743
|
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.743
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|