class Google::Apis::VisionV1::Property
A `Property` consists of a user-supplied name/value pair.
Attributes
name[RW]
Name of the property. Corresponds to the JSON property `name` @return [String]
uint64_value[RW]
Value of numeric properties. Corresponds to the JSON property `uint64Value` @return [Fixnum]
value[RW]
Value of the property. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 9645 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 9650 def update!(**args) @name = args[:name] if args.key?(:name) @uint64_value = args[:uint64_value] if args.key?(:uint64_value) @value = args[:value] if args.key?(:value) end