tencentcloud-sdk-teo 3.0.915 → 3.0.916

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: c2d8c5a23fa527fff7cd1d498350460edf72314f
4
- data.tar.gz: 55f55248917dbd0c352a7e604b14d5ffa5e7e630
3
+ metadata.gz: e4832d3b25a4b5fb3634b6d61ad03b820cba810d
4
+ data.tar.gz: 8267f44dc656e1ff13a7f7a7dd0e2e5395e4b429
5
5
  SHA512:
6
- metadata.gz: 6b0cb0a16abf18c0729eca748f3d550d6be404f7853c1fe5cbce93d9686c03a1ec32ff15aba82b934748e471feefc8b71164991a927f7c77e73884f6673165e5
7
- data.tar.gz: d72dabed6d33cc0992cace46eb1e10c77cb46639af229072578536995e06c5a45db34519c73c9b3d1e454be833a83d4661713503bf76437fa5eeed069a0360ec
6
+ metadata.gz: e20f37d305df3437a95cfbe34f603004b8de4c5b05b46ade6362a6c91fca1d0e0690d35e34e8fc7e3a9b5947b1a87b6343cf07d83c2b26c5f56bd3b24fcc4fe1
7
+ data.tar.gz: 94ac2dc988b112866fc0e826d27ba0f91fb2a65a56d8f4759912166095ee978a615e234510c383f86304ecec39177e6d99f4ce10c5023e0859c63610131a613e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.915
1
+ 3.0.916
@@ -296,6 +296,54 @@ module TencentCloud
296
296
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
297
297
  end
298
298
 
299
+ # 创建并部署边缘函数至 EdgeOne 的边缘节点。
300
+
301
+ # @param request: Request instance for CreateFunction.
302
+ # @type request: :class:`Tencentcloud::teo::V20220901::CreateFunctionRequest`
303
+ # @rtype: :class:`Tencentcloud::teo::V20220901::CreateFunctionResponse`
304
+ def CreateFunction(request)
305
+ body = send_request('CreateFunction', request.serialize)
306
+ response = JSON.parse(body)
307
+ if response['Response'].key?('Error') == false
308
+ model = CreateFunctionResponse.new
309
+ model.deserialize(response['Response'])
310
+ model
311
+ else
312
+ code = response['Response']['Error']['Code']
313
+ message = response['Response']['Error']['Message']
314
+ reqid = response['Response']['RequestId']
315
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
316
+ end
317
+ rescue TencentCloud::Common::TencentCloudSDKException => e
318
+ raise e
319
+ rescue StandardError => e
320
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
321
+ end
322
+
323
+ # 创建边缘函数的触发规则。
324
+
325
+ # @param request: Request instance for CreateFunctionRule.
326
+ # @type request: :class:`Tencentcloud::teo::V20220901::CreateFunctionRuleRequest`
327
+ # @rtype: :class:`Tencentcloud::teo::V20220901::CreateFunctionRuleResponse`
328
+ def CreateFunctionRule(request)
329
+ body = send_request('CreateFunctionRule', request.serialize)
330
+ response = JSON.parse(body)
331
+ if response['Response'].key?('Error') == false
332
+ model = CreateFunctionRuleResponse.new
333
+ model.deserialize(response['Response'])
334
+ model
335
+ else
336
+ code = response['Response']['Error']['Code']
337
+ message = response['Response']['Error']['Message']
338
+ reqid = response['Response']['RequestId']
339
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
340
+ end
341
+ rescue TencentCloud::Common::TencentCloudSDKException => e
342
+ raise e
343
+ rescue StandardError => e
344
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
345
+ end
346
+
299
347
  # 用于创建四层代理实例。
300
348
 
301
349
  # @param request: Request instance for CreateL4Proxy.
@@ -711,6 +759,54 @@ module TencentCloud
711
759
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
712
760
  end
713
761
 
762
+ # 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
763
+
764
+ # @param request: Request instance for DeleteFunction.
765
+ # @type request: :class:`Tencentcloud::teo::V20220901::DeleteFunctionRequest`
766
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteFunctionResponse`
767
+ def DeleteFunction(request)
768
+ body = send_request('DeleteFunction', request.serialize)
769
+ response = JSON.parse(body)
770
+ if response['Response'].key?('Error') == false
771
+ model = DeleteFunctionResponse.new
772
+ model.deserialize(response['Response'])
773
+ model
774
+ else
775
+ code = response['Response']['Error']['Code']
776
+ message = response['Response']['Error']['Message']
777
+ reqid = response['Response']['RequestId']
778
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
779
+ end
780
+ rescue TencentCloud::Common::TencentCloudSDKException => e
781
+ raise e
782
+ rescue StandardError => e
783
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
784
+ end
785
+
786
+ # 删除边缘函数触发规则。
787
+
788
+ # @param request: Request instance for DeleteFunctionRules.
789
+ # @type request: :class:`Tencentcloud::teo::V20220901::DeleteFunctionRulesRequest`
790
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteFunctionRulesResponse`
791
+ def DeleteFunctionRules(request)
792
+ body = send_request('DeleteFunctionRules', request.serialize)
793
+ response = JSON.parse(body)
794
+ if response['Response'].key?('Error') == false
795
+ model = DeleteFunctionRulesResponse.new
796
+ model.deserialize(response['Response'])
797
+ model
798
+ else
799
+ code = response['Response']['Error']['Code']
800
+ message = response['Response']['Error']['Message']
801
+ reqid = response['Response']['RequestId']
802
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
803
+ end
804
+ rescue TencentCloud::Common::TencentCloudSDKException => e
805
+ raise e
806
+ rescue StandardError => e
807
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
808
+ end
809
+
714
810
  # 用于删除四层代理实例。
715
811
 
716
812
  # @param request: Request instance for DeleteL4Proxy.
@@ -1287,6 +1383,78 @@ module TencentCloud
1287
1383
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1288
1384
  end
1289
1385
 
1386
+ # 查询边缘函数触发规则列表,支持按照规则 ID、函数 ID、规则描述等条件进行过滤。
1387
+
1388
+ # @param request: Request instance for DescribeFunctionRules.
1389
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeFunctionRulesRequest`
1390
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeFunctionRulesResponse`
1391
+ def DescribeFunctionRules(request)
1392
+ body = send_request('DescribeFunctionRules', request.serialize)
1393
+ response = JSON.parse(body)
1394
+ if response['Response'].key?('Error') == false
1395
+ model = DescribeFunctionRulesResponse.new
1396
+ model.deserialize(response['Response'])
1397
+ model
1398
+ else
1399
+ code = response['Response']['Error']['Code']
1400
+ message = response['Response']['Error']['Message']
1401
+ reqid = response['Response']['RequestId']
1402
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1403
+ end
1404
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1405
+ raise e
1406
+ rescue StandardError => e
1407
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1408
+ end
1409
+
1410
+ # 查询边缘函数运行环境,包括环境变量。
1411
+
1412
+ # @param request: Request instance for DescribeFunctionRuntimeEnvironment.
1413
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeFunctionRuntimeEnvironmentRequest`
1414
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeFunctionRuntimeEnvironmentResponse`
1415
+ def DescribeFunctionRuntimeEnvironment(request)
1416
+ body = send_request('DescribeFunctionRuntimeEnvironment', request.serialize)
1417
+ response = JSON.parse(body)
1418
+ if response['Response'].key?('Error') == false
1419
+ model = DescribeFunctionRuntimeEnvironmentResponse.new
1420
+ model.deserialize(response['Response'])
1421
+ model
1422
+ else
1423
+ code = response['Response']['Error']['Code']
1424
+ message = response['Response']['Error']['Message']
1425
+ reqid = response['Response']['RequestId']
1426
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1427
+ end
1428
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1429
+ raise e
1430
+ rescue StandardError => e
1431
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1432
+ end
1433
+
1434
+ # 查询边缘函数列表,支持函数 ID、函数名称、描述等条件的过滤。
1435
+
1436
+ # @param request: Request instance for DescribeFunctions.
1437
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeFunctionsRequest`
1438
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeFunctionsResponse`
1439
+ def DescribeFunctions(request)
1440
+ body = send_request('DescribeFunctions', request.serialize)
1441
+ response = JSON.parse(body)
1442
+ if response['Response'].key?('Error') == false
1443
+ model = DescribeFunctionsResponse.new
1444
+ model.deserialize(response['Response'])
1445
+ model
1446
+ else
1447
+ code = response['Response']['Error']['Code']
1448
+ message = response['Response']['Error']['Message']
1449
+ reqid = response['Response']['RequestId']
1450
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1451
+ end
1452
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1453
+ raise e
1454
+ rescue StandardError => e
1455
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1456
+ end
1457
+
1290
1458
  # 用于查询域名配置信息
1291
1459
 
1292
1460
  # @param request: Request instance for DescribeHostsSetting.
@@ -1921,6 +2089,31 @@ module TencentCloud
1921
2089
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1922
2090
  end
1923
2091
 
2092
+ # 操作边缘函数运行环境,支持环境变量的相关设置。
2093
+ # 设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
2094
+
2095
+ # @param request: Request instance for HandleFunctionRuntimeEnvironment.
2096
+ # @type request: :class:`Tencentcloud::teo::V20220901::HandleFunctionRuntimeEnvironmentRequest`
2097
+ # @rtype: :class:`Tencentcloud::teo::V20220901::HandleFunctionRuntimeEnvironmentResponse`
2098
+ def HandleFunctionRuntimeEnvironment(request)
2099
+ body = send_request('HandleFunctionRuntimeEnvironment', request.serialize)
2100
+ response = JSON.parse(body)
2101
+ if response['Response'].key?('Error') == false
2102
+ model = HandleFunctionRuntimeEnvironmentResponse.new
2103
+ model.deserialize(response['Response'])
2104
+ model
2105
+ else
2106
+ code = response['Response']['Error']['Code']
2107
+ message = response['Response']['Error']['Message']
2108
+ reqid = response['Response']['RequestId']
2109
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2110
+ end
2111
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2112
+ raise e
2113
+ rescue StandardError => e
2114
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2115
+ end
2116
+
1924
2117
  # 用于验证站点所有权。
1925
2118
 
1926
2119
  # @param request: Request instance for IdentifyZone.
@@ -2189,6 +2382,78 @@ module TencentCloud
2189
2382
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2190
2383
  end
2191
2384
 
2385
+ # 修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
2386
+
2387
+ # @param request: Request instance for ModifyFunction.
2388
+ # @type request: :class:`Tencentcloud::teo::V20220901::ModifyFunctionRequest`
2389
+ # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyFunctionResponse`
2390
+ def ModifyFunction(request)
2391
+ body = send_request('ModifyFunction', request.serialize)
2392
+ response = JSON.parse(body)
2393
+ if response['Response'].key?('Error') == false
2394
+ model = ModifyFunctionResponse.new
2395
+ model.deserialize(response['Response'])
2396
+ model
2397
+ else
2398
+ code = response['Response']['Error']['Code']
2399
+ message = response['Response']['Error']['Message']
2400
+ reqid = response['Response']['RequestId']
2401
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2402
+ end
2403
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2404
+ raise e
2405
+ rescue StandardError => e
2406
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2407
+ end
2408
+
2409
+ # 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。
2410
+
2411
+ # @param request: Request instance for ModifyFunctionRule.
2412
+ # @type request: :class:`Tencentcloud::teo::V20220901::ModifyFunctionRuleRequest`
2413
+ # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyFunctionRuleResponse`
2414
+ def ModifyFunctionRule(request)
2415
+ body = send_request('ModifyFunctionRule', request.serialize)
2416
+ response = JSON.parse(body)
2417
+ if response['Response'].key?('Error') == false
2418
+ model = ModifyFunctionRuleResponse.new
2419
+ model.deserialize(response['Response'])
2420
+ model
2421
+ else
2422
+ code = response['Response']['Error']['Code']
2423
+ message = response['Response']['Error']['Message']
2424
+ reqid = response['Response']['RequestId']
2425
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2426
+ end
2427
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2428
+ raise e
2429
+ rescue StandardError => e
2430
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2431
+ end
2432
+
2433
+ # 修改边缘函数触发规则的优先级。
2434
+
2435
+ # @param request: Request instance for ModifyFunctionRulePriority.
2436
+ # @type request: :class:`Tencentcloud::teo::V20220901::ModifyFunctionRulePriorityRequest`
2437
+ # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyFunctionRulePriorityResponse`
2438
+ def ModifyFunctionRulePriority(request)
2439
+ body = send_request('ModifyFunctionRulePriority', request.serialize)
2440
+ response = JSON.parse(body)
2441
+ if response['Response'].key?('Error') == false
2442
+ model = ModifyFunctionRulePriorityResponse.new
2443
+ model.deserialize(response['Response'])
2444
+ model
2445
+ else
2446
+ code = response['Response']['Error']['Code']
2447
+ message = response['Response']['Error']['Message']
2448
+ reqid = response['Response']['RequestId']
2449
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2450
+ end
2451
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2452
+ raise e
2453
+ rescue StandardError => e
2454
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2455
+ end
2456
+
2192
2457
  # 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
2193
2458
  # 如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
2194
2459
  # ](https://cloud.tencent.com/document/product/1552/88874)。
@@ -2355,6 +2355,109 @@ module TencentCloud
2355
2355
  end
2356
2356
  end
2357
2357
 
2358
+ # CreateFunction请求参数结构体
2359
+ class CreateFunctionRequest < TencentCloud::Common::AbstractModel
2360
+ # @param ZoneId: 站点 ID。
2361
+ # @type ZoneId: String
2362
+ # @param Name: 函数名称,只能包含小写字母、数字、连字符,以数字或字母开头,以数字或字母结尾,最大支持 30 个字符。
2363
+ # @type Name: String
2364
+ # @param Content: 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小。
2365
+ # @type Content: String
2366
+ # @param Remark: 函数描述,最大支持 60 个字符。
2367
+ # @type Remark: String
2368
+
2369
+ attr_accessor :ZoneId, :Name, :Content, :Remark
2370
+
2371
+ def initialize(zoneid=nil, name=nil, content=nil, remark=nil)
2372
+ @ZoneId = zoneid
2373
+ @Name = name
2374
+ @Content = content
2375
+ @Remark = remark
2376
+ end
2377
+
2378
+ def deserialize(params)
2379
+ @ZoneId = params['ZoneId']
2380
+ @Name = params['Name']
2381
+ @Content = params['Content']
2382
+ @Remark = params['Remark']
2383
+ end
2384
+ end
2385
+
2386
+ # CreateFunction返回参数结构体
2387
+ class CreateFunctionResponse < TencentCloud::Common::AbstractModel
2388
+ # @param FunctionId: 函数 ID。
2389
+ # @type FunctionId: String
2390
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2391
+ # @type RequestId: String
2392
+
2393
+ attr_accessor :FunctionId, :RequestId
2394
+
2395
+ def initialize(functionid=nil, requestid=nil)
2396
+ @FunctionId = functionid
2397
+ @RequestId = requestid
2398
+ end
2399
+
2400
+ def deserialize(params)
2401
+ @FunctionId = params['FunctionId']
2402
+ @RequestId = params['RequestId']
2403
+ end
2404
+ end
2405
+
2406
+ # CreateFunctionRule请求参数结构体
2407
+ class CreateFunctionRuleRequest < TencentCloud::Common::AbstractModel
2408
+ # @param ZoneId: 站点 ID。
2409
+ # @type ZoneId: String
2410
+ # @param FunctionRuleConditions: 规则条件列表,相同触发规则的不同条件匹配项之间为或关系。
2411
+ # @type FunctionRuleConditions: Array
2412
+ # @param FunctionId: 函数 ID,命中触发规则条件后执行的函数。
2413
+ # @type FunctionId: String
2414
+ # @param Remark: 规则描述,最大支持 60 个字符。
2415
+ # @type Remark: String
2416
+
2417
+ attr_accessor :ZoneId, :FunctionRuleConditions, :FunctionId, :Remark
2418
+
2419
+ def initialize(zoneid=nil, functionruleconditions=nil, functionid=nil, remark=nil)
2420
+ @ZoneId = zoneid
2421
+ @FunctionRuleConditions = functionruleconditions
2422
+ @FunctionId = functionid
2423
+ @Remark = remark
2424
+ end
2425
+
2426
+ def deserialize(params)
2427
+ @ZoneId = params['ZoneId']
2428
+ unless params['FunctionRuleConditions'].nil?
2429
+ @FunctionRuleConditions = []
2430
+ params['FunctionRuleConditions'].each do |i|
2431
+ functionrulecondition_tmp = FunctionRuleCondition.new
2432
+ functionrulecondition_tmp.deserialize(i)
2433
+ @FunctionRuleConditions << functionrulecondition_tmp
2434
+ end
2435
+ end
2436
+ @FunctionId = params['FunctionId']
2437
+ @Remark = params['Remark']
2438
+ end
2439
+ end
2440
+
2441
+ # CreateFunctionRule返回参数结构体
2442
+ class CreateFunctionRuleResponse < TencentCloud::Common::AbstractModel
2443
+ # @param RuleId: 规则 ID。
2444
+ # @type RuleId: String
2445
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2446
+ # @type RequestId: String
2447
+
2448
+ attr_accessor :RuleId, :RequestId
2449
+
2450
+ def initialize(ruleid=nil, requestid=nil)
2451
+ @RuleId = ruleid
2452
+ @RequestId = requestid
2453
+ end
2454
+
2455
+ def deserialize(params)
2456
+ @RuleId = params['RuleId']
2457
+ @RequestId = params['RequestId']
2458
+ end
2459
+ end
2460
+
2358
2461
  # CreateL4Proxy请求参数结构体
2359
2462
  class CreateL4ProxyRequest < TencentCloud::Common::AbstractModel
2360
2463
  # @param ZoneId: 站点 ID。
@@ -3706,6 +3809,78 @@ module TencentCloud
3706
3809
  end
3707
3810
  end
3708
3811
 
3812
+ # DeleteFunction请求参数结构体
3813
+ class DeleteFunctionRequest < TencentCloud::Common::AbstractModel
3814
+ # @param ZoneId: 站点 ID。
3815
+ # @type ZoneId: String
3816
+ # @param FunctionId: 函数 ID。
3817
+ # @type FunctionId: String
3818
+
3819
+ attr_accessor :ZoneId, :FunctionId
3820
+
3821
+ def initialize(zoneid=nil, functionid=nil)
3822
+ @ZoneId = zoneid
3823
+ @FunctionId = functionid
3824
+ end
3825
+
3826
+ def deserialize(params)
3827
+ @ZoneId = params['ZoneId']
3828
+ @FunctionId = params['FunctionId']
3829
+ end
3830
+ end
3831
+
3832
+ # DeleteFunction返回参数结构体
3833
+ class DeleteFunctionResponse < TencentCloud::Common::AbstractModel
3834
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3835
+ # @type RequestId: String
3836
+
3837
+ attr_accessor :RequestId
3838
+
3839
+ def initialize(requestid=nil)
3840
+ @RequestId = requestid
3841
+ end
3842
+
3843
+ def deserialize(params)
3844
+ @RequestId = params['RequestId']
3845
+ end
3846
+ end
3847
+
3848
+ # DeleteFunctionRules请求参数结构体
3849
+ class DeleteFunctionRulesRequest < TencentCloud::Common::AbstractModel
3850
+ # @param ZoneId: 站点 ID。
3851
+ # @type ZoneId: String
3852
+ # @param RuleIds: 规则 ID 列表。
3853
+ # @type RuleIds: Array
3854
+
3855
+ attr_accessor :ZoneId, :RuleIds
3856
+
3857
+ def initialize(zoneid=nil, ruleids=nil)
3858
+ @ZoneId = zoneid
3859
+ @RuleIds = ruleids
3860
+ end
3861
+
3862
+ def deserialize(params)
3863
+ @ZoneId = params['ZoneId']
3864
+ @RuleIds = params['RuleIds']
3865
+ end
3866
+ end
3867
+
3868
+ # DeleteFunctionRules返回参数结构体
3869
+ class DeleteFunctionRulesResponse < TencentCloud::Common::AbstractModel
3870
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3871
+ # @type RequestId: String
3872
+
3873
+ attr_accessor :RequestId
3874
+
3875
+ def initialize(requestid=nil)
3876
+ @RequestId = requestid
3877
+ end
3878
+
3879
+ def deserialize(params)
3880
+ @RequestId = params['RequestId']
3881
+ end
3882
+ end
3883
+
3709
3884
  # DeleteL4Proxy请求参数结构体
3710
3885
  class DeleteL4ProxyRequest < TencentCloud::Common::AbstractModel
3711
3886
  # @param ZoneId: 站点 ID。
@@ -5172,6 +5347,182 @@ module TencentCloud
5172
5347
  end
5173
5348
  end
5174
5349
 
5350
+ # DescribeFunctionRules请求参数结构体
5351
+ class DescribeFunctionRulesRequest < TencentCloud::Common::AbstractModel
5352
+ # @param ZoneId: 站点 ID。
5353
+ # @type ZoneId: String
5354
+ # @param Filters: 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下:
5355
+ # <li>rule-id:按照【规则 ID】进行精确匹配。</li>
5356
+ # <li>function-id:按照【函数 ID】进行精确匹配。</li>
5357
+ # <li>remark:按照【规则描述】进行模糊匹配。</li>
5358
+ # @type Filters: Array
5359
+
5360
+ attr_accessor :ZoneId, :Filters
5361
+
5362
+ def initialize(zoneid=nil, filters=nil)
5363
+ @ZoneId = zoneid
5364
+ @Filters = filters
5365
+ end
5366
+
5367
+ def deserialize(params)
5368
+ @ZoneId = params['ZoneId']
5369
+ unless params['Filters'].nil?
5370
+ @Filters = []
5371
+ params['Filters'].each do |i|
5372
+ filter_tmp = Filter.new
5373
+ filter_tmp.deserialize(i)
5374
+ @Filters << filter_tmp
5375
+ end
5376
+ end
5377
+ end
5378
+ end
5379
+
5380
+ # DescribeFunctionRules返回参数结构体
5381
+ class DescribeFunctionRulesResponse < TencentCloud::Common::AbstractModel
5382
+ # @param FunctionRules: 规则详情列表。
5383
+ # @type FunctionRules: Array
5384
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5385
+ # @type RequestId: String
5386
+
5387
+ attr_accessor :FunctionRules, :RequestId
5388
+
5389
+ def initialize(functionrules=nil, requestid=nil)
5390
+ @FunctionRules = functionrules
5391
+ @RequestId = requestid
5392
+ end
5393
+
5394
+ def deserialize(params)
5395
+ unless params['FunctionRules'].nil?
5396
+ @FunctionRules = []
5397
+ params['FunctionRules'].each do |i|
5398
+ functionrule_tmp = FunctionRule.new
5399
+ functionrule_tmp.deserialize(i)
5400
+ @FunctionRules << functionrule_tmp
5401
+ end
5402
+ end
5403
+ @RequestId = params['RequestId']
5404
+ end
5405
+ end
5406
+
5407
+ # DescribeFunctionRuntimeEnvironment请求参数结构体
5408
+ class DescribeFunctionRuntimeEnvironmentRequest < TencentCloud::Common::AbstractModel
5409
+ # @param ZoneId: 站点 ID。
5410
+ # @type ZoneId: String
5411
+ # @param FunctionId: 函数 ID。
5412
+ # @type FunctionId: String
5413
+
5414
+ attr_accessor :ZoneId, :FunctionId
5415
+
5416
+ def initialize(zoneid=nil, functionid=nil)
5417
+ @ZoneId = zoneid
5418
+ @FunctionId = functionid
5419
+ end
5420
+
5421
+ def deserialize(params)
5422
+ @ZoneId = params['ZoneId']
5423
+ @FunctionId = params['FunctionId']
5424
+ end
5425
+ end
5426
+
5427
+ # DescribeFunctionRuntimeEnvironment返回参数结构体
5428
+ class DescribeFunctionRuntimeEnvironmentResponse < TencentCloud::Common::AbstractModel
5429
+ # @param EnvironmentVariables: 环境变量列表。
5430
+ # @type EnvironmentVariables: Array
5431
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5432
+ # @type RequestId: String
5433
+
5434
+ attr_accessor :EnvironmentVariables, :RequestId
5435
+
5436
+ def initialize(environmentvariables=nil, requestid=nil)
5437
+ @EnvironmentVariables = environmentvariables
5438
+ @RequestId = requestid
5439
+ end
5440
+
5441
+ def deserialize(params)
5442
+ unless params['EnvironmentVariables'].nil?
5443
+ @EnvironmentVariables = []
5444
+ params['EnvironmentVariables'].each do |i|
5445
+ functionenvironmentvariable_tmp = FunctionEnvironmentVariable.new
5446
+ functionenvironmentvariable_tmp.deserialize(i)
5447
+ @EnvironmentVariables << functionenvironmentvariable_tmp
5448
+ end
5449
+ end
5450
+ @RequestId = params['RequestId']
5451
+ end
5452
+ end
5453
+
5454
+ # DescribeFunctions请求参数结构体
5455
+ class DescribeFunctionsRequest < TencentCloud::Common::AbstractModel
5456
+ # @param ZoneId: 站点 ID。
5457
+ # @type ZoneId: String
5458
+ # @param FunctionIds: 按照函数 ID 列表过滤。
5459
+ # @type FunctionIds: Array
5460
+ # @param Filters: 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下:
5461
+ # <li>name:按照【函数名称】进行模糊匹配。</li>
5462
+ # <li>remark:按照【函数描述】进行模糊匹配。</li>
5463
+ # @type Filters: Array
5464
+ # @param Offset: 分页查询偏移量。默认值:0。
5465
+ # @type Offset: Integer
5466
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:200。
5467
+ # @type Limit: Integer
5468
+
5469
+ attr_accessor :ZoneId, :FunctionIds, :Filters, :Offset, :Limit
5470
+
5471
+ def initialize(zoneid=nil, functionids=nil, filters=nil, offset=nil, limit=nil)
5472
+ @ZoneId = zoneid
5473
+ @FunctionIds = functionids
5474
+ @Filters = filters
5475
+ @Offset = offset
5476
+ @Limit = limit
5477
+ end
5478
+
5479
+ def deserialize(params)
5480
+ @ZoneId = params['ZoneId']
5481
+ @FunctionIds = params['FunctionIds']
5482
+ unless params['Filters'].nil?
5483
+ @Filters = []
5484
+ params['Filters'].each do |i|
5485
+ filter_tmp = Filter.new
5486
+ filter_tmp.deserialize(i)
5487
+ @Filters << filter_tmp
5488
+ end
5489
+ end
5490
+ @Offset = params['Offset']
5491
+ @Limit = params['Limit']
5492
+ end
5493
+ end
5494
+
5495
+ # DescribeFunctions返回参数结构体
5496
+ class DescribeFunctionsResponse < TencentCloud::Common::AbstractModel
5497
+ # @param TotalCount: 符合查询条件的函数总数。
5498
+ # @type TotalCount: Integer
5499
+ # @param Functions: 符合查询条件的所有函数信息。
5500
+ # @type Functions: Array
5501
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5502
+ # @type RequestId: String
5503
+
5504
+ attr_accessor :TotalCount, :Functions, :RequestId
5505
+
5506
+ def initialize(totalcount=nil, functions=nil, requestid=nil)
5507
+ @TotalCount = totalcount
5508
+ @Functions = functions
5509
+ @RequestId = requestid
5510
+ end
5511
+
5512
+ def deserialize(params)
5513
+ @TotalCount = params['TotalCount']
5514
+ unless params['Functions'].nil?
5515
+ @Functions = []
5516
+ params['Functions'].each do |i|
5517
+ function_tmp = Function.new
5518
+ function_tmp.deserialize(i)
5519
+ @Functions << function_tmp
5520
+ end
5521
+ end
5522
+ @RequestId = params['RequestId']
5523
+ end
5524
+ end
5525
+
5175
5526
  # DescribeHostsSetting请求参数结构体
5176
5527
  class DescribeHostsSettingRequest < TencentCloud::Common::AbstractModel
5177
5528
  # @param ZoneId: 站点ID。
@@ -7769,6 +8120,150 @@ module TencentCloud
7769
8120
  end
7770
8121
  end
7771
8122
 
8123
+ # 边缘函数详情
8124
+ class Function < TencentCloud::Common::AbstractModel
8125
+ # @param FunctionId: 函数 ID。
8126
+ # @type FunctionId: String
8127
+ # @param ZoneId: 站点 ID。
8128
+ # @type ZoneId: String
8129
+ # @param Name: 函数名字。
8130
+ # @type Name: String
8131
+ # @param Remark: 函数描述。
8132
+ # @type Remark: String
8133
+ # @param Content: 函数内容。
8134
+ # @type Content: String
8135
+ # @param Domain: 函数默认域名。
8136
+ # @type Domain: String
8137
+ # @param CreateTime: 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
8138
+ # @type CreateTime: String
8139
+ # @param UpdateTime: 修改时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
8140
+ # @type UpdateTime: String
8141
+
8142
+ attr_accessor :FunctionId, :ZoneId, :Name, :Remark, :Content, :Domain, :CreateTime, :UpdateTime
8143
+
8144
+ def initialize(functionid=nil, zoneid=nil, name=nil, remark=nil, content=nil, domain=nil, createtime=nil, updatetime=nil)
8145
+ @FunctionId = functionid
8146
+ @ZoneId = zoneid
8147
+ @Name = name
8148
+ @Remark = remark
8149
+ @Content = content
8150
+ @Domain = domain
8151
+ @CreateTime = createtime
8152
+ @UpdateTime = updatetime
8153
+ end
8154
+
8155
+ def deserialize(params)
8156
+ @FunctionId = params['FunctionId']
8157
+ @ZoneId = params['ZoneId']
8158
+ @Name = params['Name']
8159
+ @Remark = params['Remark']
8160
+ @Content = params['Content']
8161
+ @Domain = params['Domain']
8162
+ @CreateTime = params['CreateTime']
8163
+ @UpdateTime = params['UpdateTime']
8164
+ end
8165
+ end
8166
+
8167
+ # 边缘函数环境变量
8168
+ class FunctionEnvironmentVariable < TencentCloud::Common::AbstractModel
8169
+ # @param Key: 变量的名称,限制只能包含大小写字母、数字,特殊字符仅支持 @ . - _ ,最大 64 个字节,不支持重复。
8170
+ # @type Key: String
8171
+ # @param Value: 变量的值,限制最大 5000 字节,默认值为空。
8172
+ # @type Value: String
8173
+ # @param Type: 变量的类型,取值有:
8174
+ # <li>string:字符串类型;</li>
8175
+ # <li>json:json 对象类型。</li>默认值为:string。
8176
+ # @type Type: String
8177
+
8178
+ attr_accessor :Key, :Value, :Type
8179
+
8180
+ def initialize(key=nil, value=nil, type=nil)
8181
+ @Key = key
8182
+ @Value = value
8183
+ @Type = type
8184
+ end
8185
+
8186
+ def deserialize(params)
8187
+ @Key = params['Key']
8188
+ @Value = params['Value']
8189
+ @Type = params['Type']
8190
+ end
8191
+ end
8192
+
8193
+ # 边缘函数触发规则。
8194
+ class FunctionRule < TencentCloud::Common::AbstractModel
8195
+ # @param RuleId: 规则ID。
8196
+ # @type RuleId: String
8197
+ # @param FunctionRuleConditions: 规则条件列表,列表项之间为或关系。
8198
+ # @type FunctionRuleConditions: Array
8199
+ # @param FunctionId: 函数 ID,命中触发规则条件后执行的函数。
8200
+ # @type FunctionId: String
8201
+ # @param Remark: 规则描述。
8202
+ # @type Remark: String
8203
+ # @param FunctionName: 函数名称。
8204
+ # @type FunctionName: String
8205
+ # @param Priority: 函数触发规则优先级,数值越大,优先级越高。
8206
+ # @type Priority: Integer
8207
+ # @param CreateTime: 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
8208
+ # @type CreateTime: String
8209
+ # @param UpdateTime: 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
8210
+ # @type UpdateTime: String
8211
+
8212
+ attr_accessor :RuleId, :FunctionRuleConditions, :FunctionId, :Remark, :FunctionName, :Priority, :CreateTime, :UpdateTime
8213
+
8214
+ def initialize(ruleid=nil, functionruleconditions=nil, functionid=nil, remark=nil, functionname=nil, priority=nil, createtime=nil, updatetime=nil)
8215
+ @RuleId = ruleid
8216
+ @FunctionRuleConditions = functionruleconditions
8217
+ @FunctionId = functionid
8218
+ @Remark = remark
8219
+ @FunctionName = functionname
8220
+ @Priority = priority
8221
+ @CreateTime = createtime
8222
+ @UpdateTime = updatetime
8223
+ end
8224
+
8225
+ def deserialize(params)
8226
+ @RuleId = params['RuleId']
8227
+ unless params['FunctionRuleConditions'].nil?
8228
+ @FunctionRuleConditions = []
8229
+ params['FunctionRuleConditions'].each do |i|
8230
+ functionrulecondition_tmp = FunctionRuleCondition.new
8231
+ functionrulecondition_tmp.deserialize(i)
8232
+ @FunctionRuleConditions << functionrulecondition_tmp
8233
+ end
8234
+ end
8235
+ @FunctionId = params['FunctionId']
8236
+ @Remark = params['Remark']
8237
+ @FunctionName = params['FunctionName']
8238
+ @Priority = params['Priority']
8239
+ @CreateTime = params['CreateTime']
8240
+ @UpdateTime = params['UpdateTime']
8241
+ end
8242
+ end
8243
+
8244
+ # 边缘函数触发规则条件。
8245
+ class FunctionRuleCondition < TencentCloud::Common::AbstractModel
8246
+ # @param RuleConditions: 边缘函数触发规则条件,该列表内所有项全部满足即判断该条件满足。
8247
+ # @type RuleConditions: Array
8248
+
8249
+ attr_accessor :RuleConditions
8250
+
8251
+ def initialize(ruleconditions=nil)
8252
+ @RuleConditions = ruleconditions
8253
+ end
8254
+
8255
+ def deserialize(params)
8256
+ unless params['RuleConditions'].nil?
8257
+ @RuleConditions = []
8258
+ params['RuleConditions'].each do |i|
8259
+ rulecondition_tmp = RuleCondition.new
8260
+ rulecondition_tmp.deserialize(i)
8261
+ @RuleConditions << rulecondition_tmp
8262
+ end
8263
+ end
8264
+ end
8265
+ end
8266
+
7772
8267
  # Grpc配置项
7773
8268
  class Grpc < TencentCloud::Common::AbstractModel
7774
8269
  # @param Switch: 是否开启 Grpc 配置,取值有:
@@ -7787,6 +8282,61 @@ module TencentCloud
7787
8282
  end
7788
8283
  end
7789
8284
 
8285
+ # HandleFunctionRuntimeEnvironment请求参数结构体
8286
+ class HandleFunctionRuntimeEnvironmentRequest < TencentCloud::Common::AbstractModel
8287
+ # @param ZoneId: 站点 ID。
8288
+ # @type ZoneId: String
8289
+ # @param FunctionId: 函数 ID。
8290
+ # @type FunctionId: String
8291
+ # @param Operation: 操作类型,取值有:
8292
+ # <li>setEnvironmentVariable:设置环境变量,当环境变量存在时为修改行为,否则为添加行为;</li>
8293
+ # <li>deleteEnvironmentVariable:删除环境变量变量;</li>
8294
+ # <li>clearEnvironmentVariable:清空环境变量变量;</li>
8295
+ # <li>resetEnvironmentVariable:重置环境变量变量。</li>
8296
+ # @type Operation: String
8297
+ # @param EnvironmentVariables: 环境变量列表,函数运行环境最多支持 64 个变量。当 Operation 取值为 setEnvironmentVariable、deleteEnvironmentVariable、resetEnvironmentVariable 时必填。
8298
+ # @type EnvironmentVariables: Array
8299
+
8300
+ attr_accessor :ZoneId, :FunctionId, :Operation, :EnvironmentVariables
8301
+
8302
+ def initialize(zoneid=nil, functionid=nil, operation=nil, environmentvariables=nil)
8303
+ @ZoneId = zoneid
8304
+ @FunctionId = functionid
8305
+ @Operation = operation
8306
+ @EnvironmentVariables = environmentvariables
8307
+ end
8308
+
8309
+ def deserialize(params)
8310
+ @ZoneId = params['ZoneId']
8311
+ @FunctionId = params['FunctionId']
8312
+ @Operation = params['Operation']
8313
+ unless params['EnvironmentVariables'].nil?
8314
+ @EnvironmentVariables = []
8315
+ params['EnvironmentVariables'].each do |i|
8316
+ functionenvironmentvariable_tmp = FunctionEnvironmentVariable.new
8317
+ functionenvironmentvariable_tmp.deserialize(i)
8318
+ @EnvironmentVariables << functionenvironmentvariable_tmp
8319
+ end
8320
+ end
8321
+ end
8322
+ end
8323
+
8324
+ # HandleFunctionRuntimeEnvironment返回参数结构体
8325
+ class HandleFunctionRuntimeEnvironmentResponse < TencentCloud::Common::AbstractModel
8326
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8327
+ # @type RequestId: String
8328
+
8329
+ attr_accessor :RequestId
8330
+
8331
+ def initialize(requestid=nil)
8332
+ @RequestId = requestid
8333
+ end
8334
+
8335
+ def deserialize(params)
8336
+ @RequestId = params['RequestId']
8337
+ end
8338
+ end
8339
+
7790
8340
  # 刷新预热附带的头部信息
7791
8341
  class Header < TencentCloud::Common::AbstractModel
7792
8342
  # @param Name: HTTP头部名称。
@@ -9202,6 +9752,141 @@ module TencentCloud
9202
9752
  end
9203
9753
  end
9204
9754
 
9755
+ # ModifyFunction请求参数结构体
9756
+ class ModifyFunctionRequest < TencentCloud::Common::AbstractModel
9757
+ # @param ZoneId: 站点 ID。
9758
+ # @type ZoneId: String
9759
+ # @param FunctionId: 函数 ID。
9760
+ # @type FunctionId: String
9761
+ # @param Remark: 函数描述,最大支持 60 个字符,不填写保持原有配置。
9762
+ # @type Remark: String
9763
+ # @param Content: 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小,不填写保持原有配置。
9764
+ # @type Content: String
9765
+
9766
+ attr_accessor :ZoneId, :FunctionId, :Remark, :Content
9767
+
9768
+ def initialize(zoneid=nil, functionid=nil, remark=nil, content=nil)
9769
+ @ZoneId = zoneid
9770
+ @FunctionId = functionid
9771
+ @Remark = remark
9772
+ @Content = content
9773
+ end
9774
+
9775
+ def deserialize(params)
9776
+ @ZoneId = params['ZoneId']
9777
+ @FunctionId = params['FunctionId']
9778
+ @Remark = params['Remark']
9779
+ @Content = params['Content']
9780
+ end
9781
+ end
9782
+
9783
+ # ModifyFunction返回参数结构体
9784
+ class ModifyFunctionResponse < TencentCloud::Common::AbstractModel
9785
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9786
+ # @type RequestId: String
9787
+
9788
+ attr_accessor :RequestId
9789
+
9790
+ def initialize(requestid=nil)
9791
+ @RequestId = requestid
9792
+ end
9793
+
9794
+ def deserialize(params)
9795
+ @RequestId = params['RequestId']
9796
+ end
9797
+ end
9798
+
9799
+ # ModifyFunctionRulePriority请求参数结构体
9800
+ class ModifyFunctionRulePriorityRequest < TencentCloud::Common::AbstractModel
9801
+ # @param ZoneId: 站点 ID。
9802
+ # @type ZoneId: String
9803
+ # @param RuleIds: 规则 ID 列表,必须填入调整优先级后的所有规则 ID,多条规则执行顺序依次从上往下,不填写保持原优先级顺序。
9804
+ # @type RuleIds: Array
9805
+
9806
+ attr_accessor :ZoneId, :RuleIds
9807
+
9808
+ def initialize(zoneid=nil, ruleids=nil)
9809
+ @ZoneId = zoneid
9810
+ @RuleIds = ruleids
9811
+ end
9812
+
9813
+ def deserialize(params)
9814
+ @ZoneId = params['ZoneId']
9815
+ @RuleIds = params['RuleIds']
9816
+ end
9817
+ end
9818
+
9819
+ # ModifyFunctionRulePriority返回参数结构体
9820
+ class ModifyFunctionRulePriorityResponse < TencentCloud::Common::AbstractModel
9821
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9822
+ # @type RequestId: String
9823
+
9824
+ attr_accessor :RequestId
9825
+
9826
+ def initialize(requestid=nil)
9827
+ @RequestId = requestid
9828
+ end
9829
+
9830
+ def deserialize(params)
9831
+ @RequestId = params['RequestId']
9832
+ end
9833
+ end
9834
+
9835
+ # ModifyFunctionRule请求参数结构体
9836
+ class ModifyFunctionRuleRequest < TencentCloud::Common::AbstractModel
9837
+ # @param ZoneId: 站点 ID。
9838
+ # @type ZoneId: String
9839
+ # @param RuleId: 规则 ID。
9840
+ # @type RuleId: String
9841
+ # @param FunctionRuleConditions: 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。
9842
+ # @type FunctionRuleConditions: Array
9843
+ # @param FunctionId: 函数 ID,命中触发规则条件后执行的函数,不填写保持原有配置。
9844
+ # @type FunctionId: String
9845
+ # @param Remark: 规则描述,最大支持 60 个字符,不填写保持原有配置。
9846
+ # @type Remark: String
9847
+
9848
+ attr_accessor :ZoneId, :RuleId, :FunctionRuleConditions, :FunctionId, :Remark
9849
+
9850
+ def initialize(zoneid=nil, ruleid=nil, functionruleconditions=nil, functionid=nil, remark=nil)
9851
+ @ZoneId = zoneid
9852
+ @RuleId = ruleid
9853
+ @FunctionRuleConditions = functionruleconditions
9854
+ @FunctionId = functionid
9855
+ @Remark = remark
9856
+ end
9857
+
9858
+ def deserialize(params)
9859
+ @ZoneId = params['ZoneId']
9860
+ @RuleId = params['RuleId']
9861
+ unless params['FunctionRuleConditions'].nil?
9862
+ @FunctionRuleConditions = []
9863
+ params['FunctionRuleConditions'].each do |i|
9864
+ functionrulecondition_tmp = FunctionRuleCondition.new
9865
+ functionrulecondition_tmp.deserialize(i)
9866
+ @FunctionRuleConditions << functionrulecondition_tmp
9867
+ end
9868
+ end
9869
+ @FunctionId = params['FunctionId']
9870
+ @Remark = params['Remark']
9871
+ end
9872
+ end
9873
+
9874
+ # ModifyFunctionRule返回参数结构体
9875
+ class ModifyFunctionRuleResponse < TencentCloud::Common::AbstractModel
9876
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9877
+ # @type RequestId: String
9878
+
9879
+ attr_accessor :RequestId
9880
+
9881
+ def initialize(requestid=nil)
9882
+ @RequestId = requestid
9883
+ end
9884
+
9885
+ def deserialize(params)
9886
+ @RequestId = params['RequestId']
9887
+ end
9888
+ end
9889
+
9205
9890
  # ModifyHostsCertificate请求参数结构体
9206
9891
  class ModifyHostsCertificateRequest < TencentCloud::Common::AbstractModel
9207
9892
  # @param ZoneId: 站点 ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.915
4
+ version: 3.0.916
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-09-26 00:00:00.000000000 Z
11
+ date: 2024-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common