# Cloud Vision V1 API - Class Google::Cloud::Vision::V1::WebDetection::WebLabel (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::WebDetection::WebLabel.

Label to provide extra metadata for the web detection.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #label

    def label() -> ::String

**Returns**

- (::String) --- Label for extra metadata.

### #label=

    def label=(value) -> ::String

**Parameter**

- **value** (::String) --- Label for extra metadata.
**Returns**

- (::String) --- Label for extra metadata.

### #language_code

    def language_code() -> ::String

**Returns**

- (::String) --- The BCP-47 language code for `label`, 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 for `label`, 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 for `label`, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.