OssStockTaskProps
Properties for defining a OssStockTask.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-ossstocktask
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkaligreen"
&alicloudroscdkaligreen.OssStockTaskProps {
Buckets: interface{},
StartDate: interface{},
AudioAntispamFreezeConfig: interface{},
AudioAutoFreezeOpened: interface{},
AudioMaxSize: interface{},
AudioOpened: interface{},
AudioScanLimit: interface{},
AudioScenes: interface{},
AutoFreezeType: interface{},
BizType: interface{},
CallbackId: interface{},
EndDate: interface{},
ImageAdFreezeConfig: interface{},
ImageAutoFreezeOpened: interface{},
ImageLiveFreezeConfig: interface{},
ImageOpened: interface{},
ImagePornFreezeConfig: interface{},
ImageScanLimit: interface{},
ImageScenes: interface{},
ImageTerrorismFreezeConfig: interface{},
OssStockTaskName: interface{},
ScanImageNoFileType: interface{},
VideoAdFreezeConfig: interface{},
VideoAutoFreezeOpened: interface{},
VideoFrameInterval: interface{},
VideoLiveFreezeConfig: interface{},
VideoMaxFrames: interface{},
VideoMaxSize: interface{},
VideoOpened: interface{},
VideoPornFreezeConfig: interface{},
VideoScanLimit: interface{},
VideoScenes: interface{},
VideoTerrorismFreezeConfig: interface{},
VideoVoiceAntispamFreezeConfig: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Buckets | interface{} | Property buckets: The bucket configuration list of the oss stock scan task. |
StartDate | interface{} | Property startDate: The start time of the file upload time range represents the files uploaded after scanning this time point.Example: 2024-08-01 00:00:00 +0800. |
AudioAntispamFreezeConfig | interface{} | Property audioAntispamFreezeConfig: Voice auto freeze configuration. |
AudioAutoFreezeOpened | interface{} | Property audioAutoFreezeOpened: Audio detection auto freeze switch. |
AudioMaxSize | interface{} | Property audioMaxSize: Resource property field representing the maximum size of a single audio. |
AudioOpened | interface{} | Property audioOpened: Oss stock scan task detect audio. |
AudioScanLimit | interface{} | Property audioScanLimit: The upper limit of voice scan in the oss stock scan task. |
AudioScenes | interface{} | Property audioScenes: The audio detection scenarios included in the oss stock scan task. |
AutoFreezeType | interface{} | Property autoFreezeType: Automatic freeze type. |
BizType | interface{} | Property bizType: Business scenarios used by the oss stock scan task. |
CallbackId | interface{} | Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task. |
EndDate | interface{} | Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point. |
ImageAdFreezeConfig | interface{} | Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes. |
ImageAutoFreezeOpened | interface{} | Property imageAutoFreezeOpened: Picture detection auto freeze switch. |
ImageLiveFreezeConfig | interface{} | Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration. |
ImageOpened | interface{} | Property imageOpened: Oss stock scan task detect images. |
ImagePornFreezeConfig | interface{} | Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration. |
ImageScanLimit | interface{} | Property imageScanLimit: The upper limit for scanning images in the oss stock scan task. |
ImageScenes | interface{} | Property imageScenes: The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection. |
ImageTerrorismFreezeConfig | interface{} | Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes. |
OssStockTaskName | interface{} | Property ossStockTaskName: The name of the oss stock scan task. |
ScanImageNoFileType | interface{} | Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes. |
VideoAdFreezeConfig | interface{} | Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios. |
VideoAutoFreezeOpened | interface{} | Property videoAutoFreezeOpened: Video detection auto freeze switch. |
VideoFrameInterval | interface{} | Property videoFrameInterval: Resource attribute field representing the framing frequency. |
VideoLiveFreezeConfig | interface{} | Property videoLiveFreezeConfig: Video automatic freeze live scene configuration. |
VideoMaxFrames | interface{} | Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut. |
VideoMaxSize | interface{} | Property videoMaxSize: Resource property field representing the maximum size of a single video. |
VideoOpened | interface{} | Property videoOpened: Oss stock scan task detect video. |
VideoPornFreezeConfig | interface{} | Property videoPornFreezeConfig: Video automatic freezing porn scene configuration. |
VideoScanLimit | interface{} | Property videoScanLimit: The upper limit of video scanning in the oss stock scan task. |
VideoScenes | interface{} | Property videoScenes: The video detection scenarios included in the oss stock scan task. |
VideoTerrorismFreezeConfig | interface{} | Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes. |
VideoVoiceAntispamFreezeConfig | interface{} | Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video. |
BucketsRequired
Buckets interface{}
- Type: interface{}
Property buckets: The bucket configuration list of the oss stock scan task.
Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}].
StartDateRequired
StartDate interface{}
- Type: interface{}
Property startDate: The start time of the file upload time range represents the files uploaded after scanning this time point.Example: 2024-08-01 00:00:00 +0800.
AudioAntispamFreezeConfigOptional
AudioAntispamFreezeConfig interface{}
- Type: interface{}
Property audioAntispamFreezeConfig: Voice auto freeze configuration.
Example:{"Type": "suggestion", "Value" : "block" }. The results are frozen according to the suggestion in the speech detection results.
AudioAutoFreezeOpenedOptional
AudioAutoFreezeOpened interface{}
- Type: interface{}
Property audioAutoFreezeOpened: Audio detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
AudioMaxSizeOptional
AudioMaxSize interface{}
- Type: interface{}
Property audioMaxSize: Resource property field representing the maximum size of a single audio.
1~2048MB, the default is 200MB, more than not detected.
AudioOpenedOptional
AudioOpened interface{}
- Type: interface{}
Property audioOpened: Oss stock scan task detect audio.
true: scan audio, false: do not scan audio.
AudioScanLimitOptional
AudioScanLimit interface{}
- Type: interface{}
Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.
The default value is 1000/Bucket.
AudioScenesOptional
AudioScenes interface{}
- Type: interface{}
Property audioScenes: The audio detection scenarios included in the oss stock scan task.
Set the value to ["antispam"].
AutoFreezeTypeOptional
AutoFreezeType interface{}
- Type: interface{}
Property autoFreezeType: Automatic freeze type.
Value: acl: modify permissions, copy: Move files.
BizTypeOptional
BizType interface{}
- Type: interface{}
Property bizType: Business scenarios used by the oss stock scan task.
CallbackIdOptional
CallbackId interface{}
- Type: interface{}
Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
EndDateOptional
EndDate interface{}
- Type: interface{}
Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
Example: 2024-12-30 00:00:00 +0800
ImageAdFreezeConfigOptional
ImageAdFreezeConfig interface{}
- Type: interface{}
Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
ImageAutoFreezeOpenedOptional
ImageAutoFreezeOpened interface{}
- Type: interface{}
Property imageAutoFreezeOpened: Picture detection auto freeze switch.
Value: true: auto freeze, false: not auto freeze.
ImageLiveFreezeConfigOptional
ImageLiveFreezeConfig interface{}
- Type: interface{}
Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration.
Example:{"Type":"suggestion","Value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
ImageOpenedOptional
ImageOpened interface{}
- Type: interface{}
Property imageOpened: Oss stock scan task detect images.
true: scan images, false: do not scan images.
ImagePornFreezeConfigOptional
ImagePornFreezeConfig interface{}
- Type: interface{}
Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
ImageScanLimitOptional
ImageScanLimit interface{}
- Type: interface{}
Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.
The default value is 10000 images per Bucket.
ImageScenesOptional
ImageScenes interface{}
- Type: interface{}
Property imageScenes: The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection.
ImageTerrorismFreezeConfigOptional
ImageTerrorismFreezeConfig interface{}
- Type: interface{}
Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
OssStockTaskNameOptional
OssStockTaskName interface{}
- Type: interface{}
Property ossStockTaskName: The name of the oss stock scan task.
ScanImageNoFileTypeOptional
ScanImageNoFileType interface{}
- Type: interface{}
Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes.
VideoAdFreezeConfigOptional
VideoAdFreezeConfig interface{}
- Type: interface{}
Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
Example:{"Type":"suggestion","Value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
VideoAutoFreezeOpenedOptional
VideoAutoFreezeOpened interface{}
- Type: interface{}
Property videoAutoFreezeOpened: Video detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
VideoFrameIntervalOptional
VideoFrameInterval interface{}
- Type: interface{}
Property videoFrameInterval: Resource attribute field representing the framing frequency.
1~60 seconds/frame, the default is 1 second/frame.
VideoLiveFreezeConfigOptional
VideoLiveFreezeConfig interface{}
- Type: interface{}
Property videoLiveFreezeConfig: Video automatic freeze live scene configuration.
Example:{"Type" : "suggestion", "Value" : "block" }. The results will be frozen according to the suggestion in the video detection results.
VideoMaxFramesOptional
VideoMaxFrames interface{}
- Type: interface{}
Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
5 to 20000 frames, the default is 200 frames.
VideoMaxSizeOptional
VideoMaxSize interface{}
- Type: interface{}
Property videoMaxSize: Resource property field representing the maximum size of a single video.
1~2048MB, the default is 500MB, more than not detected.
VideoOpenedOptional
VideoOpened interface{}
- Type: interface{}
Property videoOpened: Oss stock scan task detect video.
true: scan video, false: do not scan video.
VideoPornFreezeConfigOptional
VideoPornFreezeConfig interface{}
- Type: interface{}
Property videoPornFreezeConfig: Video automatic freezing porn scene configuration.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
VideoScanLimitOptional
VideoScanLimit interface{}
- Type: interface{}
Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.
The default value is 1000/Bucket.
VideoScenesOptional
VideoScenes interface{}
- Type: interface{}
Property videoScenes: The video detection scenarios included in the oss stock scan task.
porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam.
VideoTerrorismFreezeConfigOptional
VideoTerrorismFreezeConfig interface{}
- Type: interface{}
Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
Example:{"Type": "suggestion","Value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
VideoVoiceAntispamFreezeConfigOptional
VideoVoiceAntispamFreezeConfig interface{}
- Type: interface{}
Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.
Example:{"Type": "suggestion", "Value" : "block" }. The results will be frozen according to the suggestion in the video detection results.