Struct google_videointelligence1::GoogleCloudVideointelligenceV1_AnnotateVideoRequest[][src]

pub struct GoogleCloudVideointelligenceV1_AnnotateVideoRequest {
    pub video_context: Option<GoogleCloudVideointelligenceV1_VideoContext>,
    pub location_id: Option<String>,
    pub features: Option<Vec<String>>,
    pub input_content: Option<String>,
    pub input_uri: Option<String>,
    pub output_uri: Option<String>,
}

Video annotation request.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Additional video context and/or feature-specific parameters.

Optional cloud region where annotation should take place. Supported cloud regions: us-east1, us-west1, europe-west1, asia-east1. If no region is specified, a region will be determined based on video file location.

Requested video annotation features.

The video data bytes. If unset, the input video(s) should be specified via input_uri. If set, input_uri should be unset.

Input video location. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: gs://bucket-id/object-id (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see Request URIs. A video URI may include wildcards in object-id, and thus identify multiple videos. Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If unset, the input video should be embedded in the request as input_content. If set, input_content should be unset.

Optional location where the output (in JSON format) should be stored. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: gs://bucket-id/object-id (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see Request URIs.

Trait Implementations

Auto Trait Implementations