tencentcloud-sdk-teo 3.0.528 → 3.0.530

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220901/models.rb +173 -11
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 646635930fbf0028152fc33acb5163fa8c9af971
4
- data.tar.gz: 3c09d948ed7b428bbe6d3adcc69ba50a752d35e9
3
+ metadata.gz: d15cea4c97c75779e8221ebb0b92d6afe5bfcbb9
4
+ data.tar.gz: 0bb712ed5ae3a83ceaca21ac3b97422fdc48e9d5
5
5
  SHA512:
6
- metadata.gz: 53483b204acff9817f04fd8c23c12c89d98750b10bd7ecda935189cca4153c65fbbb23e89f46be480ecfb6d7b93911222f875f3da19c805c01facca51ca92880
7
- data.tar.gz: f5a21e809def8c152bc766810e064f4f7d05d35e23a678671ebff1be5a91c89950601bc1823885a4b912a44c7050b6d3bb210700a0e375ecddb359f27d7efd67
6
+ metadata.gz: 00b8bfc5d1291869f111216b5feba47732b63f00913e7276ff8ac6755956c64b5dad8ec18c33d3ce04a0656948d0e2262474e35e0cda232597e08723684c5250
7
+ data.tar.gz: 0fa4d62c55ea4e65a97cc482fa08954896db34f24c8e6c67c8ff55c525edcf1f3f58b6c0bb9156b8ef55e7ad9523cf45ab96c56cd34a31ee3875b9f8ee9d695b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.528
1
+ 3.0.530
@@ -57,10 +57,13 @@ module TencentCloud
57
57
  # @type DomainStatus: String
58
58
  # @param Cname: CNAME 地址。
59
59
  # @type Cname: String
60
+ # @param IdentificationStatus: 加速域名归属权验证状态,取值有: <li>pending:待验证;</li> <li>finished:已完成验证。</li>
61
+ # 注意:此字段可能返回 null,表示取不到有效值。
62
+ # @type IdentificationStatus: String
60
63
 
61
- attr_accessor :OriginDetail, :CreatedOn, :DomainName, :ModifiedOn, :ZoneId, :DomainStatus, :Cname
64
+ attr_accessor :OriginDetail, :CreatedOn, :DomainName, :ModifiedOn, :ZoneId, :DomainStatus, :Cname, :IdentificationStatus
62
65
 
63
- def initialize(origindetail=nil, createdon=nil, domainname=nil, modifiedon=nil, zoneid=nil, domainstatus=nil, cname=nil)
66
+ def initialize(origindetail=nil, createdon=nil, domainname=nil, modifiedon=nil, zoneid=nil, domainstatus=nil, cname=nil, identificationstatus=nil)
64
67
  @OriginDetail = origindetail
65
68
  @CreatedOn = createdon
66
69
  @DomainName = domainname
@@ -68,6 +71,7 @@ module TencentCloud
68
71
  @ZoneId = zoneid
69
72
  @DomainStatus = domainstatus
70
73
  @Cname = cname
74
+ @IdentificationStatus = identificationstatus
71
75
  end
72
76
 
73
77
  def deserialize(params)
@@ -81,6 +85,7 @@ module TencentCloud
81
85
  @ZoneId = params['ZoneId']
82
86
  @DomainStatus = params['DomainStatus']
83
87
  @Cname = params['Cname']
88
+ @IdentificationStatus = params['IdentificationStatus']
84
89
  end
85
90
  end
86
91
 
@@ -98,7 +103,12 @@ module TencentCloud
98
103
  # <li>method:请求方式;</li>
99
104
  # <li>header:请求头部;</li>
100
105
  # <li>app_proto:应用层协议;</li>
101
- # <li>sip_proto:网络层协议。</li>
106
+ # <li>sip_proto:网络层协议;</li>
107
+ # <li>uabot:UA 特征规则,仅bot自定义规则可用;</li>
108
+ # <li>idcid:IDC 规则,仅bot自定义规则可用;</li>
109
+ # <li>sipbot:搜索引擎规则,仅bot自定义规则可用;</li>
110
+ # <li>portrait:画像分析,仅bot自定义规则可用;</li>
111
+ # <li>header_seq:请求头顺序,仅bot自定义规则可用。</li>
102
112
  # @type MatchFrom: String
103
113
  # @param MatchParam: 匹配字符串。当 MatchFrom 为 header 时,可以填入 header 的 key 作为参数。
104
114
  # @type MatchParam: String
@@ -684,14 +694,21 @@ module TencentCloud
684
694
  # @param IntelligenceRule: Bot智能分析。如果为null,默认使用历史配置。
685
695
  # 注意:此字段可能返回 null,表示取不到有效值。
686
696
  # @type IntelligenceRule: :class:`Tencentcloud::Teo.v20220901.models.IntelligenceRule`
697
+ # @param BotUserRules: Bot自定义规则。如果为null,默认使用历史配置。
698
+ # @type BotUserRules: Array
699
+ # @param Customizes: Bot托管定制策略,入参可不填,仅出参使用。
700
+ # 注意:此字段可能返回 null,表示取不到有效值。
701
+ # @type Customizes: Array
687
702
 
688
- attr_accessor :Switch, :BotManagedRule, :BotPortraitRule, :IntelligenceRule
703
+ attr_accessor :Switch, :BotManagedRule, :BotPortraitRule, :IntelligenceRule, :BotUserRules, :Customizes
689
704
 
690
- def initialize(switch=nil, botmanagedrule=nil, botportraitrule=nil, intelligencerule=nil)
705
+ def initialize(switch=nil, botmanagedrule=nil, botportraitrule=nil, intelligencerule=nil, botuserrules=nil, customizes=nil)
691
706
  @Switch = switch
692
707
  @BotManagedRule = botmanagedrule
693
708
  @BotPortraitRule = botportraitrule
694
709
  @IntelligenceRule = intelligencerule
710
+ @BotUserRules = botuserrules
711
+ @Customizes = customizes
695
712
  end
696
713
 
697
714
  def deserialize(params)
@@ -708,6 +725,51 @@ module TencentCloud
708
725
  @IntelligenceRule = IntelligenceRule.new
709
726
  @IntelligenceRule.deserialize(params['IntelligenceRule'])
710
727
  end
728
+ unless params['BotUserRules'].nil?
729
+ @BotUserRules = []
730
+ params['BotUserRules'].each do |i|
731
+ botuserrule_tmp = BotUserRule.new
732
+ botuserrule_tmp.deserialize(i)
733
+ @BotUserRules << botuserrule_tmp
734
+ end
735
+ end
736
+ unless params['Customizes'].nil?
737
+ @Customizes = []
738
+ params['Customizes'].each do |i|
739
+ botuserrule_tmp = BotUserRule.new
740
+ botuserrule_tmp.deserialize(i)
741
+ @Customizes << botuserrule_tmp
742
+ end
743
+ end
744
+ end
745
+ end
746
+
747
+ # Bot扩展处置方式,多处置动作组合。
748
+ class BotExtendAction < TencentCloud::Common::AbstractModel
749
+ # @param Action: 处置动作,取值有:
750
+ # <li>monitor:观察;</li>
751
+ # <li>trans:放行;</li>
752
+ # <li>alg:JavaScript挑战;</li>
753
+ # <li>captcha:托管挑战;</li>
754
+ # <li>random:随机,按照ExtendActions分配处置动作和比例;</li>
755
+ # <li>silence:静默;</li>
756
+ # <li>shortdelay:短时响应;</li>
757
+ # <li>longdelay:长时响应。</li>
758
+ # @type Action: String
759
+ # @param Percent: 处置方式的触发概率,范围0-100。
760
+ # 注意:此字段可能返回 null,表示取不到有效值。
761
+ # @type Percent: Integer
762
+
763
+ attr_accessor :Action, :Percent
764
+
765
+ def initialize(action=nil, percent=nil)
766
+ @Action = action
767
+ @Percent = percent
768
+ end
769
+
770
+ def deserialize(params)
771
+ @Action = params['Action']
772
+ @Percent = params['Percent']
711
773
  end
712
774
  end
713
775
 
@@ -802,6 +864,89 @@ module TencentCloud
802
864
  end
803
865
  end
804
866
 
867
+ # Bot自定义规则
868
+ class BotUserRule < TencentCloud::Common::AbstractModel
869
+ # @param RuleName: 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
870
+ # @type RuleName: String
871
+ # @param Action: 处置动作,取值有:
872
+ # <li>drop:拦截;</li>
873
+ # <li>monitor:观察;</li>
874
+ # <li>trans:放行;</li>
875
+ # <li>alg:JavaScript挑战;</li>
876
+ # <li>captcha:托管挑战;</li>
877
+ # <li>silence:静默;</li>
878
+ # <li>shortdelay:短时响应;</li>
879
+ # <li>longdelay:长时响应。</li>
880
+ # @type Action: String
881
+ # @param RuleStatus: 规则状态,取值有:
882
+ # <li>on:生效;</li>
883
+ # <li>off:不生效。</li>默认on生效。
884
+ # @type RuleStatus: String
885
+ # @param AclConditions: 规则详情。
886
+ # @type AclConditions: Array
887
+ # @param RulePriority: 规则权重,取值范围0-100。
888
+ # @type RulePriority: Integer
889
+ # @param RuleID: 规则id。仅出参使用。
890
+ # 注意:此字段可能返回 null,表示取不到有效值。
891
+ # @type RuleID: Integer
892
+ # @param ExtendActions: 随机处置的处置方式及占比,非随机处置可不填暂不支持。
893
+ # @type ExtendActions: Array
894
+ # @param FreqFields: 过滤词,取值有:
895
+ # <li>sip:客户端ip。</li>
896
+ # 注意:此字段可能返回 null,表示取不到有效值。
897
+ # @type FreqFields: Array
898
+ # @param UpdateTime: 更新时间。
899
+ # 注意:此字段可能返回 null,表示取不到有效值。
900
+ # @type UpdateTime: String
901
+ # @param FreqScope: 统计范围,字段为null时,代表source_to_eo。取值有:
902
+ # <li>source_to_eo:(响应)源站到EdgeOne。</li>
903
+ # <li>client_to_eo:(请求)客户端到EdgeOne;</li>
904
+ # 注意:此字段可能返回 null,表示取不到有效值。
905
+ # @type FreqScope: Array
906
+
907
+ attr_accessor :RuleName, :Action, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :ExtendActions, :FreqFields, :UpdateTime, :FreqScope
908
+
909
+ def initialize(rulename=nil, action=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, extendactions=nil, freqfields=nil, updatetime=nil, freqscope=nil)
910
+ @RuleName = rulename
911
+ @Action = action
912
+ @RuleStatus = rulestatus
913
+ @AclConditions = aclconditions
914
+ @RulePriority = rulepriority
915
+ @RuleID = ruleid
916
+ @ExtendActions = extendactions
917
+ @FreqFields = freqfields
918
+ @UpdateTime = updatetime
919
+ @FreqScope = freqscope
920
+ end
921
+
922
+ def deserialize(params)
923
+ @RuleName = params['RuleName']
924
+ @Action = params['Action']
925
+ @RuleStatus = params['RuleStatus']
926
+ unless params['AclConditions'].nil?
927
+ @AclConditions = []
928
+ params['AclConditions'].each do |i|
929
+ aclcondition_tmp = AclCondition.new
930
+ aclcondition_tmp.deserialize(i)
931
+ @AclConditions << aclcondition_tmp
932
+ end
933
+ end
934
+ @RulePriority = params['RulePriority']
935
+ @RuleID = params['RuleID']
936
+ unless params['ExtendActions'].nil?
937
+ @ExtendActions = []
938
+ params['ExtendActions'].each do |i|
939
+ botextendaction_tmp = BotExtendAction.new
940
+ botextendaction_tmp.deserialize(i)
941
+ @ExtendActions << botextendaction_tmp
942
+ end
943
+ end
944
+ @FreqFields = params['FreqFields']
945
+ @UpdateTime = params['UpdateTime']
946
+ @FreqScope = params['FreqScope']
947
+ end
948
+ end
949
+
805
950
  # cc配置项。
806
951
  class CC < TencentCloud::Common::AbstractModel
807
952
  # @param Switch: Waf开关,取值为:
@@ -6303,16 +6448,23 @@ module TencentCloud
6303
6448
  # <li>none:不托管EdgeOne。</li>不填,默认取值为none。
6304
6449
  # 注意:此字段可能返回 null,表示取不到有效值。
6305
6450
  # @type ApplyType: String
6451
+ # @param CipherSuite: 密码套件,取值有:
6452
+ # <li>loose-v2023:提供最高的兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;</li>
6453
+ # <li>general-v2023:提供较高的兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;</li>
6454
+ # <li>strict-v2023:提供最高的安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。
6455
+ # 注意:此字段可能返回 null,表示取不到有效值。
6456
+ # @type CipherSuite: String
6306
6457
 
6307
- attr_accessor :Http2, :OcspStapling, :TlsVersion, :Hsts, :CertInfo, :ApplyType
6458
+ attr_accessor :Http2, :OcspStapling, :TlsVersion, :Hsts, :CertInfo, :ApplyType, :CipherSuite
6308
6459
 
6309
- def initialize(http2=nil, ocspstapling=nil, tlsversion=nil, hsts=nil, certinfo=nil, applytype=nil)
6460
+ def initialize(http2=nil, ocspstapling=nil, tlsversion=nil, hsts=nil, certinfo=nil, applytype=nil, ciphersuite=nil)
6310
6461
  @Http2 = http2
6311
6462
  @OcspStapling = ocspstapling
6312
6463
  @TlsVersion = tlsversion
6313
6464
  @Hsts = hsts
6314
6465
  @CertInfo = certinfo
6315
6466
  @ApplyType = applytype
6467
+ @CipherSuite = ciphersuite
6316
6468
  end
6317
6469
 
6318
6470
  def deserialize(params)
@@ -6332,6 +6484,7 @@ module TencentCloud
6332
6484
  end
6333
6485
  end
6334
6486
  @ApplyType = params['ApplyType']
6487
+ @CipherSuite = params['CipherSuite']
6335
6488
  end
6336
6489
  end
6337
6490
 
@@ -6359,6 +6512,9 @@ module TencentCloud
6359
6512
  class Identification < TencentCloud::Common::AbstractModel
6360
6513
  # @param ZoneName: 站点名称。
6361
6514
  # @type ZoneName: String
6515
+ # @param Domain: 验证子域名。验证站点时,该值为空。验证子域名是为具体子域名。
6516
+ # 注意:此字段可能返回 null,表示取不到有效值。
6517
+ # @type Domain: String
6362
6518
  # @param Status: 验证状态,取值有:
6363
6519
  # <li> pending:验证中;</li>
6364
6520
  # <li> finished:验证完成。</li>
@@ -6371,10 +6527,11 @@ module TencentCloud
6371
6527
  # @param FileAscription: 站点归属权校验:文件校验信息。
6372
6528
  # @type FileAscription: :class:`Tencentcloud::Teo.v20220901.models.FileAscriptionInfo`
6373
6529
 
6374
- attr_accessor :ZoneName, :Status, :Ascription, :OriginalNameServers, :FileAscription
6530
+ attr_accessor :ZoneName, :Domain, :Status, :Ascription, :OriginalNameServers, :FileAscription
6375
6531
 
6376
- def initialize(zonename=nil, status=nil, ascription=nil, originalnameservers=nil, fileascription=nil)
6532
+ def initialize(zonename=nil, domain=nil, status=nil, ascription=nil, originalnameservers=nil, fileascription=nil)
6377
6533
  @ZoneName = zonename
6534
+ @Domain = domain
6378
6535
  @Status = status
6379
6536
  @Ascription = ascription
6380
6537
  @OriginalNameServers = originalnameservers
@@ -6383,6 +6540,7 @@ module TencentCloud
6383
6540
 
6384
6541
  def deserialize(params)
6385
6542
  @ZoneName = params['ZoneName']
6543
+ @Domain = params['Domain']
6386
6544
  @Status = params['Status']
6387
6545
  unless params['Ascription'].nil?
6388
6546
  @Ascription = AscriptionInfo.new
@@ -6400,15 +6558,19 @@ module TencentCloud
6400
6558
  class IdentifyZoneRequest < TencentCloud::Common::AbstractModel
6401
6559
  # @param ZoneName: 站点名称。
6402
6560
  # @type ZoneName: String
6561
+ # @param Domain: 站点下的子域名。如果验证站点下的子域名,则传该值,否则为空。
6562
+ # @type Domain: String
6403
6563
 
6404
- attr_accessor :ZoneName
6564
+ attr_accessor :ZoneName, :Domain
6405
6565
 
6406
- def initialize(zonename=nil)
6566
+ def initialize(zonename=nil, domain=nil)
6407
6567
  @ZoneName = zonename
6568
+ @Domain = domain
6408
6569
  end
6409
6570
 
6410
6571
  def deserialize(params)
6411
6572
  @ZoneName = params['ZoneName']
6573
+ @Domain = params['Domain']
6412
6574
  end
6413
6575
  end
6414
6576
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.528
4
+ version: 3.0.530
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-13 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common