Class AnnotateVideoRequest (2.3.3)

Stay organized with collections Save and categorize content based on your preferences.
AnnotateVideoRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Video annotation request. .. attribute:: input_uri

Input video location. Currently, only Cloud Storage <https://cloud.google.com/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][google.rpc.Code.INVALID_ARGUMENT]). For more information, see Request URIs <https://cloud.google.com/storage/docs/request-endpoints>. 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.

:type: str

Attributes

NameDescription
input_content bytes
The video data bytes. If unset, the input video(s) should be specified via the ``input_uri``. If set, ``input_uri`` must be unset.
features Sequence[google.cloud.videointelligence_v1p3beta1.types.Feature]
Required. Requested video annotation features.
video_context google.cloud.videointelligence_v1p3beta1.types.VideoContext
Additional video context and/or feature- pecific parameters.
output_uri str
Optional. Location where the output (in JSON format) should be stored. Currently, only `Cloud Storage
location_id str
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.

Inheritance

builtins.object > proto.message.Message > AnnotateVideoRequest