Class CmsClient
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractClient
-
- com.tencentcloudapi.cms.v20190321.CmsClient
-
public class CmsClient extends AbstractClient
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
-
-
Constructor Summary
Constructors Constructor Description CmsClient(Credential credential, String region)CmsClient(Credential credential, String region, ClientProfile profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateKeywordsSamplesResponseCreateKeywordsSamples(CreateKeywordsSamplesRequest req)创建关键词接口DeleteLibSamplesResponseDeleteLibSamples(DeleteLibSamplesRequest req)删除关键词接口DescribeKeywordsLibsResponseDescribeKeywordsLibs(DescribeKeywordsLibsRequest req)获取用户词库列表DescribeLibSamplesResponseDescribeLibSamples(DescribeLibSamplesRequest req)获取关键词接口ImageModerationResponseImageModeration(ImageModerationRequest req)图片内容检测服务(Image Moderation, IM)能自动扫描图片,识别涉黄、涉恐、涉政、涉毒等有害内容,同时支持用户配置图片黑名单,打击自定义的违规图片。TextModerationResponseTextModeration(TextModerationRequest req)文本内容检测(Text Moderation)服务使用了深度学习技术,识别涉黄、涉政、涉恐等有害内容,同时支持用户配置词库,打击自定义的违规文本。-
Methods inherited from class com.tencentcloudapi.common.AbstractClient
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
-
-
-
-
Constructor Detail
-
CmsClient
public CmsClient(Credential credential, String region)
-
CmsClient
public CmsClient(Credential credential, String region, ClientProfile profile)
-
-
Method Detail
-
CreateKeywordsSamples
public CreateKeywordsSamplesResponse CreateKeywordsSamples(CreateKeywordsSamplesRequest req) throws TencentCloudSDKException
创建关键词接口- Parameters:
req- CreateKeywordsSamplesRequest- Returns:
- CreateKeywordsSamplesResponse
- Throws:
TencentCloudSDKException
-
DeleteLibSamples
public DeleteLibSamplesResponse DeleteLibSamples(DeleteLibSamplesRequest req) throws TencentCloudSDKException
删除关键词接口- Parameters:
req- DeleteLibSamplesRequest- Returns:
- DeleteLibSamplesResponse
- Throws:
TencentCloudSDKException
-
DescribeKeywordsLibs
public DescribeKeywordsLibsResponse DescribeKeywordsLibs(DescribeKeywordsLibsRequest req) throws TencentCloudSDKException
获取用户词库列表- Parameters:
req- DescribeKeywordsLibsRequest- Returns:
- DescribeKeywordsLibsResponse
- Throws:
TencentCloudSDKException
-
DescribeLibSamples
public DescribeLibSamplesResponse DescribeLibSamples(DescribeLibSamplesRequest req) throws TencentCloudSDKException
获取关键词接口- Parameters:
req- DescribeLibSamplesRequest- Returns:
- DescribeLibSamplesResponse
- Throws:
TencentCloudSDKException
-
ImageModeration
public ImageModerationResponse ImageModeration(ImageModerationRequest req) throws TencentCloudSDKException
图片内容检测服务(Image Moderation, IM)能自动扫描图片,识别涉黄、涉恐、涉政、涉毒等有害内容,同时支持用户配置图片黑名单,打击自定义的违规图片。- Parameters:
req- ImageModerationRequest- Returns:
- ImageModerationResponse
- Throws:
TencentCloudSDKException
-
TextModeration
public TextModerationResponse TextModeration(TextModerationRequest req) throws TencentCloudSDKException
文本内容检测(Text Moderation)服务使用了深度学习技术,识别涉黄、涉政、涉恐等有害内容,同时支持用户配置词库,打击自定义的违规文本。- Parameters:
req- TextModerationRequest- Returns:
- TextModerationResponse
- Throws:
TencentCloudSDKException
-
-