google_api_video_intelligence v0.24.0 GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_AnnotateVideoRequest View Source

Video annotation request.

Attributes

  • features (type: list(String.t), default: nil) - Required. Requested video annotation features.
  • inputContent (type: String.t, default: nil) - The video data bytes. If unset, the input video(s) should be specified via the input_uri. If set, input_uri must be unset.
  • inputUri (type: String.t, default: nil) - 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.
  • locationId (type: String.t, default: nil) - 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.
  • outputUri (type: String.t, default: nil) - 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.
  • videoContext (type: GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_VideoContext.t, default: nil) - Additional video context and/or feature-specific parameters.

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.GoogleCloudVideointelligenceV1_AnnotateVideoRequest{
    features: [String.t()],
    inputContent: String.t(),
    inputUri: String.t(),
    locationId: String.t(),
    outputUri: String.t(),
    videoContext:
      GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_VideoContext.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.