tencentcloud-sdk-nodejs-intl-en 3.0.582 → 3.0.584
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.
- package/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +1 -0
- package/tencentcloud/as/v20180419/models.js +62 -5
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +1 -0
- package/tencentcloud/cynosdb/v20190107/models.js +188 -0
- package/tencentcloud/gme/v20180711/gme_client.js +27 -23
- package/tencentcloud/gme/v20180711/models.js +285 -113
package/package.json
CHANGED
|
@@ -98,6 +98,7 @@ const DetachInstancesRequest = models.DetachInstancesRequest;
|
|
|
98
98
|
const Instance = models.Instance;
|
|
99
99
|
const DescribeAutoScalingInstancesResponse = models.DescribeAutoScalingInstancesResponse;
|
|
100
100
|
const EnhancedService = models.EnhancedService;
|
|
101
|
+
const RunAutomationServiceEnabled = models.RunAutomationServiceEnabled;
|
|
101
102
|
const DeleteLaunchConfigurationResponse = models.DeleteLaunchConfigurationResponse;
|
|
102
103
|
const DescribeScheduledActionsRequest = models.DescribeScheduledActionsRequest;
|
|
103
104
|
const RunSecurityServiceEnabled = models.RunSecurityServiceEnabled;
|
|
@@ -2141,7 +2141,7 @@ class DetachLoadBalancersRequest extends AbstractModel {
|
|
|
2141
2141
|
this.LoadBalancerIds = null;
|
|
2142
2142
|
|
|
2143
2143
|
/**
|
|
2144
|
-
* List of application CLB IDs. Up to
|
|
2144
|
+
* List of application CLB IDs. Up to 100 IDs are allowed. `LoadBalancerIds` and `ForwardLoadBalancerIdentifications` cannot be specified at the same time.
|
|
2145
2145
|
* @type {Array.<ForwardLoadBalancerIdentification> || null}
|
|
2146
2146
|
*/
|
|
2147
2147
|
this.ForwardLoadBalancerIdentifications = null;
|
|
@@ -2251,7 +2251,7 @@ class ModifyLoadBalancersRequest extends AbstractModel {
|
|
|
2251
2251
|
this.LoadBalancerIds = null;
|
|
2252
2252
|
|
|
2253
2253
|
/**
|
|
2254
|
-
* List of application CLBs. Up to
|
|
2254
|
+
* List of application CLBs. Up to 100 CLBs are allowed. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
|
|
2255
2255
|
* @type {Array.<ForwardLoadBalancer> || null}
|
|
2256
2256
|
*/
|
|
2257
2257
|
this.ForwardLoadBalancers = null;
|
|
@@ -4109,7 +4109,7 @@ class CreateAutoScalingGroupRequest extends AbstractModel {
|
|
|
4109
4109
|
this.ProjectId = null;
|
|
4110
4110
|
|
|
4111
4111
|
/**
|
|
4112
|
-
* List of application CLBs. Up to
|
|
4112
|
+
* List of application CLBs. Up to 100 CLBs are allowed. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
|
|
4113
4113
|
* @type {Array.<ForwardLoadBalancer> || null}
|
|
4114
4114
|
*/
|
|
4115
4115
|
this.ForwardLoadBalancers = null;
|
|
@@ -5053,6 +5053,18 @@ class EnhancedService extends AbstractModel {
|
|
|
5053
5053
|
*/
|
|
5054
5054
|
this.MonitorService = null;
|
|
5055
5055
|
|
|
5056
|
+
/**
|
|
5057
|
+
* Deprecated parameter.
|
|
5058
|
+
* @type {Array.<RunAutomationServiceEnabled> || null}
|
|
5059
|
+
*/
|
|
5060
|
+
this.AutomationService = null;
|
|
5061
|
+
|
|
5062
|
+
/**
|
|
5063
|
+
*
|
|
5064
|
+
* @type {RunAutomationServiceEnabled || null}
|
|
5065
|
+
*/
|
|
5066
|
+
this.AutomationToolsService = null;
|
|
5067
|
+
|
|
5056
5068
|
}
|
|
5057
5069
|
|
|
5058
5070
|
/**
|
|
@@ -5075,6 +5087,50 @@ class EnhancedService extends AbstractModel {
|
|
|
5075
5087
|
this.MonitorService = obj;
|
|
5076
5088
|
}
|
|
5077
5089
|
|
|
5090
|
+
if (params.AutomationService) {
|
|
5091
|
+
this.AutomationService = new Array();
|
|
5092
|
+
for (let z in params.AutomationService) {
|
|
5093
|
+
let obj = new RunAutomationServiceEnabled();
|
|
5094
|
+
obj.deserialize(params.AutomationService[z]);
|
|
5095
|
+
this.AutomationService.push(obj);
|
|
5096
|
+
}
|
|
5097
|
+
}
|
|
5098
|
+
|
|
5099
|
+
if (params.AutomationToolsService) {
|
|
5100
|
+
let obj = new RunAutomationServiceEnabled();
|
|
5101
|
+
obj.deserialize(params.AutomationToolsService)
|
|
5102
|
+
this.AutomationToolsService = obj;
|
|
5103
|
+
}
|
|
5104
|
+
|
|
5105
|
+
}
|
|
5106
|
+
}
|
|
5107
|
+
|
|
5108
|
+
/**
|
|
5109
|
+
* Status of TAT service.
|
|
5110
|
+
* @class
|
|
5111
|
+
*/
|
|
5112
|
+
class RunAutomationServiceEnabled extends AbstractModel {
|
|
5113
|
+
constructor(){
|
|
5114
|
+
super();
|
|
5115
|
+
|
|
5116
|
+
/**
|
|
5117
|
+
* Whether to enable [TencentCloud Automation Tools](https://intl.cloud.tencent.com/document/product/1340?from_cn_redirect=1). Valid values:<br><li>`TRUE`: Enable<br><li>`FALSE`: Not enable.
|
|
5118
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
5119
|
+
* @type {boolean || null}
|
|
5120
|
+
*/
|
|
5121
|
+
this.Enabled = null;
|
|
5122
|
+
|
|
5123
|
+
}
|
|
5124
|
+
|
|
5125
|
+
/**
|
|
5126
|
+
* @private
|
|
5127
|
+
*/
|
|
5128
|
+
deserialize(params) {
|
|
5129
|
+
if (!params) {
|
|
5130
|
+
return;
|
|
5131
|
+
}
|
|
5132
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
5133
|
+
|
|
5078
5134
|
}
|
|
5079
5135
|
}
|
|
5080
5136
|
|
|
@@ -6348,7 +6404,7 @@ class ModifyLoadBalancerTargetAttributesRequest extends AbstractModel {
|
|
|
6348
6404
|
this.AutoScalingGroupId = null;
|
|
6349
6405
|
|
|
6350
6406
|
/**
|
|
6351
|
-
* List of application CLBs to modify. Up to
|
|
6407
|
+
* List of application CLBs to modify. Up to 100 CLBs allowed.
|
|
6352
6408
|
* @type {Array.<ForwardLoadBalancer> || null}
|
|
6353
6409
|
*/
|
|
6354
6410
|
this.ForwardLoadBalancers = null;
|
|
@@ -7120,7 +7176,7 @@ class AttachLoadBalancersRequest extends AbstractModel {
|
|
|
7120
7176
|
this.LoadBalancerIds = null;
|
|
7121
7177
|
|
|
7122
7178
|
/**
|
|
7123
|
-
* List of application CLBs. Up to
|
|
7179
|
+
* List of application CLBs. Up to 100 application CLBs can be bound to a scaling group. `LoadBalancerIds` and `ForwardLoadBalancers` cannot be specified at the same time.
|
|
7124
7180
|
* @type {Array.<ForwardLoadBalancer> || null}
|
|
7125
7181
|
*/
|
|
7126
7182
|
this.ForwardLoadBalancers = null;
|
|
@@ -7990,6 +8046,7 @@ module.exports = {
|
|
|
7990
8046
|
Instance: Instance,
|
|
7991
8047
|
DescribeAutoScalingInstancesResponse: DescribeAutoScalingInstancesResponse,
|
|
7992
8048
|
EnhancedService: EnhancedService,
|
|
8049
|
+
RunAutomationServiceEnabled: RunAutomationServiceEnabled,
|
|
7993
8050
|
DeleteLaunchConfigurationResponse: DeleteLaunchConfigurationResponse,
|
|
7994
8051
|
DescribeScheduledActionsRequest: DescribeScheduledActionsRequest,
|
|
7995
8052
|
RunSecurityServiceEnabled: RunSecurityServiceEnabled,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.584";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -89,6 +89,7 @@ const SecurityGroup = models.SecurityGroup;
|
|
|
89
89
|
const DescribeBackupDownloadUrlRequest = models.DescribeBackupDownloadUrlRequest;
|
|
90
90
|
const OfflineInstanceRequest = models.OfflineInstanceRequest;
|
|
91
91
|
const NetAddr = models.NetAddr;
|
|
92
|
+
const TemplateParamInfo = models.TemplateParamInfo;
|
|
92
93
|
const DescribeResourcesByDealNameRequest = models.DescribeResourcesByDealNameRequest;
|
|
93
94
|
const CreateBackupResponse = models.CreateBackupResponse;
|
|
94
95
|
const DescribeRollbackTimeValidityResponse = models.DescribeRollbackTimeValidityResponse;
|
|
@@ -989,6 +989,72 @@ class DescribeParamTemplatesRequest extends AbstractModel {
|
|
|
989
989
|
constructor(){
|
|
990
990
|
super();
|
|
991
991
|
|
|
992
|
+
/**
|
|
993
|
+
* Database engine version number
|
|
994
|
+
* @type {Array.<string> || null}
|
|
995
|
+
*/
|
|
996
|
+
this.EngineVersions = null;
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Template name
|
|
1000
|
+
* @type {Array.<string> || null}
|
|
1001
|
+
*/
|
|
1002
|
+
this.TemplateNames = null;
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Template ID
|
|
1006
|
+
* @type {Array.<number> || null}
|
|
1007
|
+
*/
|
|
1008
|
+
this.TemplateIds = null;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Database Type. Valid values: `NORMAL`, `SERVERLESS`.
|
|
1012
|
+
* @type {Array.<string> || null}
|
|
1013
|
+
*/
|
|
1014
|
+
this.DbModes = null;
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Offset for query
|
|
1018
|
+
* @type {number || null}
|
|
1019
|
+
*/
|
|
1020
|
+
this.Offset = null;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Limit on queries
|
|
1024
|
+
* @type {number || null}
|
|
1025
|
+
*/
|
|
1026
|
+
this.Limit = null;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Product type of the queried template
|
|
1030
|
+
* @type {Array.<string> || null}
|
|
1031
|
+
*/
|
|
1032
|
+
this.Products = null;
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Template type
|
|
1036
|
+
* @type {Array.<string> || null}
|
|
1037
|
+
*/
|
|
1038
|
+
this.TemplateTypes = null;
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Version type
|
|
1042
|
+
* @type {Array.<string> || null}
|
|
1043
|
+
*/
|
|
1044
|
+
this.EngineTypes = null;
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* The sorting order of the returned results
|
|
1048
|
+
* @type {string || null}
|
|
1049
|
+
*/
|
|
1050
|
+
this.OrderBy = null;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Sorting order. Valid values: `desc`, `asc `.
|
|
1054
|
+
* @type {string || null}
|
|
1055
|
+
*/
|
|
1056
|
+
this.OrderDirection = null;
|
|
1057
|
+
|
|
992
1058
|
}
|
|
993
1059
|
|
|
994
1060
|
/**
|
|
@@ -998,6 +1064,17 @@ class DescribeParamTemplatesRequest extends AbstractModel {
|
|
|
998
1064
|
if (!params) {
|
|
999
1065
|
return;
|
|
1000
1066
|
}
|
|
1067
|
+
this.EngineVersions = 'EngineVersions' in params ? params.EngineVersions : null;
|
|
1068
|
+
this.TemplateNames = 'TemplateNames' in params ? params.TemplateNames : null;
|
|
1069
|
+
this.TemplateIds = 'TemplateIds' in params ? params.TemplateIds : null;
|
|
1070
|
+
this.DbModes = 'DbModes' in params ? params.DbModes : null;
|
|
1071
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1072
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1073
|
+
this.Products = 'Products' in params ? params.Products : null;
|
|
1074
|
+
this.TemplateTypes = 'TemplateTypes' in params ? params.TemplateTypes : null;
|
|
1075
|
+
this.EngineTypes = 'EngineTypes' in params ? params.EngineTypes : null;
|
|
1076
|
+
this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
|
|
1077
|
+
this.OrderDirection = 'OrderDirection' in params ? params.OrderDirection : null;
|
|
1001
1078
|
|
|
1002
1079
|
}
|
|
1003
1080
|
}
|
|
@@ -3558,6 +3635,19 @@ class ParamTemplateListInfo extends AbstractModel {
|
|
|
3558
3635
|
*/
|
|
3559
3636
|
this.EngineVersion = null;
|
|
3560
3637
|
|
|
3638
|
+
/**
|
|
3639
|
+
* Database Type. Valid values: `NORMAL`, `SERVERLESS`.
|
|
3640
|
+
* @type {string || null}
|
|
3641
|
+
*/
|
|
3642
|
+
this.DbMode = null;
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* Parameter template details
|
|
3646
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3647
|
+
* @type {Array.<TemplateParamInfo> || null}
|
|
3648
|
+
*/
|
|
3649
|
+
this.ParamInfoSet = null;
|
|
3650
|
+
|
|
3561
3651
|
}
|
|
3562
3652
|
|
|
3563
3653
|
/**
|
|
@@ -3571,6 +3661,16 @@ class ParamTemplateListInfo extends AbstractModel {
|
|
|
3571
3661
|
this.TemplateName = 'TemplateName' in params ? params.TemplateName : null;
|
|
3572
3662
|
this.TemplateDescription = 'TemplateDescription' in params ? params.TemplateDescription : null;
|
|
3573
3663
|
this.EngineVersion = 'EngineVersion' in params ? params.EngineVersion : null;
|
|
3664
|
+
this.DbMode = 'DbMode' in params ? params.DbMode : null;
|
|
3665
|
+
|
|
3666
|
+
if (params.ParamInfoSet) {
|
|
3667
|
+
this.ParamInfoSet = new Array();
|
|
3668
|
+
for (let z in params.ParamInfoSet) {
|
|
3669
|
+
let obj = new TemplateParamInfo();
|
|
3670
|
+
obj.deserialize(params.ParamInfoSet[z]);
|
|
3671
|
+
this.ParamInfoSet.push(obj);
|
|
3672
|
+
}
|
|
3673
|
+
}
|
|
3574
3674
|
|
|
3575
3675
|
}
|
|
3576
3676
|
}
|
|
@@ -3978,6 +4078,93 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3978
4078
|
}
|
|
3979
4079
|
}
|
|
3980
4080
|
|
|
4081
|
+
/**
|
|
4082
|
+
* Parameter template details
|
|
4083
|
+
* @class
|
|
4084
|
+
*/
|
|
4085
|
+
class TemplateParamInfo extends AbstractModel {
|
|
4086
|
+
constructor(){
|
|
4087
|
+
super();
|
|
4088
|
+
|
|
4089
|
+
/**
|
|
4090
|
+
* Current value
|
|
4091
|
+
* @type {string || null}
|
|
4092
|
+
*/
|
|
4093
|
+
this.CurrentValue = null;
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* Default value
|
|
4097
|
+
* @type {string || null}
|
|
4098
|
+
*/
|
|
4099
|
+
this.Default = null;
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* The collection of valid value types when parameter type is `enum`.
|
|
4103
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4104
|
+
* @type {Array.<string> || null}
|
|
4105
|
+
*/
|
|
4106
|
+
this.EnumValue = null;
|
|
4107
|
+
|
|
4108
|
+
/**
|
|
4109
|
+
* Maximum value when parameter type is `float` or `integer`.
|
|
4110
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4111
|
+
* @type {string || null}
|
|
4112
|
+
*/
|
|
4113
|
+
this.Max = null;
|
|
4114
|
+
|
|
4115
|
+
/**
|
|
4116
|
+
* Minimum value when parameter type is `float` or `integer`.
|
|
4117
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4118
|
+
* @type {string || null}
|
|
4119
|
+
*/
|
|
4120
|
+
this.Min = null;
|
|
4121
|
+
|
|
4122
|
+
/**
|
|
4123
|
+
* Parameter name
|
|
4124
|
+
* @type {string || null}
|
|
4125
|
+
*/
|
|
4126
|
+
this.ParamName = null;
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* Whether to restart the instance for the parameter to take effect
|
|
4130
|
+
* @type {number || null}
|
|
4131
|
+
*/
|
|
4132
|
+
this.NeedReboot = null;
|
|
4133
|
+
|
|
4134
|
+
/**
|
|
4135
|
+
* Parameter description
|
|
4136
|
+
* @type {string || null}
|
|
4137
|
+
*/
|
|
4138
|
+
this.Description = null;
|
|
4139
|
+
|
|
4140
|
+
/**
|
|
4141
|
+
* Parameter type. Valid value: `integer`, `float`, `string`, `enum`.
|
|
4142
|
+
* @type {string || null}
|
|
4143
|
+
*/
|
|
4144
|
+
this.ParamType = null;
|
|
4145
|
+
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* @private
|
|
4150
|
+
*/
|
|
4151
|
+
deserialize(params) {
|
|
4152
|
+
if (!params) {
|
|
4153
|
+
return;
|
|
4154
|
+
}
|
|
4155
|
+
this.CurrentValue = 'CurrentValue' in params ? params.CurrentValue : null;
|
|
4156
|
+
this.Default = 'Default' in params ? params.Default : null;
|
|
4157
|
+
this.EnumValue = 'EnumValue' in params ? params.EnumValue : null;
|
|
4158
|
+
this.Max = 'Max' in params ? params.Max : null;
|
|
4159
|
+
this.Min = 'Min' in params ? params.Min : null;
|
|
4160
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
4161
|
+
this.NeedReboot = 'NeedReboot' in params ? params.NeedReboot : null;
|
|
4162
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
4163
|
+
this.ParamType = 'ParamType' in params ? params.ParamType : null;
|
|
4164
|
+
|
|
4165
|
+
}
|
|
4166
|
+
}
|
|
4167
|
+
|
|
3981
4168
|
/**
|
|
3982
4169
|
* DescribeResourcesByDealName request structure.
|
|
3983
4170
|
* @class
|
|
@@ -7375,6 +7562,7 @@ module.exports = {
|
|
|
7375
7562
|
DescribeBackupDownloadUrlRequest: DescribeBackupDownloadUrlRequest,
|
|
7376
7563
|
OfflineInstanceRequest: OfflineInstanceRequest,
|
|
7377
7564
|
NetAddr: NetAddr,
|
|
7565
|
+
TemplateParamInfo: TemplateParamInfo,
|
|
7378
7566
|
DescribeResourcesByDealNameRequest: DescribeResourcesByDealNameRequest,
|
|
7379
7567
|
CreateBackupResponse: CreateBackupResponse,
|
|
7380
7568
|
DescribeRollbackTimeValidityResponse: DescribeRollbackTimeValidityResponse,
|
|
@@ -26,8 +26,10 @@ const VoiceMessageStatisticsItem = models.VoiceMessageStatisticsItem;
|
|
|
26
26
|
const DeleteRoomMemberRequest = models.DeleteRoomMemberRequest;
|
|
27
27
|
const DescribeScanResultListRequest = models.DescribeScanResultListRequest;
|
|
28
28
|
const RealTimeSpeechStatisticsItem = models.RealTimeSpeechStatisticsItem;
|
|
29
|
+
const StreamTextStatisticsItem = models.StreamTextStatisticsItem;
|
|
29
30
|
const Tag = models.Tag;
|
|
30
31
|
const VoiceMessageConf = models.VoiceMessageConf;
|
|
32
|
+
const AudioTextStatisticsItem = models.AudioTextStatisticsItem;
|
|
31
33
|
const ApplicationDataStatistics = models.ApplicationDataStatistics;
|
|
32
34
|
const ModifyAppStatusResp = models.ModifyAppStatusResp;
|
|
33
35
|
const DescribeAppStatisticsResponse = models.DescribeAppStatisticsResponse;
|
|
@@ -35,7 +37,9 @@ const DescribeApplicationDataResponse = models.DescribeApplicationDataResponse;
|
|
|
35
37
|
const DeleteRoomMemberResponse = models.DeleteRoomMemberResponse;
|
|
36
38
|
const VoiceFilterStatisticsItem = models.VoiceFilterStatisticsItem;
|
|
37
39
|
const CreateAppResp = models.CreateAppResp;
|
|
40
|
+
const RealtimeTextStatisticsItem = models.RealtimeTextStatisticsItem;
|
|
38
41
|
const DeleteResult = models.DeleteResult;
|
|
42
|
+
const OverseaTextStatisticsItem = models.OverseaTextStatisticsItem;
|
|
39
43
|
const DescribeScanResult = models.DescribeScanResult;
|
|
40
44
|
const ScanDetail = models.ScanDetail;
|
|
41
45
|
const CreateAppRequest = models.CreateAppRequest;
|
|
@@ -62,7 +66,7 @@ class GmeClient extends AbstractClient {
|
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
/**
|
|
65
|
-
* This API is used to
|
|
69
|
+
* This API is used to query the usage statistics of a GME application, including those of Voice Chat, Voice Message Service, Voice Analysis, etc. The maximum query period is the past 30 days.
|
|
66
70
|
* @param {DescribeAppStatisticsRequest} req
|
|
67
71
|
* @param {function(string, DescribeAppStatisticsResponse):void} cb
|
|
68
72
|
* @public
|
|
@@ -73,8 +77,8 @@ class GmeClient extends AbstractClient {
|
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
/**
|
|
76
|
-
* This API is used to query the
|
|
77
|
-
<p style="color:red">If the `Callback` field is not set when a
|
|
80
|
+
* This API is used to query the result of voice moderation tasks. Up to 100 tasks can be queried in one time.
|
|
81
|
+
<p style="color:red">If the `Callback` field is not set when a voice moderation task is submitted, this API is called to query the moderation result.</p>
|
|
78
82
|
* @param {DescribeScanResultListRequest} req
|
|
79
83
|
* @param {function(string, DescribeScanResultListResponse):void} cb
|
|
80
84
|
* @public
|
|
@@ -96,7 +100,7 @@ class GmeClient extends AbstractClient {
|
|
|
96
100
|
}
|
|
97
101
|
|
|
98
102
|
/**
|
|
99
|
-
* This API
|
|
103
|
+
* This API is used to query data details for up to the past 90 days.
|
|
100
104
|
* @param {DescribeApplicationDataRequest} req
|
|
101
105
|
* @param {function(string, DescribeApplicationDataResponse):void} cb
|
|
102
106
|
* @public
|
|
@@ -107,16 +111,16 @@ class GmeClient extends AbstractClient {
|
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
/**
|
|
110
|
-
* This API is used to submit a
|
|
114
|
+
* This API is used to submit a voice moderation task. Up to 100 tasks can be added in a task. Make sure you have activated Voice Analysis Service in [GME Console > Voice Content Moderation > Service Configuration](https://console.cloud.tencent.com/gamegme/conf).
|
|
111
115
|
</br></br>
|
|
112
116
|
|
|
113
|
-
<h4><b>
|
|
114
|
-
<li>You can try out the
|
|
117
|
+
<h4><b>Free trial:</b></h4>
|
|
118
|
+
<li>You can try out the Voice Analysis Service free of charge in <a href="https://console.cloud.tencent.com/gamegme/tryout">GME Console > Voice Content Moderation > Product Trial</a>.</li>
|
|
115
119
|
</br>
|
|
116
120
|
|
|
117
121
|
<h4><b>API feature description:</b></h4>
|
|
118
|
-
<li>This API checks
|
|
119
|
-
<li>The detection result can be
|
|
122
|
+
<li>This API checks voice streams or files for non-compliant content.</li>
|
|
123
|
+
<li>The detection result can be queried by setting the callback address (`Callback`) or calling the `DescribeScanResultList` API for polling.</li>
|
|
120
124
|
<li>The scenario can be specified, such as abusive or pornographic.</li>
|
|
121
125
|
<li>Detection tasks can be submitted in batches. Up to 100 tasks can be added in the detection task list.</li>
|
|
122
126
|
</br>
|
|
@@ -125,14 +129,14 @@ class GmeClient extends AbstractClient {
|
|
|
125
129
|
<li>Audio file duration limit: 30 minutes</li>
|
|
126
130
|
<li>Supported audio file formats: .wav, .m4a, .amr, .mp3, .aac, .wma, .ogg</li>
|
|
127
131
|
</br>
|
|
128
|
-
<h4><b>
|
|
129
|
-
<li>Supported
|
|
130
|
-
<li>Supported
|
|
131
|
-
<li>
|
|
132
|
+
<h4><b>Voice stream limit description:</b></h4>
|
|
133
|
+
<li>Supported voice stream formats: .m3u8, .flv</li>
|
|
134
|
+
<li>Supported voice stream transfer protocols: RTMP, HTTP, HTTPS</li>
|
|
135
|
+
<li>Voice stream duration limit: 4 hours</li>
|
|
132
136
|
<li>Audio/video stream separation and audio stream analysis are supported</li>
|
|
133
137
|
</br>
|
|
134
138
|
<h4 id="Label_Value"><b>`Scenes` and `Label` parameter description:</b></h4>
|
|
135
|
-
<p>When submitting a
|
|
139
|
+
<p>When submitting a voice detection task, you need to specify the `Scenes` parameter. <font color="red">You are currently required to set the `Scenes` parameter to `["default"]`</font>. The detection result will contain the scenario specified at the time of request and detection result in the corresponding type.</p>
|
|
136
140
|
<table>
|
|
137
141
|
<thread>
|
|
138
142
|
<tr>
|
|
@@ -143,15 +147,15 @@ class GmeClient extends AbstractClient {
|
|
|
143
147
|
</thread>
|
|
144
148
|
<tbody>
|
|
145
149
|
<tr>
|
|
146
|
-
<td>
|
|
147
|
-
<td>
|
|
150
|
+
<td>Voice detection</td>
|
|
151
|
+
<td>Voice detection type</td>
|
|
148
152
|
<td>
|
|
149
|
-
<p
|
|
150
|
-
<p
|
|
151
|
-
<p
|
|
152
|
-
<p
|
|
153
|
-
<p
|
|
154
|
-
<p
|
|
153
|
+
<p>`normal`: Normal</p>
|
|
154
|
+
<p>`porn`: Pornographic</p>
|
|
155
|
+
<p>`abuse`: Abusive</p>
|
|
156
|
+
<p>`ad`: Advertising</p>
|
|
157
|
+
<p>`contraband`: Prohibited</p>
|
|
158
|
+
<p>`customized`: Custom keyword library. This feature is only available to beta users. To try it out, please <a href="https://intl.cloud.tencent.com/apply/p/8809fjcik56?from_cn_redirect=1">contact us</a>.</p>
|
|
155
159
|
</td>
|
|
156
160
|
</tr>
|
|
157
161
|
</tbody>
|
|
@@ -263,7 +267,7 @@ class GmeClient extends AbstractClient {
|
|
|
263
267
|
}
|
|
264
268
|
|
|
265
269
|
/**
|
|
266
|
-
* This API is used to change the status of an application
|
|
270
|
+
* This API is used to change the status of an application.
|
|
267
271
|
* @param {ModifyAppStatusRequest} req
|
|
268
272
|
* @param {function(string, ModifyAppStatusResponse):void} cb
|
|
269
273
|
* @public
|