tencentcloud-sdk-cls 3.0.881 → 3.0.882

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: 820924d5bb4cd3c524383d871e8ffefdeb65dcf2
4
- data.tar.gz: 594870d1bc786d119d5d10f76e6ff61c4c9a710c
3
+ metadata.gz: 3a650cb51dc80019c2f7cc99e74a4475aea5e3dc
4
+ data.tar.gz: 107e36f3a2f1bc4c67eb3a83b1f6a46f6eb5bd56
5
5
  SHA512:
6
- metadata.gz: cd257d50f90221fbdb1a4f5b2f22e018f7e96cd0dfdad89922ff53ec978358805f3489ee025963285f31bd860e3ca69d54c2b6d9c433ac9c578b608f30ac15a7
7
- data.tar.gz: ad1e84fed12fd06af2bf0f5765dbd0c14452bc234761ac95866dd4eae9db6ce8e2831cb42ac9327bc51d59afa4e1ea39777aa2641e05d8486ee74f977c30d353
6
+ metadata.gz: 842ea5c79f6290558755544211992fa30e74853bfb86216b0e17bc404e0042fc2473f2291447b6674269897f126e50bfb54184075eb186527df6531faadfb3ce
7
+ data.tar.gz: a29743b62f6e355db3540116f71f19ee6ea02e98da9f3d58698f583ded0f336ed37780980cd66e388c38429d48c0c9489194f93d79e7c9abfd7bc9c2606b8411
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.881
1
+ 3.0.882
@@ -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.
@@ -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, 7
9161
- deprecate :DstTopicName=, :none, 2024, 7
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
@@ -10397,8 +10634,8 @@ module TencentCloud
10397
10634
 
10398
10635
  attr_accessor :TopicId, :HashKey, :CompressType
10399
10636
  extend Gem::Deprecate
10400
- deprecate :HashKey, :none, 2024, 7
10401
- deprecate :HashKey=, :none, 2024, 7
10637
+ deprecate :HashKey, :none, 2024, 8
10638
+ deprecate :HashKey=, :none, 2024, 8
10402
10639
 
10403
10640
  def initialize(topicid=nil, hashkey=nil, compresstype=nil)
10404
10641
  @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.881
4
+ version: 3.0.882
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-07 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common