tencentcloud-sdk-cls 3.0.643 → 3.0.644

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2bfbb5157f904f9eb8c7fca460ad0a316abe1d4
4
- data.tar.gz: f0d1da17501a17cad1870ada554774a84c4c6a5b
3
+ metadata.gz: 075eaa0997f259bb5167becd674e4c26b2c23fad
4
+ data.tar.gz: 579c5a376fa50956146f6b70294814c07e5fa3c8
5
5
  SHA512:
6
- metadata.gz: aec98351f12cd37692533488e73a784c59acd087cfc13d7bfeac85bd03b4283b57b88748e63e687b789590e8f513f29d78462163b2aeecd19ece01014ab146c7
7
- data.tar.gz: 2dfbe841f0b3e7351f68d9dd7241b9c1df04c6428a99c725d303652e3f92f6addfea5ac91a4618cc75dcd32c0f704af50bc45814e23ffdf5572704af0ff8d274
6
+ metadata.gz: 5c8520ff201e6a9705aea0579b662242382d0f8a890c3cb3aecf384d577c3eba264323cea0d89db9cef3b5d892d03fac7d7a1d581e7f804427d6669fe402dd3a
7
+ data.tar.gz: 5e6f9c9d50a04e0f8a6b6878090182c603c75ce5ec9d6a8a234264a8a1dd4926999dc803872c53b6300e80713d035e70cce1fb8198830c9fc7cfb10ff8df0039
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.643
1
+ 3.0.644
@@ -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)。
@@ -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.643
4
+ version: 3.0.644
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-24 00:00:00.000000000 Z
11
+ date: 2023-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common