tencentcloud-sdk-teo 3.0.1114 → 3.0.1115
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +482 -0
- data/lib/v20220901/models.rb +1312 -48
- metadata +2 -2
data/lib/v20220901/models.rb
CHANGED
@@ -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: 鉴权类型。取值有:
|
@@ -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。
|
@@ -4439,6 +4645,147 @@ module TencentCloud
|
|
4439
4645
|
end
|
4440
4646
|
end
|
4441
4647
|
|
4648
|
+
# CreateSecurityAPIResource请求参数结构体
|
4649
|
+
class CreateSecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
|
4650
|
+
# @param ZoneId: 站点 ID。
|
4651
|
+
# @type ZoneId: String
|
4652
|
+
# @param APIResources: API 资源列表。
|
4653
|
+
# @type APIResources: Array
|
4654
|
+
|
4655
|
+
attr_accessor :ZoneId, :APIResources
|
4656
|
+
|
4657
|
+
def initialize(zoneid=nil, apiresources=nil)
|
4658
|
+
@ZoneId = zoneid
|
4659
|
+
@APIResources = apiresources
|
4660
|
+
end
|
4661
|
+
|
4662
|
+
def deserialize(params)
|
4663
|
+
@ZoneId = params['ZoneId']
|
4664
|
+
unless params['APIResources'].nil?
|
4665
|
+
@APIResources = []
|
4666
|
+
params['APIResources'].each do |i|
|
4667
|
+
apiresource_tmp = APIResource.new
|
4668
|
+
apiresource_tmp.deserialize(i)
|
4669
|
+
@APIResources << apiresource_tmp
|
4670
|
+
end
|
4671
|
+
end
|
4672
|
+
end
|
4673
|
+
end
|
4674
|
+
|
4675
|
+
# CreateSecurityAPIResource返回参数结构体
|
4676
|
+
class CreateSecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
|
4677
|
+
# @param APIResourceIds: API 资源 ID 列表。
|
4678
|
+
# @type APIResourceIds: Array
|
4679
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4680
|
+
# @type RequestId: String
|
4681
|
+
|
4682
|
+
attr_accessor :APIResourceIds, :RequestId
|
4683
|
+
|
4684
|
+
def initialize(apiresourceids=nil, requestid=nil)
|
4685
|
+
@APIResourceIds = apiresourceids
|
4686
|
+
@RequestId = requestid
|
4687
|
+
end
|
4688
|
+
|
4689
|
+
def deserialize(params)
|
4690
|
+
@APIResourceIds = params['APIResourceIds']
|
4691
|
+
@RequestId = params['RequestId']
|
4692
|
+
end
|
4693
|
+
end
|
4694
|
+
|
4695
|
+
# CreateSecurityAPIService请求参数结构体
|
4696
|
+
class CreateSecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
|
4697
|
+
# @param ZoneId: 站点 ID。
|
4698
|
+
# @type ZoneId: String
|
4699
|
+
# @param APIServices: API 服务列表。
|
4700
|
+
# @type APIServices: Array
|
4701
|
+
|
4702
|
+
attr_accessor :ZoneId, :APIServices
|
4703
|
+
|
4704
|
+
def initialize(zoneid=nil, apiservices=nil)
|
4705
|
+
@ZoneId = zoneid
|
4706
|
+
@APIServices = apiservices
|
4707
|
+
end
|
4708
|
+
|
4709
|
+
def deserialize(params)
|
4710
|
+
@ZoneId = params['ZoneId']
|
4711
|
+
unless params['APIServices'].nil?
|
4712
|
+
@APIServices = []
|
4713
|
+
params['APIServices'].each do |i|
|
4714
|
+
apiservice_tmp = APIService.new
|
4715
|
+
apiservice_tmp.deserialize(i)
|
4716
|
+
@APIServices << apiservice_tmp
|
4717
|
+
end
|
4718
|
+
end
|
4719
|
+
end
|
4720
|
+
end
|
4721
|
+
|
4722
|
+
# CreateSecurityAPIService返回参数结构体
|
4723
|
+
class CreateSecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
|
4724
|
+
# @param APIServiceIds: API 服务 ID 列表。
|
4725
|
+
# @type APIServiceIds: Array
|
4726
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4727
|
+
# @type RequestId: String
|
4728
|
+
|
4729
|
+
attr_accessor :APIServiceIds, :RequestId
|
4730
|
+
|
4731
|
+
def initialize(apiserviceids=nil, requestid=nil)
|
4732
|
+
@APIServiceIds = apiserviceids
|
4733
|
+
@RequestId = requestid
|
4734
|
+
end
|
4735
|
+
|
4736
|
+
def deserialize(params)
|
4737
|
+
@APIServiceIds = params['APIServiceIds']
|
4738
|
+
@RequestId = params['RequestId']
|
4739
|
+
end
|
4740
|
+
end
|
4741
|
+
|
4742
|
+
# CreateSecurityClientAttester请求参数结构体
|
4743
|
+
class CreateSecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
|
4744
|
+
# @param ZoneId: 站点 ID。
|
4745
|
+
# @type ZoneId: String
|
4746
|
+
# @param ClientAttesters: 认证选项列表。
|
4747
|
+
# @type ClientAttesters: Array
|
4748
|
+
|
4749
|
+
attr_accessor :ZoneId, :ClientAttesters
|
4750
|
+
|
4751
|
+
def initialize(zoneid=nil, clientattesters=nil)
|
4752
|
+
@ZoneId = zoneid
|
4753
|
+
@ClientAttesters = clientattesters
|
4754
|
+
end
|
4755
|
+
|
4756
|
+
def deserialize(params)
|
4757
|
+
@ZoneId = params['ZoneId']
|
4758
|
+
unless params['ClientAttesters'].nil?
|
4759
|
+
@ClientAttesters = []
|
4760
|
+
params['ClientAttesters'].each do |i|
|
4761
|
+
clientattester_tmp = ClientAttester.new
|
4762
|
+
clientattester_tmp.deserialize(i)
|
4763
|
+
@ClientAttesters << clientattester_tmp
|
4764
|
+
end
|
4765
|
+
end
|
4766
|
+
end
|
4767
|
+
end
|
4768
|
+
|
4769
|
+
# CreateSecurityClientAttester返回参数结构体
|
4770
|
+
class CreateSecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
|
4771
|
+
# @param ClientAttesterIds: 认证选项 ID 列表。
|
4772
|
+
# @type ClientAttesterIds: Array
|
4773
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4774
|
+
# @type RequestId: String
|
4775
|
+
|
4776
|
+
attr_accessor :ClientAttesterIds, :RequestId
|
4777
|
+
|
4778
|
+
def initialize(clientattesterids=nil, requestid=nil)
|
4779
|
+
@ClientAttesterIds = clientattesterids
|
4780
|
+
@RequestId = requestid
|
4781
|
+
end
|
4782
|
+
|
4783
|
+
def deserialize(params)
|
4784
|
+
@ClientAttesterIds = params['ClientAttesterIds']
|
4785
|
+
@RequestId = params['RequestId']
|
4786
|
+
end
|
4787
|
+
end
|
4788
|
+
|
4442
4789
|
# CreateSecurityIPGroup请求参数结构体
|
4443
4790
|
class CreateSecurityIPGroupRequest < TencentCloud::Common::AbstractModel
|
4444
4791
|
# @param ZoneId: 站点 Id。
|
@@ -4482,6 +4829,53 @@ module TencentCloud
|
|
4482
4829
|
end
|
4483
4830
|
end
|
4484
4831
|
|
4832
|
+
# CreateSecurityJSInjectionRule请求参数结构体
|
4833
|
+
class CreateSecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
|
4834
|
+
# @param ZoneId: 站点 ID。
|
4835
|
+
# @type ZoneId: String
|
4836
|
+
# @param JSInjectionRules: JavaScript 注入规则列表。
|
4837
|
+
# @type JSInjectionRules: Array
|
4838
|
+
|
4839
|
+
attr_accessor :ZoneId, :JSInjectionRules
|
4840
|
+
|
4841
|
+
def initialize(zoneid=nil, jsinjectionrules=nil)
|
4842
|
+
@ZoneId = zoneid
|
4843
|
+
@JSInjectionRules = jsinjectionrules
|
4844
|
+
end
|
4845
|
+
|
4846
|
+
def deserialize(params)
|
4847
|
+
@ZoneId = params['ZoneId']
|
4848
|
+
unless params['JSInjectionRules'].nil?
|
4849
|
+
@JSInjectionRules = []
|
4850
|
+
params['JSInjectionRules'].each do |i|
|
4851
|
+
jsinjectionrule_tmp = JSInjectionRule.new
|
4852
|
+
jsinjectionrule_tmp.deserialize(i)
|
4853
|
+
@JSInjectionRules << jsinjectionrule_tmp
|
4854
|
+
end
|
4855
|
+
end
|
4856
|
+
end
|
4857
|
+
end
|
4858
|
+
|
4859
|
+
# CreateSecurityJSInjectionRule返回参数结构体
|
4860
|
+
class CreateSecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
|
4861
|
+
# @param JSInjectionRuleIds: JavaScript 注入规则 ID 列表。
|
4862
|
+
# @type JSInjectionRuleIds: Array
|
4863
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4864
|
+
# @type RequestId: String
|
4865
|
+
|
4866
|
+
attr_accessor :JSInjectionRuleIds, :RequestId
|
4867
|
+
|
4868
|
+
def initialize(jsinjectionruleids=nil, requestid=nil)
|
4869
|
+
@JSInjectionRuleIds = jsinjectionruleids
|
4870
|
+
@RequestId = requestid
|
4871
|
+
end
|
4872
|
+
|
4873
|
+
def deserialize(params)
|
4874
|
+
@JSInjectionRuleIds = params['JSInjectionRuleIds']
|
4875
|
+
@RequestId = params['RequestId']
|
4876
|
+
end
|
4877
|
+
end
|
4878
|
+
|
4485
4879
|
# CreateSharedCNAME请求参数结构体
|
4486
4880
|
class CreateSharedCNAMERequest < TencentCloud::Common::AbstractModel
|
4487
4881
|
# @param ZoneId: 共享 CNAME 所属站点的 ID。
|
@@ -5526,6 +5920,42 @@ module TencentCloud
|
|
5526
5920
|
end
|
5527
5921
|
end
|
5528
5922
|
|
5923
|
+
# DeleteJustInTimeTranscodeTemplates请求参数结构体
|
5924
|
+
class DeleteJustInTimeTranscodeTemplatesRequest < TencentCloud::Common::AbstractModel
|
5925
|
+
# @param ZoneId: 站点ID。
|
5926
|
+
# @type ZoneId: String
|
5927
|
+
# @param TemplateIds: 需删除的即时转码模板唯一标识数组,长度限制:100。
|
5928
|
+
# @type TemplateIds: Array
|
5929
|
+
|
5930
|
+
attr_accessor :ZoneId, :TemplateIds
|
5931
|
+
|
5932
|
+
def initialize(zoneid=nil, templateids=nil)
|
5933
|
+
@ZoneId = zoneid
|
5934
|
+
@TemplateIds = templateids
|
5935
|
+
end
|
5936
|
+
|
5937
|
+
def deserialize(params)
|
5938
|
+
@ZoneId = params['ZoneId']
|
5939
|
+
@TemplateIds = params['TemplateIds']
|
5940
|
+
end
|
5941
|
+
end
|
5942
|
+
|
5943
|
+
# DeleteJustInTimeTranscodeTemplates返回参数结构体
|
5944
|
+
class DeleteJustInTimeTranscodeTemplatesResponse < TencentCloud::Common::AbstractModel
|
5945
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5946
|
+
# @type RequestId: String
|
5947
|
+
|
5948
|
+
attr_accessor :RequestId
|
5949
|
+
|
5950
|
+
def initialize(requestid=nil)
|
5951
|
+
@RequestId = requestid
|
5952
|
+
end
|
5953
|
+
|
5954
|
+
def deserialize(params)
|
5955
|
+
@RequestId = params['RequestId']
|
5956
|
+
end
|
5957
|
+
end
|
5958
|
+
|
5529
5959
|
# DeleteL4Proxy请求参数结构体
|
5530
5960
|
class DeleteL4ProxyRequest < TencentCloud::Common::AbstractModel
|
5531
5961
|
# @param ZoneId: 站点 ID。
|
@@ -5858,28 +6288,28 @@ module TencentCloud
|
|
5858
6288
|
end
|
5859
6289
|
end
|
5860
6290
|
|
5861
|
-
#
|
5862
|
-
class
|
5863
|
-
# @param ZoneId: 站点
|
6291
|
+
# DeleteSecurityAPIResource请求参数结构体
|
6292
|
+
class DeleteSecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
|
6293
|
+
# @param ZoneId: 站点 ID。
|
5864
6294
|
# @type ZoneId: String
|
5865
|
-
# @param
|
5866
|
-
# @type
|
6295
|
+
# @param APIResourceIds: 需要删除的 API 资源 ID 列表。
|
6296
|
+
# @type APIResourceIds: Array
|
5867
6297
|
|
5868
|
-
attr_accessor :ZoneId, :
|
6298
|
+
attr_accessor :ZoneId, :APIResourceIds
|
5869
6299
|
|
5870
|
-
def initialize(zoneid=nil,
|
6300
|
+
def initialize(zoneid=nil, apiresourceids=nil)
|
5871
6301
|
@ZoneId = zoneid
|
5872
|
-
@
|
6302
|
+
@APIResourceIds = apiresourceids
|
5873
6303
|
end
|
5874
6304
|
|
5875
6305
|
def deserialize(params)
|
5876
6306
|
@ZoneId = params['ZoneId']
|
5877
|
-
@
|
6307
|
+
@APIResourceIds = params['APIResourceIds']
|
5878
6308
|
end
|
5879
6309
|
end
|
5880
6310
|
|
5881
|
-
#
|
5882
|
-
class
|
6311
|
+
# DeleteSecurityAPIResource返回参数结构体
|
6312
|
+
class DeleteSecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
|
5883
6313
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5884
6314
|
# @type RequestId: String
|
5885
6315
|
|
@@ -5894,28 +6324,28 @@ module TencentCloud
|
|
5894
6324
|
end
|
5895
6325
|
end
|
5896
6326
|
|
5897
|
-
#
|
5898
|
-
class
|
5899
|
-
# @param ZoneId:
|
6327
|
+
# DeleteSecurityAPIService请求参数结构体
|
6328
|
+
class DeleteSecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
|
6329
|
+
# @param ZoneId: 站点 ID。
|
5900
6330
|
# @type ZoneId: String
|
5901
|
-
# @param
|
5902
|
-
# @type
|
6331
|
+
# @param APIServiceIds: API 服务 ID 列表。
|
6332
|
+
# @type APIServiceIds: Array
|
5903
6333
|
|
5904
|
-
attr_accessor :ZoneId, :
|
6334
|
+
attr_accessor :ZoneId, :APIServiceIds
|
5905
6335
|
|
5906
|
-
def initialize(zoneid=nil,
|
6336
|
+
def initialize(zoneid=nil, apiserviceids=nil)
|
5907
6337
|
@ZoneId = zoneid
|
5908
|
-
@
|
6338
|
+
@APIServiceIds = apiserviceids
|
5909
6339
|
end
|
5910
6340
|
|
5911
6341
|
def deserialize(params)
|
5912
6342
|
@ZoneId = params['ZoneId']
|
5913
|
-
@
|
6343
|
+
@APIServiceIds = params['APIServiceIds']
|
5914
6344
|
end
|
5915
6345
|
end
|
5916
6346
|
|
5917
|
-
#
|
5918
|
-
class
|
6347
|
+
# DeleteSecurityAPIService返回参数结构体
|
6348
|
+
class DeleteSecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
|
5919
6349
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5920
6350
|
# @type RequestId: String
|
5921
6351
|
|
@@ -5930,18 +6360,162 @@ module TencentCloud
|
|
5930
6360
|
end
|
5931
6361
|
end
|
5932
6362
|
|
5933
|
-
#
|
5934
|
-
class
|
5935
|
-
# @param ZoneId: 站点 ID
|
6363
|
+
# DeleteSecurityClientAttester请求参数结构体
|
6364
|
+
class DeleteSecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
|
6365
|
+
# @param ZoneId: 站点 ID。
|
5936
6366
|
# @type ZoneId: String
|
5937
|
-
# @param
|
5938
|
-
# @type
|
6367
|
+
# @param ClientAttesterIds: 客户端认证选项 ID。
|
6368
|
+
# @type ClientAttesterIds: Array
|
5939
6369
|
|
5940
|
-
attr_accessor :ZoneId, :
|
6370
|
+
attr_accessor :ZoneId, :ClientAttesterIds
|
5941
6371
|
|
5942
|
-
def initialize(zoneid=nil,
|
6372
|
+
def initialize(zoneid=nil, clientattesterids=nil)
|
5943
6373
|
@ZoneId = zoneid
|
5944
|
-
@
|
6374
|
+
@ClientAttesterIds = clientattesterids
|
6375
|
+
end
|
6376
|
+
|
6377
|
+
def deserialize(params)
|
6378
|
+
@ZoneId = params['ZoneId']
|
6379
|
+
@ClientAttesterIds = params['ClientAttesterIds']
|
6380
|
+
end
|
6381
|
+
end
|
6382
|
+
|
6383
|
+
# DeleteSecurityClientAttester返回参数结构体
|
6384
|
+
class DeleteSecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
|
6385
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6386
|
+
# @type RequestId: String
|
6387
|
+
|
6388
|
+
attr_accessor :RequestId
|
6389
|
+
|
6390
|
+
def initialize(requestid=nil)
|
6391
|
+
@RequestId = requestid
|
6392
|
+
end
|
6393
|
+
|
6394
|
+
def deserialize(params)
|
6395
|
+
@RequestId = params['RequestId']
|
6396
|
+
end
|
6397
|
+
end
|
6398
|
+
|
6399
|
+
# DeleteSecurityIPGroup请求参数结构体
|
6400
|
+
class DeleteSecurityIPGroupRequest < TencentCloud::Common::AbstractModel
|
6401
|
+
# @param ZoneId: 站点 Id。
|
6402
|
+
# @type ZoneId: String
|
6403
|
+
# @param GroupId: IP 组 Id。
|
6404
|
+
# @type GroupId: Integer
|
6405
|
+
|
6406
|
+
attr_accessor :ZoneId, :GroupId
|
6407
|
+
|
6408
|
+
def initialize(zoneid=nil, groupid=nil)
|
6409
|
+
@ZoneId = zoneid
|
6410
|
+
@GroupId = groupid
|
6411
|
+
end
|
6412
|
+
|
6413
|
+
def deserialize(params)
|
6414
|
+
@ZoneId = params['ZoneId']
|
6415
|
+
@GroupId = params['GroupId']
|
6416
|
+
end
|
6417
|
+
end
|
6418
|
+
|
6419
|
+
# DeleteSecurityIPGroup返回参数结构体
|
6420
|
+
class DeleteSecurityIPGroupResponse < TencentCloud::Common::AbstractModel
|
6421
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6422
|
+
# @type RequestId: String
|
6423
|
+
|
6424
|
+
attr_accessor :RequestId
|
6425
|
+
|
6426
|
+
def initialize(requestid=nil)
|
6427
|
+
@RequestId = requestid
|
6428
|
+
end
|
6429
|
+
|
6430
|
+
def deserialize(params)
|
6431
|
+
@RequestId = params['RequestId']
|
6432
|
+
end
|
6433
|
+
end
|
6434
|
+
|
6435
|
+
# DeleteSecurityJSInjectionRule请求参数结构体
|
6436
|
+
class DeleteSecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
|
6437
|
+
# @param ZoneId: 站点 ID。
|
6438
|
+
# @type ZoneId: String
|
6439
|
+
# @param JSInjectionRuleIds: JavaScript 注入规则 ID 列表。
|
6440
|
+
# @type JSInjectionRuleIds: Array
|
6441
|
+
|
6442
|
+
attr_accessor :ZoneId, :JSInjectionRuleIds
|
6443
|
+
|
6444
|
+
def initialize(zoneid=nil, jsinjectionruleids=nil)
|
6445
|
+
@ZoneId = zoneid
|
6446
|
+
@JSInjectionRuleIds = jsinjectionruleids
|
6447
|
+
end
|
6448
|
+
|
6449
|
+
def deserialize(params)
|
6450
|
+
@ZoneId = params['ZoneId']
|
6451
|
+
@JSInjectionRuleIds = params['JSInjectionRuleIds']
|
6452
|
+
end
|
6453
|
+
end
|
6454
|
+
|
6455
|
+
# DeleteSecurityJSInjectionRule返回参数结构体
|
6456
|
+
class DeleteSecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
|
6457
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6458
|
+
# @type RequestId: String
|
6459
|
+
|
6460
|
+
attr_accessor :RequestId
|
6461
|
+
|
6462
|
+
def initialize(requestid=nil)
|
6463
|
+
@RequestId = requestid
|
6464
|
+
end
|
6465
|
+
|
6466
|
+
def deserialize(params)
|
6467
|
+
@RequestId = params['RequestId']
|
6468
|
+
end
|
6469
|
+
end
|
6470
|
+
|
6471
|
+
# DeleteSharedCNAME请求参数结构体
|
6472
|
+
class DeleteSharedCNAMERequest < TencentCloud::Common::AbstractModel
|
6473
|
+
# @param ZoneId: 共享 CNAME 所属站点 ID。
|
6474
|
+
# @type ZoneId: String
|
6475
|
+
# @param SharedCNAME: 需要删除的共享 CNAME。
|
6476
|
+
# @type SharedCNAME: String
|
6477
|
+
|
6478
|
+
attr_accessor :ZoneId, :SharedCNAME
|
6479
|
+
|
6480
|
+
def initialize(zoneid=nil, sharedcname=nil)
|
6481
|
+
@ZoneId = zoneid
|
6482
|
+
@SharedCNAME = sharedcname
|
6483
|
+
end
|
6484
|
+
|
6485
|
+
def deserialize(params)
|
6486
|
+
@ZoneId = params['ZoneId']
|
6487
|
+
@SharedCNAME = params['SharedCNAME']
|
6488
|
+
end
|
6489
|
+
end
|
6490
|
+
|
6491
|
+
# DeleteSharedCNAME返回参数结构体
|
6492
|
+
class DeleteSharedCNAMEResponse < TencentCloud::Common::AbstractModel
|
6493
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6494
|
+
# @type RequestId: String
|
6495
|
+
|
6496
|
+
attr_accessor :RequestId
|
6497
|
+
|
6498
|
+
def initialize(requestid=nil)
|
6499
|
+
@RequestId = requestid
|
6500
|
+
end
|
6501
|
+
|
6502
|
+
def deserialize(params)
|
6503
|
+
@RequestId = params['RequestId']
|
6504
|
+
end
|
6505
|
+
end
|
6506
|
+
|
6507
|
+
# DeleteWebSecurityTemplate请求参数结构体
|
6508
|
+
class DeleteWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
|
6509
|
+
# @param ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
|
6510
|
+
# @type ZoneId: String
|
6511
|
+
# @param TemplateId: 策略模板 ID。
|
6512
|
+
# @type TemplateId: String
|
6513
|
+
|
6514
|
+
attr_accessor :ZoneId, :TemplateId
|
6515
|
+
|
6516
|
+
def initialize(zoneid=nil, templateid=nil)
|
6517
|
+
@ZoneId = zoneid
|
6518
|
+
@TemplateId = templateid
|
5945
6519
|
end
|
5946
6520
|
|
5947
6521
|
def deserialize(params)
|
@@ -7742,6 +8316,80 @@ module TencentCloud
|
|
7742
8316
|
end
|
7743
8317
|
end
|
7744
8318
|
|
8319
|
+
# DescribeJustInTimeTranscodeTemplates请求参数结构体
|
8320
|
+
class DescribeJustInTimeTranscodeTemplatesRequest < TencentCloud::Common::AbstractModel
|
8321
|
+
# @param ZoneId: 站点ID。
|
8322
|
+
# @type ZoneId: String
|
8323
|
+
# @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>默认为空。
|
8324
|
+
# @type Filters: Array
|
8325
|
+
# @param SortBy: 排序字段,取值有:<li>createTime:模板创建时间。</li>默认值为:createTime。
|
8326
|
+
# @type SortBy: String
|
8327
|
+
# @param SortOrder: 排序方式,取值有:<li>asc:升序方式;</li><li>desc:降序方式。</li>默认值为:desc。
|
8328
|
+
# @type SortOrder: String
|
8329
|
+
# @param Offset: 分页偏移量,默认值:0。
|
8330
|
+
# @type Offset: Integer
|
8331
|
+
# @param Limit: 返回记录条数,默认值:20,最大值:1000。
|
8332
|
+
# @type Limit: Integer
|
8333
|
+
|
8334
|
+
attr_accessor :ZoneId, :Filters, :SortBy, :SortOrder, :Offset, :Limit
|
8335
|
+
|
8336
|
+
def initialize(zoneid=nil, filters=nil, sortby=nil, sortorder=nil, offset=nil, limit=nil)
|
8337
|
+
@ZoneId = zoneid
|
8338
|
+
@Filters = filters
|
8339
|
+
@SortBy = sortby
|
8340
|
+
@SortOrder = sortorder
|
8341
|
+
@Offset = offset
|
8342
|
+
@Limit = limit
|
8343
|
+
end
|
8344
|
+
|
8345
|
+
def deserialize(params)
|
8346
|
+
@ZoneId = params['ZoneId']
|
8347
|
+
unless params['Filters'].nil?
|
8348
|
+
@Filters = []
|
8349
|
+
params['Filters'].each do |i|
|
8350
|
+
filter_tmp = Filter.new
|
8351
|
+
filter_tmp.deserialize(i)
|
8352
|
+
@Filters << filter_tmp
|
8353
|
+
end
|
8354
|
+
end
|
8355
|
+
@SortBy = params['SortBy']
|
8356
|
+
@SortOrder = params['SortOrder']
|
8357
|
+
@Offset = params['Offset']
|
8358
|
+
@Limit = params['Limit']
|
8359
|
+
end
|
8360
|
+
end
|
8361
|
+
|
8362
|
+
# DescribeJustInTimeTranscodeTemplates返回参数结构体
|
8363
|
+
class DescribeJustInTimeTranscodeTemplatesResponse < TencentCloud::Common::AbstractModel
|
8364
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
8365
|
+
# @type TotalCount: Integer
|
8366
|
+
# @param TemplateSet: 模板详情列表。
|
8367
|
+
# @type TemplateSet: Array
|
8368
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8369
|
+
# @type RequestId: String
|
8370
|
+
|
8371
|
+
attr_accessor :TotalCount, :TemplateSet, :RequestId
|
8372
|
+
|
8373
|
+
def initialize(totalcount=nil, templateset=nil, requestid=nil)
|
8374
|
+
@TotalCount = totalcount
|
8375
|
+
@TemplateSet = templateset
|
8376
|
+
@RequestId = requestid
|
8377
|
+
end
|
8378
|
+
|
8379
|
+
def deserialize(params)
|
8380
|
+
@TotalCount = params['TotalCount']
|
8381
|
+
unless params['TemplateSet'].nil?
|
8382
|
+
@TemplateSet = []
|
8383
|
+
params['TemplateSet'].each do |i|
|
8384
|
+
justintimetranscodetemplate_tmp = JustInTimeTranscodeTemplate.new
|
8385
|
+
justintimetranscodetemplate_tmp.deserialize(i)
|
8386
|
+
@TemplateSet << justintimetranscodetemplate_tmp
|
8387
|
+
end
|
8388
|
+
end
|
8389
|
+
@RequestId = params['RequestId']
|
8390
|
+
end
|
8391
|
+
end
|
8392
|
+
|
7745
8393
|
# DescribeL4Proxy请求参数结构体
|
7746
8394
|
class DescribeL4ProxyRequest < TencentCloud::Common::AbstractModel
|
7747
8395
|
# @param ZoneId: 四层代理实例所属站点的 ID。
|
@@ -8982,40 +9630,257 @@ module TencentCloud
|
|
8982
9630
|
end
|
8983
9631
|
end
|
8984
9632
|
|
8985
|
-
# DescribeRulesSetting请求参数结构体
|
8986
|
-
class DescribeRulesSettingRequest < TencentCloud::Common::AbstractModel
|
9633
|
+
# DescribeRulesSetting请求参数结构体
|
9634
|
+
class DescribeRulesSettingRequest < TencentCloud::Common::AbstractModel
|
9635
|
+
|
9636
|
+
|
9637
|
+
def initialize()
|
9638
|
+
end
|
9639
|
+
|
9640
|
+
def deserialize(params)
|
9641
|
+
end
|
9642
|
+
end
|
9643
|
+
|
9644
|
+
# DescribeRulesSetting返回参数结构体
|
9645
|
+
class DescribeRulesSettingResponse < TencentCloud::Common::AbstractModel
|
9646
|
+
# @param Actions: 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。
|
9647
|
+
# @type Actions: Array
|
9648
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9649
|
+
# @type RequestId: String
|
9650
|
+
|
9651
|
+
attr_accessor :Actions, :RequestId
|
9652
|
+
|
9653
|
+
def initialize(actions=nil, requestid=nil)
|
9654
|
+
@Actions = actions
|
9655
|
+
@RequestId = requestid
|
9656
|
+
end
|
9657
|
+
|
9658
|
+
def deserialize(params)
|
9659
|
+
unless params['Actions'].nil?
|
9660
|
+
@Actions = []
|
9661
|
+
params['Actions'].each do |i|
|
9662
|
+
rulessettingaction_tmp = RulesSettingAction.new
|
9663
|
+
rulessettingaction_tmp.deserialize(i)
|
9664
|
+
@Actions << rulessettingaction_tmp
|
9665
|
+
end
|
9666
|
+
end
|
9667
|
+
@RequestId = params['RequestId']
|
9668
|
+
end
|
9669
|
+
end
|
9670
|
+
|
9671
|
+
# DescribeSecurityAPIResource请求参数结构体
|
9672
|
+
class DescribeSecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
|
9673
|
+
# @param ZoneId: 站点 ID。
|
9674
|
+
# @type ZoneId: String
|
9675
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
9676
|
+
# @type Limit: Integer
|
9677
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
9678
|
+
# @type Offset: Integer
|
9679
|
+
|
9680
|
+
attr_accessor :ZoneId, :Limit, :Offset
|
9681
|
+
|
9682
|
+
def initialize(zoneid=nil, limit=nil, offset=nil)
|
9683
|
+
@ZoneId = zoneid
|
9684
|
+
@Limit = limit
|
9685
|
+
@Offset = offset
|
9686
|
+
end
|
9687
|
+
|
9688
|
+
def deserialize(params)
|
9689
|
+
@ZoneId = params['ZoneId']
|
9690
|
+
@Limit = params['Limit']
|
9691
|
+
@Offset = params['Offset']
|
9692
|
+
end
|
9693
|
+
end
|
9694
|
+
|
9695
|
+
# DescribeSecurityAPIResource返回参数结构体
|
9696
|
+
class DescribeSecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
|
9697
|
+
# @param TotalCount: API 资源总数量。
|
9698
|
+
# @type TotalCount: Integer
|
9699
|
+
# @param APIResources: API 资源列表。
|
9700
|
+
# @type APIResources: Array
|
9701
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9702
|
+
# @type RequestId: String
|
9703
|
+
|
9704
|
+
attr_accessor :TotalCount, :APIResources, :RequestId
|
9705
|
+
|
9706
|
+
def initialize(totalcount=nil, apiresources=nil, requestid=nil)
|
9707
|
+
@TotalCount = totalcount
|
9708
|
+
@APIResources = apiresources
|
9709
|
+
@RequestId = requestid
|
9710
|
+
end
|
9711
|
+
|
9712
|
+
def deserialize(params)
|
9713
|
+
@TotalCount = params['TotalCount']
|
9714
|
+
unless params['APIResources'].nil?
|
9715
|
+
@APIResources = []
|
9716
|
+
params['APIResources'].each do |i|
|
9717
|
+
apiresource_tmp = APIResource.new
|
9718
|
+
apiresource_tmp.deserialize(i)
|
9719
|
+
@APIResources << apiresource_tmp
|
9720
|
+
end
|
9721
|
+
end
|
9722
|
+
@RequestId = params['RequestId']
|
9723
|
+
end
|
9724
|
+
end
|
9725
|
+
|
9726
|
+
# DescribeSecurityAPIService请求参数结构体
|
9727
|
+
class DescribeSecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
|
9728
|
+
# @param ZoneId: 站点 ID。
|
9729
|
+
# @type ZoneId: String
|
9730
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
9731
|
+
# @type Limit: Integer
|
9732
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
9733
|
+
# @type Offset: Integer
|
9734
|
+
|
9735
|
+
attr_accessor :ZoneId, :Limit, :Offset
|
9736
|
+
|
9737
|
+
def initialize(zoneid=nil, limit=nil, offset=nil)
|
9738
|
+
@ZoneId = zoneid
|
9739
|
+
@Limit = limit
|
9740
|
+
@Offset = offset
|
9741
|
+
end
|
9742
|
+
|
9743
|
+
def deserialize(params)
|
9744
|
+
@ZoneId = params['ZoneId']
|
9745
|
+
@Limit = params['Limit']
|
9746
|
+
@Offset = params['Offset']
|
9747
|
+
end
|
9748
|
+
end
|
9749
|
+
|
9750
|
+
# DescribeSecurityAPIService返回参数结构体
|
9751
|
+
class DescribeSecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
|
9752
|
+
# @param TotalCount: API 服务总数量。
|
9753
|
+
# @type TotalCount: Integer
|
9754
|
+
# @param APIServices: API 服务列表。
|
9755
|
+
# @type APIServices: Array
|
9756
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9757
|
+
# @type RequestId: String
|
9758
|
+
|
9759
|
+
attr_accessor :TotalCount, :APIServices, :RequestId
|
9760
|
+
|
9761
|
+
def initialize(totalcount=nil, apiservices=nil, requestid=nil)
|
9762
|
+
@TotalCount = totalcount
|
9763
|
+
@APIServices = apiservices
|
9764
|
+
@RequestId = requestid
|
9765
|
+
end
|
9766
|
+
|
9767
|
+
def deserialize(params)
|
9768
|
+
@TotalCount = params['TotalCount']
|
9769
|
+
unless params['APIServices'].nil?
|
9770
|
+
@APIServices = []
|
9771
|
+
params['APIServices'].each do |i|
|
9772
|
+
apiservice_tmp = APIService.new
|
9773
|
+
apiservice_tmp.deserialize(i)
|
9774
|
+
@APIServices << apiservice_tmp
|
9775
|
+
end
|
9776
|
+
end
|
9777
|
+
@RequestId = params['RequestId']
|
9778
|
+
end
|
9779
|
+
end
|
9780
|
+
|
9781
|
+
# DescribeSecurityClientAttester请求参数结构体
|
9782
|
+
class DescribeSecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
|
9783
|
+
# @param ZoneId: 站点 ID。
|
9784
|
+
# @type ZoneId: String
|
9785
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
9786
|
+
# @type Limit: Integer
|
9787
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
9788
|
+
# @type Offset: Integer
|
9789
|
+
|
9790
|
+
attr_accessor :ZoneId, :Limit, :Offset
|
9791
|
+
|
9792
|
+
def initialize(zoneid=nil, limit=nil, offset=nil)
|
9793
|
+
@ZoneId = zoneid
|
9794
|
+
@Limit = limit
|
9795
|
+
@Offset = offset
|
9796
|
+
end
|
9797
|
+
|
9798
|
+
def deserialize(params)
|
9799
|
+
@ZoneId = params['ZoneId']
|
9800
|
+
@Limit = params['Limit']
|
9801
|
+
@Offset = params['Offset']
|
9802
|
+
end
|
9803
|
+
end
|
9804
|
+
|
9805
|
+
# DescribeSecurityClientAttester返回参数结构体
|
9806
|
+
class DescribeSecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
|
9807
|
+
# @param TotalCount: 认证选项总数量。
|
9808
|
+
# @type TotalCount: Integer
|
9809
|
+
# @param ClientAttesters: 认证选项列表。
|
9810
|
+
# @type ClientAttesters: Array
|
9811
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9812
|
+
# @type RequestId: String
|
9813
|
+
|
9814
|
+
attr_accessor :TotalCount, :ClientAttesters, :RequestId
|
9815
|
+
|
9816
|
+
def initialize(totalcount=nil, clientattesters=nil, requestid=nil)
|
9817
|
+
@TotalCount = totalcount
|
9818
|
+
@ClientAttesters = clientattesters
|
9819
|
+
@RequestId = requestid
|
9820
|
+
end
|
9821
|
+
|
9822
|
+
def deserialize(params)
|
9823
|
+
@TotalCount = params['TotalCount']
|
9824
|
+
unless params['ClientAttesters'].nil?
|
9825
|
+
@ClientAttesters = []
|
9826
|
+
params['ClientAttesters'].each do |i|
|
9827
|
+
clientattester_tmp = ClientAttester.new
|
9828
|
+
clientattester_tmp.deserialize(i)
|
9829
|
+
@ClientAttesters << clientattester_tmp
|
9830
|
+
end
|
9831
|
+
end
|
9832
|
+
@RequestId = params['RequestId']
|
9833
|
+
end
|
9834
|
+
end
|
9835
|
+
|
9836
|
+
# DescribeSecurityIPGroupContent请求参数结构体
|
9837
|
+
class DescribeSecurityIPGroupContentRequest < TencentCloud::Common::AbstractModel
|
9838
|
+
# @param ZoneId: 站点 ID。
|
9839
|
+
# @type ZoneId: String
|
9840
|
+
# @param GroupId: IP 组 ID。
|
9841
|
+
# @type GroupId: Integer
|
9842
|
+
# @param Limit: 分页查询限制数目。默认值:2000,最大值:100000。
|
9843
|
+
# @type Limit: Integer
|
9844
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
9845
|
+
# @type Offset: Integer
|
8987
9846
|
|
9847
|
+
attr_accessor :ZoneId, :GroupId, :Limit, :Offset
|
8988
9848
|
|
8989
|
-
def initialize()
|
9849
|
+
def initialize(zoneid=nil, groupid=nil, limit=nil, offset=nil)
|
9850
|
+
@ZoneId = zoneid
|
9851
|
+
@GroupId = groupid
|
9852
|
+
@Limit = limit
|
9853
|
+
@Offset = offset
|
8990
9854
|
end
|
8991
9855
|
|
8992
9856
|
def deserialize(params)
|
9857
|
+
@ZoneId = params['ZoneId']
|
9858
|
+
@GroupId = params['GroupId']
|
9859
|
+
@Limit = params['Limit']
|
9860
|
+
@Offset = params['Offset']
|
8993
9861
|
end
|
8994
9862
|
end
|
8995
9863
|
|
8996
|
-
#
|
8997
|
-
class
|
8998
|
-
# @param
|
8999
|
-
# @type
|
9864
|
+
# DescribeSecurityIPGroupContent返回参数结构体
|
9865
|
+
class DescribeSecurityIPGroupContentResponse < TencentCloud::Common::AbstractModel
|
9866
|
+
# @param IPTotalCount: IP 组中正在生效的 IP 或网段个数。
|
9867
|
+
# @type IPTotalCount: Integer
|
9868
|
+
# @param IPList: 满足查询条件的 IP 或网段列表。受 Limit 和 Offset 参数限制。
|
9869
|
+
# @type IPList: Array
|
9000
9870
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9001
9871
|
# @type RequestId: String
|
9002
9872
|
|
9003
|
-
attr_accessor :
|
9873
|
+
attr_accessor :IPTotalCount, :IPList, :RequestId
|
9004
9874
|
|
9005
|
-
def initialize(
|
9006
|
-
@
|
9875
|
+
def initialize(iptotalcount=nil, iplist=nil, requestid=nil)
|
9876
|
+
@IPTotalCount = iptotalcount
|
9877
|
+
@IPList = iplist
|
9007
9878
|
@RequestId = requestid
|
9008
9879
|
end
|
9009
9880
|
|
9010
9881
|
def deserialize(params)
|
9011
|
-
|
9012
|
-
|
9013
|
-
params['Actions'].each do |i|
|
9014
|
-
rulessettingaction_tmp = RulesSettingAction.new
|
9015
|
-
rulessettingaction_tmp.deserialize(i)
|
9016
|
-
@Actions << rulessettingaction_tmp
|
9017
|
-
end
|
9018
|
-
end
|
9882
|
+
@IPTotalCount = params['IPTotalCount']
|
9883
|
+
@IPList = params['IPList']
|
9019
9884
|
@RequestId = params['RequestId']
|
9020
9885
|
end
|
9021
9886
|
end
|
@@ -9122,6 +9987,61 @@ module TencentCloud
|
|
9122
9987
|
end
|
9123
9988
|
end
|
9124
9989
|
|
9990
|
+
# DescribeSecurityJSInjectionRule请求参数结构体
|
9991
|
+
class DescribeSecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
|
9992
|
+
# @param ZoneId: 站点 ID。
|
9993
|
+
# @type ZoneId: String
|
9994
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
9995
|
+
# @type Limit: Integer
|
9996
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
9997
|
+
# @type Offset: Integer
|
9998
|
+
|
9999
|
+
attr_accessor :ZoneId, :Limit, :Offset
|
10000
|
+
|
10001
|
+
def initialize(zoneid=nil, limit=nil, offset=nil)
|
10002
|
+
@ZoneId = zoneid
|
10003
|
+
@Limit = limit
|
10004
|
+
@Offset = offset
|
10005
|
+
end
|
10006
|
+
|
10007
|
+
def deserialize(params)
|
10008
|
+
@ZoneId = params['ZoneId']
|
10009
|
+
@Limit = params['Limit']
|
10010
|
+
@Offset = params['Offset']
|
10011
|
+
end
|
10012
|
+
end
|
10013
|
+
|
10014
|
+
# DescribeSecurityJSInjectionRule返回参数结构体
|
10015
|
+
class DescribeSecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
|
10016
|
+
# @param TotalCount: JavaScript 注入规则总数量。
|
10017
|
+
# @type TotalCount: Integer
|
10018
|
+
# @param JSInjectionRules: JavaScript 注入规则列表。
|
10019
|
+
# @type JSInjectionRules: Array
|
10020
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10021
|
+
# @type RequestId: String
|
10022
|
+
|
10023
|
+
attr_accessor :TotalCount, :JSInjectionRules, :RequestId
|
10024
|
+
|
10025
|
+
def initialize(totalcount=nil, jsinjectionrules=nil, requestid=nil)
|
10026
|
+
@TotalCount = totalcount
|
10027
|
+
@JSInjectionRules = jsinjectionrules
|
10028
|
+
@RequestId = requestid
|
10029
|
+
end
|
10030
|
+
|
10031
|
+
def deserialize(params)
|
10032
|
+
@TotalCount = params['TotalCount']
|
10033
|
+
unless params['JSInjectionRules'].nil?
|
10034
|
+
@JSInjectionRules = []
|
10035
|
+
params['JSInjectionRules'].each do |i|
|
10036
|
+
jsinjectionrule_tmp = JSInjectionRule.new
|
10037
|
+
jsinjectionrule_tmp.deserialize(i)
|
10038
|
+
@JSInjectionRules << jsinjectionrule_tmp
|
10039
|
+
end
|
10040
|
+
end
|
10041
|
+
@RequestId = params['RequestId']
|
10042
|
+
end
|
10043
|
+
end
|
10044
|
+
|
9125
10045
|
# DescribeSecurityPolicy请求参数结构体
|
9126
10046
|
class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
9127
10047
|
# @param ZoneId: 站点 ID。
|
@@ -12591,6 +13511,98 @@ module TencentCloud
|
|
12591
13511
|
end
|
12592
13512
|
end
|
12593
13513
|
|
13514
|
+
# JavaScript 注入规则。
|
13515
|
+
class JSInjectionRule < TencentCloud::Common::AbstractModel
|
13516
|
+
# @param RuleId: 规则 ID。
|
13517
|
+
# @type RuleId: String
|
13518
|
+
# @param Name: 规则名称。
|
13519
|
+
# @type Name: String
|
13520
|
+
# @param Priority: 规则优先级,数值越小越优先执行,范围是 0 ~ 100,默认为 0。
|
13521
|
+
# @type Priority: Integer
|
13522
|
+
# @param Condition: 匹配条件内容。需符合表达式语法,详细规范参见产品文档。
|
13523
|
+
# @type Condition: String
|
13524
|
+
# @param InjectJS: JavaScript 注入选项。默认值为 run-attestations,取值有:
|
13525
|
+
# <li> no-injection: 不注入 JavaScript;</li>
|
13526
|
+
# <li> inject-sdk-only: 注入当前支持的所有认证方式的 SDK,当前支持:TC-RCE 和 TC-CAPTCHA。注意:若需执行认证检测,请配置挑战规则。</li>
|
13527
|
+
# @type InjectJS: String
|
13528
|
+
|
13529
|
+
attr_accessor :RuleId, :Name, :Priority, :Condition, :InjectJS
|
13530
|
+
|
13531
|
+
def initialize(ruleid=nil, name=nil, priority=nil, condition=nil, injectjs=nil)
|
13532
|
+
@RuleId = ruleid
|
13533
|
+
@Name = name
|
13534
|
+
@Priority = priority
|
13535
|
+
@Condition = condition
|
13536
|
+
@InjectJS = injectjs
|
13537
|
+
end
|
13538
|
+
|
13539
|
+
def deserialize(params)
|
13540
|
+
@RuleId = params['RuleId']
|
13541
|
+
@Name = params['Name']
|
13542
|
+
@Priority = params['Priority']
|
13543
|
+
@Condition = params['Condition']
|
13544
|
+
@InjectJS = params['InjectJS']
|
13545
|
+
end
|
13546
|
+
end
|
13547
|
+
|
13548
|
+
# 即时转码模板详情。
|
13549
|
+
class JustInTimeTranscodeTemplate < TencentCloud::Common::AbstractModel
|
13550
|
+
# @param TemplateId: 即时转码模板唯一标识。
|
13551
|
+
# @type TemplateId: String
|
13552
|
+
# @param TemplateName: 转码模板名称。
|
13553
|
+
# @type TemplateName: String
|
13554
|
+
# @param Comment: 模板描述信息。
|
13555
|
+
# @type Comment: String
|
13556
|
+
# @param Type: 模板类型,取值:<li>preset:系统预置模板;</li><li>custom:用户自定义模板。</li>
|
13557
|
+
# @type Type: String
|
13558
|
+
# @param VideoStreamSwitch: 启用视频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
|
13559
|
+
# @type VideoStreamSwitch: String
|
13560
|
+
# @param AudioStreamSwitch: 启用音频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
|
13561
|
+
# @type AudioStreamSwitch: String
|
13562
|
+
# @param VideoTemplate: 视频流配置参数,仅当 VideoStreamSwitch 为 on,该字段有效。
|
13563
|
+
# @type VideoTemplate: :class:`Tencentcloud::Teo.v20220901.models.VideoTemplateInfo`
|
13564
|
+
# @param AudioTemplate: 音频流配置参数,仅当 AudioStreamSwitch 为 on,该字段有效。
|
13565
|
+
# @type AudioTemplate: :class:`Tencentcloud::Teo.v20220901.models.AudioTemplateInfo`
|
13566
|
+
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
13567
|
+
# @type CreateTime: String
|
13568
|
+
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
13569
|
+
# @type UpdateTime: String
|
13570
|
+
|
13571
|
+
attr_accessor :TemplateId, :TemplateName, :Comment, :Type, :VideoStreamSwitch, :AudioStreamSwitch, :VideoTemplate, :AudioTemplate, :CreateTime, :UpdateTime
|
13572
|
+
|
13573
|
+
def initialize(templateid=nil, templatename=nil, comment=nil, type=nil, videostreamswitch=nil, audiostreamswitch=nil, videotemplate=nil, audiotemplate=nil, createtime=nil, updatetime=nil)
|
13574
|
+
@TemplateId = templateid
|
13575
|
+
@TemplateName = templatename
|
13576
|
+
@Comment = comment
|
13577
|
+
@Type = type
|
13578
|
+
@VideoStreamSwitch = videostreamswitch
|
13579
|
+
@AudioStreamSwitch = audiostreamswitch
|
13580
|
+
@VideoTemplate = videotemplate
|
13581
|
+
@AudioTemplate = audiotemplate
|
13582
|
+
@CreateTime = createtime
|
13583
|
+
@UpdateTime = updatetime
|
13584
|
+
end
|
13585
|
+
|
13586
|
+
def deserialize(params)
|
13587
|
+
@TemplateId = params['TemplateId']
|
13588
|
+
@TemplateName = params['TemplateName']
|
13589
|
+
@Comment = params['Comment']
|
13590
|
+
@Type = params['Type']
|
13591
|
+
@VideoStreamSwitch = params['VideoStreamSwitch']
|
13592
|
+
@AudioStreamSwitch = params['AudioStreamSwitch']
|
13593
|
+
unless params['VideoTemplate'].nil?
|
13594
|
+
@VideoTemplate = VideoTemplateInfo.new
|
13595
|
+
@VideoTemplate.deserialize(params['VideoTemplate'])
|
13596
|
+
end
|
13597
|
+
unless params['AudioTemplate'].nil?
|
13598
|
+
@AudioTemplate = AudioTemplateInfo.new
|
13599
|
+
@AudioTemplate.deserialize(params['AudioTemplate'])
|
13600
|
+
end
|
13601
|
+
@CreateTime = params['CreateTime']
|
13602
|
+
@UpdateTime = params['UpdateTime']
|
13603
|
+
end
|
13604
|
+
end
|
13605
|
+
|
12594
13606
|
# 离线日志详细信息
|
12595
13607
|
class L4OfflineLog < TencentCloud::Common::AbstractModel
|
12596
13608
|
# @param ProxyId: 四层代理实例 ID。
|
@@ -15079,6 +16091,135 @@ module TencentCloud
|
|
15079
16091
|
end
|
15080
16092
|
end
|
15081
16093
|
|
16094
|
+
# ModifySecurityAPIResource请求参数结构体
|
16095
|
+
class ModifySecurityAPIResourceRequest < TencentCloud::Common::AbstractModel
|
16096
|
+
# @param ZoneId: 站点 ID。
|
16097
|
+
# @type ZoneId: String
|
16098
|
+
# @param APIResources: API 资源列表。
|
16099
|
+
# @type APIResources: Array
|
16100
|
+
|
16101
|
+
attr_accessor :ZoneId, :APIResources
|
16102
|
+
|
16103
|
+
def initialize(zoneid=nil, apiresources=nil)
|
16104
|
+
@ZoneId = zoneid
|
16105
|
+
@APIResources = apiresources
|
16106
|
+
end
|
16107
|
+
|
16108
|
+
def deserialize(params)
|
16109
|
+
@ZoneId = params['ZoneId']
|
16110
|
+
unless params['APIResources'].nil?
|
16111
|
+
@APIResources = []
|
16112
|
+
params['APIResources'].each do |i|
|
16113
|
+
apiresource_tmp = APIResource.new
|
16114
|
+
apiresource_tmp.deserialize(i)
|
16115
|
+
@APIResources << apiresource_tmp
|
16116
|
+
end
|
16117
|
+
end
|
16118
|
+
end
|
16119
|
+
end
|
16120
|
+
|
16121
|
+
# ModifySecurityAPIResource返回参数结构体
|
16122
|
+
class ModifySecurityAPIResourceResponse < TencentCloud::Common::AbstractModel
|
16123
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16124
|
+
# @type RequestId: String
|
16125
|
+
|
16126
|
+
attr_accessor :RequestId
|
16127
|
+
|
16128
|
+
def initialize(requestid=nil)
|
16129
|
+
@RequestId = requestid
|
16130
|
+
end
|
16131
|
+
|
16132
|
+
def deserialize(params)
|
16133
|
+
@RequestId = params['RequestId']
|
16134
|
+
end
|
16135
|
+
end
|
16136
|
+
|
16137
|
+
# ModifySecurityAPIService请求参数结构体
|
16138
|
+
class ModifySecurityAPIServiceRequest < TencentCloud::Common::AbstractModel
|
16139
|
+
# @param ZoneId: 站点 ID。
|
16140
|
+
# @type ZoneId: String
|
16141
|
+
# @param APIServices: API 服务列表。
|
16142
|
+
# @type APIServices: Array
|
16143
|
+
|
16144
|
+
attr_accessor :ZoneId, :APIServices
|
16145
|
+
|
16146
|
+
def initialize(zoneid=nil, apiservices=nil)
|
16147
|
+
@ZoneId = zoneid
|
16148
|
+
@APIServices = apiservices
|
16149
|
+
end
|
16150
|
+
|
16151
|
+
def deserialize(params)
|
16152
|
+
@ZoneId = params['ZoneId']
|
16153
|
+
unless params['APIServices'].nil?
|
16154
|
+
@APIServices = []
|
16155
|
+
params['APIServices'].each do |i|
|
16156
|
+
apiservice_tmp = APIService.new
|
16157
|
+
apiservice_tmp.deserialize(i)
|
16158
|
+
@APIServices << apiservice_tmp
|
16159
|
+
end
|
16160
|
+
end
|
16161
|
+
end
|
16162
|
+
end
|
16163
|
+
|
16164
|
+
# ModifySecurityAPIService返回参数结构体
|
16165
|
+
class ModifySecurityAPIServiceResponse < TencentCloud::Common::AbstractModel
|
16166
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16167
|
+
# @type RequestId: String
|
16168
|
+
|
16169
|
+
attr_accessor :RequestId
|
16170
|
+
|
16171
|
+
def initialize(requestid=nil)
|
16172
|
+
@RequestId = requestid
|
16173
|
+
end
|
16174
|
+
|
16175
|
+
def deserialize(params)
|
16176
|
+
@RequestId = params['RequestId']
|
16177
|
+
end
|
16178
|
+
end
|
16179
|
+
|
16180
|
+
# ModifySecurityClientAttester请求参数结构体
|
16181
|
+
class ModifySecurityClientAttesterRequest < TencentCloud::Common::AbstractModel
|
16182
|
+
# @param ZoneId: 站点 ID。
|
16183
|
+
# @type ZoneId: String
|
16184
|
+
# @param ClientAttesters: 认证选项列表。
|
16185
|
+
# @type ClientAttesters: Array
|
16186
|
+
|
16187
|
+
attr_accessor :ZoneId, :ClientAttesters
|
16188
|
+
|
16189
|
+
def initialize(zoneid=nil, clientattesters=nil)
|
16190
|
+
@ZoneId = zoneid
|
16191
|
+
@ClientAttesters = clientattesters
|
16192
|
+
end
|
16193
|
+
|
16194
|
+
def deserialize(params)
|
16195
|
+
@ZoneId = params['ZoneId']
|
16196
|
+
unless params['ClientAttesters'].nil?
|
16197
|
+
@ClientAttesters = []
|
16198
|
+
params['ClientAttesters'].each do |i|
|
16199
|
+
clientattester_tmp = ClientAttester.new
|
16200
|
+
clientattester_tmp.deserialize(i)
|
16201
|
+
@ClientAttesters << clientattester_tmp
|
16202
|
+
end
|
16203
|
+
end
|
16204
|
+
end
|
16205
|
+
end
|
16206
|
+
|
16207
|
+
# ModifySecurityClientAttester返回参数结构体
|
16208
|
+
class ModifySecurityClientAttesterResponse < TencentCloud::Common::AbstractModel
|
16209
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16210
|
+
# @type RequestId: String
|
16211
|
+
|
16212
|
+
attr_accessor :RequestId
|
16213
|
+
|
16214
|
+
def initialize(requestid=nil)
|
16215
|
+
@RequestId = requestid
|
16216
|
+
end
|
16217
|
+
|
16218
|
+
def deserialize(params)
|
16219
|
+
@RequestId = params['RequestId']
|
16220
|
+
end
|
16221
|
+
end
|
16222
|
+
|
15082
16223
|
# ModifySecurityIPGroup请求参数结构体
|
15083
16224
|
class ModifySecurityIPGroupRequest < TencentCloud::Common::AbstractModel
|
15084
16225
|
# @param ZoneId: 站点 Id。
|
@@ -15122,6 +16263,49 @@ module TencentCloud
|
|
15122
16263
|
end
|
15123
16264
|
end
|
15124
16265
|
|
16266
|
+
# ModifySecurityJSInjectionRule请求参数结构体
|
16267
|
+
class ModifySecurityJSInjectionRuleRequest < TencentCloud::Common::AbstractModel
|
16268
|
+
# @param ZoneId: 站点 ID。
|
16269
|
+
# @type ZoneId: String
|
16270
|
+
# @param JSInjectionRules: JavaScript 注入规则列表。
|
16271
|
+
# @type JSInjectionRules: Array
|
16272
|
+
|
16273
|
+
attr_accessor :ZoneId, :JSInjectionRules
|
16274
|
+
|
16275
|
+
def initialize(zoneid=nil, jsinjectionrules=nil)
|
16276
|
+
@ZoneId = zoneid
|
16277
|
+
@JSInjectionRules = jsinjectionrules
|
16278
|
+
end
|
16279
|
+
|
16280
|
+
def deserialize(params)
|
16281
|
+
@ZoneId = params['ZoneId']
|
16282
|
+
unless params['JSInjectionRules'].nil?
|
16283
|
+
@JSInjectionRules = []
|
16284
|
+
params['JSInjectionRules'].each do |i|
|
16285
|
+
jsinjectionrule_tmp = JSInjectionRule.new
|
16286
|
+
jsinjectionrule_tmp.deserialize(i)
|
16287
|
+
@JSInjectionRules << jsinjectionrule_tmp
|
16288
|
+
end
|
16289
|
+
end
|
16290
|
+
end
|
16291
|
+
end
|
16292
|
+
|
16293
|
+
# ModifySecurityJSInjectionRule返回参数结构体
|
16294
|
+
class ModifySecurityJSInjectionRuleResponse < TencentCloud::Common::AbstractModel
|
16295
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16296
|
+
# @type RequestId: String
|
16297
|
+
|
16298
|
+
attr_accessor :RequestId
|
16299
|
+
|
16300
|
+
def initialize(requestid=nil)
|
16301
|
+
@RequestId = requestid
|
16302
|
+
end
|
16303
|
+
|
16304
|
+
def deserialize(params)
|
16305
|
+
@RequestId = params['RequestId']
|
16306
|
+
end
|
16307
|
+
end
|
16308
|
+
|
15125
16309
|
# ModifySecurityPolicy请求参数结构体
|
15126
16310
|
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
15127
16311
|
# @param ZoneId: 站点 ID。
|
@@ -19482,6 +20666,42 @@ module TencentCloud
|
|
19482
20666
|
end
|
19483
20667
|
end
|
19484
20668
|
|
20669
|
+
# 验证码认证实例信息。
|
20670
|
+
class TCCaptchaOption < TencentCloud::Common::AbstractModel
|
20671
|
+
# @param CaptchaAppId: CaptchaAppId 信息。
|
20672
|
+
# @type CaptchaAppId: String
|
20673
|
+
# @param AppSecretKey: AppSecretKey 信息。
|
20674
|
+
# @type AppSecretKey: String
|
20675
|
+
|
20676
|
+
attr_accessor :CaptchaAppId, :AppSecretKey
|
20677
|
+
|
20678
|
+
def initialize(captchaappid=nil, appsecretkey=nil)
|
20679
|
+
@CaptchaAppId = captchaappid
|
20680
|
+
@AppSecretKey = appsecretkey
|
20681
|
+
end
|
20682
|
+
|
20683
|
+
def deserialize(params)
|
20684
|
+
@CaptchaAppId = params['CaptchaAppId']
|
20685
|
+
@AppSecretKey = params['AppSecretKey']
|
20686
|
+
end
|
20687
|
+
end
|
20688
|
+
|
20689
|
+
# RCE 认证选项实例信息。
|
20690
|
+
class TCRCEOption < TencentCloud::Common::AbstractModel
|
20691
|
+
# @param Channel: Channel 信息。
|
20692
|
+
# @type Channel: String
|
20693
|
+
|
20694
|
+
attr_accessor :Channel
|
20695
|
+
|
20696
|
+
def initialize(channel=nil)
|
20697
|
+
@Channel = channel
|
20698
|
+
end
|
20699
|
+
|
20700
|
+
def deserialize(params)
|
20701
|
+
@Channel = params['Channel']
|
20702
|
+
end
|
20703
|
+
end
|
20704
|
+
|
19485
20705
|
# SSL/TLS 安全配置参数。
|
19486
20706
|
class TLSConfigParameters < TencentCloud::Common::AbstractModel
|
19487
20707
|
# @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 +21409,50 @@ module TencentCloud
|
|
20189
21409
|
end
|
20190
21410
|
end
|
20191
21411
|
|
21412
|
+
# 视频流配置参数。
|
21413
|
+
class VideoTemplateInfo < TencentCloud::Common::AbstractModel
|
21414
|
+
# @param Codec: 视频流的编码格式,可选值:<li>H.264: 使用 H.264 编码;</li><li>H.265: 使用 H.265 编码。</li>
|
21415
|
+
# @type Codec: String
|
21416
|
+
# @param Fps: 视频帧率,取值范围:[0, 30],单位:Hz。
|
21417
|
+
# 取值为 0,表示帧率和原始视频保持一致,但最大不超过 30。
|
21418
|
+
# 默认值:0。
|
21419
|
+
# @type Fps: Float
|
21420
|
+
# @param Bitrate: 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
|
21421
|
+
# 取值为 0,表示自动根据视频画面和质量选择视频码率。
|
21422
|
+
# 默认值:0。
|
21423
|
+
# @type Bitrate: Integer
|
21424
|
+
# @param ResolutionAdaptive: 分辨率自适应,可选值:<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li><li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>默认值:open。
|
21425
|
+
# @type ResolutionAdaptive: String
|
21426
|
+
# @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。
|
21427
|
+
# @type Width: Integer
|
21428
|
+
# @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。
|
21429
|
+
# @type Height: Integer
|
21430
|
+
# @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁”或者“拉长”。</li><li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li><li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li><li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>默认值:black 。
|
21431
|
+
# @type FillType: String
|
21432
|
+
|
21433
|
+
attr_accessor :Codec, :Fps, :Bitrate, :ResolutionAdaptive, :Width, :Height, :FillType
|
21434
|
+
|
21435
|
+
def initialize(codec=nil, fps=nil, bitrate=nil, resolutionadaptive=nil, width=nil, height=nil, filltype=nil)
|
21436
|
+
@Codec = codec
|
21437
|
+
@Fps = fps
|
21438
|
+
@Bitrate = bitrate
|
21439
|
+
@ResolutionAdaptive = resolutionadaptive
|
21440
|
+
@Width = width
|
21441
|
+
@Height = height
|
21442
|
+
@FillType = filltype
|
21443
|
+
end
|
21444
|
+
|
21445
|
+
def deserialize(params)
|
21446
|
+
@Codec = params['Codec']
|
21447
|
+
@Fps = params['Fps']
|
21448
|
+
@Bitrate = params['Bitrate']
|
21449
|
+
@ResolutionAdaptive = params['ResolutionAdaptive']
|
21450
|
+
@Width = params['Width']
|
21451
|
+
@Height = params['Height']
|
21452
|
+
@FillType = params['FillType']
|
21453
|
+
end
|
21454
|
+
end
|
21455
|
+
|
20192
21456
|
# 无
|
20193
21457
|
class Waf < TencentCloud::Common::AbstractModel
|
20194
21458
|
# @param Switch: Waf开关,取值为:
|