tencentcloud-sdk-teo 3.0.1114 → 3.0.1116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,66 @@
17
17
  module TencentCloud
18
18
  module Teo
19
19
  module V20220901
20
+ # API 资源。
21
+ class APIResource < TencentCloud::Common::AbstractModel
22
+ # @param Id: 资源 ID。
23
+ # @type Id: String
24
+ # @param Name: 资源名称。
25
+ # @type Name: String
26
+ # @param APIServiceIds: API 资源关联的 API 服务 ID 列表。
27
+ # @type APIServiceIds: Array
28
+ # @param Path: 资源路径。
29
+ # @type Path: String
30
+ # @param Methods: 请求方法列表。支持以下取值:GET, POST, PUT, HEAD, PATCH, OPTIONS, DELETE。
31
+ # @type Methods: Array
32
+ # @param RequestConstraint: 请求内容匹配规则的具体内容,需符合表达式语法,详细规范参见产品文档。
33
+ # @type RequestConstraint: String
34
+
35
+ attr_accessor :Id, :Name, :APIServiceIds, :Path, :Methods, :RequestConstraint
36
+
37
+ def initialize(id=nil, name=nil, apiserviceids=nil, path=nil, methods=nil, requestconstraint=nil)
38
+ @Id = id
39
+ @Name = name
40
+ @APIServiceIds = apiserviceids
41
+ @Path = path
42
+ @Methods = methods
43
+ @RequestConstraint = requestconstraint
44
+ end
45
+
46
+ def deserialize(params)
47
+ @Id = params['Id']
48
+ @Name = params['Name']
49
+ @APIServiceIds = params['APIServiceIds']
50
+ @Path = params['Path']
51
+ @Methods = params['Methods']
52
+ @RequestConstraint = params['RequestConstraint']
53
+ end
54
+ end
55
+
56
+ # API 服务配置。
57
+ class APIService < TencentCloud::Common::AbstractModel
58
+ # @param Id: API 服务 ID。
59
+ # @type Id: String
60
+ # @param Name: API 服务名称。
61
+ # @type Name: String
62
+ # @param BasePath: 基础路径。
63
+ # @type BasePath: String
64
+
65
+ attr_accessor :Id, :Name, :BasePath
66
+
67
+ def initialize(id=nil, name=nil, basepath=nil)
68
+ @Id = id
69
+ @Name = name
70
+ @BasePath = basepath
71
+ end
72
+
73
+ def deserialize(params)
74
+ @Id = params['Id']
75
+ @Name = params['Name']
76
+ @BasePath = params['BasePath']
77
+ end
78
+ end
79
+
20
80
  # 中国大陆加速优化配置。
21
81
  class AccelerateMainland < TencentCloud::Common::AbstractModel
22
82
  # @param Switch: 是否开启中国大陆加速优化配置,取值有:
@@ -1108,6 +1168,27 @@ module TencentCloud
1108
1168
  end
1109
1169
  end
1110
1170
 
1171
+ # 音频流配置参数。
1172
+ class AudioTemplateInfo < TencentCloud::Common::AbstractModel
1173
+ # @param Codec: 音频流的编码格式。可选值为:
1174
+ # <li>libfdk_aac。</li>
1175
+ # @type Codec: String
1176
+ # @param AudioChannel: 音频通道数,可选值:<li>2:双通道。</li>默认值:2。
1177
+ # @type AudioChannel: Integer
1178
+
1179
+ attr_accessor :Codec, :AudioChannel
1180
+
1181
+ def initialize(codec=nil, audiochannel=nil)
1182
+ @Codec = codec
1183
+ @AudioChannel = audiochannel
1184
+ end
1185
+
1186
+ def deserialize(params)
1187
+ @Codec = params['Codec']
1188
+ @AudioChannel = params['AudioChannel']
1189
+ end
1190
+ end
1191
+
1111
1192
  # Token 鉴权 配置参数。
1112
1193
  class AuthenticationParameters < TencentCloud::Common::AbstractModel
1113
1194
  # @param AuthType: 鉴权类型。取值有:
@@ -1803,8 +1884,8 @@ module TencentCloud
1803
1884
 
1804
1885
  attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
1805
1886
  extend Gem::Deprecate
1806
- deprecate :IgnoreCacheControl, :none, 2025, 7
1807
- deprecate :IgnoreCacheControl=, :none, 2025, 7
1887
+ deprecate :IgnoreCacheControl, :none, 2025, 8
1888
+ deprecate :IgnoreCacheControl=, :none, 2025, 8
1808
1889
 
1809
1890
  def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
1810
1891
  @Switch = switch
@@ -2488,6 +2569,61 @@ module TencentCloud
2488
2569
  end
2489
2570
  end
2490
2571
 
2572
+ # 认证选项配置。
2573
+ class ClientAttester < TencentCloud::Common::AbstractModel
2574
+ # @param Id: 认证选项 ID。
2575
+ # @type Id: String
2576
+ # @param Name: 认证选项名称。
2577
+ # @type Name: String
2578
+ # @param Type: 认证规则类型。仅出参返回,取值有:
2579
+ # <li>PRESET: 系统预置规则,仅允许修改 AttesterDuration;</li>
2580
+ # <li>CUSTOM: 用户自定义规则。</li>
2581
+ # @type Type: String
2582
+ # @param AttesterSource: 认证方法。取值有:
2583
+ # <li>TC-RCE: 使用全栈式风控引擎进行认证;</li>
2584
+ # <li>TC-CAPTCHA: 使用天御验证码进行认证。</li>
2585
+ # @type AttesterSource: String
2586
+ # @param AttesterDuration: 认证有效时间。默认为 60s,支持的单位有:
2587
+ # <li>s:秒,取值范围 60~43200;</li>
2588
+ # <li>m:分,取值范围 1~720;</li>
2589
+ # <li>h:小时,取值范围 1~12。</li>
2590
+ # @type AttesterDuration: String
2591
+ # @param TCRCEOption: TC-RCE 认证的配置信息。
2592
+ # <li>当 AttesterSource 参数值为 TC-RCE 时,此字段必填。</li>
2593
+ # @type TCRCEOption: :class:`Tencentcloud::Teo.v20220901.models.TCRCEOption`
2594
+ # @param TCCaptchaOption: TC-CAPTCHA 认证的配置信息。
2595
+ # <li>当 AttesterSource 参数值为 TC-CAPTCHA 时,此字段必填。</li>
2596
+ # @type TCCaptchaOption: :class:`Tencentcloud::Teo.v20220901.models.TCCaptchaOption`
2597
+
2598
+ attr_accessor :Id, :Name, :Type, :AttesterSource, :AttesterDuration, :TCRCEOption, :TCCaptchaOption
2599
+
2600
+ def initialize(id=nil, name=nil, type=nil, attestersource=nil, attesterduration=nil, tcrceoption=nil, tccaptchaoption=nil)
2601
+ @Id = id
2602
+ @Name = name
2603
+ @Type = type
2604
+ @AttesterSource = attestersource
2605
+ @AttesterDuration = attesterduration
2606
+ @TCRCEOption = tcrceoption
2607
+ @TCCaptchaOption = tccaptchaoption
2608
+ end
2609
+
2610
+ def deserialize(params)
2611
+ @Id = params['Id']
2612
+ @Name = params['Name']
2613
+ @Type = params['Type']
2614
+ @AttesterSource = params['AttesterSource']
2615
+ @AttesterDuration = params['AttesterDuration']
2616
+ unless params['TCRCEOption'].nil?
2617
+ @TCRCEOption = TCRCEOption.new
2618
+ @TCRCEOption.deserialize(params['TCRCEOption'])
2619
+ end
2620
+ unless params['TCCaptchaOption'].nil?
2621
+ @TCCaptchaOption = TCCaptchaOption.new
2622
+ @TCCaptchaOption.deserialize(params['TCCaptchaOption'])
2623
+ end
2624
+ end
2625
+ end
2626
+
2491
2627
  # 智能客户端过滤
2492
2628
  class ClientFiltering < TencentCloud::Common::AbstractModel
2493
2629
  # @param Enabled: 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
@@ -3509,6 +3645,76 @@ module TencentCloud
3509
3645
  end
3510
3646
  end
3511
3647
 
3648
+ # CreateJustInTimeTranscodeTemplate请求参数结构体
3649
+ class CreateJustInTimeTranscodeTemplateRequest < TencentCloud::Common::AbstractModel
3650
+ # @param ZoneId: 站点ID。
3651
+ # @type ZoneId: String
3652
+ # @param TemplateName: 即时转码模板名称,长度限制:64 个字符。
3653
+ # @type TemplateName: String
3654
+ # @param Comment: 模板描述信息,长度限制:256 个字符。默认为空。
3655
+ # @type Comment: String
3656
+ # @param VideoStreamSwitch: 启用视频流开关,取值:
3657
+ # <li>on:开启;</li>
3658
+ # <li>off:关闭。</li>默认值:on。
3659
+ # @type VideoStreamSwitch: String
3660
+ # @param AudioStreamSwitch: 启用音频流开关,取值:
3661
+ # <li>on:开启;</li>
3662
+ # <li>off:关闭。</li>默认值:on。
3663
+ # @type AudioStreamSwitch: String
3664
+ # @param VideoTemplate: 视频流配置参数,当 VideoStreamSwitch 为 on,该字段必填。
3665
+ # @type VideoTemplate: :class:`Tencentcloud::Teo.v20220901.models.VideoTemplateInfo`
3666
+ # @param AudioTemplate: 音频流配置参数,当 AudioStreamSwitch 为 on,该字段必填。
3667
+ # @type AudioTemplate: :class:`Tencentcloud::Teo.v20220901.models.AudioTemplateInfo`
3668
+
3669
+ attr_accessor :ZoneId, :TemplateName, :Comment, :VideoStreamSwitch, :AudioStreamSwitch, :VideoTemplate, :AudioTemplate
3670
+
3671
+ def initialize(zoneid=nil, templatename=nil, comment=nil, videostreamswitch=nil, audiostreamswitch=nil, videotemplate=nil, audiotemplate=nil)
3672
+ @ZoneId = zoneid
3673
+ @TemplateName = templatename
3674
+ @Comment = comment
3675
+ @VideoStreamSwitch = videostreamswitch
3676
+ @AudioStreamSwitch = audiostreamswitch
3677
+ @VideoTemplate = videotemplate
3678
+ @AudioTemplate = audiotemplate
3679
+ end
3680
+
3681
+ def deserialize(params)
3682
+ @ZoneId = params['ZoneId']
3683
+ @TemplateName = params['TemplateName']
3684
+ @Comment = params['Comment']
3685
+ @VideoStreamSwitch = params['VideoStreamSwitch']
3686
+ @AudioStreamSwitch = params['AudioStreamSwitch']
3687
+ unless params['VideoTemplate'].nil?
3688
+ @VideoTemplate = VideoTemplateInfo.new
3689
+ @VideoTemplate.deserialize(params['VideoTemplate'])
3690
+ end
3691
+ unless params['AudioTemplate'].nil?
3692
+ @AudioTemplate = AudioTemplateInfo.new
3693
+ @AudioTemplate.deserialize(params['AudioTemplate'])
3694
+ end
3695
+ end
3696
+ end
3697
+
3698
+ # CreateJustInTimeTranscodeTemplate返回参数结构体
3699
+ class CreateJustInTimeTranscodeTemplateResponse < TencentCloud::Common::AbstractModel
3700
+ # @param TemplateId: 即时转码模板唯一标识,用于即时转码 URL 拼接。
3701
+ # @type TemplateId: String
3702
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3703
+ # @type RequestId: String
3704
+
3705
+ attr_accessor :TemplateId, :RequestId
3706
+
3707
+ def initialize(templateid=nil, requestid=nil)
3708
+ @TemplateId = templateid
3709
+ @RequestId = requestid
3710
+ end
3711
+
3712
+ def deserialize(params)
3713
+ @TemplateId = params['TemplateId']
3714
+ @RequestId = params['RequestId']
3715
+ end
3716
+ end
3717
+
3512
3718
  # CreateL4Proxy请求参数结构体
3513
3719
  class CreateL4ProxyRequest < TencentCloud::Common::AbstractModel
3514
3720
  # @param ZoneId: 站点 ID。
@@ -4109,8 +4315,8 @@ module TencentCloud
4109
4315
 
4110
4316
  attr_accessor :ZoneId, :Targets, :EncodeUrl, :Headers, :PrefetchMediaSegments
4111
4317
  extend Gem::Deprecate
4112
- deprecate :EncodeUrl, :none, 2025, 7
4113
- deprecate :EncodeUrl=, :none, 2025, 7
4318
+ deprecate :EncodeUrl, :none, 2025, 8
4319
+ deprecate :EncodeUrl=, :none, 2025, 8
4114
4320
 
4115
4321
  def initialize(zoneid=nil, targets=nil, encodeurl=nil, headers=nil, prefetchmediasegments=nil)
4116
4322
  @ZoneId = zoneid
@@ -4192,8 +4398,8 @@ module TencentCloud
4192
4398
 
4193
4399
  attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl, :CacheTag
4194
4400
  extend Gem::Deprecate
4195
- deprecate :EncodeUrl, :none, 2025, 7
4196
- deprecate :EncodeUrl=, :none, 2025, 7
4401
+ deprecate :EncodeUrl, :none, 2025, 8
4402
+ deprecate :EncodeUrl=, :none, 2025, 8
4197
4403
 
4198
4404
  def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil, cachetag=nil)
4199
4405
  @ZoneId = zoneid
@@ -4258,15 +4464,17 @@ module TencentCloud
4258
4464
  # @param TaskType: 实时日志投递任务类型,取值有:
4259
4465
  # <li>cls: 推送到腾讯云 CLS;</li>
4260
4466
  # <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li>
4261
- # <li>s3:推送到 AWS S3 兼容存储桶地址。</li>
4467
+ # <li>s3:推送到 AWS S3 兼容存储桶地址;</li>
4262
4468
  # @type TaskType: String
4263
- # @param EntityList: 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下:
4264
- # <li>七层域名:domain.example.com;</li>
4265
- # <li>四层代理实例:sid-2s69eb5wcms7。</li>
4469
+ # @param EntityList: 实时日志投递任务对应的实体列表。取值示例如下:
4470
+ # <li>七层域名:domain.example.com</li>
4471
+ # <li>四层代理实例:sid-2s69eb5wcms7</li>
4472
+ # <li>边缘函数实例:test-zone-2mxigizoh9l9-1257626257</li>
4266
4473
  # @type EntityList: Array
4267
4474
  # @param LogType: 数据投递类型,取值有:
4268
4475
  # <li>domain:站点加速日志;</li>
4269
4476
  # <li>application:四层代理日志;</li>
4477
+ # <li>function:边缘函数运行日志;</li>
4270
4478
  # <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li>
4271
4479
  # <li>web-attack:托管规则日志;</li>
4272
4480
  # <li>web-rule:自定义规则日志;</li>
@@ -4276,7 +4484,10 @@ module TencentCloud
4276
4484
  # <li>mainland:中国大陆境内;</li>
4277
4485
  # <li>overseas:全球(不含中国大陆)。</li>
4278
4486
  # @type Area: String
4279
- # @param Fields: 投递的预设字段列表。
4487
+ # @param Fields: 投递的预设字段列表。取值参考:
4488
+ # <li>[站点加速日志(七层访问日志)](https://cloud.tencent.com/document/product/1552/105791)</li>
4489
+ # <li>[四层代理日志](https://cloud.tencent.com/document/product/1552/105792)</li>
4490
+ # <li>[边缘函数运行日志](https://cloud.tencent.com/document/product/1552/115585)</li>
4280
4491
  # @type Fields: Array
4281
4492
  # @param CustomFields: 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。
4282
4493
  # @type CustomFields: Array
@@ -4439,6 +4650,147 @@ module TencentCloud
4439
4650
  end
4440
4651
  end
4441
4652
 
4653
+ # CreateSecurityAPIResource请求参数结构体
4654
+ class CreateSecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
4655
+ # @param ZoneId: 站点 ID。
4656
+ # @type ZoneId: String
4657
+ # @param APIResources: API 资源列表。
4658
+ # @type APIResources: Array
4659
+
4660
+ attr_accessor :ZoneId, :APIResources
4661
+
4662
+ def initialize(zoneid=nil, apiresources=nil)
4663
+ @ZoneId = zoneid
4664
+ @APIResources = apiresources
4665
+ end
4666
+
4667
+ def deserialize(params)
4668
+ @ZoneId = params['ZoneId']
4669
+ unless params['APIResources'].nil?
4670
+ @APIResources = []
4671
+ params['APIResources'].each do |i|
4672
+ apiresource_tmp = APIResource.new
4673
+ apiresource_tmp.deserialize(i)
4674
+ @APIResources << apiresource_tmp
4675
+ end
4676
+ end
4677
+ end
4678
+ end
4679
+
4680
+ # CreateSecurityAPIResource返回参数结构体
4681
+ class CreateSecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
4682
+ # @param APIResourceIds: API 资源 ID 列表。
4683
+ # @type APIResourceIds: Array
4684
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4685
+ # @type RequestId: String
4686
+
4687
+ attr_accessor :APIResourceIds, :RequestId
4688
+
4689
+ def initialize(apiresourceids=nil, requestid=nil)
4690
+ @APIResourceIds = apiresourceids
4691
+ @RequestId = requestid
4692
+ end
4693
+
4694
+ def deserialize(params)
4695
+ @APIResourceIds = params['APIResourceIds']
4696
+ @RequestId = params['RequestId']
4697
+ end
4698
+ end
4699
+
4700
+ # CreateSecurityAPIService请求参数结构体
4701
+ class CreateSecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
4702
+ # @param ZoneId: 站点 ID。
4703
+ # @type ZoneId: String
4704
+ # @param APIServices: API 服务列表。
4705
+ # @type APIServices: Array
4706
+
4707
+ attr_accessor :ZoneId, :APIServices
4708
+
4709
+ def initialize(zoneid=nil, apiservices=nil)
4710
+ @ZoneId = zoneid
4711
+ @APIServices = apiservices
4712
+ end
4713
+
4714
+ def deserialize(params)
4715
+ @ZoneId = params['ZoneId']
4716
+ unless params['APIServices'].nil?
4717
+ @APIServices = []
4718
+ params['APIServices'].each do |i|
4719
+ apiservice_tmp = APIService.new
4720
+ apiservice_tmp.deserialize(i)
4721
+ @APIServices << apiservice_tmp
4722
+ end
4723
+ end
4724
+ end
4725
+ end
4726
+
4727
+ # CreateSecurityAPIService返回参数结构体
4728
+ class CreateSecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
4729
+ # @param APIServiceIds: API 服务 ID 列表。
4730
+ # @type APIServiceIds: Array
4731
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4732
+ # @type RequestId: String
4733
+
4734
+ attr_accessor :APIServiceIds, :RequestId
4735
+
4736
+ def initialize(apiserviceids=nil, requestid=nil)
4737
+ @APIServiceIds = apiserviceids
4738
+ @RequestId = requestid
4739
+ end
4740
+
4741
+ def deserialize(params)
4742
+ @APIServiceIds = params['APIServiceIds']
4743
+ @RequestId = params['RequestId']
4744
+ end
4745
+ end
4746
+
4747
+ # CreateSecurityClientAttester请求参数结构体
4748
+ class CreateSecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
4749
+ # @param ZoneId: 站点 ID。
4750
+ # @type ZoneId: String
4751
+ # @param ClientAttesters: 认证选项列表。
4752
+ # @type ClientAttesters: Array
4753
+
4754
+ attr_accessor :ZoneId, :ClientAttesters
4755
+
4756
+ def initialize(zoneid=nil, clientattesters=nil)
4757
+ @ZoneId = zoneid
4758
+ @ClientAttesters = clientattesters
4759
+ end
4760
+
4761
+ def deserialize(params)
4762
+ @ZoneId = params['ZoneId']
4763
+ unless params['ClientAttesters'].nil?
4764
+ @ClientAttesters = []
4765
+ params['ClientAttesters'].each do |i|
4766
+ clientattester_tmp = ClientAttester.new
4767
+ clientattester_tmp.deserialize(i)
4768
+ @ClientAttesters << clientattester_tmp
4769
+ end
4770
+ end
4771
+ end
4772
+ end
4773
+
4774
+ # CreateSecurityClientAttester返回参数结构体
4775
+ class CreateSecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
4776
+ # @param ClientAttesterIds: 认证选项 ID 列表。
4777
+ # @type ClientAttesterIds: Array
4778
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4779
+ # @type RequestId: String
4780
+
4781
+ attr_accessor :ClientAttesterIds, :RequestId
4782
+
4783
+ def initialize(clientattesterids=nil, requestid=nil)
4784
+ @ClientAttesterIds = clientattesterids
4785
+ @RequestId = requestid
4786
+ end
4787
+
4788
+ def deserialize(params)
4789
+ @ClientAttesterIds = params['ClientAttesterIds']
4790
+ @RequestId = params['RequestId']
4791
+ end
4792
+ end
4793
+
4442
4794
  # CreateSecurityIPGroup请求参数结构体
4443
4795
  class CreateSecurityIPGroupRequest < TencentCloud::Common::AbstractModel
4444
4796
  # @param ZoneId: 站点 Id。
@@ -4482,6 +4834,53 @@ module TencentCloud
4482
4834
  end
4483
4835
  end
4484
4836
 
4837
+ # CreateSecurityJSInjectionRule请求参数结构体
4838
+ class CreateSecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
4839
+ # @param ZoneId: 站点 ID。
4840
+ # @type ZoneId: String
4841
+ # @param JSInjectionRules: JavaScript 注入规则列表。
4842
+ # @type JSInjectionRules: Array
4843
+
4844
+ attr_accessor :ZoneId, :JSInjectionRules
4845
+
4846
+ def initialize(zoneid=nil, jsinjectionrules=nil)
4847
+ @ZoneId = zoneid
4848
+ @JSInjectionRules = jsinjectionrules
4849
+ end
4850
+
4851
+ def deserialize(params)
4852
+ @ZoneId = params['ZoneId']
4853
+ unless params['JSInjectionRules'].nil?
4854
+ @JSInjectionRules = []
4855
+ params['JSInjectionRules'].each do |i|
4856
+ jsinjectionrule_tmp = JSInjectionRule.new
4857
+ jsinjectionrule_tmp.deserialize(i)
4858
+ @JSInjectionRules << jsinjectionrule_tmp
4859
+ end
4860
+ end
4861
+ end
4862
+ end
4863
+
4864
+ # CreateSecurityJSInjectionRule返回参数结构体
4865
+ class CreateSecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
4866
+ # @param JSInjectionRuleIds: JavaScript 注入规则 ID 列表。
4867
+ # @type JSInjectionRuleIds: Array
4868
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4869
+ # @type RequestId: String
4870
+
4871
+ attr_accessor :JSInjectionRuleIds, :RequestId
4872
+
4873
+ def initialize(jsinjectionruleids=nil, requestid=nil)
4874
+ @JSInjectionRuleIds = jsinjectionruleids
4875
+ @RequestId = requestid
4876
+ end
4877
+
4878
+ def deserialize(params)
4879
+ @JSInjectionRuleIds = params['JSInjectionRuleIds']
4880
+ @RequestId = params['RequestId']
4881
+ end
4882
+ end
4883
+
4485
4884
  # CreateSharedCNAME请求参数结构体
4486
4885
  class CreateSharedCNAMERequest < TencentCloud::Common::AbstractModel
4487
4886
  # @param ZoneId: 共享 CNAME 所属站点的 ID。
@@ -4609,10 +5008,10 @@ module TencentCloud
4609
5008
 
4610
5009
  attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
4611
5010
  extend Gem::Deprecate
4612
- deprecate :AllowDuplicates, :none, 2025, 7
4613
- deprecate :AllowDuplicates=, :none, 2025, 7
4614
- deprecate :JumpStart, :none, 2025, 7
4615
- deprecate :JumpStart=, :none, 2025, 7
5011
+ deprecate :AllowDuplicates, :none, 2025, 8
5012
+ deprecate :AllowDuplicates=, :none, 2025, 8
5013
+ deprecate :JumpStart, :none, 2025, 8
5014
+ deprecate :JumpStart=, :none, 2025, 8
4616
5015
 
4617
5016
  def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
4618
5017
  @Type = type
@@ -5526,6 +5925,42 @@ module TencentCloud
5526
5925
  end
5527
5926
  end
5528
5927
 
5928
+ # DeleteJustInTimeTranscodeTemplates请求参数结构体
5929
+ class DeleteJustInTimeTranscodeTemplatesRequest < TencentCloud::Common::AbstractModel
5930
+ # @param ZoneId: 站点ID。
5931
+ # @type ZoneId: String
5932
+ # @param TemplateIds: 需删除的即时转码模板唯一标识数组,长度限制:100。
5933
+ # @type TemplateIds: Array
5934
+
5935
+ attr_accessor :ZoneId, :TemplateIds
5936
+
5937
+ def initialize(zoneid=nil, templateids=nil)
5938
+ @ZoneId = zoneid
5939
+ @TemplateIds = templateids
5940
+ end
5941
+
5942
+ def deserialize(params)
5943
+ @ZoneId = params['ZoneId']
5944
+ @TemplateIds = params['TemplateIds']
5945
+ end
5946
+ end
5947
+
5948
+ # DeleteJustInTimeTranscodeTemplates返回参数结构体
5949
+ class DeleteJustInTimeTranscodeTemplatesResponse < TencentCloud::Common::AbstractModel
5950
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5951
+ # @type RequestId: String
5952
+
5953
+ attr_accessor :RequestId
5954
+
5955
+ def initialize(requestid=nil)
5956
+ @RequestId = requestid
5957
+ end
5958
+
5959
+ def deserialize(params)
5960
+ @RequestId = params['RequestId']
5961
+ end
5962
+ end
5963
+
5529
5964
  # DeleteL4Proxy请求参数结构体
5530
5965
  class DeleteL4ProxyRequest < TencentCloud::Common::AbstractModel
5531
5966
  # @param ZoneId: 站点 ID。
@@ -5858,28 +6293,28 @@ module TencentCloud
5858
6293
  end
5859
6294
  end
5860
6295
 
5861
- # DeleteSecurityIPGroup请求参数结构体
5862
- class DeleteSecurityIPGroupRequest < TencentCloud::Common::AbstractModel
5863
- # @param ZoneId: 站点 Id
6296
+ # DeleteSecurityAPIResource请求参数结构体
6297
+ class DeleteSecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
6298
+ # @param ZoneId: 站点 ID
5864
6299
  # @type ZoneId: String
5865
- # @param GroupId: IP Id。
5866
- # @type GroupId: Integer
6300
+ # @param APIResourceIds: 需要删除的 API 资源 ID 列表。
6301
+ # @type APIResourceIds: Array
5867
6302
 
5868
- attr_accessor :ZoneId, :GroupId
6303
+ attr_accessor :ZoneId, :APIResourceIds
5869
6304
 
5870
- def initialize(zoneid=nil, groupid=nil)
6305
+ def initialize(zoneid=nil, apiresourceids=nil)
5871
6306
  @ZoneId = zoneid
5872
- @GroupId = groupid
6307
+ @APIResourceIds = apiresourceids
5873
6308
  end
5874
6309
 
5875
6310
  def deserialize(params)
5876
6311
  @ZoneId = params['ZoneId']
5877
- @GroupId = params['GroupId']
6312
+ @APIResourceIds = params['APIResourceIds']
5878
6313
  end
5879
6314
  end
5880
6315
 
5881
- # DeleteSecurityIPGroup返回参数结构体
5882
- class DeleteSecurityIPGroupResponse < TencentCloud::Common::AbstractModel
6316
+ # DeleteSecurityAPIResource返回参数结构体
6317
+ class DeleteSecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
5883
6318
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5884
6319
  # @type RequestId: String
5885
6320
 
@@ -5894,28 +6329,28 @@ module TencentCloud
5894
6329
  end
5895
6330
  end
5896
6331
 
5897
- # DeleteSharedCNAME请求参数结构体
5898
- class DeleteSharedCNAMERequest < TencentCloud::Common::AbstractModel
5899
- # @param ZoneId: 共享 CNAME 所属站点 ID。
6332
+ # DeleteSecurityAPIService请求参数结构体
6333
+ class DeleteSecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
6334
+ # @param ZoneId: 站点 ID。
5900
6335
  # @type ZoneId: String
5901
- # @param SharedCNAME: 需要删除的共享 CNAME。
5902
- # @type SharedCNAME: String
6336
+ # @param APIServiceIds: API 服务 ID 列表。
6337
+ # @type APIServiceIds: Array
5903
6338
 
5904
- attr_accessor :ZoneId, :SharedCNAME
6339
+ attr_accessor :ZoneId, :APIServiceIds
5905
6340
 
5906
- def initialize(zoneid=nil, sharedcname=nil)
6341
+ def initialize(zoneid=nil, apiserviceids=nil)
5907
6342
  @ZoneId = zoneid
5908
- @SharedCNAME = sharedcname
6343
+ @APIServiceIds = apiserviceids
5909
6344
  end
5910
6345
 
5911
6346
  def deserialize(params)
5912
6347
  @ZoneId = params['ZoneId']
5913
- @SharedCNAME = params['SharedCNAME']
6348
+ @APIServiceIds = params['APIServiceIds']
5914
6349
  end
5915
6350
  end
5916
6351
 
5917
- # DeleteSharedCNAME返回参数结构体
5918
- class DeleteSharedCNAMEResponse < TencentCloud::Common::AbstractModel
6352
+ # DeleteSecurityAPIService返回参数结构体
6353
+ class DeleteSecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
5919
6354
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5920
6355
  # @type RequestId: String
5921
6356
 
@@ -5930,12 +6365,156 @@ module TencentCloud
5930
6365
  end
5931
6366
  end
5932
6367
 
5933
- # DeleteWebSecurityTemplate请求参数结构体
5934
- class DeleteWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
5935
- # @param ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
6368
+ # DeleteSecurityClientAttester请求参数结构体
6369
+ class DeleteSecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
6370
+ # @param ZoneId: 站点 ID
5936
6371
  # @type ZoneId: String
5937
- # @param TemplateId: 策略模板 ID。
5938
- # @type TemplateId: String
6372
+ # @param ClientAttesterIds: 客户端认证选项 ID。
6373
+ # @type ClientAttesterIds: Array
6374
+
6375
+ attr_accessor :ZoneId, :ClientAttesterIds
6376
+
6377
+ def initialize(zoneid=nil, clientattesterids=nil)
6378
+ @ZoneId = zoneid
6379
+ @ClientAttesterIds = clientattesterids
6380
+ end
6381
+
6382
+ def deserialize(params)
6383
+ @ZoneId = params['ZoneId']
6384
+ @ClientAttesterIds = params['ClientAttesterIds']
6385
+ end
6386
+ end
6387
+
6388
+ # DeleteSecurityClientAttester返回参数结构体
6389
+ class DeleteSecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
6390
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6391
+ # @type RequestId: String
6392
+
6393
+ attr_accessor :RequestId
6394
+
6395
+ def initialize(requestid=nil)
6396
+ @RequestId = requestid
6397
+ end
6398
+
6399
+ def deserialize(params)
6400
+ @RequestId = params['RequestId']
6401
+ end
6402
+ end
6403
+
6404
+ # DeleteSecurityIPGroup请求参数结构体
6405
+ class DeleteSecurityIPGroupRequest < TencentCloud::Common::AbstractModel
6406
+ # @param ZoneId: 站点 Id。
6407
+ # @type ZoneId: String
6408
+ # @param GroupId: IP 组 Id。
6409
+ # @type GroupId: Integer
6410
+
6411
+ attr_accessor :ZoneId, :GroupId
6412
+
6413
+ def initialize(zoneid=nil, groupid=nil)
6414
+ @ZoneId = zoneid
6415
+ @GroupId = groupid
6416
+ end
6417
+
6418
+ def deserialize(params)
6419
+ @ZoneId = params['ZoneId']
6420
+ @GroupId = params['GroupId']
6421
+ end
6422
+ end
6423
+
6424
+ # DeleteSecurityIPGroup返回参数结构体
6425
+ class DeleteSecurityIPGroupResponse < TencentCloud::Common::AbstractModel
6426
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6427
+ # @type RequestId: String
6428
+
6429
+ attr_accessor :RequestId
6430
+
6431
+ def initialize(requestid=nil)
6432
+ @RequestId = requestid
6433
+ end
6434
+
6435
+ def deserialize(params)
6436
+ @RequestId = params['RequestId']
6437
+ end
6438
+ end
6439
+
6440
+ # DeleteSecurityJSInjectionRule请求参数结构体
6441
+ class DeleteSecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
6442
+ # @param ZoneId: 站点 ID。
6443
+ # @type ZoneId: String
6444
+ # @param JSInjectionRuleIds: JavaScript 注入规则 ID 列表。
6445
+ # @type JSInjectionRuleIds: Array
6446
+
6447
+ attr_accessor :ZoneId, :JSInjectionRuleIds
6448
+
6449
+ def initialize(zoneid=nil, jsinjectionruleids=nil)
6450
+ @ZoneId = zoneid
6451
+ @JSInjectionRuleIds = jsinjectionruleids
6452
+ end
6453
+
6454
+ def deserialize(params)
6455
+ @ZoneId = params['ZoneId']
6456
+ @JSInjectionRuleIds = params['JSInjectionRuleIds']
6457
+ end
6458
+ end
6459
+
6460
+ # DeleteSecurityJSInjectionRule返回参数结构体
6461
+ class DeleteSecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
6462
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6463
+ # @type RequestId: String
6464
+
6465
+ attr_accessor :RequestId
6466
+
6467
+ def initialize(requestid=nil)
6468
+ @RequestId = requestid
6469
+ end
6470
+
6471
+ def deserialize(params)
6472
+ @RequestId = params['RequestId']
6473
+ end
6474
+ end
6475
+
6476
+ # DeleteSharedCNAME请求参数结构体
6477
+ class DeleteSharedCNAMERequest < TencentCloud::Common::AbstractModel
6478
+ # @param ZoneId: 共享 CNAME 所属站点 ID。
6479
+ # @type ZoneId: String
6480
+ # @param SharedCNAME: 需要删除的共享 CNAME。
6481
+ # @type SharedCNAME: String
6482
+
6483
+ attr_accessor :ZoneId, :SharedCNAME
6484
+
6485
+ def initialize(zoneid=nil, sharedcname=nil)
6486
+ @ZoneId = zoneid
6487
+ @SharedCNAME = sharedcname
6488
+ end
6489
+
6490
+ def deserialize(params)
6491
+ @ZoneId = params['ZoneId']
6492
+ @SharedCNAME = params['SharedCNAME']
6493
+ end
6494
+ end
6495
+
6496
+ # DeleteSharedCNAME返回参数结构体
6497
+ class DeleteSharedCNAMEResponse < TencentCloud::Common::AbstractModel
6498
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6499
+ # @type RequestId: String
6500
+
6501
+ attr_accessor :RequestId
6502
+
6503
+ def initialize(requestid=nil)
6504
+ @RequestId = requestid
6505
+ end
6506
+
6507
+ def deserialize(params)
6508
+ @RequestId = params['RequestId']
6509
+ end
6510
+ end
6511
+
6512
+ # DeleteWebSecurityTemplate请求参数结构体
6513
+ class DeleteWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
6514
+ # @param ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
6515
+ # @type ZoneId: String
6516
+ # @param TemplateId: 策略模板 ID。
6517
+ # @type TemplateId: String
5939
6518
 
5940
6519
  attr_accessor :ZoneId, :TemplateId
5941
6520
 
@@ -7742,6 +8321,80 @@ module TencentCloud
7742
8321
  end
7743
8322
  end
7744
8323
 
8324
+ # DescribeJustInTimeTranscodeTemplates请求参数结构体
8325
+ class DescribeJustInTimeTranscodeTemplatesRequest < TencentCloud::Common::AbstractModel
8326
+ # @param ZoneId: 站点ID。
8327
+ # @type ZoneId: String
8328
+ # @param Filters: 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模版名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
8329
+ # @type Filters: Array
8330
+ # @param SortBy: 排序字段,取值有:<li>createTime:模板创建时间。</li>默认值为:createTime。
8331
+ # @type SortBy: String
8332
+ # @param SortOrder: 排序方式,取值有:<li>asc:升序方式;</li><li>desc:降序方式。</li>默认值为:desc。
8333
+ # @type SortOrder: String
8334
+ # @param Offset: 分页偏移量,默认值:0。
8335
+ # @type Offset: Integer
8336
+ # @param Limit: 返回记录条数,默认值:20,最大值:1000。
8337
+ # @type Limit: Integer
8338
+
8339
+ attr_accessor :ZoneId, :Filters, :SortBy, :SortOrder, :Offset, :Limit
8340
+
8341
+ def initialize(zoneid=nil, filters=nil, sortby=nil, sortorder=nil, offset=nil, limit=nil)
8342
+ @ZoneId = zoneid
8343
+ @Filters = filters
8344
+ @SortBy = sortby
8345
+ @SortOrder = sortorder
8346
+ @Offset = offset
8347
+ @Limit = limit
8348
+ end
8349
+
8350
+ def deserialize(params)
8351
+ @ZoneId = params['ZoneId']
8352
+ unless params['Filters'].nil?
8353
+ @Filters = []
8354
+ params['Filters'].each do |i|
8355
+ filter_tmp = Filter.new
8356
+ filter_tmp.deserialize(i)
8357
+ @Filters << filter_tmp
8358
+ end
8359
+ end
8360
+ @SortBy = params['SortBy']
8361
+ @SortOrder = params['SortOrder']
8362
+ @Offset = params['Offset']
8363
+ @Limit = params['Limit']
8364
+ end
8365
+ end
8366
+
8367
+ # DescribeJustInTimeTranscodeTemplates返回参数结构体
8368
+ class DescribeJustInTimeTranscodeTemplatesResponse < TencentCloud::Common::AbstractModel
8369
+ # @param TotalCount: 符合过滤条件的记录总数。
8370
+ # @type TotalCount: Integer
8371
+ # @param TemplateSet: 模板详情列表。
8372
+ # @type TemplateSet: Array
8373
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8374
+ # @type RequestId: String
8375
+
8376
+ attr_accessor :TotalCount, :TemplateSet, :RequestId
8377
+
8378
+ def initialize(totalcount=nil, templateset=nil, requestid=nil)
8379
+ @TotalCount = totalcount
8380
+ @TemplateSet = templateset
8381
+ @RequestId = requestid
8382
+ end
8383
+
8384
+ def deserialize(params)
8385
+ @TotalCount = params['TotalCount']
8386
+ unless params['TemplateSet'].nil?
8387
+ @TemplateSet = []
8388
+ params['TemplateSet'].each do |i|
8389
+ justintimetranscodetemplate_tmp = JustInTimeTranscodeTemplate.new
8390
+ justintimetranscodetemplate_tmp.deserialize(i)
8391
+ @TemplateSet << justintimetranscodetemplate_tmp
8392
+ end
8393
+ end
8394
+ @RequestId = params['RequestId']
8395
+ end
8396
+ end
8397
+
7745
8398
  # DescribeL4Proxy请求参数结构体
7746
8399
  class DescribeL4ProxyRequest < TencentCloud::Common::AbstractModel
7747
8400
  # @param ZoneId: 四层代理实例所属站点的 ID。
@@ -8982,40 +9635,257 @@ module TencentCloud
8982
9635
  end
8983
9636
  end
8984
9637
 
8985
- # DescribeRulesSetting请求参数结构体
8986
- class DescribeRulesSettingRequest < TencentCloud::Common::AbstractModel
9638
+ # DescribeRulesSetting请求参数结构体
9639
+ class DescribeRulesSettingRequest < TencentCloud::Common::AbstractModel
9640
+
9641
+
9642
+ def initialize()
9643
+ end
9644
+
9645
+ def deserialize(params)
9646
+ end
9647
+ end
9648
+
9649
+ # DescribeRulesSetting返回参数结构体
9650
+ class DescribeRulesSettingResponse < TencentCloud::Common::AbstractModel
9651
+ # @param Actions: 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。
9652
+ # @type Actions: Array
9653
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9654
+ # @type RequestId: String
9655
+
9656
+ attr_accessor :Actions, :RequestId
9657
+
9658
+ def initialize(actions=nil, requestid=nil)
9659
+ @Actions = actions
9660
+ @RequestId = requestid
9661
+ end
9662
+
9663
+ def deserialize(params)
9664
+ unless params['Actions'].nil?
9665
+ @Actions = []
9666
+ params['Actions'].each do |i|
9667
+ rulessettingaction_tmp = RulesSettingAction.new
9668
+ rulessettingaction_tmp.deserialize(i)
9669
+ @Actions << rulessettingaction_tmp
9670
+ end
9671
+ end
9672
+ @RequestId = params['RequestId']
9673
+ end
9674
+ end
9675
+
9676
+ # DescribeSecurityAPIResource请求参数结构体
9677
+ class DescribeSecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
9678
+ # @param ZoneId: 站点 ID。
9679
+ # @type ZoneId: String
9680
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:100。
9681
+ # @type Limit: Integer
9682
+ # @param Offset: 分页查询偏移量。默认值:0。
9683
+ # @type Offset: Integer
9684
+
9685
+ attr_accessor :ZoneId, :Limit, :Offset
9686
+
9687
+ def initialize(zoneid=nil, limit=nil, offset=nil)
9688
+ @ZoneId = zoneid
9689
+ @Limit = limit
9690
+ @Offset = offset
9691
+ end
9692
+
9693
+ def deserialize(params)
9694
+ @ZoneId = params['ZoneId']
9695
+ @Limit = params['Limit']
9696
+ @Offset = params['Offset']
9697
+ end
9698
+ end
9699
+
9700
+ # DescribeSecurityAPIResource返回参数结构体
9701
+ class DescribeSecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
9702
+ # @param TotalCount: API 资源总数量。
9703
+ # @type TotalCount: Integer
9704
+ # @param APIResources: API 资源列表。
9705
+ # @type APIResources: Array
9706
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9707
+ # @type RequestId: String
9708
+
9709
+ attr_accessor :TotalCount, :APIResources, :RequestId
9710
+
9711
+ def initialize(totalcount=nil, apiresources=nil, requestid=nil)
9712
+ @TotalCount = totalcount
9713
+ @APIResources = apiresources
9714
+ @RequestId = requestid
9715
+ end
9716
+
9717
+ def deserialize(params)
9718
+ @TotalCount = params['TotalCount']
9719
+ unless params['APIResources'].nil?
9720
+ @APIResources = []
9721
+ params['APIResources'].each do |i|
9722
+ apiresource_tmp = APIResource.new
9723
+ apiresource_tmp.deserialize(i)
9724
+ @APIResources << apiresource_tmp
9725
+ end
9726
+ end
9727
+ @RequestId = params['RequestId']
9728
+ end
9729
+ end
9730
+
9731
+ # DescribeSecurityAPIService请求参数结构体
9732
+ class DescribeSecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
9733
+ # @param ZoneId: 站点 ID。
9734
+ # @type ZoneId: String
9735
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:100。
9736
+ # @type Limit: Integer
9737
+ # @param Offset: 分页查询偏移量。默认值:0。
9738
+ # @type Offset: Integer
9739
+
9740
+ attr_accessor :ZoneId, :Limit, :Offset
9741
+
9742
+ def initialize(zoneid=nil, limit=nil, offset=nil)
9743
+ @ZoneId = zoneid
9744
+ @Limit = limit
9745
+ @Offset = offset
9746
+ end
9747
+
9748
+ def deserialize(params)
9749
+ @ZoneId = params['ZoneId']
9750
+ @Limit = params['Limit']
9751
+ @Offset = params['Offset']
9752
+ end
9753
+ end
9754
+
9755
+ # DescribeSecurityAPIService返回参数结构体
9756
+ class DescribeSecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
9757
+ # @param TotalCount: API 服务总数量。
9758
+ # @type TotalCount: Integer
9759
+ # @param APIServices: API 服务列表。
9760
+ # @type APIServices: Array
9761
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9762
+ # @type RequestId: String
9763
+
9764
+ attr_accessor :TotalCount, :APIServices, :RequestId
9765
+
9766
+ def initialize(totalcount=nil, apiservices=nil, requestid=nil)
9767
+ @TotalCount = totalcount
9768
+ @APIServices = apiservices
9769
+ @RequestId = requestid
9770
+ end
9771
+
9772
+ def deserialize(params)
9773
+ @TotalCount = params['TotalCount']
9774
+ unless params['APIServices'].nil?
9775
+ @APIServices = []
9776
+ params['APIServices'].each do |i|
9777
+ apiservice_tmp = APIService.new
9778
+ apiservice_tmp.deserialize(i)
9779
+ @APIServices << apiservice_tmp
9780
+ end
9781
+ end
9782
+ @RequestId = params['RequestId']
9783
+ end
9784
+ end
9785
+
9786
+ # DescribeSecurityClientAttester请求参数结构体
9787
+ class DescribeSecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
9788
+ # @param ZoneId: 站点 ID。
9789
+ # @type ZoneId: String
9790
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:100。
9791
+ # @type Limit: Integer
9792
+ # @param Offset: 分页查询偏移量。默认值:0。
9793
+ # @type Offset: Integer
9794
+
9795
+ attr_accessor :ZoneId, :Limit, :Offset
9796
+
9797
+ def initialize(zoneid=nil, limit=nil, offset=nil)
9798
+ @ZoneId = zoneid
9799
+ @Limit = limit
9800
+ @Offset = offset
9801
+ end
9802
+
9803
+ def deserialize(params)
9804
+ @ZoneId = params['ZoneId']
9805
+ @Limit = params['Limit']
9806
+ @Offset = params['Offset']
9807
+ end
9808
+ end
9809
+
9810
+ # DescribeSecurityClientAttester返回参数结构体
9811
+ class DescribeSecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
9812
+ # @param TotalCount: 认证选项总数量。
9813
+ # @type TotalCount: Integer
9814
+ # @param ClientAttesters: 认证选项列表。
9815
+ # @type ClientAttesters: Array
9816
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9817
+ # @type RequestId: String
9818
+
9819
+ attr_accessor :TotalCount, :ClientAttesters, :RequestId
9820
+
9821
+ def initialize(totalcount=nil, clientattesters=nil, requestid=nil)
9822
+ @TotalCount = totalcount
9823
+ @ClientAttesters = clientattesters
9824
+ @RequestId = requestid
9825
+ end
9826
+
9827
+ def deserialize(params)
9828
+ @TotalCount = params['TotalCount']
9829
+ unless params['ClientAttesters'].nil?
9830
+ @ClientAttesters = []
9831
+ params['ClientAttesters'].each do |i|
9832
+ clientattester_tmp = ClientAttester.new
9833
+ clientattester_tmp.deserialize(i)
9834
+ @ClientAttesters << clientattester_tmp
9835
+ end
9836
+ end
9837
+ @RequestId = params['RequestId']
9838
+ end
9839
+ end
9840
+
9841
+ # DescribeSecurityIPGroupContent请求参数结构体
9842
+ class DescribeSecurityIPGroupContentRequest < TencentCloud::Common::AbstractModel
9843
+ # @param ZoneId: 站点 ID。
9844
+ # @type ZoneId: String
9845
+ # @param GroupId: IP 组 ID。
9846
+ # @type GroupId: Integer
9847
+ # @param Limit: 分页查询限制数目。默认值:2000,最大值:100000。
9848
+ # @type Limit: Integer
9849
+ # @param Offset: 分页查询偏移量。默认值:0。
9850
+ # @type Offset: Integer
8987
9851
 
9852
+ attr_accessor :ZoneId, :GroupId, :Limit, :Offset
8988
9853
 
8989
- def initialize()
9854
+ def initialize(zoneid=nil, groupid=nil, limit=nil, offset=nil)
9855
+ @ZoneId = zoneid
9856
+ @GroupId = groupid
9857
+ @Limit = limit
9858
+ @Offset = offset
8990
9859
  end
8991
9860
 
8992
9861
  def deserialize(params)
9862
+ @ZoneId = params['ZoneId']
9863
+ @GroupId = params['GroupId']
9864
+ @Limit = params['Limit']
9865
+ @Offset = params['Offset']
8993
9866
  end
8994
9867
  end
8995
9868
 
8996
- # DescribeRulesSetting返回参数结构体
8997
- class DescribeRulesSettingResponse < TencentCloud::Common::AbstractModel
8998
- # @param Actions: 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。
8999
- # @type Actions: Array
9869
+ # DescribeSecurityIPGroupContent返回参数结构体
9870
+ class DescribeSecurityIPGroupContentResponse < TencentCloud::Common::AbstractModel
9871
+ # @param IPTotalCount: IP 组中正在生效的 IP 或网段个数。
9872
+ # @type IPTotalCount: Integer
9873
+ # @param IPList: 满足查询条件的 IP 或网段列表。受 Limit 和 Offset 参数限制。
9874
+ # @type IPList: Array
9000
9875
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9001
9876
  # @type RequestId: String
9002
9877
 
9003
- attr_accessor :Actions, :RequestId
9878
+ attr_accessor :IPTotalCount, :IPList, :RequestId
9004
9879
 
9005
- def initialize(actions=nil, requestid=nil)
9006
- @Actions = actions
9880
+ def initialize(iptotalcount=nil, iplist=nil, requestid=nil)
9881
+ @IPTotalCount = iptotalcount
9882
+ @IPList = iplist
9007
9883
  @RequestId = requestid
9008
9884
  end
9009
9885
 
9010
9886
  def deserialize(params)
9011
- unless params['Actions'].nil?
9012
- @Actions = []
9013
- params['Actions'].each do |i|
9014
- rulessettingaction_tmp = RulesSettingAction.new
9015
- rulessettingaction_tmp.deserialize(i)
9016
- @Actions << rulessettingaction_tmp
9017
- end
9018
- end
9887
+ @IPTotalCount = params['IPTotalCount']
9888
+ @IPList = params['IPList']
9019
9889
  @RequestId = params['RequestId']
9020
9890
  end
9021
9891
  end
@@ -9122,6 +9992,61 @@ module TencentCloud
9122
9992
  end
9123
9993
  end
9124
9994
 
9995
+ # DescribeSecurityJSInjectionRule请求参数结构体
9996
+ class DescribeSecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
9997
+ # @param ZoneId: 站点 ID。
9998
+ # @type ZoneId: String
9999
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:100。
10000
+ # @type Limit: Integer
10001
+ # @param Offset: 分页查询偏移量。默认值:0。
10002
+ # @type Offset: Integer
10003
+
10004
+ attr_accessor :ZoneId, :Limit, :Offset
10005
+
10006
+ def initialize(zoneid=nil, limit=nil, offset=nil)
10007
+ @ZoneId = zoneid
10008
+ @Limit = limit
10009
+ @Offset = offset
10010
+ end
10011
+
10012
+ def deserialize(params)
10013
+ @ZoneId = params['ZoneId']
10014
+ @Limit = params['Limit']
10015
+ @Offset = params['Offset']
10016
+ end
10017
+ end
10018
+
10019
+ # DescribeSecurityJSInjectionRule返回参数结构体
10020
+ class DescribeSecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
10021
+ # @param TotalCount: JavaScript 注入规则总数量。
10022
+ # @type TotalCount: Integer
10023
+ # @param JSInjectionRules: JavaScript 注入规则列表。
10024
+ # @type JSInjectionRules: Array
10025
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10026
+ # @type RequestId: String
10027
+
10028
+ attr_accessor :TotalCount, :JSInjectionRules, :RequestId
10029
+
10030
+ def initialize(totalcount=nil, jsinjectionrules=nil, requestid=nil)
10031
+ @TotalCount = totalcount
10032
+ @JSInjectionRules = jsinjectionrules
10033
+ @RequestId = requestid
10034
+ end
10035
+
10036
+ def deserialize(params)
10037
+ @TotalCount = params['TotalCount']
10038
+ unless params['JSInjectionRules'].nil?
10039
+ @JSInjectionRules = []
10040
+ params['JSInjectionRules'].each do |i|
10041
+ jsinjectionrule_tmp = JSInjectionRule.new
10042
+ jsinjectionrule_tmp.deserialize(i)
10043
+ @JSInjectionRules << jsinjectionrule_tmp
10044
+ end
10045
+ end
10046
+ @RequestId = params['RequestId']
10047
+ end
10048
+ end
10049
+
9125
10050
  # DescribeSecurityPolicy请求参数结构体
9126
10051
  class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
9127
10052
  # @param ZoneId: 站点 ID。
@@ -12591,6 +13516,98 @@ module TencentCloud
12591
13516
  end
12592
13517
  end
12593
13518
 
13519
+ # JavaScript 注入规则。
13520
+ class JSInjectionRule < TencentCloud::Common::AbstractModel
13521
+ # @param RuleId: 规则 ID。
13522
+ # @type RuleId: String
13523
+ # @param Name: 规则名称。
13524
+ # @type Name: String
13525
+ # @param Priority: 规则优先级,数值越小越优先执行,范围是 0 ~ 100,默认为 0。
13526
+ # @type Priority: Integer
13527
+ # @param Condition: 匹配条件内容。需符合表达式语法,详细规范参见产品文档。
13528
+ # @type Condition: String
13529
+ # @param InjectJS: JavaScript 注入选项。默认值为 run-attestations,取值有:
13530
+ # <li> no-injection: 不注入 JavaScript;</li>
13531
+ # <li> inject-sdk-only: 注入当前支持的所有认证方式的 SDK,当前支持:TC-RCE 和 TC-CAPTCHA。注意:若需执行认证检测,请配置挑战规则。</li>
13532
+ # @type InjectJS: String
13533
+
13534
+ attr_accessor :RuleId, :Name, :Priority, :Condition, :InjectJS
13535
+
13536
+ def initialize(ruleid=nil, name=nil, priority=nil, condition=nil, injectjs=nil)
13537
+ @RuleId = ruleid
13538
+ @Name = name
13539
+ @Priority = priority
13540
+ @Condition = condition
13541
+ @InjectJS = injectjs
13542
+ end
13543
+
13544
+ def deserialize(params)
13545
+ @RuleId = params['RuleId']
13546
+ @Name = params['Name']
13547
+ @Priority = params['Priority']
13548
+ @Condition = params['Condition']
13549
+ @InjectJS = params['InjectJS']
13550
+ end
13551
+ end
13552
+
13553
+ # 即时转码模板详情。
13554
+ class JustInTimeTranscodeTemplate < TencentCloud::Common::AbstractModel
13555
+ # @param TemplateId: 即时转码模板唯一标识。
13556
+ # @type TemplateId: String
13557
+ # @param TemplateName: 转码模板名称。
13558
+ # @type TemplateName: String
13559
+ # @param Comment: 模板描述信息。
13560
+ # @type Comment: String
13561
+ # @param Type: 模板类型,取值:<li>preset:系统预置模板;</li><li>custom:用户自定义模板。</li>
13562
+ # @type Type: String
13563
+ # @param VideoStreamSwitch: 启用视频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
13564
+ # @type VideoStreamSwitch: String
13565
+ # @param AudioStreamSwitch: 启用音频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
13566
+ # @type AudioStreamSwitch: String
13567
+ # @param VideoTemplate: 视频流配置参数,仅当 VideoStreamSwitch 为 on,该字段有效。
13568
+ # @type VideoTemplate: :class:`Tencentcloud::Teo.v20220901.models.VideoTemplateInfo`
13569
+ # @param AudioTemplate: 音频流配置参数,仅当 AudioStreamSwitch 为 on,该字段有效。
13570
+ # @type AudioTemplate: :class:`Tencentcloud::Teo.v20220901.models.AudioTemplateInfo`
13571
+ # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
13572
+ # @type CreateTime: String
13573
+ # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
13574
+ # @type UpdateTime: String
13575
+
13576
+ attr_accessor :TemplateId, :TemplateName, :Comment, :Type, :VideoStreamSwitch, :AudioStreamSwitch, :VideoTemplate, :AudioTemplate, :CreateTime, :UpdateTime
13577
+
13578
+ def initialize(templateid=nil, templatename=nil, comment=nil, type=nil, videostreamswitch=nil, audiostreamswitch=nil, videotemplate=nil, audiotemplate=nil, createtime=nil, updatetime=nil)
13579
+ @TemplateId = templateid
13580
+ @TemplateName = templatename
13581
+ @Comment = comment
13582
+ @Type = type
13583
+ @VideoStreamSwitch = videostreamswitch
13584
+ @AudioStreamSwitch = audiostreamswitch
13585
+ @VideoTemplate = videotemplate
13586
+ @AudioTemplate = audiotemplate
13587
+ @CreateTime = createtime
13588
+ @UpdateTime = updatetime
13589
+ end
13590
+
13591
+ def deserialize(params)
13592
+ @TemplateId = params['TemplateId']
13593
+ @TemplateName = params['TemplateName']
13594
+ @Comment = params['Comment']
13595
+ @Type = params['Type']
13596
+ @VideoStreamSwitch = params['VideoStreamSwitch']
13597
+ @AudioStreamSwitch = params['AudioStreamSwitch']
13598
+ unless params['VideoTemplate'].nil?
13599
+ @VideoTemplate = VideoTemplateInfo.new
13600
+ @VideoTemplate.deserialize(params['VideoTemplate'])
13601
+ end
13602
+ unless params['AudioTemplate'].nil?
13603
+ @AudioTemplate = AudioTemplateInfo.new
13604
+ @AudioTemplate.deserialize(params['AudioTemplate'])
13605
+ end
13606
+ @CreateTime = params['CreateTime']
13607
+ @UpdateTime = params['UpdateTime']
13608
+ end
13609
+ end
13610
+
12594
13611
  # 离线日志详细信息
12595
13612
  class L4OfflineLog < TencentCloud::Common::AbstractModel
12596
13613
  # @param ProxyId: 四层代理实例 ID。
@@ -14100,8 +15117,8 @@ module TencentCloud
14100
15117
 
14101
15118
  attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType, :ClientCertInfo
14102
15119
  extend Gem::Deprecate
14103
- deprecate :ApplyType, :none, 2025, 7
14104
- deprecate :ApplyType=, :none, 2025, 7
15120
+ deprecate :ApplyType, :none, 2025, 8
15121
+ deprecate :ApplyType=, :none, 2025, 8
14105
15122
 
14106
15123
  def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil, clientcertinfo=nil)
14107
15124
  @ZoneId = zoneid
@@ -15079,6 +16096,135 @@ module TencentCloud
15079
16096
  end
15080
16097
  end
15081
16098
 
16099
+ # ModifySecurityAPIResource请求参数结构体
16100
+ class ModifySecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
16101
+ # @param ZoneId: 站点 ID。
16102
+ # @type ZoneId: String
16103
+ # @param APIResources: API 资源列表。
16104
+ # @type APIResources: Array
16105
+
16106
+ attr_accessor :ZoneId, :APIResources
16107
+
16108
+ def initialize(zoneid=nil, apiresources=nil)
16109
+ @ZoneId = zoneid
16110
+ @APIResources = apiresources
16111
+ end
16112
+
16113
+ def deserialize(params)
16114
+ @ZoneId = params['ZoneId']
16115
+ unless params['APIResources'].nil?
16116
+ @APIResources = []
16117
+ params['APIResources'].each do |i|
16118
+ apiresource_tmp = APIResource.new
16119
+ apiresource_tmp.deserialize(i)
16120
+ @APIResources << apiresource_tmp
16121
+ end
16122
+ end
16123
+ end
16124
+ end
16125
+
16126
+ # ModifySecurityAPIResource返回参数结构体
16127
+ class ModifySecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
16128
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16129
+ # @type RequestId: String
16130
+
16131
+ attr_accessor :RequestId
16132
+
16133
+ def initialize(requestid=nil)
16134
+ @RequestId = requestid
16135
+ end
16136
+
16137
+ def deserialize(params)
16138
+ @RequestId = params['RequestId']
16139
+ end
16140
+ end
16141
+
16142
+ # ModifySecurityAPIService请求参数结构体
16143
+ class ModifySecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
16144
+ # @param ZoneId: 站点 ID。
16145
+ # @type ZoneId: String
16146
+ # @param APIServices: API 服务列表。
16147
+ # @type APIServices: Array
16148
+
16149
+ attr_accessor :ZoneId, :APIServices
16150
+
16151
+ def initialize(zoneid=nil, apiservices=nil)
16152
+ @ZoneId = zoneid
16153
+ @APIServices = apiservices
16154
+ end
16155
+
16156
+ def deserialize(params)
16157
+ @ZoneId = params['ZoneId']
16158
+ unless params['APIServices'].nil?
16159
+ @APIServices = []
16160
+ params['APIServices'].each do |i|
16161
+ apiservice_tmp = APIService.new
16162
+ apiservice_tmp.deserialize(i)
16163
+ @APIServices << apiservice_tmp
16164
+ end
16165
+ end
16166
+ end
16167
+ end
16168
+
16169
+ # ModifySecurityAPIService返回参数结构体
16170
+ class ModifySecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
16171
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16172
+ # @type RequestId: String
16173
+
16174
+ attr_accessor :RequestId
16175
+
16176
+ def initialize(requestid=nil)
16177
+ @RequestId = requestid
16178
+ end
16179
+
16180
+ def deserialize(params)
16181
+ @RequestId = params['RequestId']
16182
+ end
16183
+ end
16184
+
16185
+ # ModifySecurityClientAttester请求参数结构体
16186
+ class ModifySecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
16187
+ # @param ZoneId: 站点 ID。
16188
+ # @type ZoneId: String
16189
+ # @param ClientAttesters: 认证选项列表。
16190
+ # @type ClientAttesters: Array
16191
+
16192
+ attr_accessor :ZoneId, :ClientAttesters
16193
+
16194
+ def initialize(zoneid=nil, clientattesters=nil)
16195
+ @ZoneId = zoneid
16196
+ @ClientAttesters = clientattesters
16197
+ end
16198
+
16199
+ def deserialize(params)
16200
+ @ZoneId = params['ZoneId']
16201
+ unless params['ClientAttesters'].nil?
16202
+ @ClientAttesters = []
16203
+ params['ClientAttesters'].each do |i|
16204
+ clientattester_tmp = ClientAttester.new
16205
+ clientattester_tmp.deserialize(i)
16206
+ @ClientAttesters << clientattester_tmp
16207
+ end
16208
+ end
16209
+ end
16210
+ end
16211
+
16212
+ # ModifySecurityClientAttester返回参数结构体
16213
+ class ModifySecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
16214
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16215
+ # @type RequestId: String
16216
+
16217
+ attr_accessor :RequestId
16218
+
16219
+ def initialize(requestid=nil)
16220
+ @RequestId = requestid
16221
+ end
16222
+
16223
+ def deserialize(params)
16224
+ @RequestId = params['RequestId']
16225
+ end
16226
+ end
16227
+
15082
16228
  # ModifySecurityIPGroup请求参数结构体
15083
16229
  class ModifySecurityIPGroupRequest < TencentCloud::Common::AbstractModel
15084
16230
  # @param ZoneId: 站点 Id。
@@ -15122,6 +16268,49 @@ module TencentCloud
15122
16268
  end
15123
16269
  end
15124
16270
 
16271
+ # ModifySecurityJSInjectionRule请求参数结构体
16272
+ class ModifySecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
16273
+ # @param ZoneId: 站点 ID。
16274
+ # @type ZoneId: String
16275
+ # @param JSInjectionRules: JavaScript 注入规则列表。
16276
+ # @type JSInjectionRules: Array
16277
+
16278
+ attr_accessor :ZoneId, :JSInjectionRules
16279
+
16280
+ def initialize(zoneid=nil, jsinjectionrules=nil)
16281
+ @ZoneId = zoneid
16282
+ @JSInjectionRules = jsinjectionrules
16283
+ end
16284
+
16285
+ def deserialize(params)
16286
+ @ZoneId = params['ZoneId']
16287
+ unless params['JSInjectionRules'].nil?
16288
+ @JSInjectionRules = []
16289
+ params['JSInjectionRules'].each do |i|
16290
+ jsinjectionrule_tmp = JSInjectionRule.new
16291
+ jsinjectionrule_tmp.deserialize(i)
16292
+ @JSInjectionRules << jsinjectionrule_tmp
16293
+ end
16294
+ end
16295
+ end
16296
+ end
16297
+
16298
+ # ModifySecurityJSInjectionRule返回参数结构体
16299
+ class ModifySecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
16300
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16301
+ # @type RequestId: String
16302
+
16303
+ attr_accessor :RequestId
16304
+
16305
+ def initialize(requestid=nil)
16306
+ @RequestId = requestid
16307
+ end
16308
+
16309
+ def deserialize(params)
16310
+ @RequestId = params['RequestId']
16311
+ end
16312
+ end
16313
+
15125
16314
  # ModifySecurityPolicy请求参数结构体
15126
16315
  class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
15127
16316
  # @param ZoneId: 站点 ID。
@@ -15967,12 +17156,12 @@ module TencentCloud
15967
17156
 
15968
17157
  attr_accessor :OriginType, :Origin, :BackupOrigin, :OriginGroupName, :BackOriginGroupName, :PrivateAccess, :PrivateParameters, :HostHeader, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId, :VodOriginScope, :VodBucketId
15969
17158
  extend Gem::Deprecate
15970
- deprecate :VodeoSubAppId, :none, 2025, 7
15971
- deprecate :VodeoSubAppId=, :none, 2025, 7
15972
- deprecate :VodeoDistributionRange, :none, 2025, 7
15973
- deprecate :VodeoDistributionRange=, :none, 2025, 7
15974
- deprecate :VodeoBucketId, :none, 2025, 7
15975
- deprecate :VodeoBucketId=, :none, 2025, 7
17159
+ deprecate :VodeoSubAppId, :none, 2025, 8
17160
+ deprecate :VodeoSubAppId=, :none, 2025, 8
17161
+ deprecate :VodeoDistributionRange, :none, 2025, 8
17162
+ deprecate :VodeoDistributionRange=, :none, 2025, 8
17163
+ deprecate :VodeoBucketId, :none, 2025, 8
17164
+ deprecate :VodeoBucketId=, :none, 2025, 8
15976
17165
 
15977
17166
  def initialize(origintype=nil, origin=nil, backuporigin=nil, origingroupname=nil, backorigingroupname=nil, privateaccess=nil, privateparameters=nil, hostheader=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil, vodoriginscope=nil, vodbucketid=nil)
15978
17167
  @OriginType = origintype
@@ -16277,12 +17466,12 @@ module TencentCloud
16277
17466
 
16278
17467
  attr_accessor :OriginType, :Origin, :BackupOrigin, :PrivateAccess, :PrivateParameters, :HostHeader, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId, :VodOriginScope, :VodBucketId
16279
17468
  extend Gem::Deprecate
16280
- deprecate :VodeoSubAppId, :none, 2025, 7
16281
- deprecate :VodeoSubAppId=, :none, 2025, 7
16282
- deprecate :VodeoDistributionRange, :none, 2025, 7
16283
- deprecate :VodeoDistributionRange=, :none, 2025, 7
16284
- deprecate :VodeoBucketId, :none, 2025, 7
16285
- deprecate :VodeoBucketId=, :none, 2025, 7
17469
+ deprecate :VodeoSubAppId, :none, 2025, 8
17470
+ deprecate :VodeoSubAppId=, :none, 2025, 8
17471
+ deprecate :VodeoDistributionRange, :none, 2025, 8
17472
+ deprecate :VodeoDistributionRange=, :none, 2025, 8
17473
+ deprecate :VodeoBucketId, :none, 2025, 8
17474
+ deprecate :VodeoBucketId=, :none, 2025, 8
16286
17475
 
16287
17476
  def initialize(origintype=nil, origin=nil, backuporigin=nil, privateaccess=nil, privateparameters=nil, hostheader=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil, vodoriginscope=nil, vodbucketid=nil)
16288
17477
  @OriginType = origintype
@@ -17952,8 +19141,8 @@ module TencentCloud
17952
19141
 
17953
19142
  attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
17954
19143
  extend Gem::Deprecate
17955
- deprecate :IgnoreNameCase, :none, 2025, 7
17956
- deprecate :IgnoreNameCase=, :none, 2025, 7
19144
+ deprecate :IgnoreNameCase, :none, 2025, 8
19145
+ deprecate :IgnoreNameCase=, :none, 2025, 8
17957
19146
 
17958
19147
  def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
17959
19148
  @Operator = operator
@@ -19482,6 +20671,42 @@ module TencentCloud
19482
20671
  end
19483
20672
  end
19484
20673
 
20674
+ # 验证码认证实例信息。
20675
+ class TCCaptchaOption < TencentCloud::Common::AbstractModel
20676
+ # @param CaptchaAppId: CaptchaAppId 信息。
20677
+ # @type CaptchaAppId: String
20678
+ # @param AppSecretKey: AppSecretKey 信息。
20679
+ # @type AppSecretKey: String
20680
+
20681
+ attr_accessor :CaptchaAppId, :AppSecretKey
20682
+
20683
+ def initialize(captchaappid=nil, appsecretkey=nil)
20684
+ @CaptchaAppId = captchaappid
20685
+ @AppSecretKey = appsecretkey
20686
+ end
20687
+
20688
+ def deserialize(params)
20689
+ @CaptchaAppId = params['CaptchaAppId']
20690
+ @AppSecretKey = params['AppSecretKey']
20691
+ end
20692
+ end
20693
+
20694
+ # RCE 认证选项实例信息。
20695
+ class TCRCEOption < TencentCloud::Common::AbstractModel
20696
+ # @param Channel: Channel 信息。
20697
+ # @type Channel: String
20698
+
20699
+ attr_accessor :Channel
20700
+
20701
+ def initialize(channel=nil)
20702
+ @Channel = channel
20703
+ end
20704
+
20705
+ def deserialize(params)
20706
+ @Channel = params['Channel']
20707
+ end
20708
+ end
20709
+
19485
20710
  # SSL/TLS 安全配置参数。
19486
20711
  class TLSConfigParameters < TencentCloud::Common::AbstractModel
19487
20712
  # @param Version: TLS 版本。至少填写一个,如果是多个时,需要为连续版本号,例如:开启 TLS1、1.1、1.2 和 1.3,不可仅开启 1 和 1.2 而关闭 1.1。取值有:<li>TLSv1:TLSv1 版本;</li><li>TLSv1.1:TLSv1.1 版本;</li><li>TLSv1.2:TLSv1.2 版本;</li><li>TLSv1.3:TLSv1.3 版本。</li>
@@ -20189,6 +21414,50 @@ module TencentCloud
20189
21414
  end
20190
21415
  end
20191
21416
 
21417
+ # 视频流配置参数。
21418
+ class VideoTemplateInfo < TencentCloud::Common::AbstractModel
21419
+ # @param Codec: 视频流的编码格式,可选值:<li>H.264: 使用 H.264 编码;</li><li>H.265: 使用 H.265 编码。</li>
21420
+ # @type Codec: String
21421
+ # @param Fps: 视频帧率,取值范围:[0, 30],单位:Hz。
21422
+ # 取值为 0,表示帧率和原始视频保持一致,但最大不超过 30。
21423
+ # 默认值:0。
21424
+ # @type Fps: Float
21425
+ # @param Bitrate: 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
21426
+ # 取值为 0,表示自动根据视频画面和质量选择视频码率。
21427
+ # 默认值:0。
21428
+ # @type Bitrate: Integer
21429
+ # @param ResolutionAdaptive: 分辨率自适应,可选值:<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li><li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>默认值:open。
21430
+ # @type ResolutionAdaptive: String
21431
+ # @param Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。
21432
+ # @type Width: Integer
21433
+ # @param Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 1080],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。
21434
+ # @type Height: Integer
21435
+ # @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁”或者“拉长”。</li><li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li><li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li><li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>默认值:black 。
21436
+ # @type FillType: String
21437
+
21438
+ attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :FillType
21439
+
21440
+ def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil)
21441
+ @Codec = codec
21442
+ @Fps = fps
21443
+ @Bitrate = bitrate
21444
+ @ResolutionAdaptive = resolutionadaptive
21445
+ @Width = width
21446
+ @Height = height
21447
+ @FillType = filltype
21448
+ end
21449
+
21450
+ def deserialize(params)
21451
+ @Codec = params['Codec']
21452
+ @Fps = params['Fps']
21453
+ @Bitrate = params['Bitrate']
21454
+ @ResolutionAdaptive = params['ResolutionAdaptive']
21455
+ @Width = params['Width']
21456
+ @Height = params['Height']
21457
+ @FillType = params['FillType']
21458
+ end
21459
+ end
21460
+
20192
21461
  # 无
20193
21462
  class Waf < TencentCloud::Common::AbstractModel
20194
21463
  # @param Switch: Waf开关,取值为: