google_api_video_intelligence v0.3.0 GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1AnnotateVideoRequest View Source

Video annotation request.

Attributes

  • features ([String.t]): Requested video annotation features. Defaults to: null.

    • Enum - one of
  • inputContent (binary()): The video data bytes. If unset, the input video(s) should be specified via `input_uri`. If set, `input_uri` should be unset. Defaults to: null.
  • inputUri (String.t): 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. Defaults to: null.
  • locationId (String.t): 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. Defaults to: null.
  • outputUri (String.t): 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. Defaults to: null.
  • videoContext (GoogleCloudVideointelligenceV1VideoContext): Additional video context and/or feature-specific parameters. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() ::
  %GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1AnnotateVideoRequest{
    features: [any()],
    inputContent: any(),
    inputUri: any(),
    locationId: any(),
    outputUri: any(),
    videoContext:
      GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1VideoContext.t()
  }

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.