Class: Google::Cloud::Vision::V1::WebDetection::WebLabel

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1/web_detection.rb

Overview

Label to provide extra metadata for the web detection.

Instance Attribute Summary collapse

Instance Attribute Details

#label::String

Returns Label for extra metadata.

Returns:

  • (::String)

    Label for extra metadata.



113
114
115
116
# File 'proto_docs/google/cloud/vision/v1/web_detection.rb', line 113

class WebLabel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#language_code::String

Returns 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:



113
114
115
116
# File 'proto_docs/google/cloud/vision/v1/web_detection.rb', line 113

class WebLabel
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end