tencentcloud-sdk-mna 3.0.453 → 3.0.454
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/v20210119/client.rb +48 -0
- data/lib/v20210119/models.rb +62 -0
- 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: 1d89c7c3b7b4006a0b07a79b0fdab57783e3b7e2
         | 
| 4 | 
            +
              data.tar.gz: 14774e0df14a89100db6c7751d32039a4b1a38e8
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ea1ab9b86a0feb30ad2928d64112eb20a98c992980ec94294ccb5408fb01f4210c5d91b699aa3b6eb9fd960cb3e7919f91b18b1c8b80c7baa8b04747254f3b1c
         | 
| 7 | 
            +
              data.tar.gz: e6a28d842c44da1a7dd2863fcef3bba8a933395988d094f3f33f397347f9173b1b28bfd297d3655407489f959dabec78befb07434f441aabd796b4cf7ac64466
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.454
         | 
    
        data/lib/v20210119/client.rb
    CHANGED
    
    | @@ -53,6 +53,30 @@ module TencentCloud | |
| 53 53 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 54 54 | 
             
                    end
         | 
| 55 55 |  | 
| 56 | 
            +
                    # 通过此接口设置和更新预置密钥
         | 
| 57 | 
            +
             | 
| 58 | 
            +
                    # @param request: Request instance for CreateEncryptedKey.
         | 
| 59 | 
            +
                    # @type request: :class:`Tencentcloud::mna::V20210119::CreateEncryptedKeyRequest`
         | 
| 60 | 
            +
                    # @rtype: :class:`Tencentcloud::mna::V20210119::CreateEncryptedKeyResponse`
         | 
| 61 | 
            +
                    def CreateEncryptedKey(request)
         | 
| 62 | 
            +
                      body = send_request('CreateEncryptedKey', request.serialize)
         | 
| 63 | 
            +
                      response = JSON.parse(body)
         | 
| 64 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 65 | 
            +
                        model = CreateEncryptedKeyResponse.new
         | 
| 66 | 
            +
                        model.deserialize(response['Response'])
         | 
| 67 | 
            +
                        model
         | 
| 68 | 
            +
                      else
         | 
| 69 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 70 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 71 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 72 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 73 | 
            +
                      end
         | 
| 74 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 75 | 
            +
                      raise e
         | 
| 76 | 
            +
                    rescue StandardError => e
         | 
| 77 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 78 | 
            +
                    end
         | 
| 79 | 
            +
             | 
| 56 80 | 
             
                    # 移动网络发起Qos加速过程
         | 
| 57 81 |  | 
| 58 82 | 
             
                    # @param request: Request instance for CreateQos.
         | 
| @@ -221,6 +245,30 @@ module TencentCloud | |
| 221 245 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 222 246 | 
             
                    end
         | 
| 223 247 |  | 
| 248 | 
            +
                    # 获取公钥用于验签
         | 
| 249 | 
            +
             | 
| 250 | 
            +
                    # @param request: Request instance for GetPublicKey.
         | 
| 251 | 
            +
                    # @type request: :class:`Tencentcloud::mna::V20210119::GetPublicKeyRequest`
         | 
| 252 | 
            +
                    # @rtype: :class:`Tencentcloud::mna::V20210119::GetPublicKeyResponse`
         | 
| 253 | 
            +
                    def GetPublicKey(request)
         | 
| 254 | 
            +
                      body = send_request('GetPublicKey', request.serialize)
         | 
| 255 | 
            +
                      response = JSON.parse(body)
         | 
| 256 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 257 | 
            +
                        model = GetPublicKeyResponse.new
         | 
| 258 | 
            +
                        model.deserialize(response['Response'])
         | 
| 259 | 
            +
                        model
         | 
| 260 | 
            +
                      else
         | 
| 261 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 262 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 263 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 264 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 265 | 
            +
                      end
         | 
| 266 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 267 | 
            +
                      raise e
         | 
| 268 | 
            +
                    rescue StandardError => e
         | 
| 269 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 270 | 
            +
                    end
         | 
| 271 | 
            +
             | 
| 224 272 | 
             
                    # 在用量统计页面下载流量数据
         | 
| 225 273 |  | 
| 226 274 | 
             
                    # @param request: Request instance for GetStatisticData.
         | 
    
        data/lib/v20210119/models.rb
    CHANGED
    
    | @@ -127,6 +127,37 @@ module TencentCloud | |
| 127 127 | 
             
                    end
         | 
| 128 128 | 
             
                  end
         | 
| 129 129 |  | 
| 130 | 
            +
                  # CreateEncryptedKey请求参数结构体
         | 
| 131 | 
            +
                  class CreateEncryptedKeyRequest < TencentCloud::Common::AbstractModel
         | 
| 132 | 
            +
             | 
| 133 | 
            +
                    
         | 
| 134 | 
            +
                    def initialize()
         | 
| 135 | 
            +
                    end
         | 
| 136 | 
            +
             | 
| 137 | 
            +
                    def deserialize(params)
         | 
| 138 | 
            +
                    end
         | 
| 139 | 
            +
                  end
         | 
| 140 | 
            +
             | 
| 141 | 
            +
                  # CreateEncryptedKey返回参数结构体
         | 
| 142 | 
            +
                  class CreateEncryptedKeyResponse < TencentCloud::Common::AbstractModel
         | 
| 143 | 
            +
                    # @param EncryptedKey: 预置密钥
         | 
| 144 | 
            +
                    # @type EncryptedKey: String
         | 
| 145 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 146 | 
            +
                    # @type RequestId: String
         | 
| 147 | 
            +
             | 
| 148 | 
            +
                    attr_accessor :EncryptedKey, :RequestId
         | 
| 149 | 
            +
                    
         | 
| 150 | 
            +
                    def initialize(encryptedkey=nil, requestid=nil)
         | 
| 151 | 
            +
                      @EncryptedKey = encryptedkey
         | 
| 152 | 
            +
                      @RequestId = requestid
         | 
| 153 | 
            +
                    end
         | 
| 154 | 
            +
             | 
| 155 | 
            +
                    def deserialize(params)
         | 
| 156 | 
            +
                      @EncryptedKey = params['EncryptedKey']
         | 
| 157 | 
            +
                      @RequestId = params['RequestId']
         | 
| 158 | 
            +
                    end
         | 
| 159 | 
            +
                  end
         | 
| 160 | 
            +
             | 
| 130 161 | 
             
                  # CreateQos请求参数结构体
         | 
| 131 162 | 
             
                  class CreateQosRequest < TencentCloud::Common::AbstractModel
         | 
| 132 163 | 
             
                    # @param SrcAddressInfo: 加速业务源地址信息,SrcIpv6和(SrcIpv4+SrcPublicIpv4)二选一,目前Ipv6不可用,全部填写以Ipv4参数为准。
         | 
| @@ -763,6 +794,37 @@ module TencentCloud | |
| 763 794 | 
             
                    end
         | 
| 764 795 | 
             
                  end
         | 
| 765 796 |  | 
| 797 | 
            +
                  # GetPublicKey请求参数结构体
         | 
| 798 | 
            +
                  class GetPublicKeyRequest < TencentCloud::Common::AbstractModel
         | 
| 799 | 
            +
             | 
| 800 | 
            +
                    
         | 
| 801 | 
            +
                    def initialize()
         | 
| 802 | 
            +
                    end
         | 
| 803 | 
            +
             | 
| 804 | 
            +
                    def deserialize(params)
         | 
| 805 | 
            +
                    end
         | 
| 806 | 
            +
                  end
         | 
| 807 | 
            +
             | 
| 808 | 
            +
                  # GetPublicKey返回参数结构体
         | 
| 809 | 
            +
                  class GetPublicKeyResponse < TencentCloud::Common::AbstractModel
         | 
| 810 | 
            +
                    # @param PublicKey: 非对称公钥
         | 
| 811 | 
            +
                    # @type PublicKey: String
         | 
| 812 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 813 | 
            +
                    # @type RequestId: String
         | 
| 814 | 
            +
             | 
| 815 | 
            +
                    attr_accessor :PublicKey, :RequestId
         | 
| 816 | 
            +
                    
         | 
| 817 | 
            +
                    def initialize(publickey=nil, requestid=nil)
         | 
| 818 | 
            +
                      @PublicKey = publickey
         | 
| 819 | 
            +
                      @RequestId = requestid
         | 
| 820 | 
            +
                    end
         | 
| 821 | 
            +
             | 
| 822 | 
            +
                    def deserialize(params)
         | 
| 823 | 
            +
                      @PublicKey = params['PublicKey']
         | 
| 824 | 
            +
                      @RequestId = params['RequestId']
         | 
| 825 | 
            +
                    end
         | 
| 826 | 
            +
                  end
         | 
| 827 | 
            +
             | 
| 766 828 | 
             
                  # GetStatisticData请求参数结构体
         | 
| 767 829 | 
             
                  class GetStatisticDataRequest < TencentCloud::Common::AbstractModel
         | 
| 768 830 | 
             
                    # @param DeviceId: 设备ID,设备ID="-1"获取所有设备流量统计
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-mna
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.454
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022-11- | 
| 11 | 
            +
            date: 2022-11-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |