Skip to content

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.

CategoryRequired

Category interface{}
  • Type: interface{}

Property category: The category of the image library.

Valid values: BLACK: a blacklist, WHITE: a whitelist, REVIEW: a review list.


ImageLibNameRequired

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 (_).


SceneRequired

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.


BizTypesOptional

BizTypes interface{}
  • Type: interface{}

Property bizTypes: List of business scenarios.

For example: ["bizTypeA", "bizTypeB", "bizTypeC"].


EnableOptional

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.