Class: Google::Cloud::Vision::V1::Property

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

Overview

A Property consists of a user-supplied name/value pair.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Name of the property.

Returns:

  • (::String)

    Name of the property.



359
360
361
362
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 359

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

#uint64_value::Integer

Returns Value of numeric properties.

Returns:

  • (::Integer)

    Value of numeric properties.



359
360
361
362
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 359

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

#value::String

Returns Value of the property.

Returns:

  • (::String)

    Value of the property.



359
360
361
362
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 359

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