Struct google_videointelligence1_beta1::api::GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest
source · pub struct GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest {
pub output_uri: Option<String>,
pub features: Option<Vec<String>>,
pub video_context: Option<GoogleCloudVideointelligenceV1beta1_VideoContext>,
pub location_id: Option<String>,
pub input_uri: Option<String>,
pub input_content: Option<String>,
}
Expand description
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).
- annotate videos (request)
Fields§
§output_uri: Option<String>
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.
features: Option<Vec<String>>
Requested video annotation features.
video_context: Option<GoogleCloudVideointelligenceV1beta1_VideoContext>
Additional video context and/or feature-specific parameters.
location_id: Option<String>
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.
input_uri: Option<String>
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.
input_content: Option<String>
The video data bytes. Encoding: base64. If unset, the input video(s)
should be specified via input_uri
. If set, input_uri
should be unset.
Trait Implementations§
source§impl Clone for GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest
impl Clone for GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest
source§fn clone(&self) -> GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest
fn clone(&self) -> GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more