tencentcloud-sdk-ckafka 1.0.362 → 1.0.363
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/client.rb +288 -0
- data/lib/v20190819/models.rb +1643 -141
- 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: f712e6f90806de40aa20427b179a5d619c79e92f
|
4
|
+
data.tar.gz: 1787c44f0c64f31c0da1fa21e7f4eaba5e779f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d7572fb85578227a6f29fa06676f76a6524fb13ffd8f021950fd02705bc16c01c8dd2351ac6e4ad8b19f9cff48f24a79ad0e4a1a2a11f4ee842ba1f1d29bb8
|
7
|
+
data.tar.gz: ce6007ba5c9d68133d56fea139321325aad4b3739e2aadb48d561881d4de87a0f212a6bccd8d54242eb84d9a1291078611bcaf42732c8782d771069b8b8a52c0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.363
|
data/lib/v20190819/client.rb
CHANGED
@@ -509,6 +509,78 @@ module TencentCloud
|
|
509
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
510
|
end
|
511
511
|
|
512
|
+
# 删除Datahub连接源
|
513
|
+
|
514
|
+
# @param request: Request instance for DeleteConnectResource.
|
515
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteConnectResourceRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteConnectResourceResponse`
|
517
|
+
def DeleteConnectResource(request)
|
518
|
+
body = send_request('DeleteConnectResource', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DeleteConnectResourceResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
536
|
+
# 删除Datahub任务
|
537
|
+
|
538
|
+
# @param request: Request instance for DeleteDatahubTask.
|
539
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteDatahubTaskRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteDatahubTaskResponse`
|
541
|
+
def DeleteDatahubTask(request)
|
542
|
+
body = send_request('DeleteDatahubTask', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = DeleteDatahubTaskResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
560
|
+
# 删除Datahub主题
|
561
|
+
|
562
|
+
# @param request: Request instance for DeleteDatahubTopic.
|
563
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteDatahubTopicRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteDatahubTopicResponse`
|
565
|
+
def DeleteDatahubTopic(request)
|
566
|
+
body = send_request('DeleteDatahubTopic', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DeleteDatahubTopicResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
512
584
|
# 删除消费组
|
513
585
|
|
514
586
|
# @param request: Request instance for DeleteGroup.
|
@@ -749,6 +821,54 @@ module TencentCloud
|
|
749
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
822
|
end
|
751
823
|
|
824
|
+
# 查询Datahub连接源
|
825
|
+
|
826
|
+
# @param request: Request instance for DescribeConnectResource.
|
827
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeConnectResourceRequest`
|
828
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeConnectResourceResponse`
|
829
|
+
def DescribeConnectResource(request)
|
830
|
+
body = send_request('DescribeConnectResource', request.serialize)
|
831
|
+
response = JSON.parse(body)
|
832
|
+
if response['Response'].key?('Error') == false
|
833
|
+
model = DescribeConnectResourceResponse.new
|
834
|
+
model.deserialize(response['Response'])
|
835
|
+
model
|
836
|
+
else
|
837
|
+
code = response['Response']['Error']['Code']
|
838
|
+
message = response['Response']['Error']['Message']
|
839
|
+
reqid = response['Response']['RequestId']
|
840
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
841
|
+
end
|
842
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
843
|
+
raise e
|
844
|
+
rescue StandardError => e
|
845
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
|
+
end
|
847
|
+
|
848
|
+
# 查询Datahub连接源列表
|
849
|
+
|
850
|
+
# @param request: Request instance for DescribeConnectResources.
|
851
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeConnectResourcesRequest`
|
852
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeConnectResourcesResponse`
|
853
|
+
def DescribeConnectResources(request)
|
854
|
+
body = send_request('DescribeConnectResources', request.serialize)
|
855
|
+
response = JSON.parse(body)
|
856
|
+
if response['Response'].key?('Error') == false
|
857
|
+
model = DescribeConnectResourcesResponse.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
|
+
|
752
872
|
# 查询消费分组信息
|
753
873
|
|
754
874
|
# @param request: Request instance for DescribeConsumerGroup.
|
@@ -773,6 +893,78 @@ module TencentCloud
|
|
773
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
894
|
end
|
775
895
|
|
896
|
+
# 获取Datahub消费分组offset
|
897
|
+
|
898
|
+
# @param request: Request instance for DescribeDatahubGroupOffsets.
|
899
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubGroupOffsetsRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubGroupOffsetsResponse`
|
901
|
+
def DescribeDatahubGroupOffsets(request)
|
902
|
+
body = send_request('DescribeDatahubGroupOffsets', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = DescribeDatahubGroupOffsetsResponse.new
|
906
|
+
model.deserialize(response['Response'])
|
907
|
+
model
|
908
|
+
else
|
909
|
+
code = response['Response']['Error']['Code']
|
910
|
+
message = response['Response']['Error']['Message']
|
911
|
+
reqid = response['Response']['RequestId']
|
912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
+
end
|
914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
+
raise e
|
916
|
+
rescue StandardError => e
|
917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
+
end
|
919
|
+
|
920
|
+
# 查询Datahub任务信息
|
921
|
+
|
922
|
+
# @param request: Request instance for DescribeDatahubTask.
|
923
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTaskRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTaskResponse`
|
925
|
+
def DescribeDatahubTask(request)
|
926
|
+
body = send_request('DescribeDatahubTask', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = DescribeDatahubTaskResponse.new
|
930
|
+
model.deserialize(response['Response'])
|
931
|
+
model
|
932
|
+
else
|
933
|
+
code = response['Response']['Error']['Code']
|
934
|
+
message = response['Response']['Error']['Message']
|
935
|
+
reqid = response['Response']['RequestId']
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
937
|
+
end
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
939
|
+
raise e
|
940
|
+
rescue StandardError => e
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
|
+
end
|
943
|
+
|
944
|
+
# 查询Datahub任务列表
|
945
|
+
|
946
|
+
# @param request: Request instance for DescribeDatahubTasks.
|
947
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTasksRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeDatahubTasksResponse`
|
949
|
+
def DescribeDatahubTasks(request)
|
950
|
+
body = send_request('DescribeDatahubTasks', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = DescribeDatahubTasksResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
776
968
|
# 枚举消费分组(精简版)
|
777
969
|
|
778
970
|
# @param request: Request instance for DescribeGroup.
|
@@ -1112,6 +1304,54 @@ module TencentCloud
|
|
1112
1304
|
|
1113
1305
|
# 根据指定offset位置的消息
|
1114
1306
|
|
1307
|
+
# @param request: Request instance for FetchDatahubMessageByOffset.
|
1308
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::FetchDatahubMessageByOffsetRequest`
|
1309
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::FetchDatahubMessageByOffsetResponse`
|
1310
|
+
def FetchDatahubMessageByOffset(request)
|
1311
|
+
body = send_request('FetchDatahubMessageByOffset', request.serialize)
|
1312
|
+
response = JSON.parse(body)
|
1313
|
+
if response['Response'].key?('Error') == false
|
1314
|
+
model = FetchDatahubMessageByOffsetResponse.new
|
1315
|
+
model.deserialize(response['Response'])
|
1316
|
+
model
|
1317
|
+
else
|
1318
|
+
code = response['Response']['Error']['Code']
|
1319
|
+
message = response['Response']['Error']['Message']
|
1320
|
+
reqid = response['Response']['RequestId']
|
1321
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1322
|
+
end
|
1323
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1324
|
+
raise e
|
1325
|
+
rescue StandardError => e
|
1326
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# 查询最新消息列表
|
1330
|
+
|
1331
|
+
# @param request: Request instance for FetchLatestDatahubMessageList.
|
1332
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::FetchLatestDatahubMessageListRequest`
|
1333
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::FetchLatestDatahubMessageListResponse`
|
1334
|
+
def FetchLatestDatahubMessageList(request)
|
1335
|
+
body = send_request('FetchLatestDatahubMessageList', request.serialize)
|
1336
|
+
response = JSON.parse(body)
|
1337
|
+
if response['Response'].key?('Error') == false
|
1338
|
+
model = FetchLatestDatahubMessageListResponse.new
|
1339
|
+
model.deserialize(response['Response'])
|
1340
|
+
model
|
1341
|
+
else
|
1342
|
+
code = response['Response']['Error']['Code']
|
1343
|
+
message = response['Response']['Error']['Message']
|
1344
|
+
reqid = response['Response']['RequestId']
|
1345
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1346
|
+
end
|
1347
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1348
|
+
raise e
|
1349
|
+
rescue StandardError => e
|
1350
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# 根据指定offset位置的消息
|
1354
|
+
|
1115
1355
|
# @param request: Request instance for FetchMessageByOffset.
|
1116
1356
|
# @type request: :class:`Tencentcloud::ckafka::V20190819::FetchMessageByOffsetRequest`
|
1117
1357
|
# @rtype: :class:`Tencentcloud::ckafka::V20190819::FetchMessageByOffsetResponse`
|
@@ -1134,6 +1374,54 @@ module TencentCloud
|
|
1134
1374
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1135
1375
|
end
|
1136
1376
|
|
1377
|
+
# 编辑Datahub连接源
|
1378
|
+
|
1379
|
+
# @param request: Request instance for ModifyConnectResource.
|
1380
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::ModifyConnectResourceRequest`
|
1381
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::ModifyConnectResourceResponse`
|
1382
|
+
def ModifyConnectResource(request)
|
1383
|
+
body = send_request('ModifyConnectResource', request.serialize)
|
1384
|
+
response = JSON.parse(body)
|
1385
|
+
if response['Response'].key?('Error') == false
|
1386
|
+
model = ModifyConnectResourceResponse.new
|
1387
|
+
model.deserialize(response['Response'])
|
1388
|
+
model
|
1389
|
+
else
|
1390
|
+
code = response['Response']['Error']['Code']
|
1391
|
+
message = response['Response']['Error']['Message']
|
1392
|
+
reqid = response['Response']['RequestId']
|
1393
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1394
|
+
end
|
1395
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1396
|
+
raise e
|
1397
|
+
rescue StandardError => e
|
1398
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# 修改Datahub任务
|
1402
|
+
|
1403
|
+
# @param request: Request instance for ModifyDatahubTask.
|
1404
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::ModifyDatahubTaskRequest`
|
1405
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::ModifyDatahubTaskResponse`
|
1406
|
+
def ModifyDatahubTask(request)
|
1407
|
+
body = send_request('ModifyDatahubTask', request.serialize)
|
1408
|
+
response = JSON.parse(body)
|
1409
|
+
if response['Response'].key?('Error') == false
|
1410
|
+
model = ModifyDatahubTaskResponse.new
|
1411
|
+
model.deserialize(response['Response'])
|
1412
|
+
model
|
1413
|
+
else
|
1414
|
+
code = response['Response']['Error']['Code']
|
1415
|
+
message = response['Response']['Error']['Message']
|
1416
|
+
reqid = response['Response']['RequestId']
|
1417
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1418
|
+
end
|
1419
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1420
|
+
raise e
|
1421
|
+
rescue StandardError => e
|
1422
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1423
|
+
end
|
1424
|
+
|
1137
1425
|
# 设置Groups 消费分组offset
|
1138
1426
|
|
1139
1427
|
# @param request: Request instance for ModifyGroupOffsets.
|