InsertMediaToSearchLibProps
Properties for defining a InsertMediaToSearchLib
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ice-insertmediatosearchlib
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ice;
new InsertMediaToSearchLibProps {
object Input,
object MediaId = null,
object MediaType = null,
object MsgBody = null,
object SearchLibName = null
};
Properties
Name | Type | Description |
---|---|---|
Input |
object |
Property input: The URL of the video, audio, or image file that you want to import to the search library. |
MediaId |
object |
Property mediaId: The ID of the media asset. |
MediaType |
object |
Property mediaType: The type of the media asset. |
MsgBody |
object |
Property msgBody: The message body. |
SearchLibName |
object |
Property searchLibName: The name of the search library. |
Input
Required
public object Input { get; set; }
- Type: object
Property input: The URL of the video, audio, or image file that you want to import to the search library.
Note: Make sure that you specify a correct file name and the bucket in which the file resides is in the same region where this operation is called. Otherwise, the file cannot be found or the operation may fail. Specify an Object Storage Service (OSS) URL in the following format: oss://[Bucket name]/[File path]. For example, you can specify oss://[example-bucket-]/[object_path-]. Specify an HTTP URL in the following format: public endpoint. For example, you can specify http://example-test-****.mp4.
MediaId
Optional
public object MediaId { get; set; }
- Type: object
Property mediaId: The ID of the media asset.
Each media ID is unique. If you leave this parameter empty, a media ID is automatically generated for this parameter.
MediaType
Optional
public object MediaType { get; set; }
- Type: object
Property mediaType: The type of the media asset.
Valid values: video (default) image audio
MsgBody
Optional
public object MsgBody { get; set; }
- Type: object
Property msgBody: The message body.
SearchLibName
Optional
public object SearchLibName { get; set; }
- Type: object
Property searchLibName: The name of the search library.
Default value: ims-default-search-lib.