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.