# Cloud Video Intelligence V1p3beta1 API - Class Google::Cloud::VideoIntelligence::V1p3beta1::AnnotateVideoRequest (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::AnnotateVideoRequest.

Video annotation request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #features

    def features() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Feature>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p3beta1::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-Feature)\>) --- Required. Requested video annotation features.

### #features=

    def features=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::Feature>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1p3beta1::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-Feature)\>) --- Required. Requested video annotation features.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1p3beta1::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-Feature)\>) --- Required. Requested video annotation features.

### #input_content

    def input_content() -> ::String

**Returns**

- (::String) --- The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.

### #input_content=

    def input_content=(value) -> ::String

**Parameter**

- **value** (::String) --- The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.
**Returns**

- (::String) --- The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.

### #input_uri

    def input_uri() -> ::String

**Returns**

- (::String) --- 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.

### #input_uri=

    def input_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #location_id

    def location_id() -> ::String

**Returns**

- (::String) --- 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.

### #location_id=

    def location_id=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #output_uri

    def output_uri() -> ::String

**Returns**

- (::String) --- Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/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\]\[google.rpc.Code.INVALID_ARGUMENT\]). For more information, see [Request
  URIs](https://cloud.google.com/storage/docs/request-endpoints).

### #output_uri=

    def output_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/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\]\[google.rpc.Code.INVALID_ARGUMENT\]). For more information, see [Request
  URIs](https://cloud.google.com/storage/docs/request-endpoints).
**Returns**

- (::String) --- Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/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\]\[google.rpc.Code.INVALID_ARGUMENT\]). For more information, see [Request
  URIs](https://cloud.google.com/storage/docs/request-endpoints).

### #video_context

    def video_context() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-VideoContext)) --- Additional video context and/or feature-specific parameters.

### #video_context=

    def video_context=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-VideoContext)) --- Additional video context and/or feature-specific parameters.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p3beta1::VideoContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p3beta1/latest/Google-Cloud-VideoIntelligence-V1p3beta1-VideoContext)) --- Additional video context and/or feature-specific parameters.