tencentcloud-sdk-tse 3.0.675 → 3.0.677
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/v20201207/client.rb +24 -0
- data/lib/v20201207/models.rb +95 -28
- 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: a50a05f8a443b43f78d26573212559902f43514c
         | 
| 4 | 
            +
              data.tar.gz: 01e20a405e20950b9b868971cf3d1ae43cd2edc1
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6142b0b16040e3ec659ef80e9a8adcdf4721457a0db1aa912418f105963db5449aba62c06430e70a2dd87da667180457c39d96b190bf8023498031948d5538e0
         | 
| 7 | 
            +
              data.tar.gz: 16661740dc4b36e253e02d02de89ff4e5ee3e86cb8a129f454595c28ac67d0c773f8c0cbf3153302a64b3e79d723ce4e9f705016b3064e73c8816825e0a7b0b2
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.677
         | 
    
        data/lib/v20201207/client.rb
    CHANGED
    
    | @@ -989,6 +989,30 @@ module TencentCloud | |
| 989 989 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 990 990 | 
             
                    end
         | 
| 991 991 |  | 
| 992 | 
            +
                    # 更新云原生网关证书
         | 
| 993 | 
            +
             | 
| 994 | 
            +
                    # @param request: Request instance for ModifyCloudNativeAPIGatewayCertificate.
         | 
| 995 | 
            +
                    # @type request: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayCertificateRequest`
         | 
| 996 | 
            +
                    # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyCloudNativeAPIGatewayCertificateResponse`
         | 
| 997 | 
            +
                    def ModifyCloudNativeAPIGatewayCertificate(request)
         | 
| 998 | 
            +
                      body = send_request('ModifyCloudNativeAPIGatewayCertificate', request.serialize)
         | 
| 999 | 
            +
                      response = JSON.parse(body)
         | 
| 1000 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 1001 | 
            +
                        model = ModifyCloudNativeAPIGatewayCertificateResponse.new
         | 
| 1002 | 
            +
                        model.deserialize(response['Response'])
         | 
| 1003 | 
            +
                        model
         | 
| 1004 | 
            +
                      else
         | 
| 1005 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 1006 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 1007 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 1008 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 1009 | 
            +
                      end
         | 
| 1010 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 1011 | 
            +
                      raise e
         | 
| 1012 | 
            +
                    rescue StandardError => e
         | 
| 1013 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1014 | 
            +
                    end
         | 
| 1015 | 
            +
             | 
| 992 1016 | 
             
                    # 修改云原生网关路由
         | 
| 993 1017 |  | 
| 994 1018 | 
             
                    # @param request: Request instance for ModifyCloudNativeAPIGatewayRoute.
         | 
    
        data/lib/v20201207/models.rb
    CHANGED
    
    | @@ -658,8 +658,8 @@ module TencentCloud | |
| 658 658 |  | 
| 659 659 | 
             
                    attr_accessor :StrategyId, :StrategyName, :CreateTime, :ModifyTime, :Description, :Config, :GatewayId, :CronConfig, :MaxReplicas
         | 
| 660 660 | 
             
                    extend Gem::Deprecate
         | 
| 661 | 
            -
                    deprecate :MaxReplicas, :none, 2023,  | 
| 662 | 
            -
                    deprecate :MaxReplicas=, :none, 2023,  | 
| 661 | 
            +
                    deprecate :MaxReplicas, :none, 2023, 10
         | 
| 662 | 
            +
                    deprecate :MaxReplicas=, :none, 2023, 10
         | 
| 663 663 |  | 
| 664 664 | 
             
                    def initialize(strategyid=nil, strategyname=nil, createtime=nil, modifytime=nil, description=nil, config=nil, gatewayid=nil, cronconfig=nil, maxreplicas=nil)
         | 
| 665 665 | 
             
                      @StrategyId = strategyid
         | 
| @@ -721,14 +721,14 @@ module TencentCloud | |
| 721 721 |  | 
| 722 722 | 
             
                    attr_accessor :MaxReplicas, :Metrics, :Enabled, :CreateTime, :ModifyTime, :StrategyId, :AutoScalerId, :Behavior
         | 
| 723 723 | 
             
                    extend Gem::Deprecate
         | 
| 724 | 
            -
                    deprecate :CreateTime, :none, 2023,  | 
| 725 | 
            -
                    deprecate :CreateTime=, :none, 2023,  | 
| 726 | 
            -
                    deprecate :ModifyTime, :none, 2023,  | 
| 727 | 
            -
                    deprecate :ModifyTime=, :none, 2023,  | 
| 728 | 
            -
                    deprecate :StrategyId, :none, 2023,  | 
| 729 | 
            -
                    deprecate :StrategyId=, :none, 2023,  | 
| 730 | 
            -
                    deprecate :AutoScalerId, :none, 2023,  | 
| 731 | 
            -
                    deprecate :AutoScalerId=, :none, 2023,  | 
| 724 | 
            +
                    deprecate :CreateTime, :none, 2023, 10
         | 
| 725 | 
            +
                    deprecate :CreateTime=, :none, 2023, 10
         | 
| 726 | 
            +
                    deprecate :ModifyTime, :none, 2023, 10
         | 
| 727 | 
            +
                    deprecate :ModifyTime=, :none, 2023, 10
         | 
| 728 | 
            +
                    deprecate :StrategyId, :none, 2023, 10
         | 
| 729 | 
            +
                    deprecate :StrategyId=, :none, 2023, 10
         | 
| 730 | 
            +
                    deprecate :AutoScalerId, :none, 2023, 10
         | 
| 731 | 
            +
                    deprecate :AutoScalerId=, :none, 2023, 10
         | 
| 732 732 |  | 
| 733 733 | 
             
                    def initialize(maxreplicas=nil, metrics=nil, enabled=nil, createtime=nil, modifytime=nil, strategyid=nil, autoscalerid=nil, behavior=nil)
         | 
| 734 734 | 
             
                      @MaxReplicas = maxreplicas
         | 
| @@ -815,12 +815,12 @@ module TencentCloud | |
| 815 815 |  | 
| 816 816 | 
             
                    attr_accessor :Enabled, :Params, :CreateTime, :ModifyTime, :StrategyId
         | 
| 817 817 | 
             
                    extend Gem::Deprecate
         | 
| 818 | 
            -
                    deprecate :CreateTime, :none, 2023,  | 
| 819 | 
            -
                    deprecate :CreateTime=, :none, 2023,  | 
| 820 | 
            -
                    deprecate :ModifyTime, :none, 2023,  | 
| 821 | 
            -
                    deprecate :ModifyTime=, :none, 2023,  | 
| 822 | 
            -
                    deprecate :StrategyId, :none, 2023,  | 
| 823 | 
            -
                    deprecate :StrategyId=, :none, 2023,  | 
| 818 | 
            +
                    deprecate :CreateTime, :none, 2023, 10
         | 
| 819 | 
            +
                    deprecate :CreateTime=, :none, 2023, 10
         | 
| 820 | 
            +
                    deprecate :ModifyTime, :none, 2023, 10
         | 
| 821 | 
            +
                    deprecate :ModifyTime=, :none, 2023, 10
         | 
| 822 | 
            +
                    deprecate :StrategyId, :none, 2023, 10
         | 
| 823 | 
            +
                    deprecate :StrategyId=, :none, 2023, 10
         | 
| 824 824 |  | 
| 825 825 | 
             
                    def initialize(enabled=nil, params=nil, createtime=nil, modifytime=nil, strategyid=nil)
         | 
| 826 826 | 
             
                      @Enabled = enabled
         | 
| @@ -960,10 +960,10 @@ module TencentCloud | |
| 960 960 |  | 
| 961 961 | 
             
                    attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
         | 
| 962 962 | 
             
                    extend Gem::Deprecate
         | 
| 963 | 
            -
                    deprecate :Key, :none, 2023,  | 
| 964 | 
            -
                    deprecate :Key=, :none, 2023,  | 
| 965 | 
            -
                    deprecate :Crt, :none, 2023,  | 
| 966 | 
            -
                    deprecate :Crt=, :none, 2023,  | 
| 963 | 
            +
                    deprecate :Key, :none, 2023, 10
         | 
| 964 | 
            +
                    deprecate :Key=, :none, 2023, 10
         | 
| 965 | 
            +
                    deprecate :Crt, :none, 2023, 10
         | 
| 966 | 
            +
                    deprecate :Crt=, :none, 2023, 10
         | 
| 967 967 |  | 
| 968 968 | 
             
                    def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
         | 
| 969 969 | 
             
                      @GatewayId = gatewayid
         | 
| @@ -1240,8 +1240,8 @@ module TencentCloud | |
| 1240 1240 |  | 
| 1241 1241 | 
             
                    attr_accessor :GatewayId, :ServiceID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
         | 
| 1242 1242 | 
             
                    extend Gem::Deprecate
         | 
| 1243 | 
            -
                    deprecate :ForceHttps, :none, 2023,  | 
| 1244 | 
            -
                    deprecate :ForceHttps=, :none, 2023,  | 
| 1243 | 
            +
                    deprecate :ForceHttps, :none, 2023, 10
         | 
| 1244 | 
            +
                    deprecate :ForceHttps=, :none, 2023, 10
         | 
| 1245 1245 |  | 
| 1246 1246 | 
             
                    def initialize(gatewayid=nil, serviceid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil)
         | 
| 1247 1247 | 
             
                      @GatewayId = gatewayid
         | 
| @@ -3864,8 +3864,8 @@ module TencentCloud | |
| 3864 3864 |  | 
| 3865 3865 | 
             
                    attr_accessor :Total, :CertificatesList, :Pages
         | 
| 3866 3866 | 
             
                    extend Gem::Deprecate
         | 
| 3867 | 
            -
                    deprecate :Pages, :none, 2023,  | 
| 3868 | 
            -
                    deprecate :Pages=, :none, 2023,  | 
| 3867 | 
            +
                    deprecate :Pages, :none, 2023, 10
         | 
| 3868 | 
            +
                    deprecate :Pages=, :none, 2023, 10
         | 
| 3869 3869 |  | 
| 3870 3870 | 
             
                    def initialize(total=nil, certificateslist=nil, pages=nil)
         | 
| 3871 3871 | 
             
                      @Total = total
         | 
| @@ -4006,8 +4006,8 @@ module TencentCloud | |
| 4006 4006 |  | 
| 4007 4007 | 
             
                    attr_accessor :ID, :Name, :Methods, :Paths, :Hosts, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :CreatedTime, :ForceHttps, :ServiceName, :ServiceID, :DestinationPorts, :Headers
         | 
| 4008 4008 | 
             
                    extend Gem::Deprecate
         | 
| 4009 | 
            -
                    deprecate :ForceHttps, :none, 2023,  | 
| 4010 | 
            -
                    deprecate :ForceHttps=, :none, 2023,  | 
| 4009 | 
            +
                    deprecate :ForceHttps, :none, 2023, 10
         | 
| 4010 | 
            +
                    deprecate :ForceHttps=, :none, 2023, 10
         | 
| 4011 4011 |  | 
| 4012 4012 | 
             
                    def initialize(id=nil, name=nil, methods=nil, paths=nil, hosts=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, createdtime=nil, forcehttps=nil, servicename=nil, serviceid=nil, destinationports=nil, headers=nil)
         | 
| 4013 4013 | 
             
                      @ID = id
         | 
| @@ -4491,6 +4491,73 @@ module TencentCloud | |
| 4491 4491 | 
             
                    end
         | 
| 4492 4492 | 
             
                  end
         | 
| 4493 4493 |  | 
| 4494 | 
            +
                  # ModifyCloudNativeAPIGatewayCertificate请求参数结构体
         | 
| 4495 | 
            +
                  class ModifyCloudNativeAPIGatewayCertificateRequest < TencentCloud::Common::AbstractModel
         | 
| 4496 | 
            +
                    # @param GatewayId: 网关ID
         | 
| 4497 | 
            +
                    # @type GatewayId: String
         | 
| 4498 | 
            +
                    # @param Id: 证书id
         | 
| 4499 | 
            +
                    # @type Id: String
         | 
| 4500 | 
            +
                    # @param Name: 证书名称,即将废弃
         | 
| 4501 | 
            +
                    # @type Name: String
         | 
| 4502 | 
            +
                    # @param Key: 证书私钥,CertSource为native时必填。
         | 
| 4503 | 
            +
                    # @type Key: String
         | 
| 4504 | 
            +
                    # @param Crt: 证书pem格式,CertSource为native时必填。
         | 
| 4505 | 
            +
                    # @type Crt: String
         | 
| 4506 | 
            +
                    # @param BindDomains: 绑定的域名,即将废弃
         | 
| 4507 | 
            +
                    # @type BindDomains: Array
         | 
| 4508 | 
            +
                    # @param CertId: ssl平台证书 Id,CertSource为ssl时必填。
         | 
| 4509 | 
            +
                    # @type CertId: String
         | 
| 4510 | 
            +
                    # @param CertSource: 证书来源
         | 
| 4511 | 
            +
                    # - ssl (ssl平台证书),默认值
         | 
| 4512 | 
            +
                    # - native (kong自定义证书)
         | 
| 4513 | 
            +
                    # @type CertSource: String
         | 
| 4514 | 
            +
             | 
| 4515 | 
            +
                    attr_accessor :GatewayId, :Id, :Name, :Key, :Crt, :BindDomains, :CertId, :CertSource
         | 
| 4516 | 
            +
                    extend Gem::Deprecate
         | 
| 4517 | 
            +
                    deprecate :Name, :none, 2023, 10
         | 
| 4518 | 
            +
                    deprecate :Name=, :none, 2023, 10
         | 
| 4519 | 
            +
                    deprecate :BindDomains, :none, 2023, 10
         | 
| 4520 | 
            +
                    deprecate :BindDomains=, :none, 2023, 10
         | 
| 4521 | 
            +
             | 
| 4522 | 
            +
                    def initialize(gatewayid=nil, id=nil, name=nil, key=nil, crt=nil, binddomains=nil, certid=nil, certsource=nil)
         | 
| 4523 | 
            +
                      @GatewayId = gatewayid
         | 
| 4524 | 
            +
                      @Id = id
         | 
| 4525 | 
            +
                      @Name = name
         | 
| 4526 | 
            +
                      @Key = key
         | 
| 4527 | 
            +
                      @Crt = crt
         | 
| 4528 | 
            +
                      @BindDomains = binddomains
         | 
| 4529 | 
            +
                      @CertId = certid
         | 
| 4530 | 
            +
                      @CertSource = certsource
         | 
| 4531 | 
            +
                    end
         | 
| 4532 | 
            +
             | 
| 4533 | 
            +
                    def deserialize(params)
         | 
| 4534 | 
            +
                      @GatewayId = params['GatewayId']
         | 
| 4535 | 
            +
                      @Id = params['Id']
         | 
| 4536 | 
            +
                      @Name = params['Name']
         | 
| 4537 | 
            +
                      @Key = params['Key']
         | 
| 4538 | 
            +
                      @Crt = params['Crt']
         | 
| 4539 | 
            +
                      @BindDomains = params['BindDomains']
         | 
| 4540 | 
            +
                      @CertId = params['CertId']
         | 
| 4541 | 
            +
                      @CertSource = params['CertSource']
         | 
| 4542 | 
            +
                    end
         | 
| 4543 | 
            +
                  end
         | 
| 4544 | 
            +
             | 
| 4545 | 
            +
                  # ModifyCloudNativeAPIGatewayCertificate返回参数结构体
         | 
| 4546 | 
            +
                  class ModifyCloudNativeAPIGatewayCertificateResponse < TencentCloud::Common::AbstractModel
         | 
| 4547 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 4548 | 
            +
                    # @type RequestId: String
         | 
| 4549 | 
            +
             | 
| 4550 | 
            +
                    attr_accessor :RequestId
         | 
| 4551 | 
            +
             | 
| 4552 | 
            +
                    def initialize(requestid=nil)
         | 
| 4553 | 
            +
                      @RequestId = requestid
         | 
| 4554 | 
            +
                    end
         | 
| 4555 | 
            +
             | 
| 4556 | 
            +
                    def deserialize(params)
         | 
| 4557 | 
            +
                      @RequestId = params['RequestId']
         | 
| 4558 | 
            +
                    end
         | 
| 4559 | 
            +
                  end
         | 
| 4560 | 
            +
             | 
| 4494 4561 | 
             
                  # ModifyCloudNativeAPIGateway请求参数结构体
         | 
| 4495 4562 | 
             
                  class ModifyCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
         | 
| 4496 4563 | 
             
                    # @param GatewayId: 云原生API网关实例ID。
         | 
| @@ -4634,8 +4701,8 @@ module TencentCloud | |
| 4634 4701 |  | 
| 4635 4702 | 
             
                    attr_accessor :GatewayId, :ServiceID, :RouteID, :RouteName, :Methods, :Hosts, :Paths, :Protocols, :PreserveHost, :HttpsRedirectStatusCode, :StripPath, :ForceHttps, :DestinationPorts, :Headers
         | 
| 4636 4703 | 
             
                    extend Gem::Deprecate
         | 
| 4637 | 
            -
                    deprecate :ForceHttps, :none, 2023,  | 
| 4638 | 
            -
                    deprecate :ForceHttps=, :none, 2023,  | 
| 4704 | 
            +
                    deprecate :ForceHttps, :none, 2023, 10
         | 
| 4705 | 
            +
                    deprecate :ForceHttps=, :none, 2023, 10
         | 
| 4639 4706 |  | 
| 4640 4707 | 
             
                    def initialize(gatewayid=nil, serviceid=nil, routeid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil)
         | 
| 4641 4708 | 
             
                      @GatewayId = gatewayid
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-tse
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.677
         | 
| 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-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |