tccli 3.0.1156.1__py2.py3-none-any.whl → 3.0.1158.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/ams/v20201229/api.json +14 -14
- tccli/services/ams/v20201229/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +10 -0
- tccli/services/ccc/v20200210/api.json +3 -3
- tccli/services/cdwch/v20200915/api.json +27 -0
- tccli/services/cdwdoris/v20211228/api.json +27 -0
- tccli/services/cfw/v20190904/api.json +34 -0
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +10 -1
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/ess/v20201111/api.json +32 -14
- tccli/services/ess/v20201111/examples.json +8 -2
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/mongodb/mongodb_client.py +326 -8
- tccli/services/mongodb/v20190725/api.json +551 -0
- tccli/services/mongodb/v20190725/examples.json +48 -0
- tccli/services/monitor/v20180724/api.json +8 -8
- tccli/services/mps/v20190612/api.json +2 -2
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +27 -0
- tccli/services/redis/v20180412/api.json +3 -3
- tccli/services/tem/v20210701/api.json +21 -3
- tccli/services/tem/v20210701/examples.json +1 -7
- tccli/services/thpc/thpc_client.py +110 -4
- tccli/services/thpc/v20230321/api.json +170 -35
- tccli/services/thpc/v20230321/examples.json +17 -1
- tccli/services/tke/v20220501/api.json +10 -0
- tccli/services/trtc/v20190722/api.json +3 -3
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +76 -16
- tccli/services/vpc/v20170312/examples.json +3 -3
- tccli/services/waf/v20180125/api.json +13 -13
- tccli/services/wedata/v20210820/api.json +55 -7
- tccli/services/wedata/v20210820/examples.json +6 -0
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1158.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1158.1.dist-info}/RECORD +44 -44
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1158.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1158.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1158.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1158.1'
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
10
|
"CreateAudioModerationSyncTask": {
|
11
|
-
"document": "本接口(CreateAudioModerationSyncTask) 用于提交短音频内容进行智能审核任务,使用前请您使用腾讯云主账号登录控制台 [开通音频内容安全服务](https://console.cloud.tencent.com/cms/audio/package) 并调整好对应的业务配置。\n\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/audio/package)”开启使用音频内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**10小时**免费调用时长,有效期为1个月。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云音频内容安全定价](https://cloud.tencent.com/product/ams/pricing)。\n\n### 接口调用说明:\n- 音频文件大小支持:**文件 <= 4M**;\n- 音频文件**时长不超过60s**,超过60s音频调用则报错;\n- 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**aac**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**);\n- 接口仅限音频文件传入,视频文件传入请调用长音频异步接口;\n- 接口**默认QPS为20**,如需自定义配置并发或请求频率,请工单咨询;\n- 接口**默认超时为10s
|
11
|
+
"document": "本接口(CreateAudioModerationSyncTask) 用于提交短音频内容进行智能审核任务,使用前请您使用腾讯云主账号登录控制台 [开通音频内容安全服务](https://console.cloud.tencent.com/cms/audio/package) 并调整好对应的业务配置。\n\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/audio/package)”开启使用音频内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**10小时**免费调用时长,有效期为1个月。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云音频内容安全定价](https://cloud.tencent.com/product/ams/pricing)。\n\n### 接口调用说明:\n- 音频文件大小支持:**文件 <= 4M**;\n- 音频文件**时长不超过60s**,超过60s音频调用则报错;\n- 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**aac**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**);\n- 接口仅限音频文件传入,视频文件传入请调用长音频异步接口;\n- 接口**默认QPS为20**,如需自定义配置并发或请求频率,请工单咨询;\n- 接口**默认超时为10s**,请求如超过该时长则接口会报错。",
|
12
12
|
"input": "CreateAudioModerationSyncTaskRequest",
|
13
13
|
"name": "短音频审核同步接口",
|
14
14
|
"output": "CreateAudioModerationSyncTaskResponse",
|
@@ -604,7 +604,7 @@
|
|
604
604
|
"example": "1",
|
605
605
|
"member": "string",
|
606
606
|
"name": "DataId",
|
607
|
-
"
|
607
|
+
"output_required": true,
|
608
608
|
"type": "string",
|
609
609
|
"value_allowed_null": false
|
610
610
|
},
|
@@ -614,7 +614,7 @@
|
|
614
614
|
"example": "1",
|
615
615
|
"member": "string",
|
616
616
|
"name": "Name",
|
617
|
-
"
|
617
|
+
"output_required": true,
|
618
618
|
"type": "string",
|
619
619
|
"value_allowed_null": true
|
620
620
|
},
|
@@ -624,7 +624,7 @@
|
|
624
624
|
"example": "1",
|
625
625
|
"member": "string",
|
626
626
|
"name": "BizType",
|
627
|
-
"
|
627
|
+
"output_required": true,
|
628
628
|
"type": "string",
|
629
629
|
"value_allowed_null": false
|
630
630
|
},
|
@@ -634,7 +634,7 @@
|
|
634
634
|
"example": "1",
|
635
635
|
"member": "string",
|
636
636
|
"name": "Suggestion",
|
637
|
-
"
|
637
|
+
"output_required": true,
|
638
638
|
"type": "string",
|
639
639
|
"value_allowed_null": true
|
640
640
|
},
|
@@ -644,7 +644,7 @@
|
|
644
644
|
"example": "1",
|
645
645
|
"member": "string",
|
646
646
|
"name": "Label",
|
647
|
-
"
|
647
|
+
"output_required": true,
|
648
648
|
"type": "string",
|
649
649
|
"value_allowed_null": true
|
650
650
|
},
|
@@ -654,7 +654,7 @@
|
|
654
654
|
"example": "1",
|
655
655
|
"member": "string",
|
656
656
|
"name": "AsrText",
|
657
|
-
"
|
657
|
+
"output_required": true,
|
658
658
|
"type": "string",
|
659
659
|
"value_allowed_null": true
|
660
660
|
},
|
@@ -664,7 +664,7 @@
|
|
664
664
|
"example": "无",
|
665
665
|
"member": "TextResult",
|
666
666
|
"name": "TextResults",
|
667
|
-
"
|
667
|
+
"output_required": true,
|
668
668
|
"type": "list",
|
669
669
|
"value_allowed_null": true
|
670
670
|
},
|
@@ -674,7 +674,7 @@
|
|
674
674
|
"example": "无",
|
675
675
|
"member": "MoanResult",
|
676
676
|
"name": "MoanResults",
|
677
|
-
"
|
677
|
+
"output_required": true,
|
678
678
|
"type": "list",
|
679
679
|
"value_allowed_null": true
|
680
680
|
},
|
@@ -684,7 +684,7 @@
|
|
684
684
|
"example": "1",
|
685
685
|
"member": "string",
|
686
686
|
"name": "SubLabel",
|
687
|
-
"
|
687
|
+
"output_required": true,
|
688
688
|
"type": "string",
|
689
689
|
"value_allowed_null": true
|
690
690
|
},
|
@@ -694,7 +694,7 @@
|
|
694
694
|
"example": "无",
|
695
695
|
"member": "AudioResultDetailLanguageResult",
|
696
696
|
"name": "LanguageResults",
|
697
|
-
"
|
697
|
+
"output_required": true,
|
698
698
|
"type": "list",
|
699
699
|
"value_allowed_null": true
|
700
700
|
},
|
@@ -704,7 +704,7 @@
|
|
704
704
|
"example": "1",
|
705
705
|
"member": "AudioResultDetailSpeakerResult",
|
706
706
|
"name": "SpeakerResults",
|
707
|
-
"
|
707
|
+
"output_required": true,
|
708
708
|
"type": "list",
|
709
709
|
"value_allowed_null": true
|
710
710
|
},
|
@@ -714,7 +714,7 @@
|
|
714
714
|
"example": "无",
|
715
715
|
"member": "RecognitionResult",
|
716
716
|
"name": "RecognitionResults",
|
717
|
-
"
|
717
|
+
"output_required": true,
|
718
718
|
"type": "list",
|
719
719
|
"value_allowed_null": true
|
720
720
|
},
|
@@ -724,7 +724,7 @@
|
|
724
724
|
"example": "15",
|
725
725
|
"member": "string",
|
726
726
|
"name": "Duration",
|
727
|
-
"
|
727
|
+
"output_required": true,
|
728
728
|
"type": "string",
|
729
729
|
"value_allowed_null": true
|
730
730
|
},
|
@@ -12,7 +12,7 @@
|
|
12
12
|
{
|
13
13
|
"document": "",
|
14
14
|
"input": "POST / HTTP/1.1\nHost: ams.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAudioModerationSyncTask\n<公共请求参数>\n\n{\n \"BizType\": \"test_biztype\",\n \"FileUrl\": \"https://test.myqcloud.com/test.mp3\",\n \"DataId\": \"test0000000000001\",\n \"Name\": \"test_file\",\n \"FileFormat\": \"mp3\"\n}",
|
15
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"24235235-sfsddgsdg-242532-test\",\n \"DataId\": \"test0000000000001\",\n \"Label\": \"Normal\",\n \"SubLabel\": \"\",\n \"Name\": \"test_audio\",\n \"BizType\": \"test_biztype\",\n \"Suggestion\": \"Pass\",\n \"AsrText\": \"新年快乐,恭喜发财,身体健康,万事如意。\",\n \"TextResults\": [\n {\n \"Label\": \"Normal\",\n \"Score\": 0,\n \"Keywords\": [],\n \"Suggestion\": \"Pass\",\n \"LibId\": \"\",\n \"LibType\": 0,\n \"LibName\": \"\",\n \"SubLabel\": \"\"\n }\n ],\n \"MoanResults\": [],\n \"LanguageResults\": [],\n \"SpeakerResults\": [],\n \"RecognitionResults\": [],\n \"Duration\": \"15000\"\n }\n}",
|
16
16
|
"title": "音频同步接口返回示例"
|
17
17
|
}
|
18
18
|
],
|
@@ -6018,6 +6018,16 @@
|
|
6018
6018
|
"output_required": true,
|
6019
6019
|
"type": "list",
|
6020
6020
|
"value_allowed_null": true
|
6021
|
+
},
|
6022
|
+
{
|
6023
|
+
"disabled": false,
|
6024
|
+
"document": "角色RoleArn信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
6025
|
+
"example": "qcs::cam::uin/10001:roleName/test_uin",
|
6026
|
+
"member": "string",
|
6027
|
+
"name": "RoleArn",
|
6028
|
+
"output_required": false,
|
6029
|
+
"type": "string",
|
6030
|
+
"value_allowed_null": true
|
6021
6031
|
}
|
6022
6032
|
],
|
6023
6033
|
"usage": "out"
|
@@ -2440,7 +2440,7 @@
|
|
2440
2440
|
},
|
2441
2441
|
{
|
2442
2442
|
"disabled": false,
|
2443
|
-
"document": "
|
2443
|
+
"document": "待删除客服邮箱列表,一次最大支持200个。",
|
2444
2444
|
"example": "[\"a\",\"b\",\"c\"]",
|
2445
2445
|
"member": "string",
|
2446
2446
|
"name": "StaffList",
|
@@ -4599,7 +4599,7 @@
|
|
4599
4599
|
"members": [
|
4600
4600
|
{
|
4601
4601
|
"disabled": false,
|
4602
|
-
"document": "起始时间戳,Unix
|
4602
|
+
"document": "起始时间戳,Unix 秒级时间戳,最大支持近180天。",
|
4603
4603
|
"example": "1611631881",
|
4604
4604
|
"member": "int64",
|
4605
4605
|
"name": "StartTimeStamp",
|
@@ -4608,7 +4608,7 @@
|
|
4608
4608
|
},
|
4609
4609
|
{
|
4610
4610
|
"disabled": false,
|
4611
|
-
"document": "结束时间戳,Unix
|
4611
|
+
"document": "结束时间戳,Unix 秒级时间戳,结束时间与开始时间的区间范围小于90天。",
|
4612
4612
|
"example": "1611631881",
|
4613
4613
|
"member": "int64",
|
4614
4614
|
"name": "EndTimeStamp",
|
@@ -2213,6 +2213,23 @@
|
|
2213
2213
|
],
|
2214
2214
|
"usage": "in"
|
2215
2215
|
},
|
2216
|
+
"InstanceDetail": {
|
2217
|
+
"document": "Instance表detail字段",
|
2218
|
+
"members": [
|
2219
|
+
{
|
2220
|
+
"disabled": false,
|
2221
|
+
"document": "告警策略是否可用\n注意:此字段可能返回 null,表示取不到有效值。",
|
2222
|
+
"example": "bool",
|
2223
|
+
"member": "bool",
|
2224
|
+
"name": "EnableAlarmStrategy",
|
2225
|
+
"output_required": false,
|
2226
|
+
"required": false,
|
2227
|
+
"type": "bool",
|
2228
|
+
"value_allowed_null": true
|
2229
|
+
}
|
2230
|
+
],
|
2231
|
+
"usage": "both"
|
2232
|
+
},
|
2216
2233
|
"InstanceInfo": {
|
2217
2234
|
"document": "实例描述信息",
|
2218
2235
|
"members": [
|
@@ -2705,6 +2722,16 @@
|
|
2705
2722
|
"output_required": false,
|
2706
2723
|
"type": "bool",
|
2707
2724
|
"value_allowed_null": true
|
2725
|
+
},
|
2726
|
+
{
|
2727
|
+
"disabled": false,
|
2728
|
+
"document": "实例扩展信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2729
|
+
"example": "无",
|
2730
|
+
"member": "InstanceDetail",
|
2731
|
+
"name": "Details",
|
2732
|
+
"output_required": false,
|
2733
|
+
"type": "object",
|
2734
|
+
"value_allowed_null": true
|
2708
2735
|
}
|
2709
2736
|
],
|
2710
2737
|
"usage": "out"
|
@@ -1858,6 +1858,23 @@
|
|
1858
1858
|
],
|
1859
1859
|
"type": "object"
|
1860
1860
|
},
|
1861
|
+
"InstanceDetail": {
|
1862
|
+
"document": "Instance表detail字段",
|
1863
|
+
"members": [
|
1864
|
+
{
|
1865
|
+
"disabled": false,
|
1866
|
+
"document": "告警策略是否可用\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
1867
|
+
"example": "bool",
|
1868
|
+
"member": "bool",
|
1869
|
+
"name": "EnableAlarmStrategy",
|
1870
|
+
"output_required": false,
|
1871
|
+
"required": false,
|
1872
|
+
"type": "bool",
|
1873
|
+
"value_allowed_null": true
|
1874
|
+
}
|
1875
|
+
],
|
1876
|
+
"usage": "both"
|
1877
|
+
},
|
1861
1878
|
"InstanceInfo": {
|
1862
1879
|
"document": "实例描述信息",
|
1863
1880
|
"members": [
|
@@ -2330,6 +2347,16 @@
|
|
2330
2347
|
"output_required": false,
|
2331
2348
|
"type": "string",
|
2332
2349
|
"value_allowed_null": true
|
2350
|
+
},
|
2351
|
+
{
|
2352
|
+
"disabled": false,
|
2353
|
+
"document": "实例扩展信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2354
|
+
"example": "无",
|
2355
|
+
"member": "InstanceDetail",
|
2356
|
+
"name": "Details",
|
2357
|
+
"output_required": false,
|
2358
|
+
"type": "object",
|
2359
|
+
"value_allowed_null": true
|
2333
2360
|
}
|
2334
2361
|
],
|
2335
2362
|
"usage": "out"
|
@@ -4751,6 +4751,26 @@
|
|
4751
4751
|
"type": "int",
|
4752
4752
|
"value_allowed_null": false
|
4753
4753
|
},
|
4754
|
+
{
|
4755
|
+
"disabled": false,
|
4756
|
+
"document": "已使用的地址模版数",
|
4757
|
+
"example": "0",
|
4758
|
+
"member": "int64",
|
4759
|
+
"name": "UsedTemplateCount",
|
4760
|
+
"output_required": false,
|
4761
|
+
"type": "int",
|
4762
|
+
"value_allowed_null": false
|
4763
|
+
},
|
4764
|
+
{
|
4765
|
+
"disabled": false,
|
4766
|
+
"document": "地址模版配额数量",
|
4767
|
+
"example": "10",
|
4768
|
+
"member": "int64",
|
4769
|
+
"name": "TemplateQuotaCount",
|
4770
|
+
"output_required": false,
|
4771
|
+
"type": "int",
|
4772
|
+
"value_allowed_null": false
|
4773
|
+
},
|
4754
4774
|
{
|
4755
4775
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4756
4776
|
"member": "string",
|
@@ -6077,6 +6097,7 @@
|
|
6077
6097
|
"example": "无",
|
6078
6098
|
"member": "string",
|
6079
6099
|
"name": "Data",
|
6100
|
+
"output_required": true,
|
6080
6101
|
"type": "string",
|
6081
6102
|
"value_allowed_null": false
|
6082
6103
|
},
|
@@ -6086,6 +6107,7 @@
|
|
6086
6107
|
"example": "100",
|
6087
6108
|
"member": "int64",
|
6088
6109
|
"name": "Total",
|
6110
|
+
"output_required": true,
|
6089
6111
|
"type": "int",
|
6090
6112
|
"value_allowed_null": false
|
6091
6113
|
},
|
@@ -6095,6 +6117,7 @@
|
|
6095
6117
|
"example": "0",
|
6096
6118
|
"member": "int64",
|
6097
6119
|
"name": "ReturnCode",
|
6120
|
+
"output_required": true,
|
6098
6121
|
"type": "int",
|
6099
6122
|
"value_allowed_null": false
|
6100
6123
|
},
|
@@ -6104,9 +6127,20 @@
|
|
6104
6127
|
"example": "success",
|
6105
6128
|
"member": "string",
|
6106
6129
|
"name": "ReturnMsg",
|
6130
|
+
"output_required": true,
|
6107
6131
|
"type": "string",
|
6108
6132
|
"value_allowed_null": false
|
6109
6133
|
},
|
6134
|
+
{
|
6135
|
+
"disabled": false,
|
6136
|
+
"document": "七层协议,NTA日志有效\n注意:此字段可能返回 null,表示取不到有效值。",
|
6137
|
+
"example": "无",
|
6138
|
+
"member": "string",
|
6139
|
+
"name": "AppProtocolList",
|
6140
|
+
"output_required": false,
|
6141
|
+
"type": "list",
|
6142
|
+
"value_allowed_null": true
|
6143
|
+
},
|
6110
6144
|
{
|
6111
6145
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6112
6146
|
"member": "string",
|
@@ -673,7 +673,7 @@
|
|
673
673
|
"status": "online"
|
674
674
|
},
|
675
675
|
"UploadLog": {
|
676
|
-
"document": "## 提示\n为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/product/614/16873)。\n\n同时我们给此接口专门优化定制了多个语言版本的SDK供您选择,SDK提供统一的异步发送、资源控制、自动重试、优雅关闭、感知上报等功能,使上报日志功能更完善,详情请参考[SDK采集](https://cloud.tencent.com/document/product/614/67157)。\n\n同时云API上传日志接口也支持同步上传日志数据,如果您选择继续使用此接口请参考下文。\n\n## 功能描述\n\n本接口用于将日志写入到指定的日志主题。\n\n
|
676
|
+
"document": "## 提示\n为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/product/614/16873)。\n\n同时我们给此接口专门优化定制了多个语言版本的SDK供您选择,SDK提供统一的异步发送、资源控制、自动重试、优雅关闭、感知上报等功能,使上报日志功能更完善,详情请参考[SDK采集](https://cloud.tencent.com/document/product/614/67157)。\n\n同时云API上传日志接口也支持同步上传日志数据,如果您选择继续使用此接口请参考下文。\n\n## 功能描述\n\n本接口用于将日志写入到指定的日志主题。\n\n#### 输入参数(pb二进制流,位于body中)\n\n| 字段名 | 类型 | 位置 | 必须 | 含义 |\n| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |\n| logGroupList | message | pb | 是 | logGroup 列表,封装好的日志组列表内容,建议 logGroup 数量不要超过5个 |\n\nLogGroup 说明:\n\n| 字段名 | 是否必选 | 含义 |\n| ----------- | -------- | ------------------------------------------------------------ |\n| logs | 是 | 日志数组,表示有多个 Log 组成的集合,一个 Log 表示一条日志,一个 LogGroup 中 Log 个数不能超过10000 |\n| contextFlow | 否 | LogGroup 的唯一ID,需要使用上下文功能时传入。格式:\"{上下文ID}-{LogGroupID}\"。<br>上下文ID:唯一标识一个上下文(连续滚动的一系列日志文件,或者是需要保序的一系列日志),16进制64位整型字符串。<br>LogGroupID:连续递增的一串整型,16进制64位整型字符串。样例:\"102700A66102516A-59F59\"。 |\n| filename | 否 | 日志文件名 |\n| source | 否 | 日志来源,一般使用机器 IP 作为标识 |\n| logTags | 否 | 日志的标签列表 |\n\nLog 说明:\n\n| 字段名 | 是否必选 | 含义 |\n| -------- | -------- | ------------------------------------------------------------ |\n| time | 是 | 日志时间(Unix 格式时间戳),支持秒、毫秒,建议采用毫秒 |\n| contents | 否 | key-value 格式的日志内容,表示一条日志里的多个 key-value 组合 |\n\nContent 说明:\n\n| 字段名 | 是否必选 | 含义 |\n| ------ | -------- | ------------------------------------------------------------ |\n| key | 是 | 单条日志里某个字段组的 key 值,不能以`_`开头 |\n| value | 是 | 单条日志某个字段组的 value 值,单条日志 value 不能超过1MB,LogGroup 中所有 value 总和不能超过5MB |\n\nLogTag 说明:\n\n| 字段名 | 是否必选 | 含义 |\n| ------ | -------- | -------------------------------- |\n| key | 是 | 自定义的标签 key |\n| value | 是 | 自定义的标签 key 对应的 value 值 |\n\n## PB 编译示例\n\n本示例将说明如何使用官方 protoc 编译工具将 PB 描述文件 编译生成为 C++ 语言可调用的上传日志接口。\n\n> ?目前 protoc 官方支持 Java、C++、Python 等语言的编译,详情请参见 [protoc](https://github.com/protocolbuffers/protobuf)。\n\n#### 1. 安装 Protocol Buffer\n\n下载 [Protocol Buffer](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz) ,解压并安装。示例版本为 protobuf 2.6.1,环境为 Centos 7.3 系统。 解压`protobuf-2.6.1.tar.gz`压缩包至`/usr/local`目录并进入该目录,执行命令如下:\n\n```\ntar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1\n```\n\n开始编译和安装,配置环境变量,执行命令如下:\n\n```\n[root@VM_0_8_centos protobuf-2.6.1]# ./configure \n[root@VM_0_8_centos protobuf-2.6.1]# make && make install\n[root@VM_0_8_centos protobuf-2.6.1]# export PATH=$PATH:/usr/local/protobuf-2.6.1/bin\n```\n\n编译成功后,您可以使用以下命令查看版本:\n\n```\n[root@VM_0_8_centos protobuf-2.6.1]# protoc --version\nliprotoc 2.6.1\n```\n\n#### 2. 创建 PB 描述文件\n\nPB 描述文件是通信双方约定的数据交换格式,上传日志时须将规定的协议格式编译成对应语言版本的调用接口,然后添加到工程代码里,详情请参见 [protoc](https://github.com/protocolbuffers/protobuf) 。\n\n以日志服务所规定的 PB 数据格式内容为准, 在本地创建 PB 消息描述文件 cls.proto。\n\n> !PB 描述文件内容不可更改,且文件名须以`.proto`结尾。\n\ncls.proto 内容(PB 描述文件)如下:\n\n```\npackage cls;\n\nmessage Log\n{\n message Content\n {\n required string key = 1; // 每组字段的 key\n required string value = 2; // 每组字段的 value\n }\n required int64 time = 1; // 时间戳,UNIX时间格式\n repeated Content contents = 2; // 一条日志里的多个kv组合\n}\n\nmessage LogTag\n{\n required string key = 1;\n required string value = 2;\n}\n\nmessage LogGroup\n{\n repeated Log logs = 1; // 多条日志合成的日志数组\n optional string contextFlow = 2; // 目前暂无效用\n optional string filename = 3; // 日志文件名\n optional string source = 4; // 日志来源,一般使用机器IP\n repeated LogTag logTags = 5;\n}\n\nmessage LogGroupList\n{\n repeated LogGroup logGroupList = 1; // 日志组列表\n}\n```\n\n#### 3. 编译生成\n\n此例中,使用 proto 编译器生成 C++ 语言的文件,在 cls.proto 文件的同一目录下,执行如下编译命令:\n\n```\nprotoc --cpp_out=./ ./cls.proto \n```\n\n> ?`--cpp_out=./`表示编译成 cpp 格式并输出当前目录下,`./cls.proto`表示位于当前目录下的 cls.proto 描述文件。\n\n编译成功后,会输出对应语言的代码文件。此例会生成 cls.pb.h 头文件和 [cls.pb.cc](http://cls.pb.cc) 代码实现文件,如下所示:\n\n```\n[root@VM_0_8_centos protobuf-2.6.1]# protoc --cpp_out=./ ./cls.proto\n[root@VM_0_8_centos protobuf-2.6.1]# ls\ncls.pb.cc cls.pb.h cls.proto\n```\n\n#### 4. 调用\n\n将生成的 cls.pb.h 头文件引入代码中,调用接口进行数据格式封装。",
|
677
677
|
"input": "UploadLogRequest",
|
678
678
|
"name": "上传日志",
|
679
679
|
"output": "UploadLogResponse",
|
@@ -13833,8 +13833,8 @@
|
|
13833
13833
|
"type": "string"
|
13834
13834
|
},
|
13835
13835
|
{
|
13836
|
-
"disabled":
|
13837
|
-
"document": "
|
13836
|
+
"disabled": true,
|
13837
|
+
"document": "该参数已废弃,请勿使用",
|
13838
13838
|
"example": "0fffffffffffffffffffffffffffffff",
|
13839
13839
|
"member": "string",
|
13840
13840
|
"name": "HashKey",
|
@@ -807,7 +807,7 @@
|
|
807
807
|
"UploadLog": [
|
808
808
|
{
|
809
809
|
"document": "上传日志",
|
810
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/octet-stream\nX-TC-Action: UploadLog\n<公共请求参数>\n\n{\n \"
|
810
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/octet-stream\nX-TC-Action: UploadLog\n<公共请求参数>\n\n{\n \"TopicId\": \"abc\",\n \"CompressType\": \"abc\"\n}",
|
811
811
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
|
812
812
|
"title": "上传日志"
|
813
813
|
}
|
@@ -4170,7 +4170,7 @@
|
|
4170
4170
|
},
|
4171
4171
|
{
|
4172
4172
|
"disabled": false,
|
4173
|
-
"document": "包年包月购买是否自动续费,默认为0。\n0标识默认续费方式,1表示自动续费,2
|
4173
|
+
"document": "包年包月购买是否自动续费,默认为0。\n0标识默认续费方式,1表示自动续费,2表示不自动续费。",
|
4174
4174
|
"example": "0",
|
4175
4175
|
"member": "int64",
|
4176
4176
|
"name": "AutoRenewFlag",
|
@@ -1575,6 +1575,15 @@
|
|
1575
1575
|
"required": false,
|
1576
1576
|
"type": "string"
|
1577
1577
|
},
|
1578
|
+
{
|
1579
|
+
"disabled": false,
|
1580
|
+
"document": "任务过滤条件,支持多个关键字匹配,与Info参数互斥。",
|
1581
|
+
"example": "where",
|
1582
|
+
"member": "string",
|
1583
|
+
"name": "Infos",
|
1584
|
+
"required": false,
|
1585
|
+
"type": "list"
|
1586
|
+
},
|
1578
1587
|
{
|
1579
1588
|
"disabled": false,
|
1580
1589
|
"document": "任务过滤条件,用户类型。",
|
@@ -1614,7 +1623,7 @@
|
|
1614
1623
|
"example": "1",
|
1615
1624
|
"member": "int64",
|
1616
1625
|
"name": "Status",
|
1617
|
-
"
|
1626
|
+
"output_required": true,
|
1618
1627
|
"type": "int",
|
1619
1628
|
"value_allowed_null": false
|
1620
1629
|
},
|
@@ -9263,6 +9263,15 @@
|
|
9263
9263
|
"name": "CompareTaskId",
|
9264
9264
|
"required": true,
|
9265
9265
|
"type": "string"
|
9266
|
+
},
|
9267
|
+
{
|
9268
|
+
"disabled": false,
|
9269
|
+
"document": "是否强制停止。如果填true,同步任务增量阶段会跳过一致性校验产生的binlog,达到快速恢复任务的效果",
|
9270
|
+
"example": "true",
|
9271
|
+
"member": "bool",
|
9272
|
+
"name": "ForceStop",
|
9273
|
+
"required": false,
|
9274
|
+
"type": "bool"
|
9266
9275
|
}
|
9267
9276
|
],
|
9268
9277
|
"type": "object"
|
@@ -246,9 +246,9 @@
|
|
246
246
|
"status": "online"
|
247
247
|
},
|
248
248
|
"CreatePartnerAutoSignAuthUrl": {
|
249
|
-
"document": "
|
249
|
+
"document": "创建他方自动签授权链接(他方授权/我方授权),通过该链接可进入小程序进行合作方企业的自动签授权,若授权企业未开通企业自动签,通过该链接会先引导开通本企业自动签。\n该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权\n\n\n\n注: \n1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId 需要传递超管或者法人的UserId)\n2. 已经在授权中或者授权成功的企业,无法重复授权\n3. 授权企业和被授权企业必须都是已认证企业",
|
250
250
|
"input": "CreatePartnerAutoSignAuthUrlRequest",
|
251
|
-
"name": "
|
251
|
+
"name": "创建他方企业自动签授权链接(他方授权 | 我方授权)",
|
252
252
|
"output": "CreatePartnerAutoSignAuthUrlResponse",
|
253
253
|
"status": "online"
|
254
254
|
},
|
@@ -5195,7 +5195,25 @@
|
|
5195
5195
|
"members": [
|
5196
5196
|
{
|
5197
5197
|
"disabled": false,
|
5198
|
-
"document": "
|
5198
|
+
"document": "代理企业和员工的信息。<br/>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
5199
|
+
"example": "无",
|
5200
|
+
"member": "Agent",
|
5201
|
+
"name": "Agent",
|
5202
|
+
"required": false,
|
5203
|
+
"type": "object"
|
5204
|
+
},
|
5205
|
+
{
|
5206
|
+
"disabled": false,
|
5207
|
+
"document": "执行本接口操作的员工信息。<br/>注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
5208
|
+
"example": "无",
|
5209
|
+
"member": "UserInfo",
|
5210
|
+
"name": "Operator",
|
5211
|
+
"required": false,
|
5212
|
+
"type": "object"
|
5213
|
+
},
|
5214
|
+
{
|
5215
|
+
"disabled": false,
|
5216
|
+
"document": "被授企业id/授权方企业id,和AuthorizedOrganizationName二选一传入",
|
5199
5217
|
"example": "无",
|
5200
5218
|
"member": "string",
|
5201
5219
|
"name": "AuthorizedOrganizationId",
|
@@ -5204,30 +5222,30 @@
|
|
5204
5222
|
},
|
5205
5223
|
{
|
5206
5224
|
"disabled": false,
|
5207
|
-
"document": "
|
5225
|
+
"document": "被授企业名称/授权方企业名称,和AuthorizedOrganizationId二选一传入",
|
5208
5226
|
"example": "无",
|
5209
5227
|
"member": "string",
|
5210
|
-
"name": "
|
5228
|
+
"name": "AuthorizedOrganizationName",
|
5211
5229
|
"required": false,
|
5212
|
-
"type": "
|
5230
|
+
"type": "string"
|
5213
5231
|
},
|
5214
5232
|
{
|
5215
5233
|
"disabled": false,
|
5216
|
-
"document": "
|
5234
|
+
"document": "指定印章类型,指定后只能选择该类型的印章进行授权支持以下印章类型:- OFFICIAL : 企业公章- CONTRACT : 合同专用章- FINANCE : 财务专用章- PERSONNEL : 人事专用章",
|
5217
5235
|
"example": "无",
|
5218
|
-
"member": "
|
5219
|
-
"name": "
|
5236
|
+
"member": "string",
|
5237
|
+
"name": "SealTypes",
|
5220
5238
|
"required": false,
|
5221
|
-
"type": "
|
5239
|
+
"type": "list"
|
5222
5240
|
},
|
5223
5241
|
{
|
5224
5242
|
"disabled": false,
|
5225
|
-
"document": "
|
5243
|
+
"document": "他方授权给我方:\n- false:我方授权他方,AuthorizedOrganizationName代表【被授权方】企业名称\n- true:他方授权我方,AuthorizedOrganizationName代表【授权方】企业名称",
|
5226
5244
|
"example": "无",
|
5227
|
-
"member": "
|
5228
|
-
"name": "
|
5245
|
+
"member": "bool",
|
5246
|
+
"name": "AuthToMe",
|
5229
5247
|
"required": false,
|
5230
|
-
"type": "
|
5248
|
+
"type": "bool"
|
5231
5249
|
}
|
5232
5250
|
],
|
5233
5251
|
"type": "object"
|
@@ -829,9 +829,15 @@
|
|
829
829
|
"CreatePartnerAutoSignAuthUrl": [
|
830
830
|
{
|
831
831
|
"document": "创建他方自动签授权链接\n",
|
832
|
-
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDSxxxxxxxxxOnHtH51\"\n },\n \"AuthorizedOrganizationId\": \"yDRt2UUgygqxuvlqUuO4zjEySqVWqO9J\",\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
|
832
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDSxxxxxxxxxOnHtH51\"\n },\n \"AuthorizedOrganizationId\": \"yDRt2UUgygqxuvlqUuO4zjEySqVWqO9J\",\n \"AuthToMe\": false,\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
|
833
833
|
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"s1721379786690441960\",\n \"Url\": \"https://test.essurl.cn/g4sjUBHlHx\"\n }\n}",
|
834
|
-
"title": "
|
834
|
+
"title": "创建他方自动签授权链接-我方授权"
|
835
|
+
},
|
836
|
+
{
|
837
|
+
"document": "他方授权给我方",
|
838
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDSxxxxxxxxxOnHtH51\"\n },\n \"AuthorizedOrganizationId\": \"\",\n \"AuthorizedOrganizationName\": \"他方企业名称\",\n \"AuthToMe\": true,\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
|
839
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"s1721379786690441960\",\n \"Url\": \"https://test.essurl.cn/g4sjUBHlHx\"\n }\n}",
|
840
|
+
"title": "创建他方自动签授权链接-他方授权"
|
835
841
|
}
|
836
842
|
],
|
837
843
|
"CreatePersonAuthCertificateImage": [
|
@@ -310,7 +310,7 @@
|
|
310
310
|
},
|
311
311
|
{
|
312
312
|
"disabled": false,
|
313
|
-
"document": "
|
313
|
+
"document": "图片的url,当 Type 为 image_url 时使用,表示具体的图片内容\n如\"https://example.com/1.png\" 或 图片的base64(注意 \"data:image/jpeg;base64\" 为必要部分):\"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA......\"\n注意:此字段可能返回 null,表示取不到有效值。",
|
314
314
|
"example": "无",
|
315
315
|
"member": "ImageUrl",
|
316
316
|
"name": "ImageUrl",
|