# Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::LabelAnnotation (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.2 0.12.0 0.11.2 0.10.0 0.9.1 0.8.0 0.7.0 0.6.5 Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::LabelAnnotation.

Label annotation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #category_entities

    def category_entities() -> ::Array<::Google::Cloud::VideoIntelligence::V1::Entity>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Entity)\>) --- Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.

### #category_entities=

    def category_entities=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::Entity>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Entity)\>) --- Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Entity)\>) --- Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.

### #entity

    def entity() -> ::Google::Cloud::VideoIntelligence::V1::Entity

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Entity)) --- Detected entity.

### #entity=

    def entity=(value) -> ::Google::Cloud::VideoIntelligence::V1::Entity

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Entity)) --- Detected entity.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1::Entity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Entity)) --- Detected entity.

### #frames

    def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelFrame>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::LabelFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-LabelFrame)\>) --- All video frames where a label was detected.

### #frames=

    def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelFrame>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1::LabelFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-LabelFrame)\>) --- All video frames where a label was detected.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::LabelFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-LabelFrame)\>) --- All video frames where a label was detected.

### #segments

    def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelSegment>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::LabelSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-LabelSegment)\>) --- All video segments where a label was detected.

### #segments=

    def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelSegment>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1::LabelSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-LabelSegment)\>) --- All video segments where a label was detected.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::LabelSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-LabelSegment)\>) --- All video segments where a label was detected.

### #version

    def version() -> ::String

**Returns**

- (::String) --- Feature version.

### #version=

    def version=(value) -> ::String

**Parameter**

- **value** (::String) --- Feature version.
**Returns**

- (::String) --- Feature version.