tencentcloud-sdk-cls 3.0.643 → 3.0.645
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/v20201016/client.rb +24 -0
 - data/lib/v20201016/models.rb +79 -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: 6ec938b9748281e6278fa425033da6047b53cd1d
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: caaec341aa09605bf0d4e2f02aa97a808d8c8987
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a2f4a48009ed27af79c883a664e4dc5cfae0d95024835ae6e65c65f857b564035f294b01478411fc5b2f896e4924e39890b8400cd8aaffd1702d778cbb8fb788
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: cd81328e8e6d108a0087d67adbb033f1be14ee59f65d35f1c2143ce6d1976f983f0e576a287b5f0fefcd6827b62315c74f6b7cba2924d59cb4bb9136ac656d92
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.645
         
     | 
    
        data/lib/v20201016/client.rb
    CHANGED
    
    | 
         @@ -1973,6 +1973,30 @@ module TencentCloud 
     | 
|
| 
       1973 
1973 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       1974 
1974 
     | 
    
         
             
                    end
         
     | 
| 
       1975 
1975 
     | 
    
         | 
| 
      
 1976 
     | 
    
         
            +
                    # 本接口用于预览cos导入信息
         
     | 
| 
      
 1977 
     | 
    
         
            +
             
     | 
| 
      
 1978 
     | 
    
         
            +
                    # @param request: Request instance for SearchCosRechargeInfo.
         
     | 
| 
      
 1979 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::cls::V20201016::SearchCosRechargeInfoRequest`
         
     | 
| 
      
 1980 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::cls::V20201016::SearchCosRechargeInfoResponse`
         
     | 
| 
      
 1981 
     | 
    
         
            +
                    def SearchCosRechargeInfo(request)
         
     | 
| 
      
 1982 
     | 
    
         
            +
                      body = send_request('SearchCosRechargeInfo', request.serialize)
         
     | 
| 
      
 1983 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 1984 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 1985 
     | 
    
         
            +
                        model = SearchCosRechargeInfoResponse.new
         
     | 
| 
      
 1986 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 1987 
     | 
    
         
            +
                        model
         
     | 
| 
      
 1988 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1989 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 1990 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 1991 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 1992 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 1993 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1994 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 1995 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1996 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1997 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1998 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1999 
     | 
    
         
            +
             
     | 
| 
       1976 
2000 
     | 
    
         
             
                    # 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
         
     | 
| 
       1977 
2001 
     | 
    
         | 
| 
       1978 
2002 
     | 
    
         
             
                    # API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
         
     | 
    
        data/lib/v20201016/models.rb
    CHANGED
    
    | 
         @@ -7951,6 +7951,85 @@ module TencentCloud 
     | 
|
| 
       7951 
7951 
     | 
    
         
             
                    end
         
     | 
| 
       7952 
7952 
     | 
    
         
             
                  end
         
     | 
| 
       7953 
7953 
     | 
    
         | 
| 
      
 7954 
     | 
    
         
            +
                  # SearchCosRechargeInfo请求参数结构体
         
     | 
| 
      
 7955 
     | 
    
         
            +
                  class SearchCosRechargeInfoRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 7956 
     | 
    
         
            +
                    # @param TopicId: 日志主题 ID
         
     | 
| 
      
 7957 
     | 
    
         
            +
                    # @type TopicId: String
         
     | 
| 
      
 7958 
     | 
    
         
            +
                    # @param LogsetId: 日志集ID
         
     | 
| 
      
 7959 
     | 
    
         
            +
                    # @type LogsetId: String
         
     | 
| 
      
 7960 
     | 
    
         
            +
                    # @param Name: 投递任务名称
         
     | 
| 
      
 7961 
     | 
    
         
            +
                    # @type Name: String
         
     | 
| 
      
 7962 
     | 
    
         
            +
                    # @param Bucket: 存储桶
         
     | 
| 
      
 7963 
     | 
    
         
            +
                    # @type Bucket: String
         
     | 
| 
      
 7964 
     | 
    
         
            +
                    # @param BucketRegion: 存储桶所在地域
         
     | 
| 
      
 7965 
     | 
    
         
            +
                    # @type BucketRegion: String
         
     | 
| 
      
 7966 
     | 
    
         
            +
                    # @param Prefix: cos文件所在文件夹的前缀
         
     | 
| 
      
 7967 
     | 
    
         
            +
                    # @type Prefix: String
         
     | 
| 
      
 7968 
     | 
    
         
            +
                    # @param Compress: 压缩模式:   "", "gzip", "lzop", "snappy”;   默认""
         
     | 
| 
      
 7969 
     | 
    
         
            +
                    # @type Compress: String
         
     | 
| 
      
 7970 
     | 
    
         
            +
             
     | 
| 
      
 7971 
     | 
    
         
            +
                    attr_accessor :TopicId, :LogsetId, :Name, :Bucket, :BucketRegion, :Prefix, :Compress
         
     | 
| 
      
 7972 
     | 
    
         
            +
             
     | 
| 
      
 7973 
     | 
    
         
            +
                    def initialize(topicid=nil, logsetid=nil, name=nil, bucket=nil, bucketregion=nil, prefix=nil, compress=nil)
         
     | 
| 
      
 7974 
     | 
    
         
            +
                      @TopicId = topicid
         
     | 
| 
      
 7975 
     | 
    
         
            +
                      @LogsetId = logsetid
         
     | 
| 
      
 7976 
     | 
    
         
            +
                      @Name = name
         
     | 
| 
      
 7977 
     | 
    
         
            +
                      @Bucket = bucket
         
     | 
| 
      
 7978 
     | 
    
         
            +
                      @BucketRegion = bucketregion
         
     | 
| 
      
 7979 
     | 
    
         
            +
                      @Prefix = prefix
         
     | 
| 
      
 7980 
     | 
    
         
            +
                      @Compress = compress
         
     | 
| 
      
 7981 
     | 
    
         
            +
                    end
         
     | 
| 
      
 7982 
     | 
    
         
            +
             
     | 
| 
      
 7983 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 7984 
     | 
    
         
            +
                      @TopicId = params['TopicId']
         
     | 
| 
      
 7985 
     | 
    
         
            +
                      @LogsetId = params['LogsetId']
         
     | 
| 
      
 7986 
     | 
    
         
            +
                      @Name = params['Name']
         
     | 
| 
      
 7987 
     | 
    
         
            +
                      @Bucket = params['Bucket']
         
     | 
| 
      
 7988 
     | 
    
         
            +
                      @BucketRegion = params['BucketRegion']
         
     | 
| 
      
 7989 
     | 
    
         
            +
                      @Prefix = params['Prefix']
         
     | 
| 
      
 7990 
     | 
    
         
            +
                      @Compress = params['Compress']
         
     | 
| 
      
 7991 
     | 
    
         
            +
                    end
         
     | 
| 
      
 7992 
     | 
    
         
            +
                  end
         
     | 
| 
      
 7993 
     | 
    
         
            +
             
     | 
| 
      
 7994 
     | 
    
         
            +
                  # SearchCosRechargeInfo返回参数结构体
         
     | 
| 
      
 7995 
     | 
    
         
            +
                  class SearchCosRechargeInfoResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 7996 
     | 
    
         
            +
                    # @param Data: 匹配到的存储桶下的某个文件的前几行数据
         
     | 
| 
      
 7997 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 7998 
     | 
    
         
            +
                    # @type Data: Array
         
     | 
| 
      
 7999 
     | 
    
         
            +
                    # @param Sum: 匹配到的存储桶下的文件个数
         
     | 
| 
      
 8000 
     | 
    
         
            +
                    # @type Sum: Integer
         
     | 
| 
      
 8001 
     | 
    
         
            +
                    # @param Path: 当前预览文件路径
         
     | 
| 
      
 8002 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 8003 
     | 
    
         
            +
                    # @type Path: String
         
     | 
| 
      
 8004 
     | 
    
         
            +
                    # @param Msg: 预览获取数据失败原因
         
     | 
| 
      
 8005 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 8006 
     | 
    
         
            +
                    # @type Msg: String
         
     | 
| 
      
 8007 
     | 
    
         
            +
                    # @param Status: 状态
         
     | 
| 
      
 8008 
     | 
    
         
            +
                    # @type Status: Integer
         
     | 
| 
      
 8009 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 8010 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 8011 
     | 
    
         
            +
             
     | 
| 
      
 8012 
     | 
    
         
            +
                    attr_accessor :Data, :Sum, :Path, :Msg, :Status, :RequestId
         
     | 
| 
      
 8013 
     | 
    
         
            +
             
     | 
| 
      
 8014 
     | 
    
         
            +
                    def initialize(data=nil, sum=nil, path=nil, msg=nil, status=nil, requestid=nil)
         
     | 
| 
      
 8015 
     | 
    
         
            +
                      @Data = data
         
     | 
| 
      
 8016 
     | 
    
         
            +
                      @Sum = sum
         
     | 
| 
      
 8017 
     | 
    
         
            +
                      @Path = path
         
     | 
| 
      
 8018 
     | 
    
         
            +
                      @Msg = msg
         
     | 
| 
      
 8019 
     | 
    
         
            +
                      @Status = status
         
     | 
| 
      
 8020 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 8021 
     | 
    
         
            +
                    end
         
     | 
| 
      
 8022 
     | 
    
         
            +
             
     | 
| 
      
 8023 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 8024 
     | 
    
         
            +
                      @Data = params['Data']
         
     | 
| 
      
 8025 
     | 
    
         
            +
                      @Sum = params['Sum']
         
     | 
| 
      
 8026 
     | 
    
         
            +
                      @Path = params['Path']
         
     | 
| 
      
 8027 
     | 
    
         
            +
                      @Msg = params['Msg']
         
     | 
| 
      
 8028 
     | 
    
         
            +
                      @Status = params['Status']
         
     | 
| 
      
 8029 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 8030 
     | 
    
         
            +
                    end
         
     | 
| 
      
 8031 
     | 
    
         
            +
                  end
         
     | 
| 
      
 8032 
     | 
    
         
            +
             
     | 
| 
       7954 
8033 
     | 
    
         
             
                  # 多日志主题检索错误信息
         
     | 
| 
       7955 
8034 
     | 
    
         
             
                  class SearchLogErrors < TencentCloud::Common::AbstractModel
         
     | 
| 
       7956 
8035 
     | 
    
         
             
                    # @param TopicId: 日志主题ID
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-cls
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.645
         
     | 
| 
       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-08- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-08-28 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |