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).
- annotate videos (request)
Fields
video_context: Option<GoogleCloudVideointelligenceV1_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.
features: Option<Vec<String>>
Requested video annotation features.
input_content: Option<String>
The video data bytes.
If unset, the input video(s) should be specified via input_uri
.
If set, input_uri
should be unset.
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.
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.
Trait Implementations
impl Default for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
[src]
impl Default for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
fn default() -> GoogleCloudVideointelligenceV1_AnnotateVideoRequest
[src]
fn default() -> GoogleCloudVideointelligenceV1_AnnotateVideoRequest
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
[src]
impl Clone for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
fn clone(&self) -> GoogleCloudVideointelligenceV1_AnnotateVideoRequest
[src]
fn clone(&self) -> GoogleCloudVideointelligenceV1_AnnotateVideoRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
[src]
impl Debug for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for GoogleCloudVideointelligenceV1_AnnotateVideoRequest
[src]
impl RequestValue for GoogleCloudVideointelligenceV1_AnnotateVideoRequest