Struct google_videointelligence1::api::GoogleCloudVideointelligenceV1_AnnotateVideoRequest[][src]

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

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

features: Option<Vec<String>>

Required. Requested video annotation features.

input_content: Option<String>

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

input_uri: Option<String>

Input video location. Currently, only Cloud Storage URIs are supported. URIs 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. To identify multiple videos, a video URI may include wildcards in the object-id. 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 must be unset.

location_id: Option<String>

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

output_uri: Option<String>

Optional. Location where the output (in JSON format) should be stored. Currently, only Cloud Storage URIs are supported. These 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.

video_context: Option<GoogleCloudVideointelligenceV1_VideoContext>

Additional video context and/or feature-specific parameters.

Trait Implementations

impl Clone for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl Debug for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl Default for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl<'de> Deserialize<'de> for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl RequestValue for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl Serialize for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl Send for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl Sync for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl Unpin for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

impl UnwindSafe for GoogleCloudVideointelligenceV1_AnnotateVideoRequest[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.