# Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation (v0.20.0)

0.20.0 (latest) 0.19.1 0.18.1 0.17.0 0.16.0 0.15.1 0.14.0 0.13.1 0.12.2 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ObjectAnnotation.

Prediction for what the object in the bounding box is.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #language_code

    def language_code() -> ::String

**Returns**

- (::String) --- The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

### #language_code=

    def language_code=(value) -> ::String

**Parameter**

- **value** (::String) --- The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
**Returns**

- (::String) --- The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

### #mid

    def mid() -> ::String

**Returns**

- (::String) --- Object ID that should align with EntityAnnotation mid.

### #mid=

    def mid=(value) -> ::String

**Parameter**

- **value** (::String) --- Object ID that should align with EntityAnnotation mid.
**Returns**

- (::String) --- Object ID that should align with EntityAnnotation mid.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Object name, expressed in its `language_code` language.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Object name, expressed in its `language_code` language.
**Returns**

- (::String) --- Object name, expressed in its `language_code` language.

### #score

    def score() -> ::Float

**Returns**

- (::Float) --- Score of the result. Range \[0, 1\].

### #score=

    def score=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Score of the result. Range \[0, 1\].
**Returns**

- (::Float) --- Score of the result. Range \[0, 1\].