tencentcloud-sdk-cls 3.0.881 → 3.0.883
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 +96 -0
- data/lib/v20201016/models.rb +261 -12
- 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: 01d4c22c9f26eb1bea77f77dc94d5b447af9c456
|
4
|
+
data.tar.gz: 1359e7872bb436aac012c2471514be108732cc46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b0f82ff107d2971110c36b62fe02233115137aa6e8be6c087cc38298f05f01f3c190e0184666e99f9f8389afbdb35b347f2425f794e1105ea6098e629356211
|
7
|
+
data.tar.gz: aef6763d39377347492bf12fc707dcaa0369e45e39b3602db8caa48853d2b9185e56ac8a5cb166a2b30dc2c2a5be097ff33c2636873c40fdb20144e62b1bb6ba
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.883
|
data/lib/v20201016/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 创建控制台分享
|
273
|
+
|
274
|
+
# @param request: Request instance for CreateConsoleSharing.
|
275
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CreateConsoleSharingRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateConsoleSharingResponse`
|
277
|
+
def CreateConsoleSharing(request)
|
278
|
+
body = send_request('CreateConsoleSharing', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = CreateConsoleSharingResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 本接口用于创建投递CKafka任务
|
273
297
|
|
274
298
|
# @param request: Request instance for CreateConsumer.
|
@@ -725,6 +749,30 @@ module TencentCloud
|
|
725
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
750
|
end
|
727
751
|
|
752
|
+
# 删除控制台分享
|
753
|
+
|
754
|
+
# @param request: Request instance for DeleteConsoleSharing.
|
755
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteConsoleSharingRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteConsoleSharingResponse`
|
757
|
+
def DeleteConsoleSharing(request)
|
758
|
+
body = send_request('DeleteConsoleSharing', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = DeleteConsoleSharingResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
728
776
|
# 本接口用于删除投递配置
|
729
777
|
|
730
778
|
# @param request: Request instance for DeleteConsumer.
|
@@ -1181,6 +1229,30 @@ module TencentCloud
|
|
1181
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
1230
|
end
|
1183
1231
|
|
1232
|
+
# 批量查询控制台分享列表
|
1233
|
+
|
1234
|
+
# @param request: Request instance for DescribeConsoleSharingList.
|
1235
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeConsoleSharingListRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeConsoleSharingListResponse`
|
1237
|
+
def DescribeConsoleSharingList(request)
|
1238
|
+
body = send_request('DescribeConsoleSharingList', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = DescribeConsoleSharingListResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
1184
1256
|
# 本接口用于获取投递配置
|
1185
1257
|
|
1186
1258
|
# @param request: Request instance for DescribeConsumer.
|
@@ -1830,6 +1902,30 @@ module TencentCloud
|
|
1830
1902
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1831
1903
|
end
|
1832
1904
|
|
1905
|
+
# 修改控制台分享,目前仅允许修改有效期
|
1906
|
+
|
1907
|
+
# @param request: Request instance for ModifyConsoleSharing.
|
1908
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyConsoleSharingRequest`
|
1909
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyConsoleSharingResponse`
|
1910
|
+
def ModifyConsoleSharing(request)
|
1911
|
+
body = send_request('ModifyConsoleSharing', request.serialize)
|
1912
|
+
response = JSON.parse(body)
|
1913
|
+
if response['Response'].key?('Error') == false
|
1914
|
+
model = ModifyConsoleSharingResponse.new
|
1915
|
+
model.deserialize(response['Response'])
|
1916
|
+
model
|
1917
|
+
else
|
1918
|
+
code = response['Response']['Error']['Code']
|
1919
|
+
message = response['Response']['Error']['Message']
|
1920
|
+
reqid = response['Response']['RequestId']
|
1921
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1922
|
+
end
|
1923
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1924
|
+
raise e
|
1925
|
+
rescue StandardError => e
|
1926
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1927
|
+
end
|
1928
|
+
|
1833
1929
|
# 本接口用于修改投递Ckafka任务
|
1834
1930
|
|
1835
1931
|
# @param request: Request instance for ModifyConsumer.
|
data/lib/v20201016/models.rb
CHANGED
@@ -1301,6 +1301,101 @@ module TencentCloud
|
|
1301
1301
|
end
|
1302
1302
|
end
|
1303
1303
|
|
1304
|
+
# 控制台分享配置
|
1305
|
+
class ConsoleSharingConfig < TencentCloud::Common::AbstractModel
|
1306
|
+
# @param Name: 分享链接名称
|
1307
|
+
# @type Name: String
|
1308
|
+
# @param Type: 仪表盘: 1; 检索页:2
|
1309
|
+
# @type Type: Integer
|
1310
|
+
# @param DurationMilliseconds: 分享链接有效期,单位:毫秒,最长支持30天
|
1311
|
+
# @type DurationMilliseconds: Integer
|
1312
|
+
# @param Resources: 允许访问的资源列表
|
1313
|
+
# @type Resources: Array
|
1314
|
+
# @param Domain: 分享链接域名,可选范围
|
1315
|
+
# - 公网匿名分享:填写clsshare.com
|
1316
|
+
# - datasight内网匿名分享(若开启):datasight内网域名
|
1317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1318
|
+
# @type Domain: String
|
1319
|
+
# @param VerifyCode: 验证码
|
1320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1321
|
+
# @type VerifyCode: String
|
1322
|
+
# @param StartTime: 开始时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
|
1323
|
+
# @type StartTime: String
|
1324
|
+
# @param EndTime: 结束时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
|
1325
|
+
# @type EndTime: String
|
1326
|
+
# @param NowTime: 当StartTime/EndTime为相对时间时,基于NowTime计算绝对时间,默认为创建时间
|
1327
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1328
|
+
# @type NowTime: Integer
|
1329
|
+
# @param Params: params参数列表,当Type为2时支持
|
1330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1331
|
+
# @type Params: Array
|
1332
|
+
# @param IsLockTimeRange: 是否允许访问者自行修改检索分析时间范围,默认不锁定
|
1333
|
+
# @type IsLockTimeRange: Boolean
|
1334
|
+
# @param IsLockQuery: 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态
|
1335
|
+
# @type IsLockQuery: Boolean
|
1336
|
+
|
1337
|
+
attr_accessor :Name, :Type, :DurationMilliseconds, :Resources, :Domain, :VerifyCode, :StartTime, :EndTime, :NowTime, :Params, :IsLockTimeRange, :IsLockQuery
|
1338
|
+
|
1339
|
+
def initialize(name=nil, type=nil, durationmilliseconds=nil, resources=nil, domain=nil, verifycode=nil, starttime=nil, endtime=nil, nowtime=nil, params=nil, islocktimerange=nil, islockquery=nil)
|
1340
|
+
@Name = name
|
1341
|
+
@Type = type
|
1342
|
+
@DurationMilliseconds = durationmilliseconds
|
1343
|
+
@Resources = resources
|
1344
|
+
@Domain = domain
|
1345
|
+
@VerifyCode = verifycode
|
1346
|
+
@StartTime = starttime
|
1347
|
+
@EndTime = endtime
|
1348
|
+
@NowTime = nowtime
|
1349
|
+
@Params = params
|
1350
|
+
@IsLockTimeRange = islocktimerange
|
1351
|
+
@IsLockQuery = islockquery
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
def deserialize(params)
|
1355
|
+
@Name = params['Name']
|
1356
|
+
@Type = params['Type']
|
1357
|
+
@DurationMilliseconds = params['DurationMilliseconds']
|
1358
|
+
@Resources = params['Resources']
|
1359
|
+
@Domain = params['Domain']
|
1360
|
+
@VerifyCode = params['VerifyCode']
|
1361
|
+
@StartTime = params['StartTime']
|
1362
|
+
@EndTime = params['EndTime']
|
1363
|
+
@NowTime = params['NowTime']
|
1364
|
+
unless params['Params'].nil?
|
1365
|
+
@Params = []
|
1366
|
+
params['Params'].each do |i|
|
1367
|
+
consolesharingparam_tmp = ConsoleSharingParam.new
|
1368
|
+
consolesharingparam_tmp.deserialize(i)
|
1369
|
+
@Params << consolesharingparam_tmp
|
1370
|
+
end
|
1371
|
+
end
|
1372
|
+
@IsLockTimeRange = params['IsLockTimeRange']
|
1373
|
+
@IsLockQuery = params['IsLockQuery']
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
# 控制台分享链接params参数
|
1378
|
+
class ConsoleSharingParam < TencentCloud::Common::AbstractModel
|
1379
|
+
# @param Name: 名称
|
1380
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1381
|
+
# @type Name: String
|
1382
|
+
# @param Value: 值
|
1383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1384
|
+
# @type Value: String
|
1385
|
+
|
1386
|
+
attr_accessor :Name, :Value
|
1387
|
+
|
1388
|
+
def initialize(name=nil, value=nil)
|
1389
|
+
@Name = name
|
1390
|
+
@Value = value
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
def deserialize(params)
|
1394
|
+
@Name = params['Name']
|
1395
|
+
@Value = params['Value']
|
1396
|
+
end
|
1397
|
+
end
|
1398
|
+
|
1304
1399
|
# 投递任务出入参 Content
|
1305
1400
|
class ConsumerContent < TencentCloud::Common::AbstractModel
|
1306
1401
|
# @param EnableTag: 是否投递 TAG 信息。
|
@@ -2210,6 +2305,49 @@ module TencentCloud
|
|
2210
2305
|
end
|
2211
2306
|
end
|
2212
2307
|
|
2308
|
+
# CreateConsoleSharing请求参数结构体
|
2309
|
+
class CreateConsoleSharingRequest < TencentCloud::Common::AbstractModel
|
2310
|
+
# @param SharingConfig: 免密分享配置
|
2311
|
+
# @type SharingConfig: :class:`Tencentcloud::Cls.v20201016.models.ConsoleSharingConfig`
|
2312
|
+
|
2313
|
+
attr_accessor :SharingConfig
|
2314
|
+
|
2315
|
+
def initialize(sharingconfig=nil)
|
2316
|
+
@SharingConfig = sharingconfig
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
def deserialize(params)
|
2320
|
+
unless params['SharingConfig'].nil?
|
2321
|
+
@SharingConfig = ConsoleSharingConfig.new
|
2322
|
+
@SharingConfig.deserialize(params['SharingConfig'])
|
2323
|
+
end
|
2324
|
+
end
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
# CreateConsoleSharing返回参数结构体
|
2328
|
+
class CreateConsoleSharingResponse < TencentCloud::Common::AbstractModel
|
2329
|
+
# @param SharingUrl: 免密分享链接
|
2330
|
+
# @type SharingUrl: String
|
2331
|
+
# @param SharingId: 免密分享链接ID
|
2332
|
+
# @type SharingId: String
|
2333
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2334
|
+
# @type RequestId: String
|
2335
|
+
|
2336
|
+
attr_accessor :SharingUrl, :SharingId, :RequestId
|
2337
|
+
|
2338
|
+
def initialize(sharingurl=nil, sharingid=nil, requestid=nil)
|
2339
|
+
@SharingUrl = sharingurl
|
2340
|
+
@SharingId = sharingid
|
2341
|
+
@RequestId = requestid
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
def deserialize(params)
|
2345
|
+
@SharingUrl = params['SharingUrl']
|
2346
|
+
@SharingId = params['SharingId']
|
2347
|
+
@RequestId = params['RequestId']
|
2348
|
+
end
|
2349
|
+
end
|
2350
|
+
|
2213
2351
|
# CreateConsumer请求参数结构体
|
2214
2352
|
class CreateConsumerRequest < TencentCloud::Common::AbstractModel
|
2215
2353
|
# @param TopicId: 投递任务绑定的日志主题 ID
|
@@ -3698,6 +3836,38 @@ module TencentCloud
|
|
3698
3836
|
end
|
3699
3837
|
end
|
3700
3838
|
|
3839
|
+
# DeleteConsoleSharing请求参数结构体
|
3840
|
+
class DeleteConsoleSharingRequest < TencentCloud::Common::AbstractModel
|
3841
|
+
# @param SharingId: 免密分享Id
|
3842
|
+
# @type SharingId: String
|
3843
|
+
|
3844
|
+
attr_accessor :SharingId
|
3845
|
+
|
3846
|
+
def initialize(sharingid=nil)
|
3847
|
+
@SharingId = sharingid
|
3848
|
+
end
|
3849
|
+
|
3850
|
+
def deserialize(params)
|
3851
|
+
@SharingId = params['SharingId']
|
3852
|
+
end
|
3853
|
+
end
|
3854
|
+
|
3855
|
+
# DeleteConsoleSharing返回参数结构体
|
3856
|
+
class DeleteConsoleSharingResponse < TencentCloud::Common::AbstractModel
|
3857
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3858
|
+
# @type RequestId: String
|
3859
|
+
|
3860
|
+
attr_accessor :RequestId
|
3861
|
+
|
3862
|
+
def initialize(requestid=nil)
|
3863
|
+
@RequestId = requestid
|
3864
|
+
end
|
3865
|
+
|
3866
|
+
def deserialize(params)
|
3867
|
+
@RequestId = params['RequestId']
|
3868
|
+
end
|
3869
|
+
end
|
3870
|
+
|
3701
3871
|
# DeleteConsumer请求参数结构体
|
3702
3872
|
class DeleteConsumerRequest < TencentCloud::Common::AbstractModel
|
3703
3873
|
# @param TopicId: 投递任务绑定的日志主题 ID
|
@@ -4607,6 +4777,37 @@ module TencentCloud
|
|
4607
4777
|
end
|
4608
4778
|
end
|
4609
4779
|
|
4780
|
+
# DescribeConsoleSharingList请求参数结构体
|
4781
|
+
class DescribeConsoleSharingListRequest < TencentCloud::Common::AbstractModel
|
4782
|
+
|
4783
|
+
|
4784
|
+
def initialize()
|
4785
|
+
end
|
4786
|
+
|
4787
|
+
def deserialize(params)
|
4788
|
+
end
|
4789
|
+
end
|
4790
|
+
|
4791
|
+
# DescribeConsoleSharingList返回参数结构体
|
4792
|
+
class DescribeConsoleSharingListResponse < TencentCloud::Common::AbstractModel
|
4793
|
+
# @param TotalCount: 分页的总数目
|
4794
|
+
# @type TotalCount: Integer
|
4795
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4796
|
+
# @type RequestId: String
|
4797
|
+
|
4798
|
+
attr_accessor :TotalCount, :RequestId
|
4799
|
+
|
4800
|
+
def initialize(totalcount=nil, requestid=nil)
|
4801
|
+
@TotalCount = totalcount
|
4802
|
+
@RequestId = requestid
|
4803
|
+
end
|
4804
|
+
|
4805
|
+
def deserialize(params)
|
4806
|
+
@TotalCount = params['TotalCount']
|
4807
|
+
@RequestId = params['RequestId']
|
4808
|
+
end
|
4809
|
+
end
|
4810
|
+
|
4610
4811
|
# DescribeConsumer请求参数结构体
|
4611
4812
|
class DescribeConsumerRequest < TencentCloud::Common::AbstractModel
|
4612
4813
|
# @param TopicId: 投递任务绑定的日志主题 ID
|
@@ -7894,6 +8095,42 @@ module TencentCloud
|
|
7894
8095
|
end
|
7895
8096
|
end
|
7896
8097
|
|
8098
|
+
# ModifyConsoleSharing请求参数结构体
|
8099
|
+
class ModifyConsoleSharingRequest < TencentCloud::Common::AbstractModel
|
8100
|
+
# @param SharingId: 免密分享链接Id
|
8101
|
+
# @type SharingId: String
|
8102
|
+
# @param DurationMilliseconds: 指定分享链接有效期,单位:毫秒,最长可设定有效期为30天
|
8103
|
+
# @type DurationMilliseconds: Integer
|
8104
|
+
|
8105
|
+
attr_accessor :SharingId, :DurationMilliseconds
|
8106
|
+
|
8107
|
+
def initialize(sharingid=nil, durationmilliseconds=nil)
|
8108
|
+
@SharingId = sharingid
|
8109
|
+
@DurationMilliseconds = durationmilliseconds
|
8110
|
+
end
|
8111
|
+
|
8112
|
+
def deserialize(params)
|
8113
|
+
@SharingId = params['SharingId']
|
8114
|
+
@DurationMilliseconds = params['DurationMilliseconds']
|
8115
|
+
end
|
8116
|
+
end
|
8117
|
+
|
8118
|
+
# ModifyConsoleSharing返回参数结构体
|
8119
|
+
class ModifyConsoleSharingResponse < TencentCloud::Common::AbstractModel
|
8120
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8121
|
+
# @type RequestId: String
|
8122
|
+
|
8123
|
+
attr_accessor :RequestId
|
8124
|
+
|
8125
|
+
def initialize(requestid=nil)
|
8126
|
+
@RequestId = requestid
|
8127
|
+
end
|
8128
|
+
|
8129
|
+
def deserialize(params)
|
8130
|
+
@RequestId = params['RequestId']
|
8131
|
+
end
|
8132
|
+
end
|
8133
|
+
|
7897
8134
|
# ModifyConsumer请求参数结构体
|
7898
8135
|
class ModifyConsumerRequest < TencentCloud::Common::AbstractModel
|
7899
8136
|
# @param TopicId: 投递任务绑定的日志主题 ID
|
@@ -9157,8 +9394,8 @@ module TencentCloud
|
|
9157
9394
|
|
9158
9395
|
attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
|
9159
9396
|
extend Gem::Deprecate
|
9160
|
-
deprecate :DstTopicName, :none, 2024,
|
9161
|
-
deprecate :DstTopicName=, :none, 2024,
|
9397
|
+
deprecate :DstTopicName, :none, 2024, 8
|
9398
|
+
deprecate :DstTopicName=, :none, 2024, 8
|
9162
9399
|
|
9163
9400
|
def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
|
9164
9401
|
@LogContent = logcontent
|
@@ -9766,16 +10003,26 @@ module TencentCloud
|
|
9766
10003
|
# - 检索单个日志主题时请使用TopicId。
|
9767
10004
|
# - TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。
|
9768
10005
|
# @type Topics: Array
|
9769
|
-
# @param
|
10006
|
+
# @param Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
10007
|
+
# 注意:
|
10008
|
+
# * 仅当检索分析语句(Query)不包含SQL时有效
|
10009
|
+
# * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
10010
|
+
# @type Sort: String
|
10011
|
+
# @param Limit: 表示单次查询返回的原始日志条数,默认为100,最大值为1000。
|
9770
10012
|
# 注意:
|
9771
10013
|
# * 仅当检索分析语句(Query)不包含SQL时有效
|
9772
10014
|
# * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
10015
|
+
|
10016
|
+
# 可通过两种方式获取后续更多日志:
|
10017
|
+
# * Context:透传上次接口返回的Context值,获取后续更多日志,总计最多可获取1万条原始日志
|
10018
|
+
# * Offset:偏移量,表示从第几行开始返回原始日志,无日志条数限制
|
9773
10019
|
# @type Limit: Integer
|
9774
|
-
# @param
|
10020
|
+
# @param Offset: 查询原始日志的偏移量,表示从第几行开始返回原始日志,默认为0。
|
9775
10021
|
# 注意:
|
9776
10022
|
# * 仅当检索分析语句(Query)不包含SQL时有效
|
9777
|
-
# *
|
9778
|
-
#
|
10023
|
+
# * 不能与Context参数同时使用
|
10024
|
+
# * 仅适用于单日志主题检索
|
10025
|
+
# @type Offset: Integer
|
9779
10026
|
# @param Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
9780
10027
|
# 注意:
|
9781
10028
|
# * 透传该参数时,请勿修改除该参数外的其它参数
|
@@ -9793,17 +10040,18 @@ module TencentCloud
|
|
9793
10040
|
# 两种返回方式在编码格式上有少量区别,建议使用true
|
9794
10041
|
# @type UseNewAnalysis: Boolean
|
9795
10042
|
|
9796
|
-
attr_accessor :From, :To, :Query, :SyntaxRule, :TopicId, :Topics, :Limit, :
|
10043
|
+
attr_accessor :From, :To, :Query, :SyntaxRule, :TopicId, :Topics, :Sort, :Limit, :Offset, :Context, :SamplingRate, :UseNewAnalysis
|
9797
10044
|
|
9798
|
-
def initialize(from=nil, to=nil, query=nil, syntaxrule=nil, topicid=nil, topics=nil, limit=nil,
|
10045
|
+
def initialize(from=nil, to=nil, query=nil, syntaxrule=nil, topicid=nil, topics=nil, sort=nil, limit=nil, offset=nil, context=nil, samplingrate=nil, usenewanalysis=nil)
|
9799
10046
|
@From = from
|
9800
10047
|
@To = to
|
9801
10048
|
@Query = query
|
9802
10049
|
@SyntaxRule = syntaxrule
|
9803
10050
|
@TopicId = topicid
|
9804
10051
|
@Topics = topics
|
9805
|
-
@Limit = limit
|
9806
10052
|
@Sort = sort
|
10053
|
+
@Limit = limit
|
10054
|
+
@Offset = offset
|
9807
10055
|
@Context = context
|
9808
10056
|
@SamplingRate = samplingrate
|
9809
10057
|
@UseNewAnalysis = usenewanalysis
|
@@ -9823,8 +10071,9 @@ module TencentCloud
|
|
9823
10071
|
@Topics << multitopicsearchinformation_tmp
|
9824
10072
|
end
|
9825
10073
|
end
|
9826
|
-
@Limit = params['Limit']
|
9827
10074
|
@Sort = params['Sort']
|
10075
|
+
@Limit = params['Limit']
|
10076
|
+
@Offset = params['Offset']
|
9828
10077
|
@Context = params['Context']
|
9829
10078
|
@SamplingRate = params['SamplingRate']
|
9830
10079
|
@UseNewAnalysis = params['UseNewAnalysis']
|
@@ -10397,8 +10646,8 @@ module TencentCloud
|
|
10397
10646
|
|
10398
10647
|
attr_accessor :TopicId, :HashKey, :CompressType
|
10399
10648
|
extend Gem::Deprecate
|
10400
|
-
deprecate :HashKey, :none, 2024,
|
10401
|
-
deprecate :HashKey=, :none, 2024,
|
10649
|
+
deprecate :HashKey, :none, 2024, 8
|
10650
|
+
deprecate :HashKey=, :none, 2024, 8
|
10402
10651
|
|
10403
10652
|
def initialize(topicid=nil, hashkey=nil, compresstype=nil)
|
10404
10653
|
@TopicId = topicid
|
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.883
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|