tencentcloud-sdk-tse 3.0.425 → 3.0.426

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: cda94b01e7a7be4c5f179f30ac60237e375b21e4
4
- data.tar.gz: 0c544cda50e3d9e55b16fc92bcce0342be28e959
3
+ metadata.gz: 1a3d5da19dfc06dda6696219d7213aa68b16f71f
4
+ data.tar.gz: 4366446baf96e9bbf13687890a8ddd184c44d049
5
5
  SHA512:
6
- metadata.gz: 0fbb963617bccd1df5212553e95983d69c7b4e77d2488bcbffe3d83a1c17cd7385d7734cc735bd22e0ccb28750e06d0ac412a0aa76bcbca60c0a902d8d8734ac
7
- data.tar.gz: 730bd642e84a1bcf4ba5b90437fc45cdc40a96243b7b269886e4fb869785188495c9729da20c2ccc0440c41dd58bdd22df8be22dd75ceba06e7feb8f4f66fc10
6
+ metadata.gz: 9eb0f6adf65e5bf812aed7badee9a51868a55cb5f11e2f4617f814f80d7db57a178b2dfb032b6cbf8f14292bcafd0db1a904a186bd6990ac888e30d356d20f52
7
+ data.tar.gz: 6e1f8e88aef752795ce32060f25e57e8abc1e577202278e10367dd8ce645ce25313238c52c5d73af22f8ceed0060405c5ebc2e07e4661c4507772da650baf017
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.425
1
+ 3.0.426
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 修改引擎公网访问配置
249
+
250
+ # @param request: Request instance for UpdateEngineInternetAccess.
251
+ # @type request: :class:`Tencentcloud::tse::V20201207::UpdateEngineInternetAccessRequest`
252
+ # @rtype: :class:`Tencentcloud::tse::V20201207::UpdateEngineInternetAccessResponse`
253
+ def UpdateEngineInternetAccess(request)
254
+ body = send_request('UpdateEngineInternetAccess', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = UpdateEngineInternetAccessResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
 
249
273
  end
250
274
  end
@@ -1286,6 +1286,46 @@ module TencentCloud
1286
1286
  end
1287
1287
  end
1288
1288
 
1289
+ # UpdateEngineInternetAccess请求参数结构体
1290
+ class UpdateEngineInternetAccessRequest < TencentCloud::Common::AbstractModel
1291
+ # @param InstanceId: 引擎ID
1292
+ # @type InstanceId: String
1293
+ # @param EngineType: 引擎类型
1294
+ # @type EngineType: String
1295
+ # @param EnableClientInternetAccess: 是否开启客户端公网访问,true开 false关
1296
+ # @type EnableClientInternetAccess: Boolean
1297
+
1298
+ attr_accessor :InstanceId, :EngineType, :EnableClientInternetAccess
1299
+
1300
+ def initialize(instanceid=nil, enginetype=nil, enableclientinternetaccess=nil)
1301
+ @InstanceId = instanceid
1302
+ @EngineType = enginetype
1303
+ @EnableClientInternetAccess = enableclientinternetaccess
1304
+ end
1305
+
1306
+ def deserialize(params)
1307
+ @InstanceId = params['InstanceId']
1308
+ @EngineType = params['EngineType']
1309
+ @EnableClientInternetAccess = params['EnableClientInternetAccess']
1310
+ end
1311
+ end
1312
+
1313
+ # UpdateEngineInternetAccess返回参数结构体
1314
+ class UpdateEngineInternetAccessResponse < TencentCloud::Common::AbstractModel
1315
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1316
+ # @type RequestId: String
1317
+
1318
+ attr_accessor :RequestId
1319
+
1320
+ def initialize(requestid=nil)
1321
+ @RequestId = requestid
1322
+ end
1323
+
1324
+ def deserialize(params)
1325
+ @RequestId = params['RequestId']
1326
+ end
1327
+ end
1328
+
1289
1329
  # 私有网络信息
1290
1330
  class VpcInfo < TencentCloud::Common::AbstractModel
1291
1331
  # @param VpcId: Vpc Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.425
4
+ version: 3.0.426
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-11 00:00:00.000000000 Z
11
+ date: 2022-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common