tencentcloud-sdk-cls 3.0.524 → 3.0.526
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 +72 -0
- data/lib/v20201016/models.rb +265 -2
- 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: 49958c87f314cce6e657cd36a5651a6e442f0f22
         | 
| 4 | 
            +
              data.tar.gz: b1eafc9af8e2f237c4e6cc3be8b1c099a5d170b4
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e598f3bc0faddd3f6e3aaa0ddfaba2c5ddfe8179478cbadbed469f107e4c6b01488cf30ffb2a4324b0fd1d2b1524ce2209ae78d6ccd6d9f466b224e11545c4eb
         | 
| 7 | 
            +
              data.tar.gz: ebfe22272ae20c67f15b003f0181b7a95d69ad4ee4bdc1b52ac7d3846c4e648cbaad7f89e3b274d188433b960aa5e8fe6ec1edf122c49e3dbe97a93532a60eb4
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.526
         | 
    
        data/lib/v20201016/client.rb
    CHANGED
    
    | @@ -221,6 +221,30 @@ module TencentCloud | |
| 221 221 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 222 222 | 
             
                    end
         | 
| 223 223 |  | 
| 224 | 
            +
                    # 本接口用于创建cos导入任务
         | 
| 225 | 
            +
             | 
| 226 | 
            +
                    # @param request: Request instance for CreateCosRecharge.
         | 
| 227 | 
            +
                    # @type request: :class:`Tencentcloud::cls::V20201016::CreateCosRechargeRequest`
         | 
| 228 | 
            +
                    # @rtype: :class:`Tencentcloud::cls::V20201016::CreateCosRechargeResponse`
         | 
| 229 | 
            +
                    def CreateCosRecharge(request)
         | 
| 230 | 
            +
                      body = send_request('CreateCosRecharge', request.serialize)
         | 
| 231 | 
            +
                      response = JSON.parse(body)
         | 
| 232 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 233 | 
            +
                        model = CreateCosRechargeResponse.new
         | 
| 234 | 
            +
                        model.deserialize(response['Response'])
         | 
| 235 | 
            +
                        model
         | 
| 236 | 
            +
                      else
         | 
| 237 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 238 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 239 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 240 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 241 | 
            +
                      end
         | 
| 242 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 243 | 
            +
                      raise e
         | 
| 244 | 
            +
                    rescue StandardError => e
         | 
| 245 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 246 | 
            +
                    end
         | 
| 247 | 
            +
             | 
| 224 248 | 
             
                    # 本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。参考文档https://cloud.tencent.com/document/product/614/56449
         | 
| 225 249 |  | 
| 226 250 | 
             
                    # @param request: Request instance for CreateExport.
         | 
| @@ -821,6 +845,30 @@ module TencentCloud | |
| 821 845 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 822 846 | 
             
                    end
         | 
| 823 847 |  | 
| 848 | 
            +
                    # 本接口用于获取cos导入配置
         | 
| 849 | 
            +
             | 
| 850 | 
            +
                    # @param request: Request instance for DescribeCosRecharges.
         | 
| 851 | 
            +
                    # @type request: :class:`Tencentcloud::cls::V20201016::DescribeCosRechargesRequest`
         | 
| 852 | 
            +
                    # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeCosRechargesResponse`
         | 
| 853 | 
            +
                    def DescribeCosRecharges(request)
         | 
| 854 | 
            +
                      body = send_request('DescribeCosRecharges', request.serialize)
         | 
| 855 | 
            +
                      response = JSON.parse(body)
         | 
| 856 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 857 | 
            +
                        model = DescribeCosRechargesResponse.new
         | 
| 858 | 
            +
                        model.deserialize(response['Response'])
         | 
| 859 | 
            +
                        model
         | 
| 860 | 
            +
                      else
         | 
| 861 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 862 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 863 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 864 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 865 | 
            +
                      end
         | 
| 866 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 867 | 
            +
                      raise e
         | 
| 868 | 
            +
                    rescue StandardError => e
         | 
| 869 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 870 | 
            +
                    end
         | 
| 871 | 
            +
             | 
| 824 872 | 
             
                    # 本接口用于获取日志下载任务列表
         | 
| 825 873 |  | 
| 826 874 | 
             
                    # @param request: Request instance for DescribeExports.
         | 
| @@ -1277,6 +1325,30 @@ module TencentCloud | |
| 1277 1325 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1278 1326 | 
             
                    end
         | 
| 1279 1327 |  | 
| 1328 | 
            +
                    # 本接口用于修改cos导入任务
         | 
| 1329 | 
            +
             | 
| 1330 | 
            +
                    # @param request: Request instance for ModifyCosRecharge.
         | 
| 1331 | 
            +
                    # @type request: :class:`Tencentcloud::cls::V20201016::ModifyCosRechargeRequest`
         | 
| 1332 | 
            +
                    # @rtype: :class:`Tencentcloud::cls::V20201016::ModifyCosRechargeResponse`
         | 
| 1333 | 
            +
                    def ModifyCosRecharge(request)
         | 
| 1334 | 
            +
                      body = send_request('ModifyCosRecharge', request.serialize)
         | 
| 1335 | 
            +
                      response = JSON.parse(body)
         | 
| 1336 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 1337 | 
            +
                        model = ModifyCosRechargeResponse.new
         | 
| 1338 | 
            +
                        model.deserialize(response['Response'])
         | 
| 1339 | 
            +
                        model
         | 
| 1340 | 
            +
                      else
         | 
| 1341 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 1342 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 1343 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 1344 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 1345 | 
            +
                      end
         | 
| 1346 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 1347 | 
            +
                      raise e
         | 
| 1348 | 
            +
                    rescue StandardError => e
         | 
| 1349 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1350 | 
            +
                    end
         | 
| 1351 | 
            +
             | 
| 1280 1352 | 
             
                    # 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
         | 
| 1281 1353 |  | 
| 1282 1354 | 
             
                    # @param request: Request instance for ModifyIndex.
         | 
    
        data/lib/v20201016/models.rb
    CHANGED
    
    | @@ -905,6 +905,97 @@ module TencentCloud | |
| 905 905 | 
             
                    end
         | 
| 906 906 | 
             
                  end
         | 
| 907 907 |  | 
| 908 | 
            +
                  # cos导入配置信息
         | 
| 909 | 
            +
                  class CosRechargeInfo < TencentCloud::Common::AbstractModel
         | 
| 910 | 
            +
                    # @param Id: COS导入配置ID
         | 
| 911 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 912 | 
            +
                    # @type Id: String
         | 
| 913 | 
            +
                    # @param TopicId: 日志主题ID
         | 
| 914 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 915 | 
            +
                    # @type TopicId: String
         | 
| 916 | 
            +
                    # @param LogsetId: 日志集ID
         | 
| 917 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 918 | 
            +
                    # @type LogsetId: String
         | 
| 919 | 
            +
                    # @param Name: cos导入任务名称
         | 
| 920 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 921 | 
            +
                    # @type Name: String
         | 
| 922 | 
            +
                    # @param Bucket: cos存储桶
         | 
| 923 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 924 | 
            +
                    # @type Bucket: String
         | 
| 925 | 
            +
                    # @param BucketRegion: cos存储桶地域
         | 
| 926 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 927 | 
            +
                    # @type BucketRegion: String
         | 
| 928 | 
            +
                    # @param Prefix: cos存储桶前缀地址
         | 
| 929 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 930 | 
            +
                    # @type Prefix: String
         | 
| 931 | 
            +
                    # @param LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志;
         | 
| 932 | 
            +
                    # 默认为minimalist_log
         | 
| 933 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 934 | 
            +
                    # @type LogType: String
         | 
| 935 | 
            +
                    # @param Status: 状态   status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。
         | 
| 936 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 937 | 
            +
                    # @type Status: Integer
         | 
| 938 | 
            +
                    # @param Enable: 是否启用:   0: 未启用  , 1:启用
         | 
| 939 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 940 | 
            +
                    # @type Enable: Integer
         | 
| 941 | 
            +
                    # @param CreateTime: 创建时间
         | 
| 942 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 943 | 
            +
                    # @type CreateTime: String
         | 
| 944 | 
            +
                    # @param UpdateTime: 更新时间
         | 
| 945 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 946 | 
            +
                    # @type UpdateTime: String
         | 
| 947 | 
            +
                    # @param Progress: 进度条百分值
         | 
| 948 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 949 | 
            +
                    # @type Progress: Integer
         | 
| 950 | 
            +
                    # @param Compress: supported: "", "gzip", "lzop", "snappy”; 默认空
         | 
| 951 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 952 | 
            +
                    # @type Compress: String
         | 
| 953 | 
            +
                    # @param ExtractRuleInfo: 见: ExtractRuleInfo 结构描述
         | 
| 954 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 955 | 
            +
                    # @type ExtractRuleInfo: :class:`Tencentcloud::Cls.v20201016.models.ExtractRuleInfo`
         | 
| 956 | 
            +
             | 
| 957 | 
            +
                    attr_accessor :Id, :TopicId, :LogsetId, :Name, :Bucket, :BucketRegion, :Prefix, :LogType, :Status, :Enable, :CreateTime, :UpdateTime, :Progress, :Compress, :ExtractRuleInfo
         | 
| 958 | 
            +
                    
         | 
| 959 | 
            +
                    def initialize(id=nil, topicid=nil, logsetid=nil, name=nil, bucket=nil, bucketregion=nil, prefix=nil, logtype=nil, status=nil, enable=nil, createtime=nil, updatetime=nil, progress=nil, compress=nil, extractruleinfo=nil)
         | 
| 960 | 
            +
                      @Id = id
         | 
| 961 | 
            +
                      @TopicId = topicid
         | 
| 962 | 
            +
                      @LogsetId = logsetid
         | 
| 963 | 
            +
                      @Name = name
         | 
| 964 | 
            +
                      @Bucket = bucket
         | 
| 965 | 
            +
                      @BucketRegion = bucketregion
         | 
| 966 | 
            +
                      @Prefix = prefix
         | 
| 967 | 
            +
                      @LogType = logtype
         | 
| 968 | 
            +
                      @Status = status
         | 
| 969 | 
            +
                      @Enable = enable
         | 
| 970 | 
            +
                      @CreateTime = createtime
         | 
| 971 | 
            +
                      @UpdateTime = updatetime
         | 
| 972 | 
            +
                      @Progress = progress
         | 
| 973 | 
            +
                      @Compress = compress
         | 
| 974 | 
            +
                      @ExtractRuleInfo = extractruleinfo
         | 
| 975 | 
            +
                    end
         | 
| 976 | 
            +
             | 
| 977 | 
            +
                    def deserialize(params)
         | 
| 978 | 
            +
                      @Id = params['Id']
         | 
| 979 | 
            +
                      @TopicId = params['TopicId']
         | 
| 980 | 
            +
                      @LogsetId = params['LogsetId']
         | 
| 981 | 
            +
                      @Name = params['Name']
         | 
| 982 | 
            +
                      @Bucket = params['Bucket']
         | 
| 983 | 
            +
                      @BucketRegion = params['BucketRegion']
         | 
| 984 | 
            +
                      @Prefix = params['Prefix']
         | 
| 985 | 
            +
                      @LogType = params['LogType']
         | 
| 986 | 
            +
                      @Status = params['Status']
         | 
| 987 | 
            +
                      @Enable = params['Enable']
         | 
| 988 | 
            +
                      @CreateTime = params['CreateTime']
         | 
| 989 | 
            +
                      @UpdateTime = params['UpdateTime']
         | 
| 990 | 
            +
                      @Progress = params['Progress']
         | 
| 991 | 
            +
                      @Compress = params['Compress']
         | 
| 992 | 
            +
                      unless params['ExtractRuleInfo'].nil?
         | 
| 993 | 
            +
                        @ExtractRuleInfo = ExtractRuleInfo.new
         | 
| 994 | 
            +
                        @ExtractRuleInfo.deserialize(params['ExtractRuleInfo'])
         | 
| 995 | 
            +
                      end
         | 
| 996 | 
            +
                    end
         | 
| 997 | 
            +
                  end
         | 
| 998 | 
            +
             | 
| 908 999 | 
             
                  # CreateAlarmNotice请求参数结构体
         | 
| 909 1000 | 
             
                  class CreateAlarmNoticeRequest < TencentCloud::Common::AbstractModel
         | 
| 910 1001 | 
             
                    # @param Name: 通知渠道组名称。
         | 
| @@ -1309,6 +1400,74 @@ module TencentCloud | |
| 1309 1400 | 
             
                    end
         | 
| 1310 1401 | 
             
                  end
         | 
| 1311 1402 |  | 
| 1403 | 
            +
                  # CreateCosRecharge请求参数结构体
         | 
| 1404 | 
            +
                  class CreateCosRechargeRequest < TencentCloud::Common::AbstractModel
         | 
| 1405 | 
            +
                    # @param TopicId: 日志主题 ID
         | 
| 1406 | 
            +
                    # @type TopicId: String
         | 
| 1407 | 
            +
                    # @param LogsetId: 日志集ID
         | 
| 1408 | 
            +
                    # @type LogsetId: String
         | 
| 1409 | 
            +
                    # @param Name: 投递任务名称
         | 
| 1410 | 
            +
                    # @type Name: String
         | 
| 1411 | 
            +
                    # @param Bucket: COS存储桶
         | 
| 1412 | 
            +
                    # @type Bucket: String
         | 
| 1413 | 
            +
                    # @param BucketRegion: COS存储桶所在地域
         | 
| 1414 | 
            +
                    # @type BucketRegion: String
         | 
| 1415 | 
            +
                    # @param Prefix: COS文件所在文件夹的前缀
         | 
| 1416 | 
            +
                    # @type Prefix: String
         | 
| 1417 | 
            +
                    # @param LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文;
         | 
| 1418 | 
            +
                    # 默认为minimalist_log
         | 
| 1419 | 
            +
                    # @type LogType: String
         | 
| 1420 | 
            +
                    # @param Compress: supported: "", "gzip", "lzop", "snappy”; 默认空
         | 
| 1421 | 
            +
                    # @type Compress: String
         | 
| 1422 | 
            +
                    # @param ExtractRuleInfo: 提取规则,如果设置了ExtractRule,则必须设置LogType
         | 
| 1423 | 
            +
                    # @type ExtractRuleInfo: :class:`Tencentcloud::Cls.v20201016.models.ExtractRuleInfo`
         | 
| 1424 | 
            +
             | 
| 1425 | 
            +
                    attr_accessor :TopicId, :LogsetId, :Name, :Bucket, :BucketRegion, :Prefix, :LogType, :Compress, :ExtractRuleInfo
         | 
| 1426 | 
            +
                    
         | 
| 1427 | 
            +
                    def initialize(topicid=nil, logsetid=nil, name=nil, bucket=nil, bucketregion=nil, prefix=nil, logtype=nil, compress=nil, extractruleinfo=nil)
         | 
| 1428 | 
            +
                      @TopicId = topicid
         | 
| 1429 | 
            +
                      @LogsetId = logsetid
         | 
| 1430 | 
            +
                      @Name = name
         | 
| 1431 | 
            +
                      @Bucket = bucket
         | 
| 1432 | 
            +
                      @BucketRegion = bucketregion
         | 
| 1433 | 
            +
                      @Prefix = prefix
         | 
| 1434 | 
            +
                      @LogType = logtype
         | 
| 1435 | 
            +
                      @Compress = compress
         | 
| 1436 | 
            +
                      @ExtractRuleInfo = extractruleinfo
         | 
| 1437 | 
            +
                    end
         | 
| 1438 | 
            +
             | 
| 1439 | 
            +
                    def deserialize(params)
         | 
| 1440 | 
            +
                      @TopicId = params['TopicId']
         | 
| 1441 | 
            +
                      @LogsetId = params['LogsetId']
         | 
| 1442 | 
            +
                      @Name = params['Name']
         | 
| 1443 | 
            +
                      @Bucket = params['Bucket']
         | 
| 1444 | 
            +
                      @BucketRegion = params['BucketRegion']
         | 
| 1445 | 
            +
                      @Prefix = params['Prefix']
         | 
| 1446 | 
            +
                      @LogType = params['LogType']
         | 
| 1447 | 
            +
                      @Compress = params['Compress']
         | 
| 1448 | 
            +
                      unless params['ExtractRuleInfo'].nil?
         | 
| 1449 | 
            +
                        @ExtractRuleInfo = ExtractRuleInfo.new
         | 
| 1450 | 
            +
                        @ExtractRuleInfo.deserialize(params['ExtractRuleInfo'])
         | 
| 1451 | 
            +
                      end
         | 
| 1452 | 
            +
                    end
         | 
| 1453 | 
            +
                  end
         | 
| 1454 | 
            +
             | 
| 1455 | 
            +
                  # CreateCosRecharge返回参数结构体
         | 
| 1456 | 
            +
                  class CreateCosRechargeResponse < TencentCloud::Common::AbstractModel
         | 
| 1457 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 1458 | 
            +
                    # @type RequestId: String
         | 
| 1459 | 
            +
             | 
| 1460 | 
            +
                    attr_accessor :RequestId
         | 
| 1461 | 
            +
                    
         | 
| 1462 | 
            +
                    def initialize(requestid=nil)
         | 
| 1463 | 
            +
                      @RequestId = requestid
         | 
| 1464 | 
            +
                    end
         | 
| 1465 | 
            +
             | 
| 1466 | 
            +
                    def deserialize(params)
         | 
| 1467 | 
            +
                      @RequestId = params['RequestId']
         | 
| 1468 | 
            +
                    end
         | 
| 1469 | 
            +
                  end
         | 
| 1470 | 
            +
             | 
| 1312 1471 | 
             
                  # CreateExport请求参数结构体
         | 
| 1313 1472 | 
             
                  class CreateExportRequest < TencentCloud::Common::AbstractModel
         | 
| 1314 1473 | 
             
                    # @param TopicId: 日志主题ID
         | 
| @@ -2589,6 +2748,58 @@ module TencentCloud | |
| 2589 2748 | 
             
                    end
         | 
| 2590 2749 | 
             
                  end
         | 
| 2591 2750 |  | 
| 2751 | 
            +
                  # DescribeCosRecharges请求参数结构体
         | 
| 2752 | 
            +
                  class DescribeCosRechargesRequest < TencentCloud::Common::AbstractModel
         | 
| 2753 | 
            +
                    # @param TopicId: 日志主题 ID
         | 
| 2754 | 
            +
                    # @type TopicId: String
         | 
| 2755 | 
            +
                    # @param Status: 状态   status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。
         | 
| 2756 | 
            +
                    # @type Status: Integer
         | 
| 2757 | 
            +
                    # @param Enable: 是否启用:   0: 未启用  , 1:启用
         | 
| 2758 | 
            +
                    # @type Enable: Integer
         | 
| 2759 | 
            +
             | 
| 2760 | 
            +
                    attr_accessor :TopicId, :Status, :Enable
         | 
| 2761 | 
            +
                    
         | 
| 2762 | 
            +
                    def initialize(topicid=nil, status=nil, enable=nil)
         | 
| 2763 | 
            +
                      @TopicId = topicid
         | 
| 2764 | 
            +
                      @Status = status
         | 
| 2765 | 
            +
                      @Enable = enable
         | 
| 2766 | 
            +
                    end
         | 
| 2767 | 
            +
             | 
| 2768 | 
            +
                    def deserialize(params)
         | 
| 2769 | 
            +
                      @TopicId = params['TopicId']
         | 
| 2770 | 
            +
                      @Status = params['Status']
         | 
| 2771 | 
            +
                      @Enable = params['Enable']
         | 
| 2772 | 
            +
                    end
         | 
| 2773 | 
            +
                  end
         | 
| 2774 | 
            +
             | 
| 2775 | 
            +
                  # DescribeCosRecharges返回参数结构体
         | 
| 2776 | 
            +
                  class DescribeCosRechargesResponse < TencentCloud::Common::AbstractModel
         | 
| 2777 | 
            +
                    # @param Data: 见: CosRechargeInfo 结构描述
         | 
| 2778 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2779 | 
            +
                    # @type Data: Array
         | 
| 2780 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 2781 | 
            +
                    # @type RequestId: String
         | 
| 2782 | 
            +
             | 
| 2783 | 
            +
                    attr_accessor :Data, :RequestId
         | 
| 2784 | 
            +
                    
         | 
| 2785 | 
            +
                    def initialize(data=nil, requestid=nil)
         | 
| 2786 | 
            +
                      @Data = data
         | 
| 2787 | 
            +
                      @RequestId = requestid
         | 
| 2788 | 
            +
                    end
         | 
| 2789 | 
            +
             | 
| 2790 | 
            +
                    def deserialize(params)
         | 
| 2791 | 
            +
                      unless params['Data'].nil?
         | 
| 2792 | 
            +
                        @Data = []
         | 
| 2793 | 
            +
                        params['Data'].each do |i|
         | 
| 2794 | 
            +
                          cosrechargeinfo_tmp = CosRechargeInfo.new
         | 
| 2795 | 
            +
                          cosrechargeinfo_tmp.deserialize(i)
         | 
| 2796 | 
            +
                          @Data << cosrechargeinfo_tmp
         | 
| 2797 | 
            +
                        end
         | 
| 2798 | 
            +
                      end
         | 
| 2799 | 
            +
                      @RequestId = params['RequestId']
         | 
| 2800 | 
            +
                    end
         | 
| 2801 | 
            +
                  end
         | 
| 2802 | 
            +
             | 
| 2592 2803 | 
             
                  # DescribeExports请求参数结构体
         | 
| 2593 2804 | 
             
                  class DescribeExportsRequest < TencentCloud::Common::AbstractModel
         | 
| 2594 2805 | 
             
                    # @param TopicId: 日志主题ID
         | 
| @@ -4627,6 +4838,50 @@ module TencentCloud | |
| 4627 4838 | 
             
                    end
         | 
| 4628 4839 | 
             
                  end
         | 
| 4629 4840 |  | 
| 4841 | 
            +
                  # ModifyCosRecharge请求参数结构体
         | 
| 4842 | 
            +
                  class ModifyCosRechargeRequest < TencentCloud::Common::AbstractModel
         | 
| 4843 | 
            +
                    # @param Id: COS导入配置ID
         | 
| 4844 | 
            +
                    # @type Id: String
         | 
| 4845 | 
            +
                    # @param TopicId: 日志主题Id
         | 
| 4846 | 
            +
                    # @type TopicId: String
         | 
| 4847 | 
            +
                    # @param Name: COS导入任务名称
         | 
| 4848 | 
            +
                    # @type Name: String
         | 
| 4849 | 
            +
                    # @param Enable: 是否启用:   0: 未启用  , 1:启用
         | 
| 4850 | 
            +
                    # @type Enable: Integer
         | 
| 4851 | 
            +
             | 
| 4852 | 
            +
                    attr_accessor :Id, :TopicId, :Name, :Enable
         | 
| 4853 | 
            +
                    
         | 
| 4854 | 
            +
                    def initialize(id=nil, topicid=nil, name=nil, enable=nil)
         | 
| 4855 | 
            +
                      @Id = id
         | 
| 4856 | 
            +
                      @TopicId = topicid
         | 
| 4857 | 
            +
                      @Name = name
         | 
| 4858 | 
            +
                      @Enable = enable
         | 
| 4859 | 
            +
                    end
         | 
| 4860 | 
            +
             | 
| 4861 | 
            +
                    def deserialize(params)
         | 
| 4862 | 
            +
                      @Id = params['Id']
         | 
| 4863 | 
            +
                      @TopicId = params['TopicId']
         | 
| 4864 | 
            +
                      @Name = params['Name']
         | 
| 4865 | 
            +
                      @Enable = params['Enable']
         | 
| 4866 | 
            +
                    end
         | 
| 4867 | 
            +
                  end
         | 
| 4868 | 
            +
             | 
| 4869 | 
            +
                  # ModifyCosRecharge返回参数结构体
         | 
| 4870 | 
            +
                  class ModifyCosRechargeResponse < TencentCloud::Common::AbstractModel
         | 
| 4871 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 4872 | 
            +
                    # @type RequestId: String
         | 
| 4873 | 
            +
             | 
| 4874 | 
            +
                    attr_accessor :RequestId
         | 
| 4875 | 
            +
                    
         | 
| 4876 | 
            +
                    def initialize(requestid=nil)
         | 
| 4877 | 
            +
                      @RequestId = requestid
         | 
| 4878 | 
            +
                    end
         | 
| 4879 | 
            +
             | 
| 4880 | 
            +
                    def deserialize(params)
         | 
| 4881 | 
            +
                      @RequestId = params['RequestId']
         | 
| 4882 | 
            +
                    end
         | 
| 4883 | 
            +
                  end
         | 
| 4884 | 
            +
             | 
| 4630 4885 | 
             
                  # ModifyIndex请求参数结构体
         | 
| 4631 4886 | 
             
                  class ModifyIndexRequest < TencentCloud::Common::AbstractModel
         | 
| 4632 4887 | 
             
                    # @param TopicId: 日志主题ID
         | 
| @@ -5604,8 +5859,10 @@ module TencentCloud | |
| 5604 5859 | 
             
                  # 创建资源实例时同时绑定的标签对说明
         | 
| 5605 5860 | 
             
                  class Tag < TencentCloud::Common::AbstractModel
         | 
| 5606 5861 | 
             
                    # @param Key: 标签键
         | 
| 5862 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 5607 5863 | 
             
                    # @type Key: String
         | 
| 5608 5864 | 
             
                    # @param Value: 标签值
         | 
| 5865 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 5609 5866 | 
             
                    # @type Value: String
         | 
| 5610 5867 |  | 
| 5611 5868 | 
             
                    attr_accessor :Key, :Value
         | 
| @@ -5661,10 +5918,14 @@ module TencentCloud | |
| 5661 5918 | 
             
                    # @param Describes: 日志主题描述
         | 
| 5662 5919 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 5663 5920 | 
             
                    # @type Describes: String
         | 
| 5921 | 
            +
                    # @param HotPeriod: 开启日志沉降,热存储的生命周期, hotPeriod < Period。
         | 
| 5922 | 
            +
                    # 热存储为 hotPeriod, 冷存储则为 Period-hotPeriod。
         | 
| 5923 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 5924 | 
            +
                    # @type HotPeriod: Integer
         | 
| 5664 5925 |  | 
| 5665 | 
            -
                    attr_accessor :LogsetId, :TopicId, :TopicName, :PartitionCount, :Index, :AssumerName, :CreateTime, :Status, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :SubAssumerName, :Describes
         | 
| 5926 | 
            +
                    attr_accessor :LogsetId, :TopicId, :TopicName, :PartitionCount, :Index, :AssumerName, :CreateTime, :Status, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :SubAssumerName, :Describes, :HotPeriod
         | 
| 5666 5927 |  | 
| 5667 | 
            -
                    def initialize(logsetid=nil, topicid=nil, topicname=nil, partitioncount=nil, index=nil, assumername=nil, createtime=nil, status=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, subassumername=nil, describes=nil)
         | 
| 5928 | 
            +
                    def initialize(logsetid=nil, topicid=nil, topicname=nil, partitioncount=nil, index=nil, assumername=nil, createtime=nil, status=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, subassumername=nil, describes=nil, hotperiod=nil)
         | 
| 5668 5929 | 
             
                      @LogsetId = logsetid
         | 
| 5669 5930 | 
             
                      @TopicId = topicid
         | 
| 5670 5931 | 
             
                      @TopicName = topicname
         | 
| @@ -5680,6 +5941,7 @@ module TencentCloud | |
| 5680 5941 | 
             
                      @Period = period
         | 
| 5681 5942 | 
             
                      @SubAssumerName = subassumername
         | 
| 5682 5943 | 
             
                      @Describes = describes
         | 
| 5944 | 
            +
                      @HotPeriod = hotperiod
         | 
| 5683 5945 | 
             
                    end
         | 
| 5684 5946 |  | 
| 5685 5947 | 
             
                    def deserialize(params)
         | 
| @@ -5705,6 +5967,7 @@ module TencentCloud | |
| 5705 5967 | 
             
                      @Period = params['Period']
         | 
| 5706 5968 | 
             
                      @SubAssumerName = params['SubAssumerName']
         | 
| 5707 5969 | 
             
                      @Describes = params['Describes']
         | 
| 5970 | 
            +
                      @HotPeriod = params['HotPeriod']
         | 
| 5708 5971 | 
             
                    end
         | 
| 5709 5972 | 
             
                  end
         | 
| 5710 5973 |  | 
    
        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.526
         | 
| 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-03- | 
| 11 | 
            +
            date: 2023-03-10 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |