class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1Property
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_v1p2beta1/classes.rb, line 8165 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_v1p2beta1/classes.rb, line 8170 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