Skip to content

OssStockTaskProps

Properties for defining a OssStockTask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-ossstocktask

Initializer

using AlibabaCloud.SDK.ROS.CDK.Aligreen;
new OssStockTaskProps {
    object Buckets,
    object StartDate,
    object AudioAntispamFreezeConfig = null,
    object AudioAutoFreezeOpened = null,
    object AudioMaxSize = null,
    object AudioOpened = null,
    object AudioScanLimit = null,
    object AudioScenes = null,
    object AutoFreezeType = null,
    object BizType = null,
    object CallbackId = null,
    object EndDate = null,
    object ImageAdFreezeConfig = null,
    object ImageAutoFreezeOpened = null,
    object ImageLiveFreezeConfig = null,
    object ImageOpened = null,
    object ImagePornFreezeConfig = null,
    object ImageScanLimit = null,
    object ImageScenes = null,
    object ImageTerrorismFreezeConfig = null,
    object OssStockTaskName = null,
    object ScanImageNoFileType = null,
    object VideoAdFreezeConfig = null,
    object VideoAutoFreezeOpened = null,
    object VideoFrameInterval = null,
    object VideoLiveFreezeConfig = null,
    object VideoMaxFrames = null,
    object VideoMaxSize = null,
    object VideoOpened = null,
    object VideoPornFreezeConfig = null,
    object VideoScanLimit = null,
    object VideoScenes = null,
    object VideoTerrorismFreezeConfig = null,
    object VideoVoiceAntispamFreezeConfig = null
};

Properties

Name Type Description
Buckets object Property buckets: The bucket configuration list of the oss stock scan task.
StartDate object 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 object Property audioAntispamFreezeConfig: Voice auto freeze configuration.
AudioAutoFreezeOpened object Property audioAutoFreezeOpened: Audio detection auto freeze switch.
AudioMaxSize object Property audioMaxSize: Resource property field representing the maximum size of a single audio.
AudioOpened object Property audioOpened: Oss stock scan task detect audio.
AudioScanLimit object Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.
AudioScenes object Property audioScenes: The audio detection scenarios included in the oss stock scan task.
AutoFreezeType object Property autoFreezeType: Automatic freeze type.
BizType object Property bizType: Business scenarios used by the oss stock scan task.
CallbackId object Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
EndDate object Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
ImageAdFreezeConfig object Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
ImageAutoFreezeOpened object Property imageAutoFreezeOpened: Picture detection auto freeze switch.
ImageLiveFreezeConfig object Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration.
ImageOpened object Property imageOpened: Oss stock scan task detect images.
ImagePornFreezeConfig object Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration.
ImageScanLimit object Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.
ImageScenes object 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 object Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
OssStockTaskName object Property ossStockTaskName: The name of the oss stock scan task.
ScanImageNoFileType object Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
VideoAdFreezeConfig object Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
VideoAutoFreezeOpened object Property videoAutoFreezeOpened: Video detection auto freeze switch.
VideoFrameInterval object Property videoFrameInterval: Resource attribute field representing the framing frequency.
VideoLiveFreezeConfig object Property videoLiveFreezeConfig: Video automatic freeze live scene configuration.
VideoMaxFrames object Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
VideoMaxSize object Property videoMaxSize: Resource property field representing the maximum size of a single video.
VideoOpened object Property videoOpened: Oss stock scan task detect video.
VideoPornFreezeConfig object Property videoPornFreezeConfig: Video automatic freezing porn scene configuration.
VideoScanLimit object Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.
VideoScenes object Property videoScenes: The video detection scenarios included in the oss stock scan task.
VideoTerrorismFreezeConfig object Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
VideoVoiceAntispamFreezeConfig object Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.

BucketsRequired

public object Buckets { get; set; }
  • Type: object

Property buckets: The bucket configuration list of the oss stock scan task.

Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}].


StartDateRequired

public object StartDate { get; set; }
  • Type: object

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

public object AudioAntispamFreezeConfig { get; set; }
  • Type: object

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

public object AudioAutoFreezeOpened { get; set; }
  • Type: object

Property audioAutoFreezeOpened: Audio detection auto freeze switch.

Value: true: automatically freeze, false: not automatically freeze.


AudioMaxSizeOptional

public object AudioMaxSize { get; set; }
  • Type: object

Property audioMaxSize: Resource property field representing the maximum size of a single audio.

1~2048MB, the default is 200MB, more than not detected.


AudioOpenedOptional

public object AudioOpened { get; set; }
  • Type: object

Property audioOpened: Oss stock scan task detect audio.

true: scan audio, false: do not scan audio.


AudioScanLimitOptional

public object AudioScanLimit { get; set; }
  • Type: object

Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.

The default value is 1000/Bucket.


AudioScenesOptional

public object AudioScenes { get; set; }
  • Type: object

Property audioScenes: The audio detection scenarios included in the oss stock scan task.

Set the value to ["antispam"].


AutoFreezeTypeOptional

public object AutoFreezeType { get; set; }
  • Type: object

Property autoFreezeType: Automatic freeze type.

Value: acl: modify permissions, copy: Move files.


BizTypeOptional

public object BizType { get; set; }
  • Type: object

Property bizType: Business scenarios used by the oss stock scan task.


CallbackIdOptional

public object CallbackId { get; set; }
  • Type: object

Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.


EndDateOptional

public object EndDate { get; set; }
  • Type: object

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

public object ImageAdFreezeConfig { get; set; }
  • Type: object

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

public object ImageAutoFreezeOpened { get; set; }
  • Type: object

Property imageAutoFreezeOpened: Picture detection auto freeze switch.

Value: true: auto freeze, false: not auto freeze.


ImageLiveFreezeConfigOptional

public object ImageLiveFreezeConfig { get; set; }
  • Type: object

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

public object ImageOpened { get; set; }
  • Type: object

Property imageOpened: Oss stock scan task detect images.

true: scan images, false: do not scan images.


ImagePornFreezeConfigOptional

public object ImagePornFreezeConfig { get; set; }
  • Type: object

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

public object ImageScanLimit { get; set; }
  • Type: object

Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.

The default value is 10000 images per Bucket.


ImageScenesOptional

public object ImageScenes { get; set; }
  • Type: object

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

public object ImageTerrorismFreezeConfig { get; set; }
  • Type: object

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

public object OssStockTaskName { get; set; }
  • Type: object

Property ossStockTaskName: The name of the oss stock scan task.


ScanImageNoFileTypeOptional

public object ScanImageNoFileType { get; set; }
  • Type: object

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

public object VideoAdFreezeConfig { get; set; }
  • Type: object

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

public object VideoAutoFreezeOpened { get; set; }
  • Type: object

Property videoAutoFreezeOpened: Video detection auto freeze switch.

Value: true: automatically freeze, false: not automatically freeze.


VideoFrameIntervalOptional

public object VideoFrameInterval { get; set; }
  • Type: object

Property videoFrameInterval: Resource attribute field representing the framing frequency.

1~60 seconds/frame, the default is 1 second/frame.


VideoLiveFreezeConfigOptional

public object VideoLiveFreezeConfig { get; set; }
  • Type: object

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

public object VideoMaxFrames { get; set; }
  • Type: object

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

public object VideoMaxSize { get; set; }
  • Type: object

Property videoMaxSize: Resource property field representing the maximum size of a single video.

1~2048MB, the default is 500MB, more than not detected.


VideoOpenedOptional

public object VideoOpened { get; set; }
  • Type: object

Property videoOpened: Oss stock scan task detect video.

true: scan video, false: do not scan video.


VideoPornFreezeConfigOptional

public object VideoPornFreezeConfig { get; set; }
  • Type: object

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

public object VideoScanLimit { get; set; }
  • Type: object

Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.

The default value is 1000/Bucket.


VideoScenesOptional

public object VideoScenes { get; set; }
  • Type: object

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

public object VideoTerrorismFreezeConfig { get; set; }
  • Type: object

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

public object VideoVoiceAntispamFreezeConfig { get; set; }
  • Type: object

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.