检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
//把xxx替换成服务所在的区域,例如新加坡:ap-southeast-3。 WithCredential(auth).
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.ap-southeast-3.myhuaweicloud.com"; //把ap-southeast-3替换成服务所在的区域
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.ap-southeast-3.myhuaweicloud.com";//把ap-southeast-3替换成服务所在的区域
//把xxx替换成服务所在的区域,例如新加坡:ap-southeast-3。 WithCredential(auth).
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.ap-southeast-3.myhuaweicloud.com"; //把ap-southeast-3替换成服务所在的区域
ModerationClient.newBuilder() .withCredential(auth) .withRegion(ModerationRegion.valueOf("xxx")) //把xxx替换成服务所在的区域
ModerationClient.new_builder() \ .with_credentials(credentials) \ .with_region(ModerationRegion.value_of("xxx")) \ .build() # 把xxx替换成服务所在的区域
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.ap-southeast-3.myhuaweicloud.com";//把ap-southeast-3替换成服务所在的区域