tencentcloud-sdk-bri 1.0.200
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 +7 -0
 - data/lib/VERSION +1 -0
 - data/lib/tencentcloud-sdk-bri.rb +11 -0
 - data/lib/v20190328/client.rb +72 -0
 - data/lib/v20190328/models.rb +182 -0
 - metadata +66 -0
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,7 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA1:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 698c619a6be98290d718629e9661c54e328e7652
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8b83712a25cf96323f0d3173afb7f0654c5d5de5
         
     | 
| 
      
 5 
     | 
    
         
            +
            SHA512:
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 50ac5e6156f573cd11529ad517ee74caf26b5e34c857aab178d85e36d4f235f30a5ce4ad597105193414a778e77764439a99e71098d2980e4f0b8d251ec4ac09
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 02ecdad6592ba520c4d201111ae16e562b30e7ea456f49989f29c5abf311d4a26b3a89da314ba304f4ea1c2cdd0f393a8225d61860e6a8feebbdc061f26b732c
         
     | 
    
        data/lib/VERSION
    ADDED
    
    | 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            1.0.200
         
     | 
| 
         @@ -0,0 +1,72 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 6 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 7 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 8 
     | 
    
         
            +
            #
         
     | 
| 
      
 9 
     | 
    
         
            +
            #    http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            #
         
     | 
| 
      
 11 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 12 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 13 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 14 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 15 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            require 'json'
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            module TencentCloud
         
     | 
| 
      
 20 
     | 
    
         
            +
              module Bri
         
     | 
| 
      
 21 
     | 
    
         
            +
                module V20190328
         
     | 
| 
      
 22 
     | 
    
         
            +
                  class Client < TencentCloud::Common::AbstractClient
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                    def initialize(credential, region, profile = nil)
         
     | 
| 
      
 25 
     | 
    
         
            +
                        api_version = '2019-03-28'
         
     | 
| 
      
 26 
     | 
    
         
            +
                        api_endpoint = 'bri.tencentcloudapi.com'
         
     | 
| 
      
 27 
     | 
    
         
            +
                        sdk_version = 'BRI_' + File.read(File.expand_path('../VERSION', __dir__)).strip
         
     | 
| 
      
 28 
     | 
    
         
            +
                        super(credential, region, api_version, api_endpoint, sdk_version, profile)
         
     | 
| 
      
 29 
     | 
    
         
            +
                    end
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                    # 输入业务名 (bri_num, bri_dev, bri_ip, bri_apk, bri_url, bri_social 六种之一)  及其 相应字段, 获取业务风险分数和标签。
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                    # 当业务名为bri_num时,必须填PhoneNumber字段.
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                    # 当业务名为bri_dev时, 必须填Imei字段.
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
                    # 当业务名为bri_ip时,必须填IP字段.
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                    # 当业务名为bri_apk时,必须填 (PackageName,CertMd5,FileSize) 三个字段 或者 FileMd5一个字段.
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
                    # 当业务名为bri_url时,必须填Url字段.
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                    # 当业务名为bri_social时,必须填QQ和Wechat字段两者其中一个或者两个.
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                    # @param request: Request instance for DescribeBRI.
         
     | 
| 
      
 47 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::bri::V20190328::DescribeBRIRequest`
         
     | 
| 
      
 48 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::bri::V20190328::DescribeBRIResponse`
         
     | 
| 
      
 49 
     | 
    
         
            +
                    def DescribeBRI(request)
         
     | 
| 
      
 50 
     | 
    
         
            +
                      body = send_request('DescribeBRI', request.serialize)
         
     | 
| 
      
 51 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 52 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 53 
     | 
    
         
            +
                        model = DescribeBRIResponse.new
         
     | 
| 
      
 54 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 55 
     | 
    
         
            +
                        model
         
     | 
| 
      
 56 
     | 
    
         
            +
                      else
         
     | 
| 
      
 57 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 58 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 59 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 60 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 61 
     | 
    
         
            +
                      end
         
     | 
| 
      
 62 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 63 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 64 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 65 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 66 
     | 
    
         
            +
                    end
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
                  end
         
     | 
| 
      
 70 
     | 
    
         
            +
                end
         
     | 
| 
      
 71 
     | 
    
         
            +
              end
         
     | 
| 
      
 72 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,182 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 6 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 7 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 8 
     | 
    
         
            +
            #
         
     | 
| 
      
 9 
     | 
    
         
            +
            #    http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            #
         
     | 
| 
      
 11 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 12 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 13 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 14 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 15 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            module TencentCloud
         
     | 
| 
      
 18 
     | 
    
         
            +
              module Bri
         
     | 
| 
      
 19 
     | 
    
         
            +
                module V20190328
         
     | 
| 
      
 20 
     | 
    
         
            +
                  # BRI请求
         
     | 
| 
      
 21 
     | 
    
         
            +
                  class BRIRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 22 
     | 
    
         
            +
                    # @param Service: 业务名, 必须是以下六个业务名之一(bri_num,bri_dev,bri_ip_bri_apk,bri_url,bri_social)
         
     | 
| 
      
 23 
     | 
    
         
            +
                    # @type Service: String
         
     | 
| 
      
 24 
     | 
    
         
            +
                    # @param QQ: QQ号 (业务名为bri_social时必填, 除非已填Wechat)
         
     | 
| 
      
 25 
     | 
    
         
            +
                    # @type QQ: String
         
     | 
| 
      
 26 
     | 
    
         
            +
                    # @param QQTag: QQ号的可疑标签
         
     | 
| 
      
 27 
     | 
    
         
            +
                    # @type QQTag: String
         
     | 
| 
      
 28 
     | 
    
         
            +
                    # @param Url: 网址 (业务名为bri_url时必填)
         
     | 
| 
      
 29 
     | 
    
         
            +
                    # @type Url: String
         
     | 
| 
      
 30 
     | 
    
         
            +
                    # @param CertMd5: Apk证书Md5  (业务名为bri_apk时必填,除非已填FileMd5)
         
     | 
| 
      
 31 
     | 
    
         
            +
                    # @type CertMd5: String
         
     | 
| 
      
 32 
     | 
    
         
            +
                    # @param PackageName: Apk安装包名 (业务名为bri_apk时必填,除非已填FileMd5)
         
     | 
| 
      
 33 
     | 
    
         
            +
                    # @type PackageName: String
         
     | 
| 
      
 34 
     | 
    
         
            +
                    # @param FileMd5: Apk文件Md5 (业务名为bri_apk时必填,除非已填PackageName,CertMd5,FileSize)
         
     | 
| 
      
 35 
     | 
    
         
            +
                    # @type FileMd5: String
         
     | 
| 
      
 36 
     | 
    
         
            +
                    # @param Scene: 业务场景 (1-注册, 2-登录, 3-发消息)
         
     | 
| 
      
 37 
     | 
    
         
            +
                    # @type Scene: String
         
     | 
| 
      
 38 
     | 
    
         
            +
                    # @param PhoneNumber: 电话号码 (业务名为bri_num时必填)
         
     | 
| 
      
 39 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 40 
     | 
    
         
            +
                    # @type PhoneNumber: String
         
     | 
| 
      
 41 
     | 
    
         
            +
                    # @param FileSize: Apk文件大小  (业务名为bri_apk时必填,除非已填FileMd5)
         
     | 
| 
      
 42 
     | 
    
         
            +
                    # @type FileSize: Integer
         
     | 
| 
      
 43 
     | 
    
         
            +
                    # @param Ip: 点分格式的IP (业务名为bri_ip时必填)
         
     | 
| 
      
 44 
     | 
    
         
            +
                    # @type Ip: String
         
     | 
| 
      
 45 
     | 
    
         
            +
                    # @param Imei: 安卓设备的Imei (业务名为bri_dev时必填)
         
     | 
| 
      
 46 
     | 
    
         
            +
                    # @type Imei: String
         
     | 
| 
      
 47 
     | 
    
         
            +
                    # @param Wechat: 微信号 (业务名为bri_social时必填, 除非已填QQ)
         
     | 
| 
      
 48 
     | 
    
         
            +
                    # @type Wechat: String
         
     | 
| 
      
 49 
     | 
    
         
            +
                    # @param WechatTag: 微信号的可疑标签
         
     | 
| 
      
 50 
     | 
    
         
            +
                    # @type WechatTag: String
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                    attr_accessor :Service, :QQ, :QQTag, :Url, :CertMd5, :PackageName, :FileMd5, :Scene, :PhoneNumber, :FileSize, :Ip, :Imei, :Wechat, :WechatTag
         
     | 
| 
      
 53 
     | 
    
         
            +
                    
         
     | 
| 
      
 54 
     | 
    
         
            +
                    def initialize(service=nil, qq=nil, qqtag=nil, url=nil, certmd5=nil, packagename=nil, filemd5=nil, scene=nil, phonenumber=nil, filesize=nil, ip=nil, imei=nil, wechat=nil, wechattag=nil)
         
     | 
| 
      
 55 
     | 
    
         
            +
                      @Service = service
         
     | 
| 
      
 56 
     | 
    
         
            +
                      @QQ = qq
         
     | 
| 
      
 57 
     | 
    
         
            +
                      @QQTag = qqtag
         
     | 
| 
      
 58 
     | 
    
         
            +
                      @Url = url
         
     | 
| 
      
 59 
     | 
    
         
            +
                      @CertMd5 = certmd5
         
     | 
| 
      
 60 
     | 
    
         
            +
                      @PackageName = packagename
         
     | 
| 
      
 61 
     | 
    
         
            +
                      @FileMd5 = filemd5
         
     | 
| 
      
 62 
     | 
    
         
            +
                      @Scene = scene
         
     | 
| 
      
 63 
     | 
    
         
            +
                      @PhoneNumber = phonenumber
         
     | 
| 
      
 64 
     | 
    
         
            +
                      @FileSize = filesize
         
     | 
| 
      
 65 
     | 
    
         
            +
                      @Ip = ip
         
     | 
| 
      
 66 
     | 
    
         
            +
                      @Imei = imei
         
     | 
| 
      
 67 
     | 
    
         
            +
                      @Wechat = wechat
         
     | 
| 
      
 68 
     | 
    
         
            +
                      @WechatTag = wechattag
         
     | 
| 
      
 69 
     | 
    
         
            +
                    end
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 72 
     | 
    
         
            +
                      @Service = params['Service']
         
     | 
| 
      
 73 
     | 
    
         
            +
                      @QQ = params['QQ']
         
     | 
| 
      
 74 
     | 
    
         
            +
                      @QQTag = params['QQTag']
         
     | 
| 
      
 75 
     | 
    
         
            +
                      @Url = params['Url']
         
     | 
| 
      
 76 
     | 
    
         
            +
                      @CertMd5 = params['CertMd5']
         
     | 
| 
      
 77 
     | 
    
         
            +
                      @PackageName = params['PackageName']
         
     | 
| 
      
 78 
     | 
    
         
            +
                      @FileMd5 = params['FileMd5']
         
     | 
| 
      
 79 
     | 
    
         
            +
                      @Scene = params['Scene']
         
     | 
| 
      
 80 
     | 
    
         
            +
                      @PhoneNumber = params['PhoneNumber']
         
     | 
| 
      
 81 
     | 
    
         
            +
                      @FileSize = params['FileSize']
         
     | 
| 
      
 82 
     | 
    
         
            +
                      @Ip = params['Ip']
         
     | 
| 
      
 83 
     | 
    
         
            +
                      @Imei = params['Imei']
         
     | 
| 
      
 84 
     | 
    
         
            +
                      @Wechat = params['Wechat']
         
     | 
| 
      
 85 
     | 
    
         
            +
                      @WechatTag = params['WechatTag']
         
     | 
| 
      
 86 
     | 
    
         
            +
                    end
         
     | 
| 
      
 87 
     | 
    
         
            +
                  end
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                  # 响应
         
     | 
| 
      
 90 
     | 
    
         
            +
                  class BRIResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 91 
     | 
    
         
            +
                    # @param Score: 风险分值,取值[0,100], 分值越高风险越高
         
     | 
| 
      
 92 
     | 
    
         
            +
                    # @type Score: Float
         
     | 
| 
      
 93 
     | 
    
         
            +
                    # @param Tags: 当Service为bri_num时,返回的风险标签有:
         
     | 
| 
      
 94 
     | 
    
         
            +
                    # 1) 疑似垃圾流量     说明: 结合号码的历史数据表现,判断该号码历史用互联网业务作恶行为,其产生的互联网行为对于其他业务来说属于作弊或垃圾流量。
         
     | 
| 
      
 95 
     | 
    
         
            +
                    # 2) 疑似新客户       说明: 通过号码互联网行为(社交,浏览等)是否异常判断为小号或接码平台帐号。
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
                    # 当Service为bri_dev时,返回的风险标签有:
         
     | 
| 
      
 98 
     | 
    
         
            +
                    # 1) 疑似真机假用户    说明: 根据设备的一些数据表现,我们判定为群控设备
         
     | 
| 
      
 99 
     | 
    
         
            +
                    # 2) 疑似假机         说明: 根据设备的一些数据表现,我们判定为模拟器或虚假设备ID
         
     | 
| 
      
 100 
     | 
    
         
            +
                    # 3) 疑似真用户假行为  说明: 根据设备的用户使用情况,我们判定该用户存在使用脚本、外挂、病毒等作弊行为
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
                    # 当Service为bri_ip时,返回的风险标签有:
         
     | 
| 
      
 103 
     | 
    
         
            +
                    # 1) 疑似垃圾流量     说明:结合IP的历史数据表现,判断该IP历史用互联网业务作恶行为,其产生的互联网行为对于其他业务来说属于作弊或垃圾流量。
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
                    # 当Service为bri_url时,返回的风险标签有:
         
     | 
| 
      
 106 
     | 
    
         
            +
                    # 1) 社工欺诈    说明: URL为社工欺诈
         
     | 
| 
      
 107 
     | 
    
         
            +
                    # 2) 信息诈骗    说明: URL为信息诈骗
         
     | 
| 
      
 108 
     | 
    
         
            +
                    # 3) 虚假销售    说明: URL为虚假销售
         
     | 
| 
      
 109 
     | 
    
         
            +
                    # 4) 恶意文件    说明: URL为恶意文件
         
     | 
| 
      
 110 
     | 
    
         
            +
                    # 5) 博彩网站    说明: URL为博彩网站
         
     | 
| 
      
 111 
     | 
    
         
            +
                    # 6) 色情网站    说明: URL为色情网站
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
                    # 当Service为bri_apk时,返回的风险标签有:
         
     | 
| 
      
 114 
     | 
    
         
            +
                    # 1) 安全   说明: APK为正规应用
         
     | 
| 
      
 115 
     | 
    
         
            +
                    # 2) 一般   说明: APK为未发现问题的正常应用
         
     | 
| 
      
 116 
     | 
    
         
            +
                    # 3) 风险   说明: APK为外挂或色情等风险应用
         
     | 
| 
      
 117 
     | 
    
         
            +
                    # 4) 病毒   说明: APK为包含恶意代码的恶意软件,可能破坏系统或者其他app正常使用
         
     | 
| 
      
 118 
     | 
    
         
            +
                    # @type Tags: Array
         
     | 
| 
      
 119 
     | 
    
         
            +
             
     | 
| 
      
 120 
     | 
    
         
            +
                    attr_accessor :Score, :Tags
         
     | 
| 
      
 121 
     | 
    
         
            +
                    
         
     | 
| 
      
 122 
     | 
    
         
            +
                    def initialize(score=nil, tags=nil)
         
     | 
| 
      
 123 
     | 
    
         
            +
                      @Score = score
         
     | 
| 
      
 124 
     | 
    
         
            +
                      @Tags = tags
         
     | 
| 
      
 125 
     | 
    
         
            +
                    end
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 128 
     | 
    
         
            +
                      @Score = params['Score']
         
     | 
| 
      
 129 
     | 
    
         
            +
                      @Tags = params['Tags']
         
     | 
| 
      
 130 
     | 
    
         
            +
                    end
         
     | 
| 
      
 131 
     | 
    
         
            +
                  end
         
     | 
| 
      
 132 
     | 
    
         
            +
             
     | 
| 
      
 133 
     | 
    
         
            +
                  # DescribeBRI请求参数结构体
         
     | 
| 
      
 134 
     | 
    
         
            +
                  class DescribeBRIRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 135 
     | 
    
         
            +
                    # @param RequestData: 业务风险情报请求体
         
     | 
| 
      
 136 
     | 
    
         
            +
                    # @type RequestData: :class:`Tencentcloud::Bri.v20190328.models.BRIRequest`
         
     | 
| 
      
 137 
     | 
    
         
            +
                    # @param ResourceId: 客户用于计费的资源ID
         
     | 
| 
      
 138 
     | 
    
         
            +
                    # @type ResourceId: String
         
     | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
      
 140 
     | 
    
         
            +
                    attr_accessor :RequestData, :ResourceId
         
     | 
| 
      
 141 
     | 
    
         
            +
                    
         
     | 
| 
      
 142 
     | 
    
         
            +
                    def initialize(requestdata=nil, resourceid=nil)
         
     | 
| 
      
 143 
     | 
    
         
            +
                      @RequestData = requestdata
         
     | 
| 
      
 144 
     | 
    
         
            +
                      @ResourceId = resourceid
         
     | 
| 
      
 145 
     | 
    
         
            +
                    end
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 148 
     | 
    
         
            +
                      unless params['RequestData'].nil?
         
     | 
| 
      
 149 
     | 
    
         
            +
                        @RequestData = BRIRequest.new
         
     | 
| 
      
 150 
     | 
    
         
            +
                        @RequestData.deserialize(params['RequestData'])
         
     | 
| 
      
 151 
     | 
    
         
            +
                      end
         
     | 
| 
      
 152 
     | 
    
         
            +
                      @ResourceId = params['ResourceId']
         
     | 
| 
      
 153 
     | 
    
         
            +
                    end
         
     | 
| 
      
 154 
     | 
    
         
            +
                  end
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
                  # DescribeBRI返回参数结构体
         
     | 
| 
      
 157 
     | 
    
         
            +
                  class DescribeBRIResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 158 
     | 
    
         
            +
                    # @param ResponseData: 业务风险情报响应体
         
     | 
| 
      
 159 
     | 
    
         
            +
                    # @type ResponseData: :class:`Tencentcloud::Bri.v20190328.models.BRIResponse`
         
     | 
| 
      
 160 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 161 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 162 
     | 
    
         
            +
             
     | 
| 
      
 163 
     | 
    
         
            +
                    attr_accessor :ResponseData, :RequestId
         
     | 
| 
      
 164 
     | 
    
         
            +
                    
         
     | 
| 
      
 165 
     | 
    
         
            +
                    def initialize(responsedata=nil, requestid=nil)
         
     | 
| 
      
 166 
     | 
    
         
            +
                      @ResponseData = responsedata
         
     | 
| 
      
 167 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 168 
     | 
    
         
            +
                    end
         
     | 
| 
      
 169 
     | 
    
         
            +
             
     | 
| 
      
 170 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 171 
     | 
    
         
            +
                      unless params['ResponseData'].nil?
         
     | 
| 
      
 172 
     | 
    
         
            +
                        @ResponseData = BRIResponse.new
         
     | 
| 
      
 173 
     | 
    
         
            +
                        @ResponseData.deserialize(params['ResponseData'])
         
     | 
| 
      
 174 
     | 
    
         
            +
                      end
         
     | 
| 
      
 175 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 176 
     | 
    
         
            +
                    end
         
     | 
| 
      
 177 
     | 
    
         
            +
                  end
         
     | 
| 
      
 178 
     | 
    
         
            +
             
     | 
| 
      
 179 
     | 
    
         
            +
                end
         
     | 
| 
      
 180 
     | 
    
         
            +
              end
         
     | 
| 
      
 181 
     | 
    
         
            +
            end
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,66 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: tencentcloud-sdk-bri
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.200
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Tencent Cloud
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-11-11 00:00:00.000000000 Z
         
     | 
| 
      
 12 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 13 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 14 
     | 
    
         
            +
              name: tencentcloud-sdk-common
         
     | 
| 
      
 15 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 16 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 17 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 18 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 19 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 20 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 21 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 22 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 23 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 24 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 25 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 26 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 27 
     | 
    
         
            +
            description: Tencent Cloud Ruby SDK is the official software development kit, which
         
     | 
| 
      
 28 
     | 
    
         
            +
              allows Ruby developers to write software that makes use of Tencent Cloud service
         
     | 
| 
      
 29 
     | 
    
         
            +
              BRI.
         
     | 
| 
      
 30 
     | 
    
         
            +
            email:
         
     | 
| 
      
 31 
     | 
    
         
            +
            - tencentcloudapi@tencent.com
         
     | 
| 
      
 32 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 33 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 34 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 35 
     | 
    
         
            +
            files:
         
     | 
| 
      
 36 
     | 
    
         
            +
            - lib/VERSION
         
     | 
| 
      
 37 
     | 
    
         
            +
            - lib/tencentcloud-sdk-bri.rb
         
     | 
| 
      
 38 
     | 
    
         
            +
            - lib/v20190328/client.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - lib/v20190328/models.rb
         
     | 
| 
      
 40 
     | 
    
         
            +
            homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
         
     | 
| 
      
 41 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 42 
     | 
    
         
            +
            - Apache-2.0
         
     | 
| 
      
 43 
     | 
    
         
            +
            metadata:
         
     | 
| 
      
 44 
     | 
    
         
            +
              source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-bri
         
     | 
| 
      
 45 
     | 
    
         
            +
              changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
         
     | 
| 
      
 46 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 47 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 48 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 49 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 50 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 51 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 52 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 53 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 54 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 55 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 56 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 57 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 58 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 59 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 60 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 61 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 62 
     | 
    
         
            +
            rubygems_version: 2.6.14
         
     | 
| 
      
 63 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 64 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 65 
     | 
    
         
            +
            summary: Tencent Cloud SDK for Ruby - BRI
         
     | 
| 
      
 66 
     | 
    
         
            +
            test_files: []
         
     |