class Google::Apis::FitnessV1::ValueMapValEntry

Attributes

key[RW]

Corresponds to the JSON property `key` @return [String]

value[RW]

Holder object for the value of an entry in a map field of a data point. A map value supports a subset of the formats that the regular Value supports. Corresponds to the JSON property `value` @return [Google::Apis::FitnessV1::MapValue]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fitness_v1/classes.rb, line 873
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fitness_v1/classes.rb, line 878
def update!(**args)
  @key = args[:key] if args.key?(:key)
  @value = args[:value] if args.key?(:value)
end