tencentcloud-sdk-teo 3.0.685 → 3.0.687
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 +50 -2
- data/lib/v20220901/models.rb +206 -11
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d36e2b520b6db265d8db423ff124dfcb1ab9e818
         | 
| 4 | 
            +
              data.tar.gz: 8e24bf62dbdeac79f63efe5b08568ef5d6b5847b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b4ef87e5480bfa30773eb9034f6bcc6aa167350a54d49f184a995a2b4667414ef2f7d457f018f19e431211b9fd571a0628a79a0d7ba75d51c2aa3095a0b716dc
         | 
| 7 | 
            +
              data.tar.gz: b690b2e977a339363d28ddd9df55028234be8558572073e0713a79677a1738fede6d4e13f0a5efece7524d99816c3d1ca315420ee76dc273fc330f6cfc69cc2d
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.687
         | 
    
        data/lib/v20220901/client.rb
    CHANGED
    
    | @@ -29,6 +29,30 @@ module TencentCloud | |
| 29 29 | 
             
                    end
         | 
| 30 30 |  | 
| 31 31 |  | 
| 32 | 
            +
                    # 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                    # @param request: Request instance for BindSecurityTemplateToEntity.
         | 
| 35 | 
            +
                    # @type request: :class:`Tencentcloud::teo::V20220901::BindSecurityTemplateToEntityRequest`
         | 
| 36 | 
            +
                    # @rtype: :class:`Tencentcloud::teo::V20220901::BindSecurityTemplateToEntityResponse`
         | 
| 37 | 
            +
                    def BindSecurityTemplateToEntity(request)
         | 
| 38 | 
            +
                      body = send_request('BindSecurityTemplateToEntity', request.serialize)
         | 
| 39 | 
            +
                      response = JSON.parse(body)
         | 
| 40 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 41 | 
            +
                        model = BindSecurityTemplateToEntityResponse.new
         | 
| 42 | 
            +
                        model.deserialize(response['Response'])
         | 
| 43 | 
            +
                        model
         | 
| 44 | 
            +
                      else
         | 
| 45 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 46 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 47 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 48 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 49 | 
            +
                      end
         | 
| 50 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 51 | 
            +
                      raise e
         | 
| 52 | 
            +
                    rescue StandardError => e
         | 
| 53 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 54 | 
            +
                    end
         | 
| 55 | 
            +
             | 
| 32 56 | 
             
                    # 将未绑定套餐的站点绑定到已有套餐
         | 
| 33 57 |  | 
| 34 58 | 
             
                    # @param request: Request instance for BindZoneToPlan.
         | 
| @@ -175,7 +199,7 @@ module TencentCloud | |
| 175 199 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 176 200 | 
             
                    end
         | 
| 177 201 |  | 
| 178 | 
            -
                    #  | 
| 202 | 
            +
                    # 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
         | 
| 179 203 |  | 
| 180 204 | 
             
                    # @param request: Request instance for CreateOriginGroup.
         | 
| 181 205 | 
             
                    # @type request: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupRequest`
         | 
| @@ -995,6 +1019,30 @@ module TencentCloud | |
| 995 1019 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 996 1020 | 
             
                    end
         | 
| 997 1021 |  | 
| 1022 | 
            +
                    # 查询指定策略模板的绑定关系列表。
         | 
| 1023 | 
            +
             | 
| 1024 | 
            +
                    # @param request: Request instance for DescribeSecurityTemplateBindings.
         | 
| 1025 | 
            +
                    # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityTemplateBindingsRequest`
         | 
| 1026 | 
            +
                    # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityTemplateBindingsResponse`
         | 
| 1027 | 
            +
                    def DescribeSecurityTemplateBindings(request)
         | 
| 1028 | 
            +
                      body = send_request('DescribeSecurityTemplateBindings', request.serialize)
         | 
| 1029 | 
            +
                      response = JSON.parse(body)
         | 
| 1030 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 1031 | 
            +
                        model = DescribeSecurityTemplateBindingsResponse.new
         | 
| 1032 | 
            +
                        model.deserialize(response['Response'])
         | 
| 1033 | 
            +
                        model
         | 
| 1034 | 
            +
                      else
         | 
| 1035 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 1036 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 1037 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 1038 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 1039 | 
            +
                      end
         | 
| 1040 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 1041 | 
            +
                      raise e
         | 
| 1042 | 
            +
                    rescue StandardError => e
         | 
| 1043 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1044 | 
            +
                    end
         | 
| 1045 | 
            +
             | 
| 998 1046 | 
             
                    # 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
         | 
| 999 1047 |  | 
| 1000 1048 | 
             
                    # @param request: Request instance for DescribeTimingL4Data.
         | 
| @@ -1453,7 +1501,7 @@ module TencentCloud | |
| 1453 1501 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1454 1502 | 
             
                    end
         | 
| 1455 1503 |  | 
| 1456 | 
            -
                    #  | 
| 1504 | 
            +
                    # 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
         | 
| 1457 1505 |  | 
| 1458 1506 | 
             
                    # @param request: Request instance for ModifyOriginGroup.
         | 
| 1459 1507 | 
             
                    # @type request: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupRequest`
         | 
    
        data/lib/v20220901/models.rb
    CHANGED
    
    | @@ -943,6 +943,59 @@ module TencentCloud | |
| 943 943 | 
             
                    end
         | 
| 944 944 | 
             
                  end
         | 
| 945 945 |  | 
| 946 | 
            +
                  # BindSecurityTemplateToEntity请求参数结构体
         | 
| 947 | 
            +
                  class BindSecurityTemplateToEntityRequest < TencentCloud::Common::AbstractModel
         | 
| 948 | 
            +
                    # @param ZoneId: 需要绑定或解绑的策略模板所属站点 ID。
         | 
| 949 | 
            +
                    # @type ZoneId: String
         | 
| 950 | 
            +
                    # @param Entities: 绑定至策略模板(或者从策略模板解绑)的域名列表。
         | 
| 951 | 
            +
                    # @type Entities: Array
         | 
| 952 | 
            +
                    # @param Operate: 绑定或解绑操作选项,取值有:
         | 
| 953 | 
            +
                    # <li>bind:绑定域名至策略模板;</li>
         | 
| 954 | 
            +
                    # <li>unbind-keep-policy:将域名从策略模板解绑,解绑时保留当前策略;</li>
         | 
| 955 | 
            +
                    # <li>unbind-use-default:将域名从策略模板解绑,并使用默认空白策略。</li>注意:解绑操作当前仅支持单个域名解绑。即:当 Operate 参数取值为 unbind-keep-policy 或 unbind-use-default 时,Entities 参数列表仅支持填写一个域名。
         | 
| 956 | 
            +
                    # @type Operate: String
         | 
| 957 | 
            +
                    # @param TemplateId: 指定绑定或解绑的策略模板 ID 。
         | 
| 958 | 
            +
                    # @type TemplateId: String
         | 
| 959 | 
            +
                    # @param OverWrite: 如指定的域名已经绑定了策略模板,是否替换该模板。支持下列取值:
         | 
| 960 | 
            +
                    # <li>true: 替换域名当前绑定的模板;</li>
         | 
| 961 | 
            +
                    # <li>false:不替换域名当前绑定的模板。</li>注意:当选择不替换已有策略模板时,若指定域名已经绑定策略模板,API 将返回错误。
         | 
| 962 | 
            +
                    # @type OverWrite: Boolean
         | 
| 963 | 
            +
             | 
| 964 | 
            +
                    attr_accessor :ZoneId, :Entities, :Operate, :TemplateId, :OverWrite
         | 
| 965 | 
            +
             | 
| 966 | 
            +
                    def initialize(zoneid=nil, entities=nil, operate=nil, templateid=nil, overwrite=nil)
         | 
| 967 | 
            +
                      @ZoneId = zoneid
         | 
| 968 | 
            +
                      @Entities = entities
         | 
| 969 | 
            +
                      @Operate = operate
         | 
| 970 | 
            +
                      @TemplateId = templateid
         | 
| 971 | 
            +
                      @OverWrite = overwrite
         | 
| 972 | 
            +
                    end
         | 
| 973 | 
            +
             | 
| 974 | 
            +
                    def deserialize(params)
         | 
| 975 | 
            +
                      @ZoneId = params['ZoneId']
         | 
| 976 | 
            +
                      @Entities = params['Entities']
         | 
| 977 | 
            +
                      @Operate = params['Operate']
         | 
| 978 | 
            +
                      @TemplateId = params['TemplateId']
         | 
| 979 | 
            +
                      @OverWrite = params['OverWrite']
         | 
| 980 | 
            +
                    end
         | 
| 981 | 
            +
                  end
         | 
| 982 | 
            +
             | 
| 983 | 
            +
                  # BindSecurityTemplateToEntity返回参数结构体
         | 
| 984 | 
            +
                  class BindSecurityTemplateToEntityResponse < TencentCloud::Common::AbstractModel
         | 
| 985 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 986 | 
            +
                    # @type RequestId: String
         | 
| 987 | 
            +
             | 
| 988 | 
            +
                    attr_accessor :RequestId
         | 
| 989 | 
            +
             | 
| 990 | 
            +
                    def initialize(requestid=nil)
         | 
| 991 | 
            +
                      @RequestId = requestid
         | 
| 992 | 
            +
                    end
         | 
| 993 | 
            +
             | 
| 994 | 
            +
                    def deserialize(params)
         | 
| 995 | 
            +
                      @RequestId = params['RequestId']
         | 
| 996 | 
            +
                    end
         | 
| 997 | 
            +
                  end
         | 
| 998 | 
            +
             | 
| 946 999 | 
             
                  # BindZoneToPlan请求参数结构体
         | 
| 947 1000 | 
             
                  class BindZoneToPlanRequest < TencentCloud::Common::AbstractModel
         | 
| 948 1001 | 
             
                    # @param ZoneId: 未绑定套餐的站点ID。
         | 
| @@ -1959,24 +2012,27 @@ module TencentCloud | |
| 1959 2012 |  | 
| 1960 2013 | 
             
                  # CreateOriginGroup请求参数结构体
         | 
| 1961 2014 | 
             
                  class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
         | 
| 1962 | 
            -
                    # @param ZoneId: 站点ID | 
| 2015 | 
            +
                    # @param ZoneId: 站点 ID
         | 
| 1963 2016 | 
             
                    # @type ZoneId: String
         | 
| 1964 | 
            -
                    # @param Name: 源站组名称,可输入1-200个字符,允许的字符为 a-z, A-Z, 0-9, _, - 。
         | 
| 2017 | 
            +
                    # @param Name: 源站组名称,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。
         | 
| 1965 2018 | 
             
                    # @type Name: String
         | 
| 1966 2019 | 
             
                    # @param Type: 源站组类型,此参数必填,取值有:
         | 
| 1967 | 
            -
                    # <li>GENERAL:通用型源站组,仅支持添加 IP/域名  | 
| 1968 | 
            -
                    # <li>HTTP: HTTP专用型源站组,支持添加 IP | 
| 2020 | 
            +
                    # <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡、HTTP 专用型负载均衡引用;</li>
         | 
| 2021 | 
            +
                    # <li>HTTP: HTTP 专用型源站组,支持添加 IP/域名、对象存储源站作为源站,无法被四层代理引用,仅支持被添加加速域名、规则引擎-修改源站、HTTP 专用型负载均衡引用。</li>
         | 
| 1969 2022 | 
             
                    # @type Type: String
         | 
| 1970 2023 | 
             
                    # @param Records: 源站记录信息,此参数必填。
         | 
| 1971 2024 | 
             
                    # @type Records: Array
         | 
| 2025 | 
            +
                    # @param HostHeader: 回源 Host Header,仅 Type = HTTP 时传入生效,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。
         | 
| 2026 | 
            +
                    # @type HostHeader: String
         | 
| 1972 2027 |  | 
| 1973 | 
            -
                    attr_accessor :ZoneId, :Name, :Type, :Records
         | 
| 2028 | 
            +
                    attr_accessor :ZoneId, :Name, :Type, :Records, :HostHeader
         | 
| 1974 2029 |  | 
| 1975 | 
            -
                    def initialize(zoneid=nil, name=nil, type=nil, records=nil)
         | 
| 2030 | 
            +
                    def initialize(zoneid=nil, name=nil, type=nil, records=nil, hostheader=nil)
         | 
| 1976 2031 | 
             
                      @ZoneId = zoneid
         | 
| 1977 2032 | 
             
                      @Name = name
         | 
| 1978 2033 | 
             
                      @Type = type
         | 
| 1979 2034 | 
             
                      @Records = records
         | 
| 2035 | 
            +
                      @HostHeader = hostheader
         | 
| 1980 2036 | 
             
                    end
         | 
| 1981 2037 |  | 
| 1982 2038 | 
             
                    def deserialize(params)
         | 
| @@ -1991,6 +2047,7 @@ module TencentCloud | |
| 1991 2047 | 
             
                          @Records << originrecord_tmp
         | 
| 1992 2048 | 
             
                        end
         | 
| 1993 2049 | 
             
                      end
         | 
| 2050 | 
            +
                      @HostHeader = params['HostHeader']
         | 
| 1994 2051 | 
             
                    end
         | 
| 1995 2052 | 
             
                  end
         | 
| 1996 2053 |  | 
| @@ -4198,6 +4255,59 @@ module TencentCloud | |
| 4198 4255 | 
             
                    end
         | 
| 4199 4256 | 
             
                  end
         | 
| 4200 4257 |  | 
| 4258 | 
            +
                  # DescribeSecurityTemplateBindings请求参数结构体
         | 
| 4259 | 
            +
                  class DescribeSecurityTemplateBindingsRequest < TencentCloud::Common::AbstractModel
         | 
| 4260 | 
            +
                    # @param ZoneId: 要查询的站点 ID。
         | 
| 4261 | 
            +
                    # @type ZoneId: String
         | 
| 4262 | 
            +
                    # @param TemplateId: 要查询的策略模板 ID。
         | 
| 4263 | 
            +
                    # @type TemplateId: Array
         | 
| 4264 | 
            +
             | 
| 4265 | 
            +
                    attr_accessor :ZoneId, :TemplateId
         | 
| 4266 | 
            +
             | 
| 4267 | 
            +
                    def initialize(zoneid=nil, templateid=nil)
         | 
| 4268 | 
            +
                      @ZoneId = zoneid
         | 
| 4269 | 
            +
                      @TemplateId = templateid
         | 
| 4270 | 
            +
                    end
         | 
| 4271 | 
            +
             | 
| 4272 | 
            +
                    def deserialize(params)
         | 
| 4273 | 
            +
                      @ZoneId = params['ZoneId']
         | 
| 4274 | 
            +
                      @TemplateId = params['TemplateId']
         | 
| 4275 | 
            +
                    end
         | 
| 4276 | 
            +
                  end
         | 
| 4277 | 
            +
             | 
| 4278 | 
            +
                  # DescribeSecurityTemplateBindings返回参数结构体
         | 
| 4279 | 
            +
                  class DescribeSecurityTemplateBindingsResponse < TencentCloud::Common::AbstractModel
         | 
| 4280 | 
            +
                    # @param SecurityTemplate: 指定策略模板的绑定关系列表。
         | 
| 4281 | 
            +
             | 
| 4282 | 
            +
                    # 当某个站点中的域名包含在指定策略模板的绑定关系中时,绑定关系列表 `TemplateScope` 中会包含该站点的 `ZoneId`,和该站点下的和该策略模板有关的域名绑定关系。
         | 
| 4283 | 
            +
             | 
| 4284 | 
            +
                    # 注意:当没有任何域名正在绑定或已经绑定到指定策略模板时,绑定关系为空。即:返回结构体中,`TemplateScope` 数组长度为 0。
         | 
| 4285 | 
            +
             | 
| 4286 | 
            +
                    # 绑定关系中,同一域名可能在 `EntityStatus` 列表中重复出现,并标记为不同 `Status` 。例如,正在被绑定到其他策略模板的域名,会同时标记为 `online` 和 `pending` 。
         | 
| 4287 | 
            +
                    # @type SecurityTemplate: Array
         | 
| 4288 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 4289 | 
            +
                    # @type RequestId: String
         | 
| 4290 | 
            +
             | 
| 4291 | 
            +
                    attr_accessor :SecurityTemplate, :RequestId
         | 
| 4292 | 
            +
             | 
| 4293 | 
            +
                    def initialize(securitytemplate=nil, requestid=nil)
         | 
| 4294 | 
            +
                      @SecurityTemplate = securitytemplate
         | 
| 4295 | 
            +
                      @RequestId = requestid
         | 
| 4296 | 
            +
                    end
         | 
| 4297 | 
            +
             | 
| 4298 | 
            +
                    def deserialize(params)
         | 
| 4299 | 
            +
                      unless params['SecurityTemplate'].nil?
         | 
| 4300 | 
            +
                        @SecurityTemplate = []
         | 
| 4301 | 
            +
                        params['SecurityTemplate'].each do |i|
         | 
| 4302 | 
            +
                          securitytemplatebinding_tmp = SecurityTemplateBinding.new
         | 
| 4303 | 
            +
                          securitytemplatebinding_tmp.deserialize(i)
         | 
| 4304 | 
            +
                          @SecurityTemplate << securitytemplatebinding_tmp
         | 
| 4305 | 
            +
                        end
         | 
| 4306 | 
            +
                      end
         | 
| 4307 | 
            +
                      @RequestId = params['RequestId']
         | 
| 4308 | 
            +
                    end
         | 
| 4309 | 
            +
                  end
         | 
| 4310 | 
            +
             | 
| 4201 4311 | 
             
                  # DescribeTimingL4Data请求参数结构体
         | 
| 4202 4312 | 
             
                  class DescribeTimingL4DataRequest < TencentCloud::Common::AbstractModel
         | 
| 4203 4313 | 
             
                    # @param StartTime: 开始时间。
         | 
| @@ -5279,6 +5389,31 @@ module TencentCloud | |
| 5279 5389 | 
             
                    end
         | 
| 5280 5390 | 
             
                  end
         | 
| 5281 5391 |  | 
| 5392 | 
            +
                  # 安全实例状态。
         | 
| 5393 | 
            +
                  class EntityStatus < TencentCloud::Common::AbstractModel
         | 
| 5394 | 
            +
                    # @param Entity: 实例名,现在只有子域名。
         | 
| 5395 | 
            +
                    # @type Entity: String
         | 
| 5396 | 
            +
                    # @param Status: 实例配置下发状态,取值有:
         | 
| 5397 | 
            +
                    # <li>online:配置已生效;</li><li>fail:配置失败;</li><li> process:配置下发中。</li>
         | 
| 5398 | 
            +
                    # @type Status: String
         | 
| 5399 | 
            +
                    # @param Message: 实例配置下发信息提示。
         | 
| 5400 | 
            +
                    # @type Message: String
         | 
| 5401 | 
            +
             | 
| 5402 | 
            +
                    attr_accessor :Entity, :Status, :Message
         | 
| 5403 | 
            +
             | 
| 5404 | 
            +
                    def initialize(entity=nil, status=nil, message=nil)
         | 
| 5405 | 
            +
                      @Entity = entity
         | 
| 5406 | 
            +
                      @Status = status
         | 
| 5407 | 
            +
                      @Message = message
         | 
| 5408 | 
            +
                    end
         | 
| 5409 | 
            +
             | 
| 5410 | 
            +
                    def deserialize(params)
         | 
| 5411 | 
            +
                      @Entity = params['Entity']
         | 
| 5412 | 
            +
                      @Status = params['Status']
         | 
| 5413 | 
            +
                      @Message = params['Message']
         | 
| 5414 | 
            +
                    end
         | 
| 5415 | 
            +
                  end
         | 
| 5416 | 
            +
             | 
| 5282 5417 | 
             
                  # 例外规则,用于配置需要跳过特定场景的规则
         | 
| 5283 5418 | 
             
                  class ExceptConfig < TencentCloud::Common::AbstractModel
         | 
| 5284 5419 | 
             
                    # @param Switch: 配置开关,取值有:
         | 
| @@ -6749,11 +6884,11 @@ module TencentCloud | |
| 6749 6884 |  | 
| 6750 6885 | 
             
                  # ModifyOriginGroup请求参数结构体
         | 
| 6751 6886 | 
             
                  class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
         | 
| 6752 | 
            -
                    # @param ZoneId: 站点ID | 
| 6887 | 
            +
                    # @param ZoneId: 站点 ID
         | 
| 6753 6888 | 
             
                    # @type ZoneId: String
         | 
| 6754 | 
            -
                    # @param GroupId: 源站组ID,此参数必填。
         | 
| 6889 | 
            +
                    # @param GroupId: 源站组 ID,此参数必填。
         | 
| 6755 6890 | 
             
                    # @type GroupId: String
         | 
| 6756 | 
            -
                    # @param Name: 源站组名称,不填保持原有配置,可输入1-200个字符,允许的字符为 a-z, A-Z, 0-9, _, - 。
         | 
| 6891 | 
            +
                    # @param Name: 源站组名称,不填保持原有配置,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。
         | 
| 6757 6892 | 
             
                    # @type Name: String
         | 
| 6758 6893 | 
             
                    # @param Type: 源站组类型,取值有:
         | 
| 6759 6894 | 
             
                    # <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡引用;</li>
         | 
| @@ -6761,15 +6896,18 @@ module TencentCloud | |
| 6761 6896 | 
             
                    # @type Type: String
         | 
| 6762 6897 | 
             
                    # @param Records: 源站记录信息,不填保持原有配置。
         | 
| 6763 6898 | 
             
                    # @type Records: Array
         | 
| 6899 | 
            +
                    # @param HostHeader: 回源 Host Header,仅 Type = HTTP 时生效, 不填或者填空表示不配置回源Host,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。
         | 
| 6900 | 
            +
                    # @type HostHeader: String
         | 
| 6764 6901 |  | 
| 6765 | 
            -
                    attr_accessor :ZoneId, :GroupId, :Name, :Type, :Records
         | 
| 6902 | 
            +
                    attr_accessor :ZoneId, :GroupId, :Name, :Type, :Records, :HostHeader
         | 
| 6766 6903 |  | 
| 6767 | 
            -
                    def initialize(zoneid=nil, groupid=nil, name=nil, type=nil, records=nil)
         | 
| 6904 | 
            +
                    def initialize(zoneid=nil, groupid=nil, name=nil, type=nil, records=nil, hostheader=nil)
         | 
| 6768 6905 | 
             
                      @ZoneId = zoneid
         | 
| 6769 6906 | 
             
                      @GroupId = groupid
         | 
| 6770 6907 | 
             
                      @Name = name
         | 
| 6771 6908 | 
             
                      @Type = type
         | 
| 6772 6909 | 
             
                      @Records = records
         | 
| 6910 | 
            +
                      @HostHeader = hostheader
         | 
| 6773 6911 | 
             
                    end
         | 
| 6774 6912 |  | 
| 6775 6913 | 
             
                    def deserialize(params)
         | 
| @@ -6785,6 +6923,7 @@ module TencentCloud | |
| 6785 6923 | 
             
                          @Records << originrecord_tmp
         | 
| 6786 6924 | 
             
                        end
         | 
| 6787 6925 | 
             
                      end
         | 
| 6926 | 
            +
                      @HostHeader = params['HostHeader']
         | 
| 6788 6927 | 
             
                    end
         | 
| 6789 6928 | 
             
                  end
         | 
| 6790 6929 |  | 
| @@ -8923,6 +9062,33 @@ module TencentCloud | |
| 8923 9062 | 
             
                    end
         | 
| 8924 9063 | 
             
                  end
         | 
| 8925 9064 |  | 
| 9065 | 
            +
                  # 安全策略模板的绑定关系。
         | 
| 9066 | 
            +
                  class SecurityTemplateBinding < TencentCloud::Common::AbstractModel
         | 
| 9067 | 
            +
                    # @param TemplateId: 模板ID
         | 
| 9068 | 
            +
                    # @type TemplateId: String
         | 
| 9069 | 
            +
                    # @param TemplateScope: 模板绑定状态。
         | 
| 9070 | 
            +
                    # @type TemplateScope: Array
         | 
| 9071 | 
            +
             | 
| 9072 | 
            +
                    attr_accessor :TemplateId, :TemplateScope
         | 
| 9073 | 
            +
             | 
| 9074 | 
            +
                    def initialize(templateid=nil, templatescope=nil)
         | 
| 9075 | 
            +
                      @TemplateId = templateid
         | 
| 9076 | 
            +
                      @TemplateScope = templatescope
         | 
| 9077 | 
            +
                    end
         | 
| 9078 | 
            +
             | 
| 9079 | 
            +
                    def deserialize(params)
         | 
| 9080 | 
            +
                      @TemplateId = params['TemplateId']
         | 
| 9081 | 
            +
                      unless params['TemplateScope'].nil?
         | 
| 9082 | 
            +
                        @TemplateScope = []
         | 
| 9083 | 
            +
                        params['TemplateScope'].each do |i|
         | 
| 9084 | 
            +
                          templatescope_tmp = TemplateScope.new
         | 
| 9085 | 
            +
                          templatescope_tmp.deserialize(i)
         | 
| 9086 | 
            +
                          @TemplateScope << templatescope_tmp
         | 
| 9087 | 
            +
                        end
         | 
| 9088 | 
            +
                      end
         | 
| 9089 | 
            +
                    end
         | 
| 9090 | 
            +
                  end
         | 
| 9091 | 
            +
             | 
| 8926 9092 | 
             
                  # 安全类型配置项。
         | 
| 8927 9093 | 
             
                  class SecurityType < TencentCloud::Common::AbstractModel
         | 
| 8928 9094 | 
             
                    # @param Switch: 安全类型开关,取值为:
         | 
| @@ -9362,6 +9528,35 @@ module TencentCloud | |
| 9362 9528 | 
             
                    end
         | 
| 9363 9529 | 
             
                  end
         | 
| 9364 9530 |  | 
| 9531 | 
            +
                  # 安全模板绑定域名状态
         | 
| 9532 | 
            +
                  class TemplateScope < TencentCloud::Common::AbstractModel
         | 
| 9533 | 
            +
                    # @param ZoneId: 站点ID。
         | 
| 9534 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9535 | 
            +
                    # @type ZoneId: String
         | 
| 9536 | 
            +
                    # @param EntityStatus: 实例状态列表。
         | 
| 9537 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9538 | 
            +
                    # @type EntityStatus: Array
         | 
| 9539 | 
            +
             | 
| 9540 | 
            +
                    attr_accessor :ZoneId, :EntityStatus
         | 
| 9541 | 
            +
             | 
| 9542 | 
            +
                    def initialize(zoneid=nil, entitystatus=nil)
         | 
| 9543 | 
            +
                      @ZoneId = zoneid
         | 
| 9544 | 
            +
                      @EntityStatus = entitystatus
         | 
| 9545 | 
            +
                    end
         | 
| 9546 | 
            +
             | 
| 9547 | 
            +
                    def deserialize(params)
         | 
| 9548 | 
            +
                      @ZoneId = params['ZoneId']
         | 
| 9549 | 
            +
                      unless params['EntityStatus'].nil?
         | 
| 9550 | 
            +
                        @EntityStatus = []
         | 
| 9551 | 
            +
                        params['EntityStatus'].each do |i|
         | 
| 9552 | 
            +
                          entitystatus_tmp = EntityStatus.new
         | 
| 9553 | 
            +
                          entitystatus_tmp.deserialize(i)
         | 
| 9554 | 
            +
                          @EntityStatus << entitystatus_tmp
         | 
| 9555 | 
            +
                        end
         | 
| 9556 | 
            +
                      end
         | 
| 9557 | 
            +
                    end
         | 
| 9558 | 
            +
                  end
         | 
| 9559 | 
            +
             | 
| 9365 9560 | 
             
                  # 统计曲线数据项
         | 
| 9366 9561 | 
             
                  class TimingDataItem < TencentCloud::Common::AbstractModel
         | 
| 9367 9562 | 
             
                    # @param Timestamp: 返回数据对应时间点,采用unix秒级时间戳。
         | 
    
        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. | 
| 4 | 
            +
              version: 3.0.687
         | 
| 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-10- | 
| 11 | 
            +
            date: 2023-10-30 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |