ImageLibProps
Properties for defining a ImageLib
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-imagelib
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkaligreen"
&alicloudroscdkaligreen.ImageLibProps {
Category: interface{},
ImageLibName: interface{},
Scene: interface{},
BizTypes: interface{},
Enable: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Category |
interface{} |
Property category: The category of the image library. |
ImageLibName |
interface{} |
Property imageLibName: The name of the image library defined by the customer. |
Scene |
interface{} |
Property scene: The moderation scenario to which the custom image library applies. |
BizTypes |
interface{} |
Property bizTypes: List of business scenarios. |
Enable |
interface{} |
Property enable: Specifies whether to enable the image library. |
Category
Required
Category interface{}
- Type: interface{}
Property category: The category of the image library.
Valid values: BLACK: a blacklist, WHITE: a whitelist, REVIEW: a review list.
ImageLibName
Required
ImageLibName interface{}
- Type: interface{}
Property imageLibName: The name of the image library defined by the customer.
It can contain no more than 20 characters in Chinese, English, and underscore (_).
Scene
Required
Scene interface{}
- Type: interface{}
Property scene: The moderation scenario to which the custom image library applies.
Valid values: PORN: pornography detection, AD: ad detection, ILLEGAL: terrorist content detection.
BizTypes
Optional
BizTypes interface{}
- Type: interface{}
Property bizTypes: List of business scenarios.
For example: ["bizTypeA", "bizTypeB", "bizTypeC"].
Enable
Optional
Enable interface{}
- Type: interface{}
Property enable: Specifies whether to enable the image library.
Valid values: true: Enable the image library. This is the default value. false: Disable the image library.