# Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::LogoRecognitionAnnotation (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::LogoRecognitionAnnotation.

Annotation corresponding to one detected, tracked and recognized logo class.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #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)) --- Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

### #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)) --- Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.
**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)) --- Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.

### #segments

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

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-VideoSegment)\>) --- All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

### #segments=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-VideoSegment)\>) --- All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::VideoSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-VideoSegment)\>) --- All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.

### #tracks

    def tracks() -> ::Array<::Google::Cloud::VideoIntelligence::V1::Track>

**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::Track](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Track)\>) --- All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.

### #tracks=

    def tracks=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::Track>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VideoIntelligence::V1::Track](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Track)\>) --- All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1::Track](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1/latest/Google-Cloud-VideoIntelligence-V1-Track)\>) --- All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.